I am trying to use a Crystal Report Viewer control in a web form, but the
web server doesn't seem to want to work with the Crystal *.dll's.
Here's the scenario:
1) The project files reside on the web server and are accessed via Visual
Studio .NET on my workstation.
2) I have created a Report to be used by the viewer.
3) I create a web form, and add the Crystal Report Viewer web control to the
form. All necessary references are added to the project.
4) I set the ReportSource property in the design environment to the exact
location of the report.
5) The web application (when trying to pull it up in the web browser) bombs
out from the get-go with the message:
"Can not access file 'CrystalDecisions.ReportSource' because it is being
used by another process"
6) The message is different occassionally only in the respect that sometimes
it reports a different file (reference) name such as 'CrystalDecisions.Web'.
7) The error is caused during the loading of the web.config file. However,
if I remove the references in the project itself and take those lines out of
the web.config file, I still get this message but it is generated from the
web server's local machine.config file.
Of course, if I remove the references or the actual .dll files, the report
page is certainly not going to work.
Why does it insist that these files are being used? The above mentioned
project / application is the only web application on the web server that
references these files.