Tag Archive : Error

LoginControl and CSSAdapters

1
Digg me

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.
 

‘The invoked member is not supported in a dynamic module.’

0
Digg me

Error ‘The invoked member is not supported in a dynamic module.’ while generating exception string

While Using ASPUnhandledException.dll for exception handling, I received this error via email.

This error message was not at all helpful in production environment. 

On careful debugging I found out that my Stored Proc failed.

Instead of giving the reason for Stored Proc failure it gave this obscure message. If  someone knows why it gives this message it will be helpful.

(reason my sp failed was because I was calling a non-existing user defined function)