I use ADO.NET to connect to SQL Azure. The code worked verywell as a console application.
But the code when run as a CLR Proc, threw the following error
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: TCP Provider, error: 0 - The requested name is valid, but no data of the requested type was found.)