Last post Nov 24, 2010 12:27 AM by Mikesdotnetting
Nov 17, 2010 12:31 AM|Yarden|LINK
hi, I have a website with some admin options to edit contents.
after the website manager edit a content the website return an error "File is already in use" when it gets to
conn.open() somewhere in the code.
but I double-checked it and I close all the connections after making the necessary changes on the ACCESS DB
(I use datasets and oledbreader...really simple code)
Nov 17, 2010 01:30 AM|connect2kapil|LINK
can you paste code here?? i guess you are using FileStream object somewhere but not disposing that.
Nov 17, 2010 12:43 PM|Yarden|LINK
it's alot of code..
But I do use filestream.. ill check it!
Nov 20, 2010 12:43 PM|srinivaskotra|LINK
please refer this li nk (answered forum)
Nov 24, 2010 12:27 AM|Mikesdotnetting|LINK
Make sure that the account under which your web site runs has MODIFY permissions on the folder containing the database file. This is NETWORK SERVICE by default on Win servers.