Author: srkvellanki | Posted on: 8/14/2009 1:36:39 PM | Views : 229

I want my ASP.NET application (VB.NET Code behind) to create a text file on a remote server (destServerName)

Dim destFilePath As String = "\\destServerName\desttemp\srcfilename.TXT"

Try
File.Create(destFilePath)
Catch ex As Exception
UtilityTier.ApplicationError.ReportError("SIInitAndEduInterface-btnUploadFile", ex.Message)
End Try

Exception Message:- "Logon failure: unknown user name or bad password"

Server "destServerName" is running Windows 2003

Folder 'desttemp' is having fullcontrol to Everyone,Network Service account
...

Go to the complete details ...