Solution -
04-26-2006
, 05:30 AM
Ok I found solution, so this may be useful for smb having the same problem.
You must add NTFS "modify" rights to the directory in which database file resides for the user ASPNET.
In WinXP Prof. you can do it this way: in "Folder options" deselect option Simple File Sharing. Then you right-click the folder in which your db file exists, choose properties->security (or sth similar, I have Polish version), if there is no "ASP.NET machine account" user on the list, click Add... , type "ASPNET" (no dot), click OK, select ASP.NET user on the list and select "Modify" permission (this will tick also four other rights automatically). Then apply, and you are done.
dbeng should now start whenever you connect to your database from ASP application.
If your database resides on FAT partition, this has no influence - dbeng always starts. This is why I observed that strange behavior - on one machine database started, on another it didn't. |