We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now


run time error when publishing a website

Medium Priority
Last Modified: 2012-05-06
I have developed accountant system developed in asp.net 2.0, its running fine in local pc but when I publish it to the web sever as a virtual directory under a website it give me an error when trying to access it online

here is the error:

Server Error in '/Accountant' Application.
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: Could not load file or assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

Source Error:

Line 39:                   <deny users="?"/>
Line 40:             </authorization>
Line 41:             <httpHandlers><add verb="GET" path="CrystalImageHandler.aspx" type="CrystalDecisions.Web.CrystalImageHandler, CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304"/></httpHandlers>
Line 42: <customErrors mode="Off" />
Line 43: </system.web>

Source File: D:\WebSite\telefun21\Accountent\web.config    Line: 41

Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' could not be loaded.

WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42
Watch Question

In your webconfig file there will be a ling pointing to "CrystalDecisions.Web" or similar. And you haven't copied all the files across.

So either this line is not needed so you can delete it, or you should copy all your referenced files across.
^^ be a line ^^ (not ling!)
You could try changing the a property of the CrystalReport References.

"Copy Local" = true

Then re publish the app & see it that works.
Praveen DMInfra Team Lead
Top Expert 2008

1. Upload complete compiled content into the server.
2. Crystal Report does not get installed with framework in server... Check if you have installed crystal report in server.

This should be make u r apps rock!!!!


how to check if crystal report already installed or not ?
and if not is there a tool to install it?
Technical Project Manager

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Mike McCrackenSenior Consultant
Most Valuable Expert 2011
Top Expert 2013
You can also check this document.  Installation instructions start on page 434


Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.