Friday, December 17, 2010

Luser Support

From the supportee:
Is there any way we can change the error message to make it a bit more idiot proof?

From me:
I'm sorry, but on the second line it says "XDataProvider:
System.Data.SqlClient.SqlException: 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: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)"

ie,

1. This is the XDataProvider.
2. This is a network error meaning that I cannot talk to the SQL Server.
3. This might be fixed by checking that the server name is correct and the SQL Server is configured to allow connections.

I really don't think it could be *any* clearer or more idiot proof.

From my colleague:
User error. I'm always right.

No comments: