Click here to Skip to main content
16,021,459 members
Please Sign up or sign in to vote.
1.33/5 (2 votes)
See more:
After Formatting My Laptop i just installed sql server 2008 but when i open it, it shows an error that "A network related or instance specific error occured..."


What I have tried:

To resolve this i start all the SQL services...And trying to stop windows firewall service but unable to stop this service and open SQL server 2008...
plzz help...
Thanks in Advance...
Posted
Updated 6-Sep-18 5:08am
Comments
CHill60 6-Sep-18 7:51am    
Things to try
1. Perform a disk check e.g. as described at Perform Disk Check on Windows 10[^]

2. Reinstall SQL Server 2008 (New versions are available free of charge is this is for your own use)

3. Reinstall SQL Server Management Studio

4. Stopping your firewall service would leave your PC vulnerable to attack - I don't know why you would want to do that. Most firewalls allow you to configure them for specific requirements.

By "when i open it" I presume you mean SQL Server Management Studio. Is this before or after you have connected to a database?
Mohan Ghawade 6-Sep-18 13:48pm    
I just installed SQL Server 2008......
[no name] 6-Sep-18 8:33am    
If you have successfully installed SQL server there may be chance that SQL services are not up and causing you this error. Refer below URL to validate this scenario -

https://docs.microsoft.com/en-us/sql/database-engine/configure-windows/start-stop-pause-resume-restart-sql-server-services?view=sql-server-2017
Mohan Ghawade 6-Sep-18 13:49pm    
All SQL services are running except SQL server agent because that is not supported by express edition...
Mohan Ghawade 6-Sep-18 13:57pm    
SQl server agent is not running...Beacuse of that this error occured...??

1 solution

try
check the old username and passwords used For SQL connection and your new password and username in sql string if any change occur replace with new one
you can find SQLConnection in Web.config file
 
Share this answer
 
Comments
CHill60 6-Sep-18 11:14am    
I would have thought that Incorrect username/password would result in a message indicating that the wrong username or password had been used, not "A network related or instance specific error occured..."
Mohan Ghawade 6-Sep-18 13:55pm    
Sorry but i don't have old username and password...

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900