authentication error, hopeless coder:(
-
I have coded a little project that has to work inside a big project and be a part of it. ıt works fine on my local machine but when i setup it on server it fails.I tried everything read at net but it is still giving same error.Here is teh error ,check it and give me any idea to solve that please..Thanx in advance.. Server Error in '/littelProject' Application. -------------------------------------------------------------------------------- Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\littleProject\0d4e319d\426589d8" 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. Exception Details: System.UnauthorizedAccessException: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\littleProject\0d4e319d\426589d8" 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 , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. ----------------------------------------------------------------------------------- Note:identity impersonate is at its default value="false".. --junior coder--
-
I have coded a little project that has to work inside a big project and be a part of it. ıt works fine on my local machine but when i setup it on server it fails.I tried everything read at net but it is still giving same error.Here is teh error ,check it and give me any idea to solve that please..Thanx in advance.. Server Error in '/littelProject' Application. -------------------------------------------------------------------------------- Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\littleProject\0d4e319d\426589d8" 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. Exception Details: System.UnauthorizedAccessException: Access to the path "C:\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\littleProject\0d4e319d\426589d8" 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 , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user. ----------------------------------------------------------------------------------- Note:identity impersonate is at its default value="false".. --junior coder--
-
Hi there, Are you sure that the ASP.NET process identity (ASPNET on 2k or XP, or Network Service on 2k3) has the permissions to access the temporary folder? You might try giving it full control. Btw, which version of OS are you using?
i solved the problem by changing login type to forms authentications. thanx again --junior coder--