Jimmy
Fri Sep 08 08:42:31 CDT 2006
i got it working guys, thank you.
the problem was a combination of the TCP/IP settings in SQL (dynamic ports
were a problem) and my connection string (i had to specify the instance
name!)
"Bob Barrows [MVP]" <reb01501@NOyahoo.SPAMcom> wrote in message
news:exf1pt00GHA.4772@TK2MSFTNGP03.phx.gbl...
> Does this help? it shows how to turn on TCP/IP:
>
http://www.aspfaq.com/sql2005/show.asp?id=3
>
>
> Jimmy wrote:
>> thanks everyone. it is indeed 2005 express.
>> heres what i have learned... so by default sql is lietening on port
>> 1433 i believe?
>> FROM the server where sql express is running i can telnet to port
>> 1433. but i can NOT even telnet to this port from any other machine
>> on the network, including the webserver which is why my ASP page cant
>> connect.
>> is there some setting somewhere in sql that prevents network
>> connections by default?
>>
>> if no one knows ill go to a sql group i guess
>>
>>
>>
>>
>> "Mike Brind" <paxtonend@hotmail.com> wrote in message
>> news:1157664769.960312.48690@i42g2000cwa.googlegroups.com...
>>>
>>> Bob Barrows [MVP] wrote:
>>>> Mike Brind wrote:
>>>>> This is the connection string I use for SQL Server 2005 Express:
>>>>
>>>> Have we seen confirmation that he is using Express?
>>>
>>> No, but since in his OP he said that using the full version is not an
>>> option, and then mentioned the "desktop" version, I think it's a fair
>>> assumption that he is unlikely to have a full blown copy of SQL
>>> Server 2005 lying around to play with and has installed Express. He
>>> could, of course, have downloaded the 180-day trial of the full
>>> version and be using that, but why he would do so is beyond me.
>>> Nevertheless, you have a point.
>>>
>>>>>
>>>>> "Provider=SQLOLEDB;Data Source=.\SQLEXPRESS;Initial
>>>>> Catalog=testdb;Integrated Security=SSPI"
>>>>>
>>>>> Or, if you want to use the SQL Native Client (apparently offers
>>>>> better performance):
>>>>
>>>> I haven't seen anything touting better performance. I've seen
>>>> recommendations against using it if not using SQL 2005 features
>>>> such as MARS.
>>>>
>>>
>>> I haven't seen these recommendations. Time for me to google, unless
>>> you have any relevant bookmarks handy.... :-)
>>>
>>> --
>>> Mike Brind
>
> --
> Microsoft MVP -- ASP/ASP.NET
> Please reply to the newsgroup. The email account listed in my From
> header is my spam trap, so I don't check it very often. You will get a
> quicker response by posting to the newsgroup.
>
>