StevenWalsh
Technical User
I have created a simple ASP page that takes values from various objects and is supposed to write the values to a text file. <br><br>However the error message I get is:-<br><br>Server object error 'ASP 0177 : 80070057' <br><br>Server.CreateObject Failed <br><br>/WroxCameras/save_contact.asp, line 132 <br><br>The operation completed successfully<br><br><br><br>I also include the code from the ASP page if that helps:-<br><br>Dim objFS 'File system object<br>Dim objSaveFile 'File to save message to<br>'Dim variables to store form contents<br>Dim strEmailAddress,strSubject,strBody,strMailingList<br> <br>'read form and save in variables to save reading again later<br> <br> strEmailAddress = Request.Form("txtEmailAddress"<br> strSubject = Request.Form("txtSubject"<br> strBody = Request.Form("txtBody"<br> strMailingList = Request.Form("chkMailingList"<br> <br>'Create filesystemobject and open file<br>Set objFS = Server.CreateObject"Scripting.FileSystemObject"<br>Set objSaveFile = objFS.OpenTextFile("C:\messages.txt",ForAppending,True)<br>