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

P

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.
 
C

Christopher Reed

You either do not have the CR.NET DLLs in the GAC or they have not been
referenced in your web project.
 
P

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
 
C

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top