Click here to Skip to main content
15,887,421 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
In IIS we have a virtual directory (named as "Documents") with in application virtual directory (named as "Reference") that points to an shared folder.

All the files with in the "Documents" folder are listed and opened by the user (by clicking on the file name) with in the application
"Reference" application runs under an application pool. This application pool is configured to run with an Active directory account. This AD account has been granted write and modify permissions on the shared folder that contains the html files.

When user tries to open any of the html file (using window.open) from the "Reference" application, located with in the shared location, system throws following error.

System.Net.WebException: The remote server returned an error: (500) Internal Server Error



We tried to browse to the shared folder location manually and were able to get in to that folder. We also checked the event log within the server but to our suprise this error was not registered within any of the sections (i.e. Application, Security, System etc).

These files where accessible from our application until yesterday. But we started encountering this error from today.

Is there any IIS settings that needs to be modified?

Your prompt response on this would be highly appreciated.
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900