LoginControl and CSSAdapters

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

I got this error when I started using LoginStatus Control. It seemed very wiered. After lot of struggle I found out this is caused by CSSAdapters.

Open CSSFriendlyAdapters.browser  (or something similar)

Look for this line and remove or comment it.

<adapter controlType="System.Web.UI.WebControls.LoginStatus"

 adapterType="CSSFriendly.LoginStatusAdapter" />

Now you LoginControl will work without any issues.


kick it on DotNetKicks.com

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this: