run time error when publishing a website

Posted on 2009-02-13
Last Modified: 2012-05-06
I have developed accountant system developed in 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
Question by:Ameerh24
    LVL 4

    Expert Comment

    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.
    LVL 4

    Expert Comment

    ^^ be a line ^^ (not ling!)
    LVL 5

    Expert Comment

    You could try changing the a property of the CrystalReport References.

    "Copy Local" = true

    Then re publish the app & see it that works.
    LVL 13

    Expert Comment

    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!!!!

    Author Comment

    how to check if crystal report already installed or not ?
    and if not is there a tool to install it?
    LVL 15

    Accepted Solution

    LVL 100

    Assisted Solution

    You can also check this document.  Installation instructions start on page 434


    Featured Post

    Looking for New Ways to Advertise?

    Engage with tech pros in our community with native advertising, as a Vendor Expert, and more.

    Join & Write a Comment

    Article by: kevp75
    Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
    Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
    To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    754 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now