Hi everyone,
I'm developing an application using ASP.NET with VB, connected to a SQL Server, running on .NET 2 framework.
I am developing a training system where documents are uploaded into the system and a test is defined.
The problem I am having is when users need to view these documents. Currently, they select which item they wish to complete training on, and by clicking the start test button, it pulls the location of this document from the database and adds this file location to a variable, before using response.redirect to open the document.
Response.Redirect(LocationOfDoc)
On completion, these files will be stored on a separate network drive to the webfiles, eg Q:\ therefore are currently stored in a directory on the development machines hard drive, C:\ .
However, instead of opening the document you get an 'Object moved here' error on firefox, or a page not found on IE. One thing I have noticed is that the drive letter, eg C is changed from uppercase to lowercase during the response.redeirect which seems to be causing the problem.
For example, in the database location might be:
C:\Documents and Settings\David\application\filestore\document\docu ment1
but by the time this has been through the response.redirect it ends up invalid as:
c:\Documents and Settings\David\application\filestore\document\docu ment1
I have found many different articles about known issues with various older browsers, or adding buffer = true etc but have had no luck yet.
If anyone has any further information on this it would be greatly received.