If you click on connection in server explorer you can see connection string in VS property windows is host/instance name same with connection string you using in application?
2009/8/28 neema n <[email protected]>: > > ya.. i can connect > > On Aug 27, 11:26 am, Vitaly Maslevskiy <[email protected]> > wrote: >> Can you connect to sqlserver using ServerExplorer in VisualStudio? >> >> 2009/8/27 neema n <[email protected]>: >> >> >> >> >> >> > Dear friends this is neema >> >> > i installed vs2005 on my system i'm getting following error message >> > while adding Database.mdf to App_Data >> >> > A network-related or instance-specific error occurred while >> > establishing a connection to SQL Server. The server was not found or >> > was not accessible. Verify that the instance name is correct and that >> > SQL Server is configured to allow remote connections. (provider: SQL >> > Network Interfaces, error: 26 - Error Locating Server/Instance >> > Specified) >> >> > Before it was working fine..i installed vs2008 my system became slow >> > so i uninstall ed vs2008 >> > after that im getting above error.. >> > i reinstalled vs2005 then also i couldnt able to rectify the error >> > please please help me friends >> >> > thank you all of my friends, >> >> > Neema- Hide quoted text - >> >> - Show quoted text - >
