I have a machine that I was using as a web server that I
recently changed the operating system from Windows 2000
Professional to Windows Advanced Server 2000, (not ideal
but I had no choice). Well now I have website code that
hangs up and give me an error message, when it was working
perfectly before. This is the code:

set fsObj = server.createobject
("Scripting.FileSystemObject")
set myFile = fsObj.CreateTextFile(fileName, True)

I had been sending results returned to the browser to an
excel file and now it now longer works. I now get the
following error message :

Error Type:
Microsoft VBScript runtime (0x800A004C)
Path not found
/ticketinfo.asp, line 140

The line referenced in the error message refers to the
line where the file is created.
I am not sure what happened?

Code no longer works by doug

doug
Fri Jun 04 13:09:21 CDT 2004

The error message says path not found. It's self
explanatory. The path does not exist...

doug
>-----Original Message-----
>I have a machine that I was using as a web server that I
>recently changed the operating system from Windows 2000
>Professional to Windows Advanced Server 2000, (not ideal
>but I had no choice). Well now I have website code that
>hangs up and give me an error message, when it was
working
>perfectly before. This is the code:
>
>set fsObj = server.createobject
>("Scripting.FileSystemObject")
>set myFile = fsObj.CreateTextFile(fileName, True)
>
>I had been sending results returned to the browser to an
>excel file and now it now longer works. I now get the
>following error message :
>
>Error Type:
>Microsoft VBScript runtime (0x800A004C)
>Path not found
>/ticketinfo.asp, line 140
>
>The line referenced in the error message refers to the
>line where the file is created.
>I am not sure what happened?
>.
>

Re: Code no longer works by jcochran

jcochran
Fri Jun 04 16:38:47 CDT 2004

On Fri, 4 Jun 2004 09:13:19 -0700, "Adrienne"
<anonymous@discussions.microsoft.com> wrote:

>I have a machine that I was using as a web server that I
>recently changed the operating system from Windows 2000
>Professional to Windows Advanced Server 2000, (not ideal
>but I had no choice). Well now I have website code that
>hangs up and give me an error message, when it was working
>perfectly before. This is the code:
>
>set fsObj = server.createobject
>("Scripting.FileSystemObject")
>set myFile = fsObj.CreateTextFile(fileName, True)
>
>I had been sending results returned to the browser to an
>excel file and now it now longer works. I now get the
>following error message :
>
>Error Type:
>Microsoft VBScript runtime (0x800A004C)
>Path not found
>/ticketinfo.asp, line 140
>
>The line referenced in the error message refers to the
>line where the file is created.
>I am not sure what happened?

The path isn't found. :)

This isn't an IIS error, your path has likely changed some due to the
change in operating systems. Post code in an ASP group and post the
path as well.

Jeff

Re: Code no longer works by Kristofer

Kristofer
Sat Jun 05 02:16:54 CDT 2004

Sounds to me like the Path was not found.

Please do not multi-post.

--
Regards,
Kristofer Gafvert - IIS MVP
http://www.ilopia.com - When you need help!


"Adrienne" <anonymous@discussions.microsoft.com> wrote in message
news:183fa01c44a4e$d98ce2d0$a401280a@phx.gbl...
> I have a machine that I was using as a web server that I
> recently changed the operating system from Windows 2000
> Professional to Windows Advanced Server 2000, (not ideal
> but I had no choice). Well now I have website code that
> hangs up and give me an error message, when it was working
> perfectly before. This is the code:
>
> set fsObj = server.createobject
> ("Scripting.FileSystemObject")
> set myFile = fsObj.CreateTextFile(fileName, True)
>
> I had been sending results returned to the browser to an
> excel file and now it now longer works. I now get the
> following error message :
>
> Error Type:
> Microsoft VBScript runtime (0x800A004C)
> Path not found
> /ticketinfo.asp, line 140
>
> The line referenced in the error message refers to the
> line where the file is created.
> I am not sure what happened?