Hi Nicholas Paldino,
Thank you very much for your post.
I have a server whick contains multiple websites (95-100). I want to check
how many active users on the server (whole websites) without saving the data
into database since sometimes I get SQL connection errors as:
SQL:Error Message =;Index #0
Message: An error has occurred while establishing a connection to the
server. When connecting to SQL Server 2005, this failure may be caused by
the fact that under the default settings SQL Server does not allow remote
connections. (provider: Named Pipes Provider, error: 40 - Could not open a
connection to SQL Server);LineNumber: 0;Source: .Net SqlClient Data
Provider;Procedure
These kinds of errors I get as 0 to 6 per day so far. I want to want how
many connections have been used when the server get the error.
We have 3 servers contains 230 websites and one SQL server.
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.comwrote in
message news:84**********************************@microsof t.com...
Zhangming,
What exactly are you trying to do? It doesn't make sense to access the
HttpApplication class from a Windows Forms application since the
HttpApplication class is used in ASP.NET apps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com
"Zhangming Su" <su**@ExportTradingNetwork.comwrote in message
news:fh***********@cti36.citenet.net...
>Hi,
Any one know "How to get HttpApplication from Windows Form" by using C#
on Windows 2003 server?
Thank for the help!