Home All Groups Group Topic Archive Search About

error using .NET CrystalReportViewer (.NET 1.1 VS.NET 2003)

Author
31 Mar 2006 3:46 PM
Philip
how can I fix this below error please? It's strange as we have the .NET
Framework 1.1 on the web server, and I can even drop a CrystalReportViewer
..NET Server control onto an aspx page in VS.NET 2003....

thanks for any help

Philip

Parser Error
Description: An error occurred during the parsing of a resource required to
service this request. Please review the following specific parse error
details and modify your source file appropriately.

Parser Error Message: File or assembly name CrystalDecisions.Web, or one of
its dependencies, was not found.

Source Error:


Line 1:  <%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web"
Assembly="CrystalDecisions.Web, Version=9.1.3300.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304" %>
Line 2:  <%@ Page language="c#" src="crystal.aspx.cs"
AutoEventWireup="false" Inherits="Test.Crystal" %>
Line 3:  <%@ Register TagPrefix="cr1" Namespace="CrystalDecisions.Web"
Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral,
PublicKeyToken=692fbea5521e1304" %>


Source File: c:\inetpub\wwwroot\SmartRep.NET\Crystal.aspx    Line: 1

Assembly Load Trace: The following information can be helpful to determine
why the assembly 'CrystalDecisions.Web' could not be loaded.


=== Pre-bind state information ===
LOG: DisplayName = CrystalDecisions.Web, Version=9.1.3300.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/wwwroot/SmartRep.NET
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file
(C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from
C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: CrystalDecisions.Web, Version=9.1.3300.0,
Culture=neutral, PublicKeyToken=692fbea5521e1304
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web/CrystalDecisions.Web.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web.DLL.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web/CrystalDecisions.Web.DLL.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web.EXE.
LOG: Attempting download of new URL
file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web/CrystalDecisions.Web.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web.EXE.
LOG: Attempting download of new URL
file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web/CrystalDecisions.Web.EXE.

Author
1 Apr 2006 5:04 AM
Christopher Reed
You either do not have the CR.NET DLLs in the GAC or they have not been
referenced in your web project.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

Show quoteHide quote
"Philip" <Phi***@discussions.microsoft.com> wrote in message
news:4533C92C-BD94-4749-99C0-82C7CD3C9A8C@microsoft.com...
> how can I fix this below error please? It's strange as we have the .NET
> Framework 1.1 on the web server, and I can even drop a CrystalReportViewer
> .NET Server control onto an aspx page in VS.NET 2003....
>
> thanks for any help
>
> Philip
>
> Parser Error
> Description: An error occurred during the parsing of a resource required
> to
> service this request. Please review the following specific parse error
> details and modify your source file appropriately.
>
> Parser Error Message: File or assembly name CrystalDecisions.Web, or one
> of
> its dependencies, was not found.
>
> Source Error:
>
>
> Line 1:  <%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web"
> Assembly="CrystalDecisions.Web, Version=9.1.3300.0, Culture=neutral,
> PublicKeyToken=692fbea5521e1304" %>
> Line 2:  <%@ Page language="c#" src="crystal.aspx.cs"
> AutoEventWireup="false" Inherits="Test.Crystal" %>
> Line 3:  <%@ Register TagPrefix="cr1" Namespace="CrystalDecisions.Web"
> Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral,
> PublicKeyToken=692fbea5521e1304" %>
>
>
> Source File: c:\inetpub\wwwroot\SmartRep.NET\Crystal.aspx    Line: 1
>
> Assembly Load Trace: The following information can be helpful to determine
> why the assembly 'CrystalDecisions.Web' could not be loaded.
>
>
> === Pre-bind state information ===
> LOG: DisplayName = CrystalDecisions.Web, Version=9.1.3300.0,
> Culture=neutral, PublicKeyToken=692fbea5521e1304
> (Fully-specified)
> LOG: Appbase = file:///c:/inetpub/wwwroot/SmartRep.NET
> LOG: Initial PrivatePath = bin
> Calling assembly : (Unknown).
> ===
>
> LOG: Publisher policy file is not found.
> LOG: No redirect found in host configuration file
> (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
> LOG: Using machine configuration file from
> C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
> LOG: Post-policy reference: CrystalDecisions.Web, Version=9.1.3300.0,
> Culture=neutral, PublicKeyToken=692fbea5521e1304
> LOG: Attempting download of new URL
> file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web/CrystalDecisions.Web.DLL.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web.DLL.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web/CrystalDecisions.Web.DLL.
> LOG: Attempting download of new URL
> file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web.EXE.
> LOG: Attempting download of new URL
> file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web/CrystalDecisions.Web.EXE.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web.EXE.
> LOG: Attempting download of new URL
> file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web/CrystalDecisions.Web.EXE.
Author
3 Apr 2006 7:42 AM
Philip
Thanks,

is this because they aren't in the GAC on the server, even though the .NET
framework 1.1 is installed on the server? How do I rectify that please - is
that because we have to make an extra install on the server of Crystal
Reports 9 ?

They must be on my pc because I am able to add the CrystalReportViewer
control with no errors and build it.

thanks for your help

Philip


Show quoteHide quote
"Christopher Reed" wrote:

> You either do not have the CR.NET DLLs in the GAC or they have not been
> referenced in your web project.
> --
> Christopher A. Reed
> "The oxen are slow, but the earth is patient."
>
> "Philip" <Phi***@discussions.microsoft.com> wrote in message
> news:4533C92C-BD94-4749-99C0-82C7CD3C9A8C@microsoft.com...
> > how can I fix this below error please? It's strange as we have the .NET
> > Framework 1.1 on the web server, and I can even drop a CrystalReportViewer
> > .NET Server control onto an aspx page in VS.NET 2003....
> >
> > thanks for any help
> >
> > Philip
> >
> > Parser Error
> > Description: An error occurred during the parsing of a resource required
> > to
> > service this request. Please review the following specific parse error
> > details and modify your source file appropriately.
> >
> > Parser Error Message: File or assembly name CrystalDecisions.Web, or one
> > of
> > its dependencies, was not found.
> >
> > Source Error:
> >
> >
> > Line 1:  <%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web"
> > Assembly="CrystalDecisions.Web, Version=9.1.3300.0, Culture=neutral,
> > PublicKeyToken=692fbea5521e1304" %>
> > Line 2:  <%@ Page language="c#" src="crystal.aspx.cs"
> > AutoEventWireup="false" Inherits="Test.Crystal" %>
> > Line 3:  <%@ Register TagPrefix="cr1" Namespace="CrystalDecisions.Web"
> > Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral,
> > PublicKeyToken=692fbea5521e1304" %>
> >
> >
> > Source File: c:\inetpub\wwwroot\SmartRep.NET\Crystal.aspx    Line: 1
> >
> > Assembly Load Trace: The following information can be helpful to determine
> > why the assembly 'CrystalDecisions.Web' could not be loaded.
> >
> >
> > === Pre-bind state information ===
> > LOG: DisplayName = CrystalDecisions.Web, Version=9.1.3300.0,
> > Culture=neutral, PublicKeyToken=692fbea5521e1304
> > (Fully-specified)
> > LOG: Appbase = file:///c:/inetpub/wwwroot/SmartRep.NET
> > LOG: Initial PrivatePath = bin
> > Calling assembly : (Unknown).
> > ===
> >
> > LOG: Publisher policy file is not found.
> > LOG: No redirect found in host configuration file
> > (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
> > LOG: Using machine configuration file from
> > C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
> > LOG: Post-policy reference: CrystalDecisions.Web, Version=9.1.3300.0,
> > Culture=neutral, PublicKeyToken=692fbea5521e1304
> > LOG: Attempting download of new URL
> > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> > Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web.DLL.
> > LOG: Attempting download of new URL
> > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> > Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web/CrystalDecisions.Web.DLL.
> > LOG: Attempting download of new URL
> > file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web.DLL.
> > LOG: Attempting download of new URL
> > file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web/CrystalDecisions.Web.DLL.
> > LOG: Attempting download of new URL
> > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> > Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web.EXE.
> > LOG: Attempting download of new URL
> > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
> > Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web/CrystalDecisions.Web.EXE.
> > LOG: Attempting download of new URL
> > file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web.EXE.
> > LOG: Attempting download of new URL
> > file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web/CrystalDecisions.Web.EXE.
>
>
>
Author
4 Apr 2006 2:45 AM
Christopher Reed
From the Business Objects website, you should be able to find the CR.NET 9
Server installation which will install the CR.NET DLLs on your server and
insert them into the GAC.  CR.NET does not come with the .NET Framework,
only with VS.NET.
Note that there will be difference in the versions, but this should not
matter if you're only deploying your reports on your server and doing any
development there.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

Show quoteHide quote
"Philip" <Phi***@discussions.microsoft.com> wrote in message
news:069BFEC4-E0B7-4A2F-914D-5F3C71722E1F@microsoft.com...
> Thanks,
>
> is this because they aren't in the GAC on the server, even though the .NET
> framework 1.1 is installed on the server? How do I rectify that please -
> is
> that because we have to make an extra install on the server of Crystal
> Reports 9 ?
>
> They must be on my pc because I am able to add the CrystalReportViewer
> control with no errors and build it.
>
> thanks for your help
>
> Philip
>
>
> "Christopher Reed" wrote:
>
>> You either do not have the CR.NET DLLs in the GAC or they have not been
>> referenced in your web project.
>> --
>> Christopher A. Reed
>> "The oxen are slow, but the earth is patient."
>>
>> "Philip" <Phi***@discussions.microsoft.com> wrote in message
>> news:4533C92C-BD94-4749-99C0-82C7CD3C9A8C@microsoft.com...
>> > how can I fix this below error please? It's strange as we have the .NET
>> > Framework 1.1 on the web server, and I can even drop a
>> > CrystalReportViewer
>> > .NET Server control onto an aspx page in VS.NET 2003....
>> >
>> > thanks for any help
>> >
>> > Philip
>> >
>> > Parser Error
>> > Description: An error occurred during the parsing of a resource
>> > required
>> > to
>> > service this request. Please review the following specific parse error
>> > details and modify your source file appropriately.
>> >
>> > Parser Error Message: File or assembly name CrystalDecisions.Web, or
>> > one
>> > of
>> > its dependencies, was not found.
>> >
>> > Source Error:
>> >
>> >
>> > Line 1:  <%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web"
>> > Assembly="CrystalDecisions.Web, Version=9.1.3300.0, Culture=neutral,
>> > PublicKeyToken=692fbea5521e1304" %>
>> > Line 2:  <%@ Page language="c#" src="crystal.aspx.cs"
>> > AutoEventWireup="false" Inherits="Test.Crystal" %>
>> > Line 3:  <%@ Register TagPrefix="cr1" Namespace="CrystalDecisions.Web"
>> > Assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral,
>> > PublicKeyToken=692fbea5521e1304" %>
>> >
>> >
>> > Source File: c:\inetpub\wwwroot\SmartRep.NET\Crystal.aspx    Line: 1
>> >
>> > Assembly Load Trace: The following information can be helpful to
>> > determine
>> > why the assembly 'CrystalDecisions.Web' could not be loaded.
>> >
>> >
>> > === Pre-bind state information ===
>> > LOG: DisplayName = CrystalDecisions.Web, Version=9.1.3300.0,
>> > Culture=neutral, PublicKeyToken=692fbea5521e1304
>> > (Fully-specified)
>> > LOG: Appbase = file:///c:/inetpub/wwwroot/SmartRep.NET
>> > LOG: Initial PrivatePath = bin
>> > Calling assembly : (Unknown).
>> > ===
>> >
>> > LOG: Publisher policy file is not found.
>> > LOG: No redirect found in host configuration file
>> > (C:\WINNT\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
>> > LOG: Using machine configuration file from
>> > C:\WINNT\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
>> > LOG: Post-policy reference: CrystalDecisions.Web, Version=9.1.3300.0,
>> > Culture=neutral, PublicKeyToken=692fbea5521e1304
>> > LOG: Attempting download of new URL
>> > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
>> > Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web.DLL.
>> > LOG: Attempting download of new URL
>> > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
>> > Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web/CrystalDecisions.Web.DLL.
>> > LOG: Attempting download of new URL
>> > file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web.DLL.
>> > LOG: Attempting download of new URL
>> > file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web/CrystalDecisions.Web.DLL.
>> > LOG: Attempting download of new URL
>> > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
>> > Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web.EXE.
>> > LOG: Attempting download of new URL
>> > file:///C:/WINNT/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET
>> > Files/smartrep.net/2aa7a47b/c67b80a7/CrystalDecisions.Web/CrystalDecisions.Web.EXE.
>> > LOG: Attempting download of new URL
>> > file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web.EXE.
>> > LOG: Attempting download of new URL
>> > file:///c:/inetpub/wwwroot/SmartRep.NET/bin/CrystalDecisions.Web/CrystalDecisions.Web.EXE.
>>
>>
>>