Hey All,
What I am trying to do works fine on my development machine. When I move it to the server however, it does not work. Maybe you can explain what I'm missing. I am storing a path ie: "C:\inetpub\.....\portable.doc" in a Session variable. I then launch a new browser window on a custom display form and redirect the page to a local file on the server. This is the code:
Dim strFile As String = "C:\inetpub\ + Session("User") + "\" + strRpt
Session("File") = strFile
Response.Write("<script language='javascript'> window.open('Display.aspx');</script>")
On initialize on the custom display page, this code exists:
Me.Response.Redirect(Session("File"))
I have verified that the file and paths are correct in all instances and they are. But all I ever see in the new browser window is that it cannot find the page selected. The standard error page. Can anyone give me some direction?
Thanks in advance
What I am trying to do works fine on my development machine. When I move it to the server however, it does not work. Maybe you can explain what I'm missing. I am storing a path ie: "C:\inetpub\.....\portable.doc" in a Session variable. I then launch a new browser window on a custom display form and redirect the page to a local file on the server. This is the code:
Dim strFile As String = "C:\inetpub\ + Session("User") + "\" + strRpt
Session("File") = strFile
Response.Write("<script language='javascript'> window.open('Display.aspx');</script>")
On initialize on the custom display page, this code exists:
Me.Response.Redirect(Session("File"))
I have verified that the file and paths are correct in all instances and they are. But all I ever see in the new browser window is that it cannot find the page selected. The standard error page. Can anyone give me some direction?
Thanks in advance