HTTP Forbidden in folder in localhost

Dear:

I have a computer with Windows 2000 pro installed SP4  connected to a windows 2000 server domain, and I'm developing ASP.NET applications, everything was working properly until the admin acquire changing the domain password, after I changed it I had many problems in my ASP.NET application one of them is in my ASP.NET application when click a button in a page which calls function in UserControl IIS redirected me to forbidden page with HTTP 403 ,
the folder where my UserControl is in http://localhost/WaveProject/MailTools/MailComponents/
why this happening to me? I reinstall IIS with no avail? What should I do ?


Regards
LVL 2
raed_hasanAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

tomvergoteCommented:
Is the application running under a specified user?
If the password changed you'll have to go to IIS settings, security tab and reenter the password.
0
raed_hasanAuthor Commented:
I went to Control Panel ->Administrative Tools->Internet Service Manager->Right Click Default Web Site->Directory Security->Edit->then Edit for Anonymous Access-> the User Name was IUSR_MyPC
and I changed the password.

and run application and click the button give me same thing forbidden.

what can I do?
0
tomvergoteCommented:
If you are using the iusr account you should let windows manage the password, you only have to give a password if you decide to run under another account.

You could set up auditing on the folder where the access error occurs to see what user is trying to read it.
To do that go to explorer, browse to the folder, right click it, go to the security tab, advanced and set up failure audits, then check your event log for information
0
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

raed_hasanAuthor Commented:
my File System is FAT32 so there is no security tab.
what a relative procedure to do in this case
0
tomvergoteCommented:
you shouldn't be running a webserver on a fat partiton
is there anything preventing you from converting it to ntfs?
0
Dave_DietzCommented:
Check the properties for the directory in the IIS Management Console.

Make sure you have the proper Execute access turned on.  If UserControl is a DLL or EXE you will need to ensure Script and Executables is set as the Execute level....

Dave Dietz
0
raed_hasanAuthor Commented:
I'm now out of my office now tommrrow I will try the two answers , for why I'm using FAT32 my machine in not a webserver it is where I'm developing out web application, but as you said it is better to convert the HardDrive to NTFS.


Regards
0
muzzy2003Commented:
403 is "directory browsing not allowed". This is the default setting for IIS. Find the folder in question under IIS management console, right click on it, and choose Properties. On the Documents tab, look at the default pages that are allowed. If none of them is matched in this directory, then you need to add one that is - perhaps, for example, there is an index.aspx in the folder which isn't included in this list.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
raed_hasanAuthor Commented:
Dave_Dietz : I have changed the execute access for the folder to scripts and executables with no avail.


muzzy2003 : If I follow your answer I Under IIS->Document Tab for the folder I have problem in there are thress files (Defaul.htm, Default.asp, and iisstate.asp).

All was working fine, what happened? all this happened after I changed my domain password.


0
tomvergoteCommented:
are you sure the permissions on that folder arent changed and the iusr has proper rights?
0
raed_hasanAuthor Commented:
in IIS manager the Execute Permissions are Scripts and Executables.

then Windows Explorer ->right click the folder and getting forbidden for WebShare Table ->Share with Execute permissions

but how can I check for IUSR permissions?
0
raed_hasanAuthor Commented:
I still have the problem, why IIS prevent me from viewing the contents of this folder, the strange thing that this is the only folder the IIS prevent me from viewing?

0
muzzy2003Commented:
Do you want a listing of the folder contents, or a page to be displayed? Please clarify, as the solutions are totally different.
0
raed_hasanAuthor Commented:
the scenario like this :

1. I access the main page of application
2. login
3. choose the link that transfer me to mail.aspx in (Projects folder)
4. in the mail aspx I uses the a user control in (MailTools/MailComponents) compose.ascx
5. when I click send the application will call compose ascx in the (MailTools/MailComponents) but the Forbidden page appeared for the following link
http://localhost/Project/MailTools/MailComponents

so I did all solutions above with no avail , and as I said this occured just after I changed my Domain Password .
What are avaiable solutions for this issue?
0
raed_hasanAuthor Commented:
the problem was in the HTML itself the achor <a> that was clicked initially was not set runat server so when I set it runat server it pointed directly to  http://localhost/Project/MailTools/MailComponents and not to the page inside the folder http://localhost/Project/MailTools/MailComponents so I removed the href="#" from the anchor and worked fine .

to be honest i will split point to ppl who try to help me out
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.