Link to home
Start Free TrialLog in
Avatar of Niall Gallagher
Niall GallagherFlag for Ireland

asked on

Cannot connect to SQL Express

I installed SQL express on my PC and also have  VS 2008 so I use SQL express for developing when I reboot my computer everything is great but if I don't use it for a few hours I can't connect to the DB through both VS or SSMS.
I have went and tried to start the SQL Service again but it will not start and I have to reboot my computer again then it works great until the next time I leave it alone for a few hours.

Does anybody have any ideas what causes this.
Thanks in advance
ASKER CERTIFIED SOLUTION
Avatar of TempDBA
TempDBA
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Check your firewall.  It is probably blocking sql traffic.
SOLUTION
Avatar of Guy Hengel [angelIII / a3]
Guy Hengel [angelIII / a3]
Flag of Luxembourg image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Niall Gallagher

ASKER

I honestly don't know what has happen, I have check everything you mention except the Firewall and strangely I don't remember changing anything but my development computer has been running now for 4 days without being rebooted and I can still use SQL express.
I'm sure I must of done something in your notes without realising so I can only think of one fair way and that is to split the points
I am not 100% sure what fixed the problem as I read and checked all 3 experts suggestions