Hi, I have installed SQL Server 2005 and Visual Studio 2005 in my machine.
I got an error when I tried an example.
"An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)" .
 
I followed many advice online and did the following but still wrong.
Enable networking protocols during managment configuation. add port 1343 on firewall or turn off the firewall. make changes in web.confige as