[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Crystal Reports and ASP.NET configuration issue

Posted on 2004-10-29
15
Medium Priority
?
23,023 Views
Last Modified: 2011-08-18
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

0
Comment
Question by:Arthur_Wood
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 7
  • 4
  • 3
  • +1
15 Comments
 
LVL 17

Expert Comment

by:AerosSaga
ID: 12447050
do you have copy local set to true under the references you added?
0
 
LVL 17

Expert Comment

by:AerosSaga
ID: 12447073
0
 
LVL 44

Author Comment

by:Arthur_Wood
ID: 12447144
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
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 17

Expert Comment

by:AerosSaga
ID: 12447166
please ensure you completed your deployment this way:

http://dotnetjunkies.com/WebLog/richard.dudley/archive/2004/05/25/14449.aspx
0
 
LVL 44

Author Comment

by:Arthur_Wood
ID: 12447171
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
 
LVL 17

Accepted Solution

by:
AerosSaga earned 1600 total points
ID: 12447206
0
 
LVL 44

Author Comment

by:Arthur_Wood
ID: 12447261
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
 
LVL 28

Assisted Solution

by:mmarinov
mmarinov earned 400 total points
ID: 12447414
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
 
LVL 44

Author Comment

by:Arthur_Wood
ID: 12447573
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
 
LVL 28

Expert Comment

by:mmarinov
ID: 12447689
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
 
LVL 44

Author Comment

by:Arthur_Wood
ID: 12447932
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
 
LVL 28

Expert Comment

by:mmarinov
ID: 12447994
Good luck
Regards
B..M
0
 
LVL 34

Expert Comment

by:Mike Eghtebas
ID: 12448620
0
 
LVL 44

Author Comment

by:Arthur_Wood
ID: 12449789
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
 
LVL 44

Author Comment

by:Arthur_Wood
ID: 12465214
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

Featured Post

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
ASP.Net to Oracle Connectivity Recently I had to develop an ASP.NET application connecting to an Oracle database.As I am doing it first time ,I had to solve several problems. This article will help to such developers  to develop an ASP.NET client…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question