Home > Microsoft IIS > Server Object Error

Server Object Error



Hi I have written a site that works ok on my server Win 2000 / IIS 5 but when it is moved to production server NT 4 / IIS 4 it doesnt work... I am using Server.CreateObject("Scripting.FileSystemObject") to create and write a .dat file in server directory<br><br>The error is as follows..<br><b><br> Server Object Error 'ASP 0177 : 800a0046<br><br> Server.CreateObject Failed<br><br> /server/security/page6.asp, line 46<br><br> The operation completed successfully</b><br><br>Line 46 is where it creates the blank file<br><br><b>myFSO.CreateTextFile("c:inetpubwwwrootserversecuritycall.txt")</b><br><br>I thought it was to do with security - write permissions but these have been set but error still appears..<br><br>Any ideas would be appreciated,<br><br>Tony.

    
Guest


That error is related to security permissions. Check the permissions on the directory. See if the IUSR_machine-name account has the appropriate permissions on the directory in order to be able to create the file. This might help. Also, look at this link for more info. <a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;Q197964" target="_blank">support.microsoft.com/default.aspx?scid=kb;en-us;Q197964</a>

Was this answer helpful ? Yes No   
Guest
 
 
Home - About Infoqu - Contact - Privacy Statement - Link to Infoqu - Bookmark Infoqu

Copyright 2007-2008 by Infoqu. All rights reserved