Click here to Skip to main content
15,888,521 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Server Error in '/' Application.
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: Could not load file or assembly 'CrystalDecisions.Web, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304' or one of its dependencies. The system cannot find the file specified.

Source Error: 


Line 1:  <%@ Page Title="" Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true" CodeFile="ReceiptVoucher.aspx.cs" Inherits="ReceiptVoucher" %>
Line 2:  
Line 3:  <%@ Register assembly="CrystalDecisions.Web, Version=13.0.3500.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
Line 4:  
Line 5:  <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">

Source File: /ReceiptVoucher.aspx    Line: 3 

Assembly Load Trace: The following information can be helpful to determine why the assembly 'CrystalDecisions.Web, Version=13.0.3500.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:4.0.30319; ASP.NET Version:4.7.2558.0


What I have tried:

this website woks in local iis and localhost...but when i uploaded to dummy hosting site...the pages incules crystal reports got error...what is the issue...? pleaase help me...
Posted
Updated 27-Jun-18 7:40am
Comments
AdamASPGeek 10-Jul-18 1:35am    
It seems that your hosting provider doesnt support/install CR on their server. Have you ask them about this issue? Can you make sure that they have installed CR on their server? If they dont support it, your CR wont work. FYI, you can host your CR on asphostportal.com. They fully support it.

1 solution

The error message explains what is happening. The code cannot find the dll that has the Crystal code in it. When you deployed it to the server, that file must not have been included. Make sure to set Copy Local to True on the reference in your project.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900