ASP Executable over the network

R

RMurray

We have an ASP page that calls an executable to change files from one
type to another. We have been running this page for 2 years without
any difficulties. We are attempting to switch it to a new server and
point the executable to a NAS. Now the program fails to execute
properly. We a able to point it to a local drive and it works fine,
and also running the programming manually pointed to the network drive
works fine but the combination of the asp page calling it and pointing
to the NAS isn't working. We have set the user on the page to have
access to the NAS. Setting up the security Audit to pull from both of
the failed and successful logins. Nothing is showing up in the logs
from these attempts. We've been working on this for a couple days so
any ideas you guys might be able to throw out would be very much
appreciated.

Thanks,
Ryan
 
B

BubbaThree

You are probably attempting to run under the ASP.NET service which by default
runs under the local system account which does not have the network privs.
You can change the service account or use impersonation to run under the
end-user account. Add
<identity impersonate="true"/>
<authentication mode="Windows"/>
in the <system.web> to the Web.Config file.
 
T

Turkbear

We have an ASP page that calls an executable to change files from one
type to another. We have been running this page for 2 years without
any difficulties. We are attempting to switch it to a new server and
point the executable to a NAS. Now the program fails to execute
properly. We a able to point it to a local drive and it works fine,
and also running the programming manually pointed to the network drive
works fine but the combination of the asp page calling it and pointing
to the NAS isn't working. We have set the user on the page to have
access to the NAS. Setting up the security Audit to pull from both of
the failed and successful logins. Nothing is showing up in the logs
from these attempts. We've been working on this for a couple days so
any ideas you guys might be able to throw out would be very much
appreciated.

Thanks,
Ryan

If I rememebr correctly,the asp page has no 'user' when it tries to access a file on another server...The Anonymous IIS
user ( I think IUSR_Machinename) is actually doing the access so that user needs access granted..
But, Its been a while since I had to do something like this, so 'grain of salt' time...
 
R

RMurray

We set the anonymous user to an account that does have access to the
share (in fact to test our theory we set it to an Administrator for a
short while) but it still is not working. I should point out that we
are currently running Windows 2000 on the web server and 2003 Appliance
Edition on the NAS. So unfortunately it looks like this isn't the
case... I will check the local security policy though and make sure
there isn't anything in there that I'm missing.
 

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

No members online now.

Forum statistics

Threads
473,969
Messages
2,570,161
Members
46,705
Latest member
Stefkari24

Latest Threads

Top