Ask a Question related to ASP.NET Security, Design and Development.
-
Hifni Shahzard #1
Connecting to Remote SQL Server
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,
--
Mohammed Hifni Shahzard Nazeer,
JB Securities Pvt. Ltd.,
Colombo.
Hifni Shahzard Guest
-
Connecting via Local/Network to remote server
Hi All, I am trying create a connection in Contribute. I provide the "Web address for our website". "http://chapp9/SalesStaging/SalesPages/" ... -
Connecting to remote database on separate server
I was wondering if any of you could explain how to connect to a database that sits on a different server than the site? Is it possible to connect... -
* * * Connecting DW to a REMOTE 'Testing server' * * *
Hello all, I've now spent 7 full 12 hour days on this, with no success... I am begging for help. Books, google, macromedia, the forums have all... -
#24419 [Opn->Fbk]: ifx_connect broken when connecting to remote informix server
ID: 24419 Updated by: sniper@php.net Reported By: leightonbrown at excite dot com -Status: Open +Status: ... -
Connecting to a remote MsSQL server...?
Hi all, can I connect to a MsSQL server using DW MX? What are the info needed to connect? I.e.: what do I need to ask to the server admin? ... -
Khan Imran #2
Re: Connecting to Remote SQL Server
try the same thing without integrated security=sspi;
"Hifni Shahzard" <HifniShahzard@discussions.microsoft.com> wrote in message
news:40F5966E-777A-4F19-AA25-B5155708461E@microsoft.com...> 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,
>
>
> --
> Mohammed Hifni Shahzard Nazeer,
> JB Securities Pvt. Ltd.,
> Colombo.
Khan Imran Guest
-
Hifni Shahzard #3
Re: Connecting to Remote SQL Server
Now I do get an Error as "SQL Server does not exit or Access Denied". Is
there anything I've to do in the Server?(the Machine where windows 2000
server is installed. It's a Standalone server which is a member of our domain)
"Khan Imran" wrote:
> try the same thing without integrated security=sspi;
> "Hifni Shahzard" <HifniShahzard@discussions.microsoft.com> wrote in message
> news:40F5966E-777A-4F19-AA25-B5155708461E@microsoft.com...>> > 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,
> >
> >
> > --
> > Mohammed Hifni Shahzard Nazeer,
> > JB Securities Pvt. Ltd.,
> > Colombo.
>
>Hifni Shahzard Guest
-
Lokesh L #4
Re: Connecting to Remote SQL Server
hi,
I am also facing the same problem.
Anybody has the solution for this?
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Lokesh L Guest
-
Milos Milovanovic #5
Re: Connecting to Remote SQL Server
You have to open port 1433 (or other port where your SQL server is) at
the computer where you SQL Server is, for computers in LAN. Go to
Control Panel/Windows Firewall/Exceptions/Add Port... and add that port.
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Milos Milovanovic Guest



Reply With Quote

