all groups > sql server connect > november 2003 >
You're in the

sql server connect

group:

No ASP.NET connection when off LAN


No ASP.NET connection when off LAN michaelmctaggart NO[at]SPAM comcast.net
11/23/2003 4:27:13 PM
sql server connect:
Hi all,

I just installed Win 2003 enterprise on my laptop. I also
installed VS 2003. My Server Explorer works fine until I
unplug it from the network. When I unplug it from the
network I get a connection error message and a big red X
under the server node in Server Explorer when I try to
open it, even though I am acccessing the localhost. I
also cannot use the wizard to create a data adapter, it
doesn't find any available servers. I tried creating a
data access project in Access 03 and I get the same
problem. I have no problem opening SQL Server Enterprise
Manager when it is off the network however. Has anyone
encountered this? I will have to use my laptop off the
network and it useless without data access.

Thanks in advance for any suggestions, Mike.
RE: No ASP.NET connection when off LAN anonymous NO[at]SPAM discussions.microsoft.com
11/24/2003 9:40:40 AM
Hi Michael,

Thanks so much for responding! I don't have my laptop
handy but I will try that later today. I will let you
know.

Thank you again, Mike
[quoted text, click to view]
RE: No ASP.NET connection when off LAN v-yshao NO[at]SPAM online.microsoft.com
11/24/2003 9:46:33 AM
Hi Michael,

Thanks for your post. As I understand, when you unplug the laptop from the
network you get a connection error message and a big red X under the server
node in the Server Explorer when you try to open it. In addition, you
cannot access your localhost. If I have misunderstood, please feel free to
let me know.

Based on my research, when you unplug the laptop form the network, the
network connection is broken. Of course, you cannot connect to the other
servers. As the connection problem with the local machine, it is most
probable that the server name used in the connection of server node cannot
be translated to an IP address by the DNS server (because the network
connection is broken) and then the local machine cannot be found. As a
workaround, I would like you to try to create a Data Connection with
"(local)" as the server name to connect to the local server.

Does it solve your problem? If not, I would like you to provide me with the
detailed message so that I can narrow down the cause of this issue.

Thanks for using MSDN newsgroup.

Regards,

Michael Shao
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
RE: No ASP.NET connection when off LAN Michael McTaggart
11/24/2003 11:07:39 AM
Hi Michael,

I tried the "local" suggestion and unfortunately it
doesn't work. In Visual Studio 03 I tried invoking the
dataadapter wizard and setting up a connection and I got
this error message:

"[DBNETLIB][ConnectionOpen(connect().]
SqlServer does not exist or access denied""

I reset SQL Server and tried it with and without a
password. I also tried integrated security with no
avail.

When I am in VS 03 and open the server explorer I get the
following Server Explorer Error dialog box:

"Server Explorer is unable to perform this operation. See
below for details"

The message is :

"The requested name is valid but no data of the requested
type was found"

I don't think it's a DNS problem because I can type an
address in my browser using localhost and it finds it

"http://Localhost/test.html" - That works, so it does
resolve localhost.

I have local aspx applications that use localhost SQL
Server data access and they all fail.

When I open Enterprise Mangager I can access my localhost
just fine (inside Enterprise Manager).

This was not a problem prior to upating from 2000 Server
and VS Studio 1.0

Thank you again, I really appreciate your research and
efforts, Mike
[quoted text, click to view]
RE: No ASP.NET connection when off LAN Michael McTaggart
11/25/2003 7:51:26 AM
Hi Michael

Thank you again for replying. I will try the [local] suggestion.

RE: No ASP.NET connection when off LAN v-yshao NO[at]SPAM online.microsoft.com
11/25/2003 10:40:41 AM
Hi Michael,

Thanks for your feedback. I would like you to try creating a Data
Connection with "(local)"(including the brackets) as the server name to
connect to the local server. Specifying the "(local)" as the server name
helps us connect to the local instance of SQL Server. Did you try it on
your side?

Generally, as I understand, specifying the localhost as the server name
does not need to connect to DNS Server and translate it to IP address.

Thanks for using MSDN newsgroup.

Regards,

Michael Shao
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
RE: No ASP.NET connection when off LAN v-yshao NO[at]SPAM online.microsoft.com
11/26/2003 1:05:55 AM
Hi Michael,

Thanks for your response. Please try the "(local)" not '[local]' on your
side.

Thanks for using MSDN newsgroup.

Regards,

Michael Shao
Microsoft Online Partner Support
Get Secure! - www.microsoft.com/security
This posting is provided "as is" with no warranties and confers no rights.
AddThis Social Bookmark Button