Permission Issues?





To make it simple, I'm doing this

Dim Location As String = AppDomain.CurrentDomain.BaseDirectory & "reports\baseReport1.xls"
System.IO.File.Copy(AppDomain.CurrentDomain.BaseDirectory & "reports\baseReport.xls", Location)
Response.Redirect("~/reports/baseReport1.xls")

Works fine in my computer, no problem, But in the server don't copy the file so the Response.Redirect show me a Page Not Found message.

I gave all permissions to All User but still don't copy how can I solve this, help please?
.



Relevant Pages

  • Re: Save VSD as VDX
    ... What you're doing with the ampersand character is concatenating a string ... Sub SaveMyFileAsXML() ... Dim location As String ... their drawings in vsd or vdx. ...
    (microsoft.public.visio.developer.vba)
  • Re: Save VSD as VDX
    ... you don't have to cut the orginal .vsd ("MyFile.vsd.vdx" is an xml ... string. ... Dim location As String ... vdx are different, I guess. ...
    (microsoft.public.visio.developer.vba)
  • Re: Save VSD as VDX
    ... is .vdx so you need to ensure that that's at the end of your final string. ... Sub SaveMyFileAsXML() ... Dim location As String ...
    (microsoft.public.visio.developer.vba)
  • RE: Open Text
    ... Dim Location As String ... > saved as a .dat file. ... > a screen that the user can use to select the file and I store the path in a ...
    (microsoft.public.excel.programming)
  • Re: Save VSD as VDX
    ... is .vdx so you need to ensure that that's at the end of your final string. ... Sub SaveMyFileAsXML() ... Dim location As String ...
    (microsoft.public.visio.developer.vba)