I'm really stumped on what's wrong with this CR in our ASP.NET 1.1 app

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
 
D

drolaw

Hi Rod,
Two things jump out at me.

1. Are you sure that file (at that version) is available in the path
specified by the reference? If the web app was developed on a different
machine, you may be missing that dll, or not have it in the same
directory.

2. I believe version 11.5 is Business Objects XI R2. It may be that you
have just not installed the merge module for release 2 on your local
(development) machine, which would cause you to have a file that did
not have the same version as your app (or be missing in the first
place). Also XI R2 is intended for use with Visual Studio 2005. I'm
sure it's backwards compatible, but maybe that is what is causing the
problem?

I'm not sure if that will help. Good luck.
 
R

Rod

Hi drolaw,

Answering your questions in the order that you asked them:

1. I think the file is in the path specified by the reference. I've checked
the reference in VS .NET 2003's Solution Explorer, and then found the .dll
in the folder that the reference pointed to. Could you mean something else?

2. You may be correct about CR 11 R2 only being for VS .NET 2005. However,
when I went to download it from Business Object's website, I talked with
someone there and they told me that CR 11 R 2 would also work with VS .NET
2003, as well as VB6. (I was very specific about those two, as we're still
doing development in both.)

Rod
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,708
Latest member
SherleneF1

Latest Threads

Top