473,700 Members | 2,582 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 2397
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
19174
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
1520
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
2819
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
1424
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
1662
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
2437
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
3401
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
1451
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
8539
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
8647
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
9076
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...
0
8926
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7813
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...
1
6563
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5903
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 into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4404
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
4659
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3092
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

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.