Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: SQL Express connection Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
deigsler
Newbie
Newbie


Joined: 14 September 2007
Online Status: Offline
Posts: 1
Posted: 14 September 2007 at 1:47pm | IP Logged Quote deigsler

I am trying to use SQL Express. I have chosen the connection string option in the WebMail Admin with the following:

Data Source=(local)\SQLEXPRESS;Initial Catalog=mydatabasename;Integrated Security=SSPI

Receiving the following error:

Connect unsuccessful!

ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified

All other fields in the Admin I have left blank and have MS SQL Server selected.

Thanks in advance for your help!
Back to Top View deigsler's Profile Search for other posts by deigsler
 
Andrew
AfterLogic Support
AfterLogic Support


Joined: 28 April 2006
Location: United States
Online Status: Offline
Posts: 1189
Posted: 15 September 2007 at 12:03am | IP Logged Quote Andrew

Most probably, "(local)\SQLEXPRESS" is not a valid data source name. Usually, it looks like HOSTNAME\\SQLEXPRESS, i.e. if the hostname is MY_MAIN_SERVER, then the DSN will be MY_MAIN_SERVER\\SQLEXPRESS.

There are lots of variations of SQL connection strings. For instance: "Server=HOST\\SQLEXPRESS;Database=webmail;Uid=USER_NAME;Pwd= PASSWORD;"

To learn more about connection strings, please refer to www.connectionstrings.com.


Best regards,
Andrew
Back to Top View Andrew's Profile Search for other posts by Andrew
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide