Error loading report on Windows 2003 server

I have an asp.net application that uses Crystal reports. When I click the show button, I get the error message "Error loading report." Application works fine on my local system. I also tried using report.close () and report.Dispose (), but not luck. We also set permissions, but still the same problem. Can anyone help me out.

+1
source share
2 answers

Does the server where problems occur have a valid Crystal Reports license?

Even with the free version that comes with Visual Studio, there is a license key that must be present on the machine to enable Crystal Reports to run. Here are a few decisions I made in the past:

  • Install the installation of Visual Studio on the target server. Install C # and Crystal Reports and do it with it. The main problem is that Visual Studio will get the license key setting. I think that technically you should start a new project and drag the Crystal Report object into the project to initiate the installation of the key, but this could change over time.

  • Configure the merge module in the project to insert the Crystal Reports key. The Crystal Reports website has documentation. Sometimes this becomes a complicated process.

  • Install a full copy of Crystal Reports on the destination server. This assumes that you have an availability license.

Unfortunately, none of them is a quick and easy solution, but they all worked in the past. You just need to choose which will be the least evil for your store. 8 ^ D

+1
source

Check out a couple of basics:

  • Is the report in the directory that your application expects? You mentioned that you set permissions in order, but check if it is really looking in the right place to start with. Perhaps even print out the location where he is looking for a report somewhere so you can be sure.

  • Make sure that all tables, views, and any other objects that use reports on the server, and that they conform to the same format.

+1
source

Source: https://habr.com/ru/post/893916/


All Articles