Crystal Reports and ASP.NET configuration issue

I have developed an ASP.NET app that works just fine on MY developement box, but now am trying to get it up on the custmers server.  The .NET Framewrok 1.1 is installed on the customer web server.  I have addedd the Crystal Reports related DLLs that are in MY /bin folder to the site on the custeomer server, and now get tis error message:

Configuration Error
Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

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

Source Error:


Line 24:     <compilation defaultLanguage="vb" debug="true">
Line 25:             <assemblies>
Line 26:                   <add assembly="CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
Line 27:                   <add assembly="CrystalDecisions.ReportSource, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
Line 28:                   <add assembly="CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
 

Source File: C:\Inetpub\wwwroot\IDEALSolutionWeb\web.config    Line: 26

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


=== Pre-bind state information ===
LOG: DisplayName = CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
 (Fully-specified)
LOG: Appbase = file:///C:/Inetpub/wwwroot/IDEALSolutionWeb
LOG: Initial PrivatePath = bin
Calling assembly : (Unknown).
===

LOG: Publisher policy file is not found.
LOG: No redirect found in host configuration file (C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\aspnet.config).
LOG: Using machine configuration file from C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\config\machine.config.
LOG: Post-policy reference: CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/72a04f5a/5a27de96/CrystalDecisions.CrystalReports.Engine.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/72a04f5a/5a27de96/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/IDEALSolutionWeb/bin/CrystalDecisions.CrystalReports.Engine.DLL.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/IDEALSolutionWeb/bin/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.DLL.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/72a04f5a/5a27de96/CrystalDecisions.CrystalReports.Engine.EXE.
LOG: Attempting download of new URL file:///C:/WINDOWS/Microsoft.NET/Framework/v1.1.4322/Temporary ASP.NET Files/root/72a04f5a/5a27de96/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.EXE.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/IDEALSolutionWeb/bin/CrystalDecisions.CrystalReports.Engine.EXE.
LOG: Attempting download of new URL file:///C:/Inetpub/wwwroot/IDEALSolutionWeb/bin/CrystalDecisions.CrystalReports.Engine/CrystalDecisions.CrystalReports.Engine.EXE.

 


--------------------------------------------------------------------------------
 

Line 26:                   <add assembly="CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
is HIGHLIGHTED.

clearly this is a configuarion issue, so WHAT AM I MISSING?

AW

LVL 44
Arthur_WoodAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
AerosSagaCommented:
do you have copy local set to true under the references you added?
0
 
AerosSagaCommented:
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
Arthur_WoodAuthor Commented:
AerosSaga>> Yes, Local copy is set to True, and the relevant DLLS:

(this is from the web.config file)

<compilation defaultLanguage="vb" debug="true">
            <assemblies>
                  <add assembly="CrystalDecisions.CrystalReports.Engine, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                  <add assembly="CrystalDecisions.ReportSource, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                  <add assembly="CrystalDecisions.Shared, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
                  <add assembly="CrystalDecisions.Web, Version=9.1.5000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/>
            </assemblies>
      </compilation>

to wit:

CrystalDecisions.CrystalReports.Engine.DLL
CrystalDecisions.ReportSource.dll
CrystalDecisions.Shared.dll
CrystalDecisions.Web.dll

are all present in the /BIN folder of the web site.

AW
0
 
AerosSagaCommented:
please ensure you completed your deployment this way:

http://dotnetjunkies.com/WebLog/richard.dudley/archive/2004/05/25/14449.aspx
0
 
Arthur_WoodAuthor Commented:
with regard to the BusinessObject URL, notice that ALL of the config file entries refer to the 9.1.5000.0 version.  That does NOT appear to be relevant.

And the App was started and complete built with VS 2003.

AW
0
 
Arthur_WoodAuthor Commented:
that last URL is the same as the dotnetjunkies item.  and from their page:

An alternative solution to try is directly copying the following DLLs to your application's BIN folder on the server:

crystaldecisions.crystalreports.engine.dll.
crystaldecisions.reportsource.dll
crystaldecisions.shared.dll
crystaldecisions.web.dll

I have not tried this, but the idea was posted in a forum message, and the author reported success.  If you do copy the DLLs to the application folder, I think you'll have to copy them for all applications on the server.  A deployment package installs the DLLs in the Global Assembly Cache, where they are available for all applications running on the server.


The app is the only one that will EVER be on the Server, so the need to install in the GAC is non-existant, at least for the foreseeable future.

and as I said, the four relevant DLLS are presnt in the /BIN folder.

AW

0
 
mmarinovConnect With a Mentor Commented:
Hi Arthur_Wood,

the received message is because some part of your application is trying to find the dll that contains CrystalDecisions.CrystalReports.Engine in the GAC
try to copy these files into the GAC and see what will be the result

Regards!
B..M
0
 
Arthur_WoodAuthor Commented:
why is it not looking in the local /bin folder first?

I have a more general question.  I have taken the Crystal Decision white paper on Crystal Reports and .NET, and followed the steps for 'deploying an ASP.NET Web Application".  I the  built the WebSetup project - now what?  What do I actually send to the Customer, to be 'installed' on the Customer's web server?

I understand the the WebSeup deployment will the add the necessary files to the GAC.

what do I do next?

AW
0
 
mmarinovCommented:
try this lines

<compilation defaultLanguage="vb" debug="true">
<assemblies>
<add assembly="CrystalDecisions.CrystalReports.Engine"/>
<add assembly="CrystalDecisions.ReportSource"/>
<add assembly="CrystalDecisions.Shared"/>

about the installation - see this :
http://www.15seconds.com/issue/030806.htm

Regards
B..M
0
 
Arthur_WoodAuthor Commented:
I found the msi and other pieces, and have zipped them up and sent them to the customer.  We will take a shot at this on Monday.

AW
0
 
mmarinovCommented:
Good luck
Regards
B..M
0
 
Mike EghtebasDatabase and Application DeveloperCommented:
0
 
Arthur_WoodAuthor Commented:
Mike, I saw that.  ANd posted my congrats to Alan on the first page.

mmarinov and AerosSaga>> the problem may be the following:

The customer is a VERY Secure US ARMY site (at Ft Detrick, MD - yes, That Ft Detrick), and it seems that even though I sent them a ZIPPED file with all of the DLLs to be copied to the /BIN directory, the admin informed me that the only files he finds in the /BIN directory (after unzipping) are the ones WITHOUT the .dll extension.  My guess at the moment is that they have some VERY powerful sniffer software that looked inside the .ZIP file, saw that there were .DLL files, which were then percieved as being potentiall mischievous, and thus deleted.

I will try renaming the files as .dl_, then zipping those files, renaming the .ZIP file as .zi_ and sending that to them on Monday.  Then he should be able to re-name the .ZI_ (.ZIP is blocked by their email server), unzip the .dl_ files to the /Bin directory, then rename each file from whatever.dl_ to whatever.dll....hopefully that will resolve this problem.

Let you know on Monday.

AW
0
 
Arthur_WoodAuthor Commented:
it appears that the security on the box that was blocking the adding to the DLLs from the ZIP file that had sent was the issue, as we have now gotten past the Config error.  Thanks to all involved.  I will be awarding points shortly.

AW
0
All Courses

From novice to tech pro — start learning today.