dbTalk Databases Forums  

Strange Connect Problem

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss Strange Connect Problem in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Daniel Loose
 
Posts: n/a

Default Strange Connect Problem - 09-21-2007 , 07:49 PM






Hello,

I try to get an asp site to work on my local machine. Using ASP Studio
2005 and mssql server 2005 eval on win xp, and ms management studio.
I'm new to mssql and asp and just want to get the site to run (not
edit). have a simple connect script like

set conn = server.CreateObject("adodb.connection")
conString ="PROVIDER=SQLOLEDB;DATA SOURCE=DANIEL;DATABASE=nano;User
ID=sa;Password=yyy"

conn.open conString

what happens is that IE hangs on load. the settings in the string are
all ok I think: if I change id or pw (that is to any non-existing
user), immediately comes error like "problem logging in user sa". only
with the correct values, IE hangs. this makes me believe that the
settings are right, but that the hanging comes from anything else. any
ideas anyone? port problem? which is right? how to check? what else?
how to detect? where are error logs? how to get detailed info?

i would also be lucky with no-authentication - but
conString ="PROVIDER=SQLOLEDB;DATA
SOURCE=DANIEL;DATABASE=nano;Integrated Security=SSPI"

without uid and pw also results in hanging. so I now think the conn
strings is ok. what is wrong?? [since I am new, and just took the
project from a cd, please also ask me "stupid"
questions/suggestions!!] thank you VERY much!!!!

daniel

Reply With Quote
  #2  
Old   
Jack Vamvas
 
Posts: n/a

Default Re: Strange Connect Problem - 09-24-2007 , 02:35 AM






Try :
Data Source=190.190.200.100,1433;Network Library=DBMSSOCN;Initial
Catalog=myDataBase;User ID=myUsername;Password=myPassword;

In other words , use IP address


--

Jack Vamvas
___________________________________
Need an IT job? http://www.ITjobfeed.com/SQL




"Daniel Loose" <no (AT) reply (DOT) de> wrote

Quote:
Hello,

I try to get an asp site to work on my local machine. Using ASP Studio
2005 and mssql server 2005 eval on win xp, and ms management studio.
I'm new to mssql and asp and just want to get the site to run (not
edit). have a simple connect script like

set conn = server.CreateObject("adodb.connection")
conString ="PROVIDER=SQLOLEDB;DATA SOURCE=DANIEL;DATABASE=nano;User
ID=sa;Password=yyy"

conn.open conString

what happens is that IE hangs on load. the settings in the string are
all ok I think: if I change id or pw (that is to any non-existing
user), immediately comes error like "problem logging in user sa". only
with the correct values, IE hangs. this makes me believe that the
settings are right, but that the hanging comes from anything else. any
ideas anyone? port problem? which is right? how to check? what else?
how to detect? where are error logs? how to get detailed info?

i would also be lucky with no-authentication - but
conString ="PROVIDER=SQLOLEDB;DATA
SOURCE=DANIEL;DATABASE=nano;Integrated Security=SSPI"

without uid and pw also results in hanging. so I now think the conn
strings is ok. what is wrong?? [since I am new, and just took the
project from a cd, please also ask me "stupid"
questions/suggestions!!] thank you VERY much!!!!

daniel



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.