Unable to view .aspx file as guest through web browser - IIS always pops up authetication required window
I have a new dedicating hosting server and am running IIS 6 on windows 2003.
I've set all the user permissions to the web-directory to allow an internet guest user to access it.
.htm and .asp files are able to be viewed without any problems. Browsing the .aspx file/application locally under the admin authentication works without any problems.
As soon as I try to access a aspx file through the external internet (as any normal guest would do), a开发者_运维问答 authentication required window pops up. WHY?!
AuthDiag reveals authentication anonymous access is denied..... even though I have enabled anonymous access in IIS... but then how are the .htm and .asp files being displayed!
You using No or Forms authentication? If you are using no authentication, change your web.config (I imagine you have "Windows"). Otherwise, if you are using Forms authentication, change it to , but you will have to set up Forms if you have not already. Then redeploy it.
精彩评论