PC Review


Reply
Thread Tools Rate Thread

Cannot connect to Local SQL Server

 
 
Mark Lewis
Guest
Posts: n/a
 
      1st Mar 2005
I am having trouble connecting to my local sql server from either the Server
Explorer or vb.net code. The problem is connected to the Norton Internet
Security 2005 Firewall as when I disable Norton everything works and if
Norton is enabled but the PC is not plugged into the network it also works.

When I am connected to the network the Firewall does pop up asking whether
or not I want to allow my vb.net program to access a DNS. I have tried using
localhost, the hardcoded IP of my machine, and my machine name (the usual
method) without any success. It is as if Visual Studio always tries to
resolve the machine name and cannot. VB6 programs ,dbArtisan, and SQL
Enterprise Manager all work fine at the same time Visual Studio/VB.Net does
not.

Any ideas?

Thanks,

Mark Lewis
(E-Mail Removed)

P.S I am using the latest production/old Visual Studio and SQL Server on XP
with all SP applied.


 
Reply With Quote
 
 
 
 
Mark Lewis
Guest
Posts: n/a
 
      1st Mar 2005
Resubmitting this with my new MSDN Alias.

Thanks,

Mark Lewis
(E-Mail Removed)
"Mark Lewis" <(E-Mail Removed)> wrote in message
news:u$(E-Mail Removed)...
>I am having trouble connecting to my local sql server from either the
>Server Explorer or vb.net code. The problem is connected to the Norton
>Internet Security 2005 Firewall as when I disable Norton everything works
>and if Norton is enabled but the PC is not plugged into the network it also
>works.
>
> When I am connected to the network the Firewall does pop up asking whether
> or not I want to allow my vb.net program to access a DNS. I have tried
> using localhost, the hardcoded IP of my machine, and my machine name (the
> usual method) without any success. It is as if Visual Studio always tries
> to resolve the machine name and cannot. VB6 programs ,dbArtisan, and SQL
> Enterprise Manager all work fine at the same time Visual Studio/VB.Net
> does not.
>
> Any ideas?
>
> Thanks,
>
> Mark Lewis
> (E-Mail Removed)
>
> P.S I am using the latest production/old Visual Studio and SQL Server on
> XP with all SP applied.
>



 
Reply With Quote
 
Nick Malik [Microsoft]
Guest
Posts: n/a
 
      1st Mar 2005
here's an idea: configure the Norton product so that your machine can access
DNS.

--
--- Nick Malik [Microsoft]
MCSD, CFPS, Certified Scrummaster
http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not
representative of my employer.
I do not answer questions on behalf of my employer. I'm just a
programmer helping programmers.
--
"Mark Lewis" <(E-Mail Removed)> wrote in message
news:u$(E-Mail Removed)...
>I am having trouble connecting to my local sql server from either the
>Server Explorer or vb.net code. The problem is connected to the Norton
>Internet Security 2005 Firewall as when I disable Norton everything works
>and if Norton is enabled but the PC is not plugged into the network it also
>works.
>
> When I am connected to the network the Firewall does pop up asking whether
> or not I want to allow my vb.net program to access a DNS. I have tried
> using localhost, the hardcoded IP of my machine, and my machine name (the
> usual method) without any success. It is as if Visual Studio always tries
> to resolve the machine name and cannot. VB6 programs ,dbArtisan, and SQL
> Enterprise Manager all work fine at the same time Visual Studio/VB.Net
> does not.
>
> Any ideas?
>
> Thanks,
>
> Mark Lewis
> (E-Mail Removed)
>
> P.S I am using the latest production/old Visual Studio and SQL Server on
> XP with all SP applied.
>



 
Reply With Quote
 
Mark Lewis
Guest
Posts: n/a
 
      1st Mar 2005
Resubmitting this with my new MSDN Alias to qualify for support.

Thanks and sorry about the double post,

Mark Lewis
(E-Mail Removed)
"Mark Lewis" <(E-Mail Removed)> wrote in message
news:u$(E-Mail Removed)...
>I am having trouble connecting to my local sql server from either the
>Server Explorer or vb.net code. The problem is connected to the Norton
>Internet Security 2005 Firewall as when I disable Norton everything works
>and if Norton is enabled but the PC is not plugged into the network it also
>works.
>
> When I am connected to the network the Firewall does pop up asking whether
> or not I want to allow my vb.net program to access a DNS. I have tried
> using localhost, the hardcoded IP of my machine, and my machine name (the
> usual method) without any success. It is as if Visual Studio always tries
> to resolve the machine name and cannot. VB6 programs ,dbArtisan, and SQL
> Enterprise Manager all work fine at the same time Visual Studio/VB.Net
> does not.
>
> Any ideas?
>
> Thanks,
>
> Mark Lewis
> (E-Mail Removed)
>
> P.S I am using the latest production/old Visual Studio and SQL Server on
> XP with all SP applied.
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Connect To Local SQL Server DB From Remote Server Jeff Dillon Microsoft ASP .NET 0 21st Aug 2008 11:12 PM
Cannot connect to MSSQL2005 (Local) Server? =?Utf-8?B?QXNhZg==?= Microsoft ADO .NET 8 5th Jul 2006 08:54 PM
!!HELP!!! Cannot connect to Exchange Server from a RDP, ICA session or server local machine AllenM Microsoft Outlook 0 11th May 2006 10:14 PM
Cannot connect to Exchange Server from a RDP, ICA session or from server local machine AllenM Microsoft Outlook Discussion 0 10th May 2006 05:51 PM
IPSecMon - Cannot Connect to Local Server EM Windows XP Security 0 7th Sep 2003 02:57 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:57 AM.