Precisa de representação durante o acesso à unidade de rede partilhada

Quando eu tentei acessar o arquivo de unidade de rede do local está funcionando bem, mas quando eu implantar o código estou ficando abaixo erro

em System.IO .__ Error.WinIOError (Int32 errorCode, String maybeFullPath)

em System.IO.FileStream.Init (caminho String, modo FileMode, acesso FileAccess, Int32, Boolean useRights, compartilhamento FileShare, Int32 bufferSize, opções FileOptions, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy)

em System.IO.FileStream..ctor (caminho String, modo FileMode, acesso FileAccess, compartilhamento FileShare)

em System.Web.HttpResponse.WriteFile (nome do arquivo String, readIntoMemory booleano)

em System.Web.HttpResponse.WriteFile (nome do arquivo String)

em Configs.gvConfigs_RowCommand (Object sender, GridViewCommandEventArgs e) em C: \ Users \ bpucha1103c \ Desktop \ CellBackHaul_Publish \ Configs.aspx.cs: linha 59 2013-02-05 13: 31: 21,412 [19] WARN System.Web.UI .Page [(null)] - Criação de Log: System.IO.IOException: A conta usada é uma conta de computador. Use sua conta de usuário global ou conta de usuário local para acessar este servidor.

como fazer a representação ao acessar o arquivo na pasta compartilhada de rede? Abaixo está meu código

GridViewRow rw = (GridViewRow)(((LinkButton)e.CommandSource).NamingContainer);
LinkButton lnkTxtFile = (LinkButton)rw.FindControl("lnkTxtFile");
string strFilename = lnkTxtFile.Text.Replace("/","\\");
System.IO.FileInfo targetFile = new System.IO.FileInfo(strFilename);
Response.Clear();
Response.AddHeader("Content-Disposition", "attachment; filename=" + targetFile.Name);
Response.ContentType = "application/octet-stream";
Response.WriteFile(targetFile.FullName);
//HttpContext.Current.ApplicationInstance.CompleteRequest();
Response.End();

aqui está o meu código modificado

GridViewRow rw = (GridViewRow)(((LinkButton)e.CommandSource).NamingContainer);
LinkButton lnkTxtFile = (LinkButton)rw.FindControl("lnkTxtFile");
string strFilename = lnkTxtFile.Text.Replace("/", "\\");
System.IO.FileInfo targetFile = new System.IO.FileInfo(strFilename);
RunOperationAsUser(() =>
{
  //GridViewRow rw = (GridViewRow)(((LinkButton)e.CommandSource).NamingContainer);
  //LinkButton lnkTxtFile = (LinkButton)rw.FindControl("lnkTxtFile");
  //string strFilename = lnkTxtFile.Text.Replace("/", "\\");
  //System.IO.FileInfo targetFile = new System.IO.FileInfo(strFilename);
  Response.Clear();
  Response.AddHeader("Content-Disposition", "attachment; filename=" + targetFile.Name);
  Response.ContentType = "application/octet-stream";
  Response.WriteFile(targetFile.FullName);
  //HttpContext.Current.ApplicationInstance.CompleteRequest();
  Response.End();
}, "bpucha1103c", targetFile.DirectoryName , "White1234");

questionAnswers(1)

yourAnswerToTheQuestion