Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Express Edition and Compact Edition (2005)
 Time out with SQL Express ?

Author  Topic 

QuachNguyen
Starting Member

15 Posts

Posted - 2007-11-12 : 12:37:42
Hi All

I create a project in my school, I got a problem about connection time out, I used SQLHelper class and SQL 2005 Express Edition without service pack .

Here is my problem :



Thanks all for your help in advance.
Regards,
QuachNguyen

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-11-12 : 22:56:25
How did you build the project? In which tool?
Go to Top of Page

QuachNguyen
Starting Member

15 Posts

Posted - 2007-11-13 : 11:42:57
quote:
Originally posted by rmiao

How did you build the project? In which tool?



Thanks for your replying , I use Visual Studio 2005 + SP1 to do my project.
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-11-13 : 22:51:37
How did you cannect to sql express?
Go to Top of Page

QuachNguyen
Starting Member

15 Posts

Posted - 2007-11-14 : 05:03:32
Here is my connection string to connect to SQl 2005 express database .

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<configSections>
</configSections>
<connectionStrings>
<add name="BsConnection"
connectionString="Data Source=.\SqlExpress;Initial Catalog=BookShop;Integrated Security=True"
providerName="System.Data.SqlClient" />
</connectionStrings>
</configuration>


Thanks in advance .
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-11-14 : 23:40:04
Does the machine have sql instance running? Can you connect to it with sql tools?
Go to Top of Page
   

- Advertisement -