Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

server files needed for crystal reports 2

Status
Not open for further replies.

HomerJS

Programmer
Jun 25, 2001
86
US
I'm trying to add a crystal report to a website. The website works fine without the crystal report but gives me the following error messages when I try to go to the page that has the crystal report viewer.

Is there something I need to install on the web server (if so where do I find it?) or what do I need to do?


Line 11: debugging ASP.NET files.
Line 12: -->
Line 13: <compilation defaultLanguage=&quot;vb&quot; debug=&quot;true&quot;><assemblies><add assembly=&quot;CrystalDecisions.CrystalReports.Engine, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304&quot;/><add assembly=&quot;CrystalDecisions.ReportSource, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304&quot;/><add assembly=&quot;CrystalDecisions.Shared, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304&quot;/><add assembly=&quot;CrystalDecisions.Web, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304&quot;/></assemblies></compilation>
Line 14:
Line 15: <!-- CUSTOM ERROR MESSAGES


Source File: c:\inetpub\ Line: 13

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


=== Pre-bind state information ===
LOG: DisplayName = CrystalDecisions.Shared, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
(Fully-specified)
LOG: Appbase = file:///c:/inetpub/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.0.3705\aspnet.config).
LOG: Using machine configuration file from C:\WINNT\Microsoft.NET\Framework\v1.0.3705\config\machine.config.
LOG: Post-policy reference: CrystalDecisions.Shared, Version=9.1.3300.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/drivfinsum/db005a18/c6a34a87/CrystalDecisions.Shared.DLL.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/drivfinsum/db005a18/c6a34a87/CrystalDecisions.Shared/CrystalDecisions.Shared.DLL.
LOG: Attempting download of new URL file:///c:/inetpub/LOG: Attempting download of new URL file:///c:/inetpub/LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/drivfinsum/db005a18/c6a34a87/CrystalDecisions.Shared.EXE.
LOG: Attempting download of new URL file:///C:/WINNT/Microsoft.NET/Framework/v1.0.3705/Temporary ASP.NET Files/drivfinsum/db005a18/c6a34a87/CrystalDecisions.Shared/CrystalDecisions.Shared.EXE.
LOG: Attempting download of new URL file:///c:/inetpub/LOG: Attempting download of new URL file:///c:/inetpub/
 
I know that when you add a CR viewer, vs.net will add a whole bunch of crystal report dll references to a project.

Have you checked to make sure that whatever dll is referenced by
'CrystalDecisions.Shared'
is actually in your bin folder for your project?

D'Arcy


 
Make sure it is installed too - and make sure all components have been selected - Visual Studio.Net setup disk 1

<bb/>
 
jfrost10 - Are you talking about the dll made by the project? (i.e., drivfinsum.dll - drivfinsum is the name of my project) The drivfinsum.dll is in the bin folder of my project.

GIGN - Do you mean to make sure that the dll is registered or what do I need to make sure is installed on the server?

I know the .NET framework is installed on our web server because there are other ASP.NET applications running. However mine is the first to include any crystal reports.
 
Thanks for your help guys. I found out I had to put the Crystal dll's that I reference in the bin folder of my project and then it works.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top