SQL Express 2008 Connection?

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
sfeher
Captain (CAPT)
Captain (CAPT)
Posts: 220
Joined: Fri Jun 04, 2004 1:58 pm
Location: Steubenville, Ohio

SQL Express 2008 Connection?

Post by sfeher » Tue Sep 01, 2009 1:25 pm

We've run a successful install/config/design/launch of an AbleCommerce 7.0.3 store on a new MS Server 2008 with SQL Server 2008 DB. Works like a champ.

Have a new project running AC 7.0.3 on Server 2008 but we're using SQLExpress 2008 rather than a full Server 2008.
We're having trouble getting the AbleCommerce installation to recognize the SQLExpress 2008 DB. We know that the DB name, user/pwd are all correct. The client assures me that the DB server is behind the firewall with the web server, so it should be 'seen' by the application. We can connect to the DB from the DB server (so I know that the DB name/credentials are all correct).

Connection string continues to fail, whether we use the 'basic' or Advanced string in the Configure page of the install process.

Data Source=SERVERNAME\SQLEXPRESS;Initial Catalog=MYDBNAME;User Id=MYDBUSER;Password=MYPASSWORD;

I've not tried to explicitly declare trusted connection or any other security instance within the connection string, but we are really not having much luck trying to connect. I cannot see any other posts regarding SQLExpress 2008, so I thought I'd add this in and see if anyone else has had this problem.

Thanks!

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: SQL Express 2008 Connection?

Post by jmestep » Tue Sep 01, 2009 2:47 pm

Have you used the surface area configuration to allow tcpip connections?
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

User avatar
nickc
Captain (CAPT)
Captain (CAPT)
Posts: 276
Joined: Thu Nov 29, 2007 3:48 pm

Re: SQL Express 2008 Connection?

Post by nickc » Thu Sep 03, 2009 6:56 am

SQL 2008 Express uses dynamic tcp ports - your connect string has no port reference; did you change the port to be the default? If not, that's likely the issue (SQL Server Configuration Manager, Network Config, Protocols for 'INSTANCE', TCP/IP).

sfeher
Captain (CAPT)
Captain (CAPT)
Posts: 220
Joined: Fri Jun 04, 2004 1:58 pm
Location: Steubenville, Ohio

Re: SQL Express 2008 Connection?

Post by sfeher » Thu Sep 03, 2009 7:29 am

Thanks, All...
Yes -- we had to specifically turn on TCP/IP within the Configuration manager and be sure that we enabled the IPAddress adapters. As well, the SQL browser service needed to be started. After that, we had to specify the exact port#.

Also helped when we realized that the server admins failed to install the .NET framework. (grumble).

Working just fine now....

Post Reply