Re: Possible to access data source not on local server?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Which database and which version are you using (trying to connect to
remotely)?

www.connectionstrings.com has some examples;

If you're using msde
then
DISABLENETWORKPROTOCOLS=0

google that.


I'm guessing you're using trusted/integrated security, and the remote
machine isn't setup to use that account.

I'd suggest creating a non windows / sql authentication account to connect
with to the remote machine




"D" <email0203@xxxxxxxxxxx> wrote in message
news:1163437240.390909.242110@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hello everyone
I have developed a web application using .asp to access a data
source on a different server than where my .asp files are stored. I've
tried to determine how to establish this connection ( to a SQL server )
to access the data source but I cannot. Is this possible and if
so...how? provided below is my connection string. Thank you!

<%
CONST POST = "POST"
CONST DBCONNSTRING = "Provider=SQLOLEDB.1;Integrated
Security=SSPI;Persist Security Info=False;Initial Catalog=ACC;Data
Source=\\WHTSQLNT01\BMC"
'CONST DBCONNSTRING = "Provider=SQLOLEDB.1;Integrated
Security=SSPI;Persist Security Info=False;Initial
Catalog=ACC;database=ACC;Data Source=(Local)"
'CONST DBCONNSTRING = "Provider=SQLOLEDB.1;Integrated
Security=SSPI;Persist Security Info=False;Initial
Catalog=PUBS;database=PUBS;Data Source=(Local)"
CONST APPSCOOKIENAME = "AppNumsCookie"
CONST GROUPCOOKIENAME ="GroupsCookie"
%>



.



Relevant Pages

  • Re: Problem with Web based client
    ... connect with a Remote Desktop client. ... L_DisconnectIdleTimeout_ErrorMessage = "The remote session ... const L_DisconnectLogonTimeout_ErrorMessage ... This limit is set by the server ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Query printers on remote print server that is not part of the same domain
    ... try the code below against the remote server with the appropriate values for computer/user/password. ... Const HKEY_USERS = &H80000003 ... 'If the account name of the current sid we're checking matches the ... strArray = strArray & arrRead ...
    (microsoft.public.scripting.wsh)
  • Re: Query printers on remote print server that is not part of the same domain
    ... try the code below against the remote server with the appropriate values for computer/user/password. ... Const HKEY_USERS = &H80000003 ... 'If the account name of the current sid we're checking matches the ... strArray = strArray & arrRead ...
    (microsoft.public.scripting.wsh)
  • Re: Remote Desktop Web Connection Problems
    ... over files, rebooted and then reloaded the IIS and remote destop, ... limit is set by the server administrator or by network policies." ... const L_DisconnectLogonTimeout_ErrorMessage ="The remote session ended ... L_DisconnectRemoteByServerTool_ErrorMessage = "The remote session to ...
    (microsoft.public.windowsxp.work_remotely)
  • Re: Impossibly remote connections to SQL 2005 express
    ... How far away is your impossibly remote application? ... database using the connection string, attached using management studio ...
    (microsoft.public.sqlserver.clients)