R
Rod
I've been struggling with this thing for 2 days, and after searching the
'net for help, I cannot find what is wrong.
We're using Crystal Reports XI Release 2, with Visual Studio .NET 2003 in an
ASP.NET 1.1 application. I've got a CrystralReportsViewer control on an
ASP.NET page. Once the page gets hit I get the following error message
(this is running on my development machine):
Server Error in '/Appointments' 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: File or assembly name "CrystalDecisions.Web", or one
of its dependencies, was not found.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="AppointmentReport.aspx.vb"
Inherits="Appointments.AppointmentReport" %>Line 2: <%@ Register
TagPrefix="cr" Namespace="CrystalDecisions.Web"
Assembly="CrystalDecisions.Web", Version=11.5.3300.0, Culture=neutral,
PublicKeyToken=..." %>Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">Line 4: <HTML>
Source File: c:\inetpub\wwwroot\Appointments\AppointmentReport.aspx Line:
2
Assembly Load Trace: The following information can be helpful to determine
why the assembly '"CrystalDecisions.Web"' could not be loaded.
=== Pre-bind state information ===LOG: DisplayName = "CrystalDecisions.Web"
(Partial)LOG: Appbase = file:///c:/inetpub/wwwroot/AppointmentsLOG: Initial
PrivatePath = binCalling assembly : (Unknown).=== LOG: Policy not being
applied to reference at this time (private, custom, partial, or
location-based assembly bind).LOG: Post-policy reference:
"CrystalDecisions.Web"LOG: Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisions.Web".DLL.LOG:
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisions.Web"/"CrystalDecisions.Web".DLL.LOG:
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisions.Web".DLL.LOG:
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisions.Web"/"CrystalDecisions.Web".DLL.LOG:
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisions.Web".EXE.LOG:
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisions.Web"/"CrystalDecisions.Web".EXE.LOG:
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisions.Web".EXE.LOG:
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisions.Web"/"CrystalDecisions.Web".EXE.
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
Here are the relevant lines from the Web.Config file:
<assemblies>
<add assembly="CrystalDecisions.CrystalReports.Engine,
Version=11.5.3300.0, Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.ReportSource, Version=11.5.3300.0,
Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.Shared, Version=11.5.3300.0,
Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.Web, Version=11.5.3300.0,
Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.ReportAppServer.ClientDoc,
Version=11.5.3300.0, Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.Enterprise.Framework,
Version=11.5.3300.0, Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.Enterprise.InfoStore,
Version=11.5.3300.0, Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.Enterprise.Web, Version=11.5.3300.0,
Culture=neutral, PublicKeyToken=..."/>
</assemblies>
The four references being included in the app are:
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Web
I have verified that the version number of all of those references is
11.5.3300.0
The relevant register tag in the ASP.NET page is as follows:
<%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web"
Assembly="CrystalDecisions.Web", Version=11.5.3300.0, Culture=neutral,
PublicKeyToken=." %>
I see absolutely nothing wrong with what I've done. So, why does it tell me
that, "File or assembly name "CrystalDecisions.Web", or one of its
dependencies, was not found."???
Rod
'net for help, I cannot find what is wrong.
We're using Crystal Reports XI Release 2, with Visual Studio .NET 2003 in an
ASP.NET 1.1 application. I've got a CrystralReportsViewer control on an
ASP.NET page. Once the page gets hit I get the following error message
(this is running on my development machine):
Server Error in '/Appointments' 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: File or assembly name "CrystalDecisions.Web", or one
of its dependencies, was not found.
Source Error:
Line 1: <%@ Page Language="vb" AutoEventWireup="false"
Codebehind="AppointmentReport.aspx.vb"
Inherits="Appointments.AppointmentReport" %>Line 2: <%@ Register
TagPrefix="cr" Namespace="CrystalDecisions.Web"
Assembly="CrystalDecisions.Web", Version=11.5.3300.0, Culture=neutral,
PublicKeyToken=..." %>Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">Line 4: <HTML>
Source File: c:\inetpub\wwwroot\Appointments\AppointmentReport.aspx Line:
2
Assembly Load Trace: The following information can be helpful to determine
why the assembly '"CrystalDecisions.Web"' could not be loaded.
=== Pre-bind state information ===LOG: DisplayName = "CrystalDecisions.Web"
(Partial)LOG: Appbase = file:///c:/inetpub/wwwroot/AppointmentsLOG: Initial
PrivatePath = binCalling assembly : (Unknown).=== LOG: Policy not being
applied to reference at this time (private, custom, partial, or
location-based assembly bind).LOG: Post-policy reference:
"CrystalDecisions.Web"LOG: Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisions.Web".DLL.LOG:
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisions.Web"/"CrystalDecisions.Web".DLL.LOG:
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisions.Web".DLL.LOG:
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisions.Web"/"CrystalDecisions.Web".DLL.LOG:
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisions.Web".EXE.LOG:
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisions.Web"/"CrystalDecisions.Web".EXE.LOG:
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisions.Web".EXE.LOG:
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisions.Web"/"CrystalDecisions.Web".EXE.
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032
Here are the relevant lines from the Web.Config file:
<assemblies>
<add assembly="CrystalDecisions.CrystalReports.Engine,
Version=11.5.3300.0, Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.ReportSource, Version=11.5.3300.0,
Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.Shared, Version=11.5.3300.0,
Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.Web, Version=11.5.3300.0,
Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.ReportAppServer.ClientDoc,
Version=11.5.3300.0, Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.Enterprise.Framework,
Version=11.5.3300.0, Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.Enterprise.InfoStore,
Version=11.5.3300.0, Culture=neutral, PublicKeyToken=..."/>
<add assembly="CrystalDecisions.Enterprise.Web, Version=11.5.3300.0,
Culture=neutral, PublicKeyToken=..."/>
</assemblies>
The four references being included in the app are:
CrystalDecisions.CrystalReports.Engine
CrystalDecisions.ReportSource
CrystalDecisions.Shared
CrystalDecisions.Web
I have verified that the version number of all of those references is
11.5.3300.0
The relevant register tag in the ASP.NET page is as follows:
<%@ Register TagPrefix="cr" Namespace="CrystalDecisions.Web"
Assembly="CrystalDecisions.Web", Version=11.5.3300.0, Culture=neutral,
PublicKeyToken=." %>
I see absolutely nothing wrong with what I've done. So, why does it tell me
that, "File or assembly name "CrystalDecisions.Web", or one of its
dependencies, was not found."???
Rod