PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.db.ms-sqlserver > Strange Connect Problem
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Strange Connect Problem

Réponse
 
LinkBack Outils de la discussion
Vieux 22/09/2007, 02h49   #1
Daniel Loose
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Strange Connect Problem

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
  Réponse avec citation
Vieux 24/09/2007, 09h35   #2
Jack Vamvas
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Strange Connect Problem

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@reply.de> wrote in message
news:1lo8f3l29lt7vvb0j4epuvqm606ppvsvos@4ax.com...
> 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



  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 01h55.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,08226 seconds with 10 queries