473,750 Members | 2,170 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Got error CS0433 for Crystal Report on Windows 2000 Server

I'm have problem to run crystal report (VS 2005) on my computer with Windows
2000 Server.
I run the solution in my dev envroiment (Windows XP) and no problems. When I
try to run in on IIS 5.0 on Windows 2000 Server I got the following error:

Compiler Error Message: CS0433: The type
'CrystalDecisio ns.Shared.Expor tOptions' exists in both

'c:\WINNT\assem bly\GAC\Crystal Decisions.Share d\9.1.3300.0__6 92fbea5521e1304 \CrystalDecisio ns.Shared.dll' and

'c:\WINNT\assem bly\GAC_MSIL\Cr ystalDecisions. Shared\10.2.360 0.0__692fbea552 1e1304\CrystalD ecisions.Shared .dll'

I run a ASP.NET 1.0 applicaton on this server and my new application is
ASP.NET 2.0 and it is in my new application I got the error.

/Leif
Aug 1 '06 #1
3 2401
Hello Leif,

From your description, your ASP.NET application is using some crystal
report components, it works well on a XP development box but failed with
some compilation error after moved to a widows 2000 server, correct?

Based on my experience, it is likely a environment specific issue. Also,
the error message below indicate that the ASP.NET appliation runtime try
locating the Crystal report component from GAC but found two assemblies in
the GAC both contains the expected type, then it fails to determine which
one to load.

==============
Compiler Error Message: CS0433: The type
'CrystalDecisio ns.Shared.Expor tOptions' exists in both

'c:\WINNT\assem bly\GAC\Crystal Decisions.Share d\9.1.3300.0__6 92fbea5521e1304 \
CrystalDecision s.Shared.dll' and

'c:\WINNT\assem bly\GAC_MSIL\Cr ystalDecisions. Shared\10.2.360 0.0__692fbea552 1
e1304\CrystalDe cisions.Shared. dll'
==============

Would you verify this on the windows 2000 server machine to see whether
there does exists two different version of the
"CrystalDecisio ns.Shared.dll" assembly in GAC? If this is the case, I
would suggest you explicitly configure your ASP.NET application to load a
fixed version of the component, here is a web thread mentioned the similar
problem and how to resolve it:

http://blogs.gotdotnet.com/richarde/...02/468187.aspx

In addition, since this is a crystal report specific issue, I would suggest
you consider contacting the crystal report support service if you meet any
further specific problems.

#How to get help with Crystal Reports - International and U.S.
http://support.microsoft.com/kb/100368/en-us

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

=============== =============== =============== =====

Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial

response from the community or a Microsoft Support Engineer within 1
business day is

acceptable. Please note that each follow up response may take approximately
2 business days

as the support professional working with you may need further investigation
to reach the

most efficient resolution. The offering is not appropriate for situations
that require

urgent, real-time or phone-based interactions or complex project analysis
and dump analysis

issues. Issues of this nature are best handled working with a dedicated
Microsoft Support

Engineer by contacting Microsoft Customer Support Services (CSS) at

http://msdn.microsoft.com/subscripti...t/default.aspx.

=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.





Aug 2 '06 #2
Hi Steve,

I try to do like the link you refer to
http://blogs.gotdotnet.com/richarde/...02/468187.aspx

But when I write like this in aspx page I got a build error in VS2005,
Error 62 The 'inherits' attribute cannot contain spaces:

And in my asp page i write:
<%@ Page Language="C#" AutoEventWireup ="true"
CodeFile="GetPa lletFromOrder.a spx.cs" Inherits="GetPa lletFromOrder,
CrystalDecision s.Shared, Version=10.2.36 00.0, Culture=neutral ,
PublicKeyToken= 692fbea5521e130 4" %>

Yours sincerely Leif

"Steven Cheng[MSFT]" wrote:
Hello Leif,

From your description, your ASP.NET application is using some crystal
report components, it works well on a XP development box but failed with
some compilation error after moved to a widows 2000 server, correct?

Based on my experience, it is likely a environment specific issue. Also,
the error message below indicate that the ASP.NET appliation runtime try
locating the Crystal report component from GAC but found two assemblies in
the GAC both contains the expected type, then it fails to determine which
one to load.

==============
Compiler Error Message: CS0433: The type
'CrystalDecisio ns.Shared.Expor tOptions' exists in both

'c:\WINNT\assem bly\GAC\Crystal Decisions.Share d\9.1.3300.0__6 92fbea5521e1304 \
CrystalDecision s.Shared.dll' and

'c:\WINNT\assem bly\GAC_MSIL\Cr ystalDecisions. Shared\10.2.360 0.0__692fbea552 1
e1304\CrystalDe cisions.Shared. dll'
==============

Would you verify this on the windows 2000 server machine to see whether
there does exists two different version of the
"CrystalDecisio ns.Shared.dll" assembly in GAC? If this is the case, I
would suggest you explicitly configure your ASP.NET application to load a
fixed version of the component, here is a web thread mentioned the similar
problem and how to resolve it:

http://blogs.gotdotnet.com/richarde/...02/468187.aspx

In addition, since this is a crystal report specific issue, I would suggest
you consider contacting the crystal report support service if you meet any
further specific problems.

#How to get help with Crystal Reports - International and U.S.
http://support.microsoft.com/kb/100368/en-us

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

=============== =============== =============== =====

Get notification to my posts through email? Please refer to

http://msdn.microsoft.com/subscripti...ult.aspx#notif
ications.

Note: The MSDN Managed Newsgroup support offering is for non-urgent issues
where an initial

response from the community or a Microsoft Support Engineer within 1
business day is

acceptable. Please note that each follow up response may take approximately
2 business days

as the support professional working with you may need further investigation
to reach the

most efficient resolution. The offering is not appropriate for situations
that require

urgent, real-time or phone-based interactions or complex project analysis
and dump analysis

issues. Issues of this nature are best handled working with a dedicated
Microsoft Support

Engineer by contacting Microsoft Customer Support Services (CSS) at

http://msdn.microsoft.com/subscripti...t/default.aspx.

=============== =============== =============== =====

This posting is provided "AS IS" with no warranties, and confers no rights.





Aug 2 '06 #3
Hi Leif,

I suggest you consider using the assembly binding redirection setting in
your application's web.config file to redirect another version of the
assembly to the one you want to use.

Sincerely,

Steven Cheng

Microsoft MSDN Online Support Lead

This posting is provided "AS IS" with no warranties, and confers no rights.

Aug 2 '06 #4

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

Similar topics

1
19180
by: Stephan | last post by:
Hi, I'm using Visual Studio 2003 (C#) with the integrated Crystal Report software and have the following question: How can I assign a value (string) to an unbound (string) field in Crystal Report at runtime? Example: private void button1_Click(object sender,
0
1523
by: wangyang | last post by:
I designed a crystal report by Microsoft Visual Studio .NET (Version 1.1),and I inserted a chart in the report. All Text Font are "Arial" in the chart. I viewed the report in web application and web server is windows 2000 Server. If the version of windows 2000 Server is Traditional chinese,Text in chart (such as Title,Group Title,Legend Title) are illegible. If the version of windows 2000 Server is English or simplified chinese,Text in...
3
2824
by: Russ | last post by:
I have a page that uses crystal reports to generate reports from a SQl server database. As of a week ago everything was working fine, but now I am all of the sudden getting errors. To the best of my knowledge nothing was changed on the server. Here is the error: Error in File C:\DOCUME~1\WEBSERVER\ASPNET\Local Settings\Temp\temp_57908cf8-dba0-4327-b785-95de5cf6e523.rpt: Invalid export DLL or export format.
2
1428
by: Paul M. | last post by:
Hi, we have a asp (vb) .net www app which use crystal reports to produce output from a sqlserver 2000 database. The asp pages work fine up to the point where it is required to generate a crystal report. Before this point it has queried the database and populated listboxes on an asp .net page so its not a datbase issue. The error we get is: =========== Exception Details: CrystalDecisions.CrystalReports.Engine.LogOnException: Logon failed.
6
1675
by: Alixx Skevington | last post by:
OK why does the following code work in a Windows form with a crystal report viewer but not in a webform. I get the usual CrystalReports.EngineLogONException logon Failed when this is called in aspx. Any help will be very much apprecaited Alixx This is the code in the calling aspx Page
3
2440
by: Adriano | last post by:
Hello, when I try to print something, either DataGrid or from Crystal Report viever the folowing error message appears and cancels printing: Object reference not set to an instance of an object :(((( Anyone pls help me to solve this problem!!! thanks in advance,
1
3407
by: Crystal Report - LoadSaveReportException | last post by:
I have a web system which will display a crystal report for clients. It is written in Visual Studio 2003, VB.Net and Crystal Report which comes with VS 2003, and it is running on Windows 2000. It works very well. Now we moved to Windows XP and I cannot run the report again at design time. There is no change to my code. I got the following error: The LoadSaveReportException: Load Report Error. I searched all answers through the web. It seems...
0
1458
by: Crystal Report - LoadSaveReportException | last post by:
I have a web system which will display a crystal report for clients. It is written in Visual Studio 2003, VB.Net and Crystal Report which comes with VS2003, running on Windows 2000. It works very well. Now we moved it to Windows XP and I cannot run the report again at design time. There is no change to my code. I got the following error: The LoadSaveReportException: Load Report Error. I searched all possible answers through the web. It...
21
8546
by: Mark Rae | last post by:
Hi, I have an ASP.NET 2 web application (not web site) project and am using a web deployment project to deploy to the testing, then the production server. All has been working well for months now, but today after a recompilation, the app is throwing the error below when accessing a certain page, although there are no errors in the compilation process. Compilation Error Description: An error occurred during the compilation of a...
0
8836
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9575
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. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9394
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9338
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 most users, this new feature is actually very convenient. If you want to control the update process,...
0
8260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4712
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4885
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3322
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
3
2223
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.