Ask a Question related to ASP.NET Security, Design and Development.
-
nospam #1
Login failed for user (null) with Remote References (CAO) in Remoting
I have a very simple C# remoting application, IIS hosted, using remote
references (MarshalbyRef objects) and a Factory model (singleton) on windows
2003 with Kerberos Delegation Scenario and Windows Authentication that
access an SQL Server DBMS hosted on other server. The Kerberos / Windows
scenario is correctly configured and working fine.
If a client tries to open an sql connection using the factory ( a wellknow
Server Activated Object), the connection is successfully established. But
when a clients tries to open the sql connection using a method of the
remote reference (an instance I get with the Factory.GetRemoteObject()
method) the following exception is raised:
System.Data.SqlClient.SqlException:
Login failed for user (null) Reason: Not associated with a trusted SQL
Server connection.
Source: .Net SqlClient Data Provider
at System.Data.SqlClient.SqlInternalConnection.OpenAn dLogin()
at System.Data.SqlClient.SqlInternalConnection..ctor( SqlConnection
connection, SqlConnectionString connectionOptions)
at System.Data.SqlClient.SqlConnection.Open()
Why is not possible to open connections using remote references (Client
Activated Objects) under this scheme ?
nospam Guest
-
Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server connection.
I am pulling my hair out..... I am trying to put a bound data grid on a webform... I have 4 data connections in my server explorer, all of which... -
Login failed for user '(null)'. Reason: Not associated with a trus
The webserver ASPNET account may not be properly mapped with Server2(SQL). Just delete the ASPNET acocunt in sql server, and create a Nt Account... -
Login failed for user '(null)'. Reason: Not associated with a trusted SQL
I am losing lots of hair over this issue. We are trying to implement windows authentication from a web server to a database server. The web server... -
Kerberos not being used, only NTLM - Login failed for user '(null)'
We have a Win2K3 Server running an ASP .NET application that connects to a Win2K3 server running SQL 2000 on the backend. Whenever a user opens... -
Login failed for user '(null)'
I am running a third-party web application (mainly ASP and specific pages with their own extension that are processed by a third-party ISAPI dll)...



Reply With Quote

