I am trying to access a database but I am getting an exception of
Message = "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.
While i have successfully connected to the same Database from server Explorer and from UDL and from DSN.
i am using Windows 7 64bit, visual studio 2010, My project is on .net 2.0
Database is sql server 2000.