Access is denied

Á

Ágúst

Hi
I have a webserver which is running a ASP.NET webservice
and a ASP.NET webapplication. The webservice is both used
by the webapplication and by ca.100 windowsforms clients
in our company. Several weeks ago the webservice stopped
working, the error displayed is:
---
Error message 401.2.: You do not have permission to view
this directory or page using the credentials you
supplied. Contact the Web server's administrator for help.
---
It seemed that when the server was virus-scanned the
webservice went down with the above error, the only way
to resume was to restore a previous system state from our
backup.

After some experiments we have found out that if the
virtual directory is configured to use a specific account
the webserivce works after a succsessful login. But we
have not been able to let it run under a anonymus
IUSR_MYMACHINE account, it always shows the above
security error.

What I find strange is that there are several ASP.NET
pages on this server, they all run ok, it is just this
webservice which is throwing this error.

Any hints warmly welcomed, Ágúst from Iceland
 
Á

Ágúst

Update
I have a simple htm page in the same virtual directory,
requests for that work. It's only request for the
webservice which do not work. It seems the account does
not have rights to run some resources needed...
 
Á

Ágúst

Update
It works now, but for strange reasons. I had a site(0), a
virtualdirectory(1) under the site(0) and then a
virtualdirectory(2) under (1). The webservice was under
(2). After I created a new virtualdirectory under (0) and
put the webservice there it worked! Soo, from now on I
will try to keep my virtual directory trees thin...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top