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
'CrystalDecisions.Shared.ExportOptions' exists in both
'c:\WINNT\assembly\GAC\CrystalDecisions.Shared\9.1.3300.0__692fbea5521e1304\
CrystalDecisions.Shared.dll' and
'c:\WINNT\assembly\GAC_MSIL\CrystalDecisions.Shared\10.2.3600.0__692fbea5521
e1304\CrystalDecisions.Shared.dll'
==============
Would you verify this on the windows 2000 server machine to see whether
there does exists two different version of the
"CrystalDecisions.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/archive/2005/09/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/subscriptions/managednewsgroups/default.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/subscriptions/support/default.aspx.
==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.