I am trying to debug an asp.net code in VS 2012. i press the debug tab ->start debugging. the debug is in web browser explorer.
So a webpage is opened with this address: http: //localhost:27970/hellow.aspx on this page i have an file uploader. and the page tries to save it. It is supposed to go to a network drive D:\ and save it there. here it fails and i am getting this error:
Access to the path'D:\upload_files\WebTesting\Test\5_12_2013_13_50_32_material.txt' is denied.
Description: An unhandled exception occurred during the execution of the current
web request. Please review the stack trace for more information about the error and
where it originated in the code.
ASP.NET is not authorized to access the requested resource. Consider granting
access rights to the resource to the ASP.NET request identity. ASP.NET has a base
process identity.
I also want to mention that this app is already working and i am just wanted to add some features. When i try to do the same actions in the website(before my changes) ,the file uploading has no problem, the problem is only in the debugging process.
I guess it has something to do with IIS. but i am not familiar with the IIS at all.
Any ideas?