473,404 Members | 2,137 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,404 software developers and data experts.

Connection from asp.net application to SQL Server 2000 blocked byfirewall

Hi

First of all, this is my first post on a newsgroup so don't shoot me if
I ask this in the wrong place.

Here is the situation. I'm developing an asp.net application with access
to a SQL Server 2000 on the companies network. On my development machine
I have Bitdefender Internet Security v10 installed. With the Bitdefender
Firewall disabled I have no problems in surfing and debugging the
application. However when the firewall is enabled, it asks if I want to
allow aspnet_wp.exe to connect to the sql server and off course I allow
this. The rule that allows aspnet_wp.exe to connect to the sql server is
successfully added to the firewall but still the connection to the sql
server fails. I communicated this with Bitdefender support but they
haven't come up with a solution yet.

Today I tried adding a rule to the firewall manually. The rule I added
allows ALL applications on my machine to connect to the SQL Server by
its ip-address and port, communication is allowed in both directions for
TCP only. This firewall rule (in my eyes everything but secure) lets the
asp.net application successfully connect to the SQL Server. Now because
of this rule I added, I started wondering if there are other .net
processes which need permission to connect to the SQL Server for a
successful connection. At least the firewall does not inform me of other
processes which try to connect.

Is there anyone who can help me?

Best Regards
Greetz & Thanx

Ben Schalley
Oct 31 '06 #1
1 1637
AFAIK, no other processes from your machine need to connect to SQL Server in
order to allow the management tools and the web app on your dev box to query
the database. You should be fine for this purpose.

There is probably a technet article on the ports needed by SQL Server.
Check out the technet library for detailed technical info.

--
--- 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.
--
"Schalley Ben" <be**********@bisnet.bewrote in message
news:e3**************@TK2MSFTNGP03.phx.gbl...
Hi

First of all, this is my first post on a newsgroup so don't shoot me if I
ask this in the wrong place.

Here is the situation. I'm developing an asp.net application with access
to a SQL Server 2000 on the companies network. On my development machine I
have Bitdefender Internet Security v10 installed. With the Bitdefender
Firewall disabled I have no problems in surfing and debugging the
application. However when the firewall is enabled, it asks if I want to
allow aspnet_wp.exe to connect to the sql server and off course I allow
this. The rule that allows aspnet_wp.exe to connect to the sql server is
successfully added to the firewall but still the connection to the sql
server fails. I communicated this with Bitdefender support but they
haven't come up with a solution yet.

Today I tried adding a rule to the firewall manually. The rule I added
allows ALL applications on my machine to connect to the SQL Server by its
ip-address and port, communication is allowed in both directions for TCP
only. This firewall rule (in my eyes everything but secure) lets the
asp.net application successfully connect to the SQL Server. Now because of
this rule I added, I started wondering if there are other .net processes
which need permission to connect to the SQL Server for a successful
connection. At least the firewall does not inform me of other processes
which try to connect.

Is there anyone who can help me?

Best Regards
Greetz & Thanx

Ben Schalley

Nov 2 '06 #2

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

Similar topics

2
by: meng | last post by:
is it possible to use a single connection object shared by several tasks where each task is handled by a thread? these tasks call stored procedures that return record sets, no editing, update or...
1
by: Marino | last post by:
Hi all, I have a Windows 2003 server, which is also a terminal server for application, with sql 2000 installed. My company has developed an application that uses SQL 2000 as its database. The...
1
by: juergen.simonsen | last post by:
Hello, we use two instances of the ms sql server 2000 (Version: 8.00.760) on a 4 processor windows 2000 (sp 4) machine. A dts-packet on one instance completly blocks the work on the other...
1
by: vighnesh | last post by:
Hi All I am dealing a project in ASP.NET in which I have to establish a connection to SQL Server 2000 database,where the database was located on a remote system. For this I have used...
26
by: Rajeev Tipnis | last post by:
http://support.microsoft.com/default.aspx?scid=kb;en- us;819450 Questions: 1) Is this patch (fix) applicable to the .NET 1.1 Framework as well? That is, if we have Framework 1.1 (On...
1
by: Fredrik L | last post by:
Hi, We have an application outside the firewall who talks to a webservice inside the firewall. 9 times of 10 this works, but sometimes we got the error "The underlying connection was closed: An...
5
by: Mitya Mitriev | last post by:
Hi I created ASP.NET 2.0 web application that uses SQL Server 2000 database and it works perfectly when website and Sql server were on local machine. Then I installed application on production...
3
by: laststubborn | last post by:
Dear Memebers, I have a critical problem. I have an application is running on 64 bit machine. It used to be running on 32 bit machine. That application is using a Stored Procedure that uses...
2
borisding
by: borisding | last post by:
Hi all, I have recently migrated ASP application from Windows server 2000 to 2003. But failed to connect to SQL Server 2000. (Both sql server and application are on the same server) I keep...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.