Win 2003 svr/ASP.NET 2.0 UNC share



I'm trying to setup a simple test on writing to a file on an UNC share from
an asp.net 2.0 webpage. This is whats happing in default.aspx:

-----------------------------------------------------------------------------------
Dim path As String = "\\remoteserver\testshare"

Response.Write(User.Identity.Name)

My.Computer.FileSystem.WriteAllText(path & "\myfile.txt", "life's good",
True)
-----------------------------------------------------------------------------------

impersonation is enabled and windows auth is setup in IIS 6.

1. When I run this on my Vista PC - I'm correctly authenticated and the file
is written perfectly to the remote share.
2. If I move my webapp to a Windows 2003/IIS 6 webserver and create a share
on this server \\mywebserver\testshare everything still works perfectly
3. But - I if I try to write to a REMOTE share i.e \\myotherserver\testshare
it fails with "file not found" - no further explanation :-S I've tried to
scan for activity on the remote servers filesystem with Filemon - but it
does'nt even look like it tries to access the share at all.... Permissions
are set to everyone both at NTFS and share permissions at this share.

ANY ideas guys??

Regards,
Roger





.



Relevant Pages

  • Win 2003 svr/ASP.NET 2.0 UNC share
    ... I'm trying to setup a simple test on writing to a file on an UNC share from an asp.net 2.0 webpage. ... When I run this on my Vista PC - I'm correctly authenticated and the file is written perfectly to the remote share. ... Permissions are set to everyone both at NTFS and share permissions at this share. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Remote Desktop Users and Least User Rights
    ... user accounts (no administrative rights on the local machine). ... have many users that are setup so that they can access their ... from the Administrators group, the list of authorized remote users ... Remote tab> Select Remote Users) gets wiped out. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Help!!!
    ... I don't believe that should be the root cause for the setup failure. ... cause seems to be "Remote process exit code was '2' ". ... on the 'Cluster Management' screen remove SVMDB2 ...
    (microsoft.public.sqlserver.clustering)
  • Re: Remote office logon script - Long Delay
    ... I do not have WINS configured for the remote site, ... I don't push apps out to the clients and other than GPOs I don't do ... Used when you 'setup client computers' or 'setup client applications'. ... GC/AD server with DNS and DHCP for it's area. ...
    (microsoft.public.windows.server.sbs)
  • Re: Remote office logon script - Long Delay
    ... I'll REM out the line for setup for now and watch what happens. ... I do not have WINS configured for the remote site, ... I don't push apps out to the clients and other than GPOs I don't do ... is a GC/AD server with DNS and DHCP for it's area. ...
    (microsoft.public.windows.server.sbs)