473,386 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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
Sep 22 '07 #1
1 1483
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.dewrote in message
news:1l********************************@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

Sep 24 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Bruce A. Julseth | last post by:
My MySQL.user table (user, host, password) looks like the following: +---------+-----------+---------------------+ | user | host | password |...
13
by: Wescotte | last post by:
Here is a small sample program I wrote in PHP (running off Apache 1.3.31 w/ PHP 5.0.1) to help illustrates problem I'm having. The data base is using DB2 V5R3M0. The client is WinXP machine using...
2
by: Allcomp | last post by:
Hello, I have seen something strange on a customer's computer. It is a P4 3 GHz with 512 MB Ram running on a Win2K SP3 When he uses a part of my application, it is really slow (more than 10 sec...
1
by: mdurliSPAMFILTER | last post by:
Hello, I developed a win32 .exe CGI that connects to a clustered SQLServer to report some data. The software is written with Borland C++Builder. This is the oledb string:...
2
by: Buddy Ackerman | last post by:
I have a web app that I have setup on numerous web servers. I've set one up for a new client at their hosting facility and cannot get it to connect to their database. I get a "SQL Server does not...
0
by: Wescotte | last post by:
<?php global $TABLE_GL_DATA; global $connect; $PREPARED_SQL = odbc_prepare($connect, "INSERT INTO $TABLE_GL_DATA VALUES (?,?,?,?,?,?,?)"); function Generate_GL_Data() {
2
by: rn5a | last post by:
I am working on WinXP Pro (SP2) & use IIS5.1 as the intranet server to run ASP applications. I connect to the Internet using a LAN connection. My PC is a standalone machine. Of late, what I find...
4
prometheuzz
by: prometheuzz | last post by:
Hello all, There's this problem I have, which I am unable to find a solution for. The problem is this: I cannot post messages with a specific size on (certain) forums. I hear you thinking: what...
4
by: Greg Hines | last post by:
Hi Everyone, MSDE2000 installed on 2003 Server. With Windows Firewall turned ON, users in the same workgroup as the 2003 Server can connect to the SQL Database. Users on a different...
1
by: pitjpz | last post by:
We have moved our Database to another server. The server it was on used SQL 4 and the new one its on now uses SQL5 the only problem we can find is that when you attempt to delete a record from...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.