I've got a problem with authentication I can't figure out.
I created a new folder in my root documents folder - didn't do anything different from normal, didn't password protect it, etc - but when I tried to access the Default.aspx file as per usual, an "Authentication Required" dialogue box popped up (asking for
a username and password). This is for a folder that should be accessible to everybody via the web, etc.
I checked the folder in IIS - and everything looks normal.
So I deleted the folder, and then recreated it - same thing happened.
I then deleted the folder, and tried to access it - figuring I'd get a resource not found error - but I still get the "Authentication Required" dialogue box popping up.
The existing folders on my server don't seem to be affected.
If anybody has any ideas what might be going on, and where I should look to fix it, I'd be very grateful.
In my early days of development i was caught up with the same problem, i had a reports folder and when i tried to access any report from URL i was prompted for user name and password.
I wasted my 2 to 3 weeks figuring out for this issue but didnt resolve it, later i tried to make a new folder with different name and shifted my reports to that folder and changed all the URL links of the reports and it worked for me.
Still i dont know that what was the issue.
Try this, first try to shift this file outside the folder and try to access it from URL, if it works then place it in some other folder.
I guess I'm glad to hear that I'm not the only person to have experienced the problem.
Your solution does work. But if anybody else does have some idea why it's going on - I'd be pleased to hear (partly because changing the name of the folder has messed up my naming structure).
ubirdy
Member
5 Points
19 Posts
Strange authentication issue
Feb 10, 2013 01:07 AM|LINK
I've got a problem with authentication I can't figure out.
I created a new folder in my root documents folder - didn't do anything different from normal, didn't password protect it, etc - but when I tried to access the Default.aspx file as per usual, an "Authentication Required" dialogue box popped up (asking for a username and password). This is for a folder that should be accessible to everybody via the web, etc.
I checked the folder in IIS - and everything looks normal.
So I deleted the folder, and then recreated it - same thing happened.
I then deleted the folder, and tried to access it - figuring I'd get a resource not found error - but I still get the "Authentication Required" dialogue box popping up.
The existing folders on my server don't seem to be affected.
If anybody has any ideas what might be going on, and where I should look to fix it, I'd be very grateful.
Many thanks!
asad.malik
Member
218 Points
103 Posts
Re: Strange authentication issue
Feb 10, 2013 05:11 AM|LINK
In my early days of development i was caught up with the same problem, i had a reports folder and when i tried to access any report from URL i was prompted for user name and password.
I wasted my 2 to 3 weeks figuring out for this issue but didnt resolve it, later i tried to make a new folder with different name and shifted my reports to that folder and changed all the URL links of the reports and it worked for me.
Still i dont know that what was the issue.
Try this, first try to shift this file outside the folder and try to access it from URL, if it works then place it in some other folder.
Thanks
Mark as answer if it works
Regards
Asad Malik
Mark as answer if it helps
ubirdy
Member
5 Points
19 Posts
Re: Strange authentication issue
Feb 10, 2013 11:21 AM|LINK
Hi
Many thanks.
I guess I'm glad to hear that I'm not the only person to have experienced the problem.
Your solution does work. But if anybody else does have some idea why it's going on - I'd be pleased to hear (partly because changing the name of the folder has messed up my naming structure).
Thanks again.