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!

Microsoft VBScript runtime error '800a0035'

Status
Not open for further replies.

jeffwyatt

IS-IT--Management
Aug 4, 2008
1
0
0
US
Using the following command in ASP code running on IIS:

Set pfFile=fs.OpenTextFile(szFileName,1,false)

Produces the following error:

Microsoft VBScript runtime error '800a0035'

File not found

The file is a network file. It does exist. Anonymous Access is enabled with a network user that has access to the file. The anonymous user shows up in the Event Log of the IIS server with a successful logon. The Logged in user also has access to the file and can view the file directly in Microsoft Explorer.

What is causing OpenTextFile to not be able to find this file?
 
can you get here from there?

Have you tried logging into the server and typing in the path from the explorer there?

You have to remember that IIS is supposed to be pseudo sandboxed, so that people can't thrash your web server.

If [blue]you have problems[/blue], I want [green]source code[/green] AND [green]error messages[/green], none of this [red]"there was an error crap"[/red]
 
i run into this sometimes when i forget to close the filesystemobject after creation of, or check for, a file. if its not closed, the object is in use still...so therefore, you get file not found because it cant look for it....

-Brandon Wilson
MCSE:Security00/03
MCSA:Messaging00
MCSA:Security03
A+

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top