Re: Accessing network file form ASP page

From: Tom Kaminski [MVP] ((A_at_T))
Date: 03/04/05


Date: Fri, 4 Mar 2005 09:07:48 -0500


"Lamberti Fabrizio" <lambu@from_italy.it> wrote in message
news:OsVzIyLIFHA.1996@TK2MSFTNGP12.phx.gbl...
> Hi all,
> I've to access to a network file from an asp pages.
>
> I've red a lot of things on old posts and on Microsoft article but I can't
> still solve my problem.
>
> I've got two server inside the same NT domain, each one has its own web
> server.
>
> The web server is always IIS 5.0.
>
> One of this web server have to access to a network file in writing mode
> inside the other server.
>
> I've tried using this code
> -------------------
> Set fso = Server.CreateObject("Scripting.fileSystemObject")
> uri=\\web21bcklab\c$\Inetpub\wwwroot\WebModules\Logger\debugLog.txt
> Response.Write fso.FileExists(uri)
> ---------------------
>
> the existence check returns always false. why ?
>
> How can I solve this problem ?

http://www.aspfaq.com/show.asp?id=2168

-- 
Tom Kaminski IIS MVP
http://www.microsoft.com/windowsserver2003/community/centers/iis/
http://mvp.support.microsoft.com/
http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS


Relevant Pages

  • RE: IIS6 on W2k3 DCs
    ... In the case of a web server, ... >Organizations who want fault tolerance put resources on ... >But Small Business Server 2003 runs with IIS on our domain controller. ...
    (Focus-Microsoft)
  • Re: middle tier recommendations
    ... I forgot to mention I do have a standby database server for failover. ... >> That depends on the amount of use that interface will get. ... >> is scalable, you can put your app, with DLLs, on any web server without ... >>> inherent performance issues with IIS ...
    (microsoft.public.dotnet.framework)
  • Re: IIS6 on W2k3 DCs
    ... Didn't an IIS server survive OpenHackIV with IIS, ... In the case of a web server, ... >>Your box is your domain controller, and its your exchange server, so it ...
    (Focus-Microsoft)
  • Re: Possible To Create Web Application On Other Than Local Server
    ... "Scott" wrote in message news:677k90t3kfd3etmpbpkrhca34lea7e8kaa@4ax.com... ... :>: web server that will be hosting. ... This means you do not have to have IIS running local. ... IE and call for the virtual path on the web server so I can test the page. ...
    (microsoft.public.inetserver.asp.general)
  • IIS is going crazy
    ... I tried reinstalling the IIS on XP but I still get the same errors. ... Computer: KENNY-XP ... The server failed to load application '/LM/W3SVC'. ... When I try to create a NEW WEB in frontpage I get: THe Web server at http://kenny-xp does not appear to have the windows sharepoint services installed ...
    (microsoft.public.windowsxp.general)

Loading