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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

NOT THE USUAL MTS/IIS5 QUESTION about permissions

Status
Not open for further replies.

MattLaw

Programmer
Apr 10, 2003
1
GB
Hi, hope someone reading this can help me!!!

I have an ASP page, which has to access a file resource held on another domain server using the file system object.

As soon as I attempt to open a file using a UNC path on another a remote (still on the same LAN) server, i get the famous permissions error message..

---------------------------------------------------
Error Type:
Microsoft VBScript runtime (0x800A0046)
Permission denied
/Deployment/ListFiles.asp, line 55
---------------------------------------------------

I read the usual docs about changing metabases and IWAM/IUSR accounts etc, but that wont work here because of other services also dependent upon them.

So, I decided to load the application in to an MTS COM object, by simply telling IIS5 that I wanted my application to run as a Isolated process.

Sure enough, the application now appears as a component in MTS or Component Services (you can tell im used to NT4), and I duly (as I have done a thousand times under NT4.IIS4) tell the process which account it should use, and all should be well. The ASP pages should be able to access files on remote servers.. the account i am using actually has Domain Admin rights, so there is no way the user account itself is at fault.

Now, here is my problem... It doesnt work. It simply will not allow my ASP page to access a remote file system.. permission denied.

The component itself is set to Packet/Impersonate, and anonymous loging is disabled. The target machines are all running NTFS and were all running on a Windows 2000 domain.

The web server is IIS5/2000, and the target machine is presently an NT4 server (not a DC, just server). However, this problem is identical if I attempt to access files on another w2k server or winXP.

Please please help. I cant see where Ive gone wrong..

Many thanks,

Matt
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top