Click here to Skip to main content
15,892,737 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Thanks in advance,

I have made a virtual Directory in IIS and has given permissions to IIS_IUSRS (Full Control) and Even added everyone,But when i am accessing attached file from the webpage its giving error

Quote:
Exception Details: System.ComponentModel.Win32Exception: Access is denied


while from Visual studio when i click on the link , files are opening , Only when i browse from IIS it gives error.when i adds identity impersonate ="true"
in web.config,it gives error on page load

Quote:
An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode.


Any suggestions ?
Posted
Updated 10-Nov-12 20:07pm
v3
Comments
AhmetOnnur 20-Oct-15 4:10am    
i have same issue so, is there a solution? İ gave full administrator permission to the related path but it's giving 'access denied' error.

1 solution

One reason comes to my mind, cause this issue is, somewhere in your application sql connection is not properly closed and it may leads to maximum number of open connections. Are you doing anything related to that? If so have a look twice.
 
Share this answer
 
Comments
εїзεїзεїз 11-Nov-12 3:51am    
Thanks for the post,

Yes ,i am having SQL Connection but after opening Connection and retrieving data, i am closing it immediately.

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