I have MSPOS installed on an XP POS computer and I am trying to develop a support module that would access the POS database directly while MSPOS is running concurrently. The db is therefore installed in an MSDE .mdf file.
I can't seem to get Visual Studio or any other application to connect concurrently with the MSDE .mdf file while MSPOS is running. If I connect first with Visual Studio I then get the following errors in MSPOS:
Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\DATA\MSPOS.mdf". Operating system error 32: "32(The process cannot access the file because it is being used by another process.)".
Unable to open the physical file "C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\DATA\MSPOS_log.LDF". Operating system error 32: "32(The process cannot access the file because it is being used by another process.)".
Cannot open database "MSPOS" requested by the login. The login failed. Login failed for user 'DELTA\R#_CMAR1'.
File activation failure. The physical file name "C:\Program Files\Microsoft SQL Server\MSSQL.2\MSSQL\DATA\MSPOS_log.LDF" may be incorrect.
Sometimes I only get just the third error, but in any case I can't seem to get concurrent access. Any ideas?
Thanks in advance.