H
Hifni Shahzard
HI,
Uses: Windows XP professional, Winodws 2000 Server, SQL Server 2000, Visual
Studio 2003;
I'm trying to connect a Remote SQL Server which resides in my local area
network via my ASP.NET application, but I do get an Error web page saying:
"Login Failed for user'(null)'. Reason not associated with a trusted SQL
Server connection". There's no problem in connecting to a local SQL Server,
although had the problem earlier but by giving the user ASPNET the rights for
access certain database it was Okay. By giving the user "sa" or others, yet I
can not access the Remote SQL Server. The way I'm accessing is as
follows(I've declared a global constant in Global.asax which available
through out my application):
Public Const DbString As String = "integrated
security=sspi;user=sa;password=xxx;initial catalog=dbsecurities;data
source=Remote"
Pls help me out with this by specifying what should I have to do.
Note: The Remote SQL Server resides in computer which has Windows 2000
Server and have installed .NET Framework 1.1. The local Computer is running
in Windows XP and have installed .NET Framework 1.1 as well.
Awaiting your response in anticipation.
Regards,
Uses: Windows XP professional, Winodws 2000 Server, SQL Server 2000, Visual
Studio 2003;
I'm trying to connect a Remote SQL Server which resides in my local area
network via my ASP.NET application, but I do get an Error web page saying:
"Login Failed for user'(null)'. Reason not associated with a trusted SQL
Server connection". There's no problem in connecting to a local SQL Server,
although had the problem earlier but by giving the user ASPNET the rights for
access certain database it was Okay. By giving the user "sa" or others, yet I
can not access the Remote SQL Server. The way I'm accessing is as
follows(I've declared a global constant in Global.asax which available
through out my application):
Public Const DbString As String = "integrated
security=sspi;user=sa;password=xxx;initial catalog=dbsecurities;data
source=Remote"
Pls help me out with this by specifying what should I have to do.
Note: The Remote SQL Server resides in computer which has Windows 2000
Server and have installed .NET Framework 1.1. The local Computer is running
in Windows XP and have installed .NET Framework 1.1 as well.
Awaiting your response in anticipation.
Regards,