• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 467
  • Last Modified:

run time error when publishing a website

hi,
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
0
Ameerh24
Asked:
Ameerh24
2 Solutions
 
justin-clarkeCommented:
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.
0
 
justin-clarkeCommented:
^^ be a line ^^ (not ling!)
0
 
RichardJhancockCommented:
You could try changing the a property of the CrystalReport References.

"Copy Local" = true

Then re publish the app & see it that works.
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 
Praveen DMInfra Team LeadCommented:
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!!!!
0
 
Ameerh24Author Commented:
how to check if crystal report already installed or not ?
and if not is there a tool to install it?
0
 
Praveen VenuCommented:
0
 
mlmccCommented:
You can also check this document.  Installation instructions start on page 434

http://www.businessobjects.com/global/pdf/dev_zone/VS2005_Walkthroughs.pdf

mlmcc
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now