hallo zusammen,

ich habe zum download einer access db aus einem web folgendes script,
welches mir aber seit neuestem die fehlermeldung: "The process cannot access
the file "D:\datenbank\kunden.mdb" because it is being used by another
process."
auswirft.
das l�sst sich jedoch nicht vermeiden, da st�ndig andere aktionen auf einer
anderen ebene auf dieser db ausgef�hrt werden.

wie l�sst sich trotz zugriffs die original mdb datei herunterladen oder die
fehlermeldung umgehen? hat hierzu jemand eine idee?

das script zum downlaod:

 Dim strFileNamePath As String
 strFileNamePath = "D:\datenbank\kunden.mdb"
 Dim myFile As FileInfo = New FileInfo(strFileNamePath)
 Response.Clear()
 Response.AddHeader("Content-Disposition", "attachment;
filename=kunden.mdb")
 Response.ContentType = "application/vnd.ms-access"
 Response.WriteFile(myFile.FullName)
 Response.End()


gr�sse

pat


_______________________________________________
Asp.net Mailingliste, Postings senden an:
[EMAIL PROTECTED]
An-/Abmeldung und Suchfunktion unter:
http://www.glengamoi.com/mailman/listinfo/asp.net

Antwort per Email an