473,545 Members | 1,924 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

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 CrystralReports Viewer 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 "CrystalDecisio ns.Web", or one
of its dependencies, was not found.

Source Error:

Line 1: <%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="App ointmentReport. aspx.vb"
Inherits="Appoi ntments.Appoint mentReport" %>Line 2: <%@ Register
TagPrefix="cr" Namespace="Crys talDecisions.We b"
Assembly="Cryst alDecisions.Web ", Version=11.5.33 00.0, Culture=neutral ,
PublicKeyToken= ..." %>Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">Line 4: <HTML>
Source File: c:\inetpub\wwwr oot\Appointment s\AppointmentRe port.aspx Line:
2

Assembly Load Trace: The following information can be helpful to determine
why the assembly '"CrystalDecisi ons.Web"' could not be loaded.

=== Pre-bind state information ===LOG: DisplayName = "CrystalDecisio ns.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:
"CrystalDecisio ns.Web"LOG: Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisio ns.Web".DLL.LOG :
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisio ns.Web"/"CrystalDecisio ns.Web".DLL.LOG :
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisio ns.Web".DLL.LOG :
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisio ns.Web"/"CrystalDecisio ns.Web".DLL.LOG :
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisio ns.Web".EXE.LOG :
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisio ns.Web"/"CrystalDecisio ns.Web".EXE.LOG :
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisio ns.Web".EXE.LOG :
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisio ns.Web"/"CrystalDecisio ns.Web".EXE.


--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.432 2.2032; ASP.NET
Version:1.1.432 2.2032

Here are the relevant lines from the Web.Config file:

<assemblies>

<add assembly="Cryst alDecisions.Cry stalReports.Eng ine,
Version=11.5.33 00.0, Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Rep ortSource, Version=11.5.33 00.0,
Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Sha red, Version=11.5.33 00.0,
Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Web , Version=11.5.33 00.0,
Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Rep ortAppServer.Cl ientDoc,
Version=11.5.33 00.0, Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Ent erprise.Framewo rk,
Version=11.5.33 00.0, Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Ent erprise.InfoSto re,
Version=11.5.33 00.0, Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Ent erprise.Web, Version=11.5.33 00.0,
Culture=neutral , PublicKeyToken= ..."/>

</assemblies>

The four references being included in the app are:

CrystalDecision s.CrystalReport s.Engine

CrystalDecision s.ReportSource

CrystalDecision s.Shared

CrystalDecision s.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="Crys talDecisions.We b"
Assembly="Cryst alDecisions.Web ", Version=11.5.33 00.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 "CrystalDecisio ns.Web", or one of its
dependencies, was not found."???

Rod


Sep 12 '06 #1
2 3604
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.

Rod wrote:
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 CrystralReports Viewer 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 "CrystalDecisio ns.Web", or one
of its dependencies, was not found.

Source Error:

Line 1: <%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="App ointmentReport. aspx.vb"
Inherits="Appoi ntments.Appoint mentReport" %>Line 2: <%@ Register
TagPrefix="cr" Namespace="Crys talDecisions.We b"
Assembly="Cryst alDecisions.Web ", Version=11.5.33 00.0, Culture=neutral ,
PublicKeyToken= ..." %>Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">Line 4: <HTML>
Source File: c:\inetpub\wwwr oot\Appointment s\AppointmentRe port.aspx Line:
2

Assembly Load Trace: The following information can be helpful to determine
why the assembly '"CrystalDecisi ons.Web"' could not be loaded.

=== Pre-bind state information ===LOG: DisplayName = "CrystalDecisio ns.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:
"CrystalDecisio ns.Web"LOG: Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisio ns.Web".DLL.LOG :
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisio ns.Web"/"CrystalDecisio ns.Web".DLL.LOG :
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisio ns.Web".DLL.LOG :
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisio ns.Web"/"CrystalDecisio ns.Web".DLL.LOG :
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisio ns.Web".EXE.LOG :
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisio ns.Web"/"CrystalDecisio ns.Web".EXE.LOG :
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisio ns.Web".EXE.LOG :
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisio ns.Web"/"CrystalDecisio ns.Web".EXE.


--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.432 2.2032; ASP.NET
Version:1.1.432 2.2032

Here are the relevant lines from the Web.Config file:

<assemblies>

<add assembly="Cryst alDecisions.Cry stalReports.Eng ine,
Version=11.5.33 00.0, Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Rep ortSource, Version=11.5.33 00.0,
Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Sha red, Version=11.5.33 00.0,
Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Web , Version=11.5.33 00.0,
Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Rep ortAppServer.Cl ientDoc,
Version=11.5.33 00.0, Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Ent erprise.Framewo rk,
Version=11.5.33 00.0, Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Ent erprise.InfoSto re,
Version=11.5.33 00.0, Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Ent erprise.Web, Version=11.5.33 00.0,
Culture=neutral , PublicKeyToken= ..."/>

</assemblies>

The four references being included in the app are:

CrystalDecision s.CrystalReport s.Engine

CrystalDecision s.ReportSource

CrystalDecision s.Shared

CrystalDecision s.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="Crys talDecisions.We b"
Assembly="Cryst alDecisions.Web ", Version=11.5.33 00.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 "CrystalDecisio ns.Web", or one of its
dependencies, was not found."???

Rod
Sep 13 '06 #2
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

"drolaw" <dr***@shaw.caw rote in message
news:11******** *************@m 73g2000cwd.goog legroups.com...
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.

Rod wrote:
>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 CrystralReports Viewer 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 "CrystalDecisio ns.Web", or
one
of its dependencies, was not found.

Source Error:

Line 1: <%@ Page Language="vb" AutoEventWireup ="false"
Codebehind="Ap pointmentReport .aspx.vb"
Inherits="Appo intments.Appoin tmentReport" %>Line 2: <%@ Register
TagPrefix="c r" Namespace="Crys talDecisions.We b"
Assembly="Crys talDecisions.We b", Version=11.5.33 00.0, Culture=neutral ,
PublicKeyToken =..." %>Line 3: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML
4.0
Transitional//EN">Line 4: <HTML>
Source File: c:\inetpub\wwwr oot\Appointment s\AppointmentRe port.aspx
Line:
2

Assembly Load Trace: The following information can be helpful to
determine
why the assembly '"CrystalDecisi ons.Web"' could not be loaded.

=== Pre-bind state information ===LOG: DisplayName =
"CrystalDecisi ons.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:
"CrystalDecisi ons.Web"LOG: Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisio ns.Web".DLL.LOG :
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisio ns.Web"/"CrystalDecisio ns.Web".DLL.LOG :
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisio ns.Web".DLL.LOG :
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisio ns.Web"/"CrystalDecisio ns.Web".DLL.LOG :
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisio ns.Web".EXE.LOG :
Attempting download of new URL
file:///c:/windows/microsoft.net/framework/v1.1.4322/Temporary ASP.NET
Files/appointments/ca598e7f/71e58ba7/"CrystalDecisio ns.Web"/"CrystalDecisio ns.Web".EXE.LOG :
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisio ns.Web".EXE.LOG :
Attempting download of new URL
file:///c:/inetpub/wwwroot/Appointments/bin/"CrystalDecisio ns.Web"/"CrystalDecisio ns.Web".EXE.


--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.432 2.2032;
ASP.NET
Version:1.1.43 22.2032

Here are the relevant lines from the Web.Config file:

<assemblies>

<add assembly="Cryst alDecisions.Cry stalReports.Eng ine,
Version=11.5.3 300.0, Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Rep ortSource, Version=11.5.33 00.0,
Culture=neutra l, PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Sha red, Version=11.5.33 00.0,
Culture=neutra l, PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Web , Version=11.5.33 00.0,
Culture=neutra l, PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Rep ortAppServer.Cl ientDoc,
Version=11.5.3 300.0, Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Ent erprise.Framewo rk,
Version=11.5.3 300.0, Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Ent erprise.InfoSto re,
Version=11.5.3 300.0, Culture=neutral , PublicKeyToken= ..."/>

<add assembly="Cryst alDecisions.Ent erprise.Web,
Version=11.5.3 300.0,
Culture=neutra l, PublicKeyToken= ..."/>

</assemblies>

The four references being included in the app are:

CrystalDecisio ns.CrystalRepor ts.Engine

CrystalDecisio ns.ReportSource

CrystalDecisio ns.Shared

CrystalDecisio ns.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="Crys talDecisions.We b"
Assembly="Crys talDecisions.We b", Version=11.5.33 00.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 "CrystalDecisio ns.Web", or one of its
dependencies , was not found."???

Rod

Sep 13 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
3161
by: Manny | last post by:
I have a web form "Page1.asp" and it reads data from a database, does some calculations, and displays the records in pages. Works fine. I have a button that displays on the page, defined as <input type="button" onClick="OutputData()"> The OutputData() function is a javascript function that simply does this: window.location =...
6
1576
by: BBM | last post by:
Hi, I'm having trouble getting control data binding to work. As I understand it, the simplest form of databinding requires three things: 1) A control (say a textbox) on a form or user control, 2) A field or object.member to which you want to bind, 3) A "Binding" object that connects the variable to a property of the control ("Text"...
3
2378
by: Neil | last post by:
Hi, If I have the code line "DateTime d1 = DateTime.Now;" and look at d1 in the watch window, I thought I'd only see the properties of the DateTime object variable d1. However I seem to be seeing lots of other properties and objects - can anyone explain what these are and where they come from?
4
1598
by: Darrel | last post by:
I'm really stuck on the concept of using public variables to pass information between usercontrols. I'm pretty sure I'm just flubbing up the syntax. This is what I want: page usercontrol 1 - set variable usercontrol 2 - read variable
6
1212
by: Nep Tune | last post by:
It goes like the following: Use AdventureWorks database and HumanResources.Department table. Create a stored procedure called spDepartmentAddUpdate. This procedure accepts two parameters: Name, and GroupName. The data types are VarChar(50), and VarChar(50) respectively. Define logic in this procedure to check for an existing Department...
8
3912
by: Gary | last post by:
I'm using an Act database. I was stuck on this a year ago and am still having trouble. I have three bits of code like so : - act.CActAppObj objACT = new act.CActAppObj(); act.CAIBaseView objBaseView = new act.CAIBaseView(); act.CAIViews objViewsCollection = new act.CAIViews();
11
2302
Craash
by: Craash | last post by:
Hello, I am fairly new to creating databases with access. I am using Access 2003 and have created an Asset tracking database. I have a form to enter the asset information with the primary key as the asset ID#, on this form I would like to add a button to open an upgrade form. On the upgrade form I would like to have the Asset ID# field...
1
1518
by: slamtart | last post by:
Hi everyone, Stumped for awhile with this one. Not sure what to do next. Basically, I have a laptop computer which I use for work. Prior to around May of this year, there's no trick to connecting to the internet - I plug the ethernet cable in, and there it goes. Then one day, it stopped working. It would give you the standard "page not...
4
1285
by: Gaisgeil | last post by:
Alright, I guess I'm stumped. I've been working on this for a while now and can't seem to figure it out. I'll post two screenshots to help explain the problem. The first image below is a webpage I'm developing as viewed in IE7, the second is the same one viewed in FF. The first problem is that in IE7 the background colors in the cells are showing...
0
7410
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7668
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7437
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7773
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5343
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
4960
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3448
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1901
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1025
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.