how to resolve this Error "You are not authorized to view this page" errorpage
-
Im trying to put my ASP.Net application online but I just keep getting "You are not authorized to view this page" errorpage (error 401.1). Heres what i have done: -Placed the complied ASP.net application and its files to D:\mypage\ -Created a virtual folder in IIS 5.1 called mypage and selected correct ASP.Net version (2.0.50727) -Directory security is set to anonymous access (using IUSR_machinename). No integrated windows logon is selected. Now when i try to open from client side http://client IP/mypage/ i get "You are not authorized to view this page". Im out of ideas. When I did the same on my local host everything worked fine. Thax in advance
-
Im trying to put my ASP.Net application online but I just keep getting "You are not authorized to view this page" errorpage (error 401.1). Heres what i have done: -Placed the complied ASP.net application and its files to D:\mypage\ -Created a virtual folder in IIS 5.1 called mypage and selected correct ASP.Net version (2.0.50727) -Directory security is set to anonymous access (using IUSR_machinename). No integrated windows logon is selected. Now when i try to open from client side http://client IP/mypage/ i get "You are not authorized to view this page". Im out of ideas. When I did the same on my local host everything worked fine. Thax in advance
Check if the virtual directory itself points to correct directory. Sometimes we often point to directory just parent to it and find such problems. :)
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml> -
Check if the virtual directory itself points to correct directory. Sometimes we often point to directory just parent to it and find such problems. :)
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml>i hv given right directory path. n problem is still unresolve
-
i hv given right directory path. n problem is still unresolve
I think you must specify correct default Startup page from IIS console. As Directory browsing is turned off, it throws you this error. Also check http://client IP/mypage/yourpage.aspx is working or not. :-D
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml> -
I think you must specify correct default Startup page from IIS console. As Directory browsing is turned off, it throws you this error. Also check http://client IP/mypage/yourpage.aspx is working or not. :-D
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml>i have specify the startup page at iis console.and one more thing when i restart my server web application run till 20 to 30 min.then again give massege on web browser that "You are not authorized to view this page".
-
i have specify the startup page at iis console.and one more thing when i restart my server web application run till 20 to 30 min.then again give massege on web browser that "You are not authorized to view this page".
I think the problem is with your application. It must have doing something wrong... (might be eating up all the application pool memory)... thus throwing this nasty error message. Create a new pool for this application.. or trace your application to see if this error is because of memory related issue or not. :doh:
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml> -
I think the problem is with your application. It must have doing something wrong... (might be eating up all the application pool memory)... thus throwing this nasty error message. Create a new pool for this application.. or trace your application to see if this error is because of memory related issue or not. :doh:
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml>pool??? i didn't get pool means. and i have made other virtual directory for web application its also run till 20 to 30 min after restarting server. and web application is running smoothly on local server
-
pool??? i didn't get pool means. and i have made other virtual directory for web application its also run till 20 to 30 min after restarting server. and web application is running smoothly on local server
Application Pool is a feature in IIS which separates one Application memory with another. Each pool actually creates a separate worker process with its own memory so that each session assigned, server side processing is done in that pool for the web directory. If you create a new application pool, it means you are not sharing the memory with the existing default application pool, therefore probability of getting outofmemory will be lesser. :) You can read this to have more depth on Application Pool : How Application Pool Works[^] :) :rose::thumbsup:
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml> -
Application Pool is a feature in IIS which separates one Application memory with another. Each pool actually creates a separate worker process with its own memory so that each session assigned, server side processing is done in that pool for the web directory. If you create a new application pool, it means you are not sharing the memory with the existing default application pool, therefore probability of getting outofmemory will be lesser. :) You can read this to have more depth on Application Pool : How Application Pool Works[^] :) :rose::thumbsup:
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml>perhaps application pool is supported on iis 6.0 while i am using iis 5.1. i have done one more thing start -> programs -> visual studion 2005 -> visual studion tools than type the command aspnet_regiis -i for reparing iis