I deployed my application on IIS 7.0. I wanted to use the Image shared folder in my application, so I created a virtual directory inside my deployed application in IIS.
I set the physical path for this virtual directory to a shared folder on another machine. Now, when I try to view any image from this shared folder, I get the following error:
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the configuration data associated with it is invalid for the page.
Details of the error:
IIS Web Core Module
BeginRequest Notification
Handler Not yet defined
Error Code 0x8007052e
Configuration error Unable to read configuration file
Configuration File \? \ UNC \ WINSERVER1 \ hpu_images_staging \ web.config
Requested URL http: // [IPAddress] /Images/Temp_Harsh/photos/086b88b9-a228-4e0d-ba29-436c74ff5258.jpg
Physical path \ WINSERVER1 \ hpu_images_staging \ vetphotos \ 086b88b9-a228-4e0d-ba29-436c74ff5258.jpg
Login method Not yet defined
Login user Not yet defined
Failed Request Tracking Log C: \ inetpub \ logs \ FailedReqLogFiles
How to resolve this?
source share