Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Permissions Error

Status
Not open for further replies.

xterra

Programmer
Apr 5, 2001
71
US
I don't know if this is an ASP or Windows problem but I'll give it a shot here.

I'm writing a Web Service program. It works fine on my local PC running Windows XP and IIS 5. When I run the same exact program on a Windows 2003 Server using IIS 6. I get this Error.

The specified network password is not correct.
/nSystem.IO.IOException: The specified network password is not correct.

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.File.Delete(String path)
at Etaps_Test.clsETAPS.WriteExportFile(String filename) in c:\Inetpub\ 217
at Service.GetApplication(String ApplicationNumber) in c:\Inetpub\ 36/n

My program is trying to create a text file on a remote machine. I have tried messing with User Permissions on the Server but have had no luck. Any help would be appreciated.
 
Unless you change the defaults, ASP will run "anonymously" in the security context of an account that is local to the server so it has no permissions on the network. In fact it has only very limited permissions on the server.

At least that is true for Classic ASP, the focus of this forum.

You might want to double-check that in the ASP.Net forum here: forum855
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top