DMXzone Database Connector ASP Support Product Page

connection to SQL Server express 2008 fails

Reported 15 Jan 2014 17:56:57
1
has this problem
15 Jan 2014 17:56:57 MX Addict posted:
I can't create a connection to my SQL Server express 2008 database. I get a:

"Error using this database connection"

extension version: 1.1.1

name: csTest
server technology: asp
database type: SQL Server Express
version: SQL Server 2008 Express
Use database file: C:\Program Files\<path>\Data\
Database: test

In DW a standard connectionstring does work for my website through a:
ODBC 32bit - Microsoft SQL Server Native Client Version 10.50.4000

or

Provider=SQLNCLI10;Server=[name]\SQLExpress;Database=test;Trusted_Connection=Yes;

Replies

Replied 15 Mar 2014 12:32:22
15 Mar 2014 12:32:22 MX Addict replied:
Still cannot make a database connection with SQL Server Express 2008 and this extension. I get this error.



Log file SQL server express:

Error: 17204, Severity: 16, State: 1.
FCB: Open failed: Could not open file C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA for file number 0. OS error: 5(Toegang geweigerd.).
Logon Error: 1832, Severity: 20, State: 1.
Logon Cannot attach the file 'C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA' as database 'tst-dBase.mdf'. [CLIENT: 192.168.0.196]
Replied 16 Mar 2014 11:42:50
16 Mar 2014 11:42:50 George Petrov replied:
well seems the database path is invalid, could you make sure it exist on your server?

-George
Replied 16 Mar 2014 12:03:17
16 Mar 2014 12:03:17 MX Addict replied:
Hi George,

Folder DATA contains the tst-dBase.mdf file
Absolute path: C:\Program Files\Microsoft SQL Server\MSSQL10_50.SQLEXPRESS\MSSQL\DATA\

When using Database Connection
database type: Custom
connectionstring: Provider=SQLNCLI10;Server=LAPTOP\SQLExpress;Database=tst-dBase.mdf;Trusted_Connection=Yes;

This works fine


Replied 08 May 2014 07:21:40
08 May 2014 07:21:40 MX Addict replied:
Hello,
Still problem with database connection to SQL Server Express 2008
Replied 29 Sep 2014 08:16:09
29 Sep 2014 08:16:09 MX Addict replied:
After update to version 1.3.0 also the custom connectionstring to a mssql server does not work anymore.

I tried everything to connect to an mssql server but none of them works. I have this extension for serveral months now and it doesn't work.

Reply to this topic