We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you two Citrix podcasts. Learn about 2020 trends and get answers to your biggest Citrix questions!Listen Now

x

Crystal Reports XI deployment with Visual Studio 2005

lanter007
lanter007 asked
on
Medium Priority
18,079 Views
Last Modified: 2011-08-18
On my client I have installed Visual Studio 2005 and Crystal Reports XI Developer. On the Server there is installed Crystals Reports Server XI on Win 2003 Server with IIS 6.0.
Now, I wanted to create a Crystal WebSite. On my development machine it works fine. It is a simple test report with nothing special.
Question 1:
But how can I integrate the assemblys from Crystal Reports XI ?

For deployment I tried to to this with merge modules. I integrated Crystal11_net_embeddedReporting.msm and CrystalReports11_maps.msm as it is described in sevveral files. There I entered the licence key from Crystal Reports XI. After run setup.exe on the Win 2003 Server I got the error 403 Forbidden.
Question 2: Why do I have this error? Did I forgot something ?

I also tried to deploy with described server install (CrystalReports11_NET_EmbeddedInstall.msi).

Most time I get the error "Could not load file or assembly 'CrystalDecisions.Web, Version=10.2.3600.0, "

I'm pretty confused now. I tried everything but nothing works. I would be very grateful If somebody could help me to deploy this simple crystal report.
Thanks,
lanter007
Comment
Watch Question

Commented:
>> Most time I get the error "Could not load file or assembly 'CrystalDecisions.Web, Version=10.2.3600.0, "

CR version 10 is embeded in VS.NET 2005, I am sure that you developed your project using CR10 then now wanna upgrade to CR 11 right?
From the project reference, you have to remove the current reference dll and change it to CR11.

dylan

Commented:
You'll also need to remove any version 10 components (CRViewer, etc.) and replace them with version 11 components - otherwise you won't be able to compile once you change the dll reference.

frodoman

Author

Commented:
OK to make it simple and clear step by step.
At first I create in Crystal Reports XI Dev. an Report.
Then in Visual Studio 2005 I crate a New Website.  I select ASP Net WebSite.
And then in Solution Explorer I click Add existing Item, there I select my just created Report from Crystal Reports XI.
But now, when I look into the web.config there are all asseblys from 10.... crystal. Is this at this poit ok?

Commented:
lanter007, which CR XI version did you installed? is it CR XI Developer version? If you installed XI Developer's version, it suppose to upgrade all your VS.NET2003's component to version 11.

dylan

Author

Commented:
Yes I installed Crystal Reports XI Developer edition. And it is installed Visual Studio 2005. How can I upgrade the components to 2005?

Commented:
if you are using VS.NET 2005, you have to download CRXI Release 2, or else it won't be compatible with VS.NET 2005, pls refer to this article
http://www.businessobjects.com/products/reporting/crystalreports/compatibility_vs2005.asp

You have to uninstall your existing CRXI then download and install CRXI release 2 again.

dylan

Author

Commented:
Thanks dylanyee,

On my machine there is installed release 1. On the server I deploy to is also Crystal Reports Server installed. Is it a problem if i only install the release 2 on my computer and leave the crystal installation as it is now? And why did I already have to run "CrystalReports11_NET_EmbeddedInstall.msi" on the computers? Is this only for previous visual studio versions?

Sorry for this "stupid" questions, but i'm a bit confused about this different versions and licenses.

thanks

Commented:
No... other than install CR XI Release 2 to your development PC, you also have to download and install the CR XI Release 2 Server to your deployment server(if you choose to deploy using CR server instead of merge module).
You could get it from
http://support.businessobjects.com/fix/merge_modules.asp#06

To find out how to deploy using merge module, see this
http://support.businessobjects.com/communityCS/TechnicalPapers/rdcXI_deployment.pdf.asp

i am not quite sure CrystalReports11_NET_EmbeddedInstall.msi, but for sure it is not for VS.NET 2005's version :)


dylan

Author

Commented:
Which solution would you reccomend for the beginning and for "my training"?
Commented:
I would say deploy using merge module is the best way, because you could include everything in the deployment project and install it at once, such as .net framework 2.0, crystal report runtime, your projects file, register external dll, setup wizard for your application... etc. If you are a software provider, this would safe you lot of times.
Deploy using runtime file has nothing much to do, for every single server/new customer, you have to install every runtime one by one...

dylan

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts

Author

Commented:
thank your dylan for your suggestions and your patience. this will help me to continue with my work.

lanter007

Commented:
glad I could help~

dylan
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.