|
Posted by NetKnight on November 22, 2008, 2:52 pm
Please log in for more thread options
I have not been able to connect via ODBC and Windows Authentication, I get
the following error:
Connection failed: SQLState: '01000'
[Microsoft][ODBC SQL Server Driver][Shared Memory]ConnectionOpen(Connect())
Connection failed: SQLState: '08001'
SQL Server Error: 17
[Microsoft][ODBC SQL Server Driver][Shared Memory]SQL Server does not exist
of access denied.
The only way I have been able to connect to the POS database in Visual
Studio 2008 is using the data source of "Microsoft SQL Server Database File",
Selecting the MSPOS.mdf file in the Database file name and changing Data
Source from SQLEXPRESS to MSPOSINSTANCE.
But as I mentioned before this seems to lock the entire database making it
unavailable to MSPOS.
Thanks for your help.
"Michael" wrote:
> How exactly are you trying to access the database?
>
> If it is a standard MSDE database you can access via ODBC
>
> --
> Disclaimer:
>
> Always test any queries that modify data on a test database prior to running
> on your live data to ensure the desired results.
>
> Always back-up prior to running any SQL delete queries on your live data.
>
> --
>
> Regards
> Michael
> (Brisbane, Australia)
>
> >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 FilesMicrosoft SQL
> > ServerMSSQL.2MSSQLDATAMSPOS.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 FilesMicrosoft SQL
> > ServerMSSQL.2MSSQLDATAMSPOS_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 'DELTAR#_CMAR1'.
> >
> > File activation failure. The physical file name "C:Program
> > FilesMicrosoft
> > SQL ServerMSSQL.2MSSQLDATAMSPOS_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.
>
>
>
|