Click here to Skip to main content
15,897,273 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I got this error on godady server on uploading a file in my website application

Access to the path 'D:\Hosting\10954195\html\xxx\xxxxaa\new.pdf' is denied.

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 (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true">, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.

Please help me
Posted
Updated 21-Apr-13 22:56pm
v2

1 solution

Network Share had correct Security permissions but the Share permissions were not configured properly for the user. So try giving the proper permission to that specific folder.

Look at these links:
Access Denied in iis 7[^]
ASP.NET is not authorized to access the requested resource[^]
ASP.NET is not authorized[^]

Good luck,
OI
 
Share this answer
 
v2
Comments
Shagun Bansal 22-Apr-13 5:03am    
but how i congirgure this on server online?

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

  Print Answers RSS
Top Experts
Last 24hrsThis month


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