Will publishing an ASP.NET WebForms app remove Crysttal Reports from the web server?

Rod Falanga 1,056 Reputation points
2025-01-16T02:06:01.4266667+00:00

I maintain a legacy Intranet ASP.NET WebForms app written years ago using VB.NET. When the original developers wrote it, they used Crystal Reports 13.0.2 (I think, I'm going on memory and I'm home, so I cannot verify this, but I'm sure it is very close.) This WebForms app is simple, as far as the number of pages go. It's only 12 pages, which includes the pages to render the Crystal Reports. Nevertheless, the Visual Studio solution has 9 projects in it, with each project using a different version of .NET Framework. Everything from version 2 to 4.5.2.

Anyway, SAP, which currently owns Crystal Reports, no longer supports Crystal 13.0.2. Normally, I don't have to do any editing of the application, as all requests by the users have been something I can handle in the SQL Server tables. However, they now want a change that will require modifying the application. (The original developers hard-coded a lot of values in those 9 projects.)

My PC did have an installation of Crystal 13.0.2 on it, until the Christmas/New Years holiday, when the desktop support team decided to reimage my desktop. I don't think I can install that old version of Crystal anymore.

My concern is once I make the modifications to the code, then publish it to an internal web server, will the act of publishing the app wipe out Crystal 13.0.2 on the server?

Developer technologies | ASP.NET Core | Other

Answer accepted by question author
Jack Dang (WICLOUD CORPORATION) 18,975 Reputation points Microsoft External Staff Moderator
2025-07-23T04:36:47.0366667+00:00

Hi,

Thanks for reaching out.

When you publish an ASP.NET WebForms application, the deployment process does not uninstall or modify any software installed on the web server, including the Crystal Reports runtime. Publishing typically updates the application’s files (like DLLs, ASPX pages, and the web.config) but does not touch installed components like Crystal Reports 13.0.2, which is a separate system-level installation.

That said, there are a few things to keep in mind:

Check the version of Crystal Reports currently installed on the server. You can find this in Programs and Features on Windows.

If you reinstall a newer version of Crystal Reports Developer Edition on your dev machine, avoid referencing a newer runtime DLL unless you're also ready to upgrade the runtime on the server. Version mismatches can cause runtime errors.

Before publishing, make a backup of the server’s application folder and configuration files, just in case any settings or bindings get overwritten.

If you’re forced to use a newer Crystal version for development, you’ll likely need to update the server’s Crystal runtime to match.

In short: Publishing your updated app won’t remove Crystal Reports from the server, but it’s important to ensure version compatibility between your development environment and the production runtime.

Hope this helps!

Was this answer helpful?

0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Michael Taylor 61,231 Reputation points
    2025-01-16T15:23:26.2566667+00:00

    Publishing a web app doesn't install new or remove existing software from the server. In general it will simply replace the deployment directory and update the IIS configuration.

    In many cases the functionality you need is contained in the NuGet package you reference. However more complex libraries, like Crystal Reports, tend to require software to also be installed. This is generally documented by the package. During development you generally have instructions to install some software on your machine. This same step has to occur on the server as well. Publishing cannot do this. Thus if you are not updating your dependencies then publishing shouldn't have any issues. However if you update your packages and they document that they require newer versions of the third party code then you'll need to manually update your server before publishing.

    Was this answer helpful?

    1 person found this answer helpful.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.