Showing posts with label visual. Show all posts
Showing posts with label visual. Show all posts

Saturday, March 31, 2012

straightforward way to programmatically retrieve string from db?

Hello -- I'm using asp.net 2 in visual web developer and I'm drawing a blank finding documentation on on this fairly simple task. Since this is the novice's thread, I felt bold enough to ask.

I'd like to programmatically retrieve a string from the aspnet_usermembership database -- the select statement would be something like the below. Can anyone point me at example code to do this programmatically -- so I end up with the LoweredEmail string from the DB? I guess I could either read it directly from the DB, or from a gridview control on the page -- but I'm new to SQL data manipulation and althoug I've seen examples nothing seems to work in this environment and it's probably simpler than I think to those who know what they;re doing..

Thanks for pointers.

"SELECT LoweredEmail FROM aspnet_Membership WHERE username=@dotnet.itags.org.Username"

Hey, just an idea. You can use SqlCommand.ExecuteScalar() to return a single value from database, assuming that your select SQL statment returns a scalar value. The method returns an object type so you need to comvert, in your case, a string type, like something below

...

dim LoweredEmail as String

dim SqlCmd as New SqlCommand("sql stmt", SqlConnObt)

LoweredEmail = CType(SqlCmd.ExecuteScalar(), String)

...


Thanks Bernie I'll give that a shot -- looks to be exactly what I needed.

Richard.


Worked fine -- just needed to do this in a two-stage process to get the GUID for the user from the username, which teyn gets teh email address. So added

Dim SqlEmailCmdAsNew SqlCommand("SELECT LoweredEmail FROM aspnet_Membership WHERE userid=@.Guid", myMembershipConnection)

SqlEmailCmd.Parameters.AddWithValue("@.Guid", userid)

Wednesday, March 28, 2012

Strange bugg with asp.net in Visual Studio

Hi,
I would appreciates some hints or help regarding a strange behaviour in
visual studio dotnet when using asp.net. I'm working with authentication
and somewhere in the process the framework goes nuts. Let me explain the
behaviour for you.
First you have a register page in the root of your project. Next you
have a folder named MemberPages and in this folder a login.aspx page.
And then you have welcome.aspx page.
You have a web.config and set restricion for anonymous users that
redirect to the login page.
If you compile and run the project you get the following error:
Could not load type 'GrundSys01.MemberPages.login'.
Ok and then you remove the login.aspx and rename the folder to MyPages
and then add a new login.aspx page and set it to start page.
Compile and run the project. Page displays fine.

Now why is that and what do I need to do?
I have tried to remove temporary files in framwork folder without
success.

I would appreciate if you could spend a little time to help me on this.

Regards
Andla

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!Hi Andla,
It looks like a namespace problem.Check your project
properties and the inherits property of the page
directive on your login page.

Regards
-Narayana
>--Original Message--
>Hi,
>I would appreciates some hints or help regarding a
strange behaviour in
>visual studio dotnet when using asp.net. I'm working
with authentication
>and somewhere in the process the framework goes nuts.
Let me explain the
>behaviour for you.
>First you have a register page in the root of your
project. Next you
>have a folder named MemberPages and in this folder a
login.aspx page.
>And then you have welcome.aspx page.
>You have a web.config and set restricion for anonymous
users that
>redirect to the login page.
>If you compile and run the project you get the following
error:
>Could not load type 'GrundSys01.MemberPages.login'.
>Ok and then you remove the login.aspx and rename the
folder to MyPages
>and then add a new login.aspx page and set it to start
page.
>Compile and run the project. Page displays fine.
>Now why is that and what do I need to do?
>I have tried to remove temporary files in framwork
folder without
>success.
>I would appreciate if you could spend a little time to
help me on this.
>Regards
>Andla
>*** Sent via Developersdex http://www.developersdex.com
***
>Don't just participate in USENET...get rewarded for it!
>.
Thanks for your answer.
I have tested different namespace adjustment without any success. Also
I'm not sure how this can be a namespace problem because that it fails
only if the folder name is MemberPages. Any other name do fine. Also I
have made a search for 'MemberPages' string in the root because I
suspected that this laid hidden somewhere. Any file containing this
string was either changed or deleted and still the same problem appeared
again.
Maybe I should check the registry and remove any key containing this
string.
Don't really know what more I can do.

Regards
Andla

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

Strange bugg with asp.net in Visual Studio

Hi Andla,
It looks like a namespace problem.Check your project
properties and the inherits property of the page
directive on your login page.
Regards
-Narayana
>--Original Message--
>Hi,
>I would appreciates some hints or help regarding a
strange behaviour in
>visual studio dotnet when using asp.net. I'm working
with authentication
>and somewhere in the process the framework goes nuts.
Let me explain the
>behaviour for you.
>First you have a register page in the root of your
project. Next you
>have a folder named MemberPages and in this folder a
login.aspx page.
>And then you have welcome.aspx page.
>You have a web.config and set restricion for anonymous
users that
>redirect to the login page.
>If you compile and run the project you get the following
error:
>Could not load type 'GrundSys01.MemberPages.login'.
>Ok and then you remove the login.aspx and rename the
folder to MyPages
>and then add a new login.aspx page and set it to start
page.
>Compile and run the project. Page displays fine.
>Now why is that and what do I need to do?
>I have tried to remove temporary files in framwork
folder without
>success.
>I would appreciate if you could spend a little time to
help me on this.
>Regards
>Andla
>*** Sent via Developersdex http://www.examnotes.net
***
>Don't just participate in USENET...get rewarded for it!
>.
>Thanks for your answer.
I have tested different namespace adjustment without any success. Also
I'm not sure how this can be a namespace problem because that it fails
only if the folder name is MemberPages. Any other name do fine. Also I
have made a search for 'MemberPages' string in the root because I
suspected that this laid hidden somewhere. Any file containing this
string was either changed or deleted and still the same problem appeared
again.
Maybe I should check the registry and remove any key containing this
string.
Don't really know what more I can do.
Regards
Andla
*** Sent via Developersdex http://www.examnotes.net ***
Don't just participate in USENET...get rewarded for it!

Monday, March 26, 2012

Strange Date Problem

Hi all,

i am using visual studio 2005 and sql server 2005, i am developing a web application using visual basic 2005. i also let you know that i am in UK.

i am having a strange problem. i have got a form from whcih i need to insert the date values into the data base my querystring is as follows.

StrSql = "insert into tasks (TaskName,Sdate,PropEdate,InitID,TaskManager) values (" & _
"'" & Me.TxtTaskName.Text & "'," & _
"'" & Me.TxtSDate.Text & "'," & _
"'" & Me.TxtEdate.Text & "'," & _
Session("InitID") & "," & _
Me.DropDownList1.SelectedValue & _
")"

which is working fine except that it is storing date in different format that is mm/dd/yyyy.

on my other form i again want to insert the date value wich is not working.
my querystring is

StrSql = "insert into tasklog (taskid,currentstatus,updatedon,comments) values (" & _
Me.GridView1.SelectedValue & "," & _
Me.TxtRecentpos.Text & "," & _
"'" & Me.TxtDate.Text & "'," & _
"'" & Me.TxtComments.Text & "'" & _
")"

when i try to run this query it gives me the following error message:

The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime value..

i have checked in the sqlserver and both the tables have got the smalldatetime datatype for my fields. it's really scaring for me that it is working on one place and not working on other.
any help would be highly appretiated.
thanksNo matter what the settings are in your code/computer/database, when putting date values into SQL statements, you cannot use the UK format (dd/mm/yyyy).

You must use either the US format (mm/dd/yyyy), or better a format which cannot be mis-interpreted (like yyyy/mm/dd).

If you format the values in this style, you will probably find that the code works perfectly.
Hi si,

i have tried both us format and the other format you told me. but sitll giving the same erroe message.

regards
Faizee
You must use either the US format (mm/dd/yyyy), or better a format which cannot be mis-interpreted (like yyyy/mm/dd).

If you format the values in this style, you will probably find that the code works perfectly.[/QUOTE]

Hi Si sorry i have tried (mm-dd-yyyy) and (yyyy-mm-dd) both are working fine. is it not possible that user enter the date in UK format ( i am using vb 2005) and then i format this to us format or other format to save in the SQL Server so that the users are not confused?

regards
Of course... you just have to convert it before using it in an SQL string.

I haven't used .Net enough to suggest the code you would use to convert it, but can recommend that you use a special date control rather than a textbox - as this is always clear to the user, and to your code too (no matter what settings the PC has).
The conversion of char data type to smalldatetime data type resulted in an out-of-range smalldatetime value..

This can be caused by trying to put a date less than 1/1/1900 or larger than 6/6/2079

Also check out using parameters with your SQL strings, it prevents sql injection as well has handles special characters.
Thanks Si and Bill,

i am using RJS Calendar control now and it's working fine.

thanks a lot for your help

Faizee

Strange Debug Set-up error.

I am using Microsoft's Visual Web Developer 2005 to make ASP.NET programs.

I am now able to write and build code. And the code works. The webpages
are pretty much as they should appear.

The only problem I have now is during the debug process.

When I try to debug I get this error:

It says to go the the Control Panel and (I assume) go to "Programs".
But I do not see where this "Programs" Icon is.

You're almost there..

Go into "Add or Remove Programs". You should then see a window listing all of the installed programs on the machine.

Find the "Add/Remove windows components" button and click on it.

In the new window that pops up, find "Internet Information Services (IIS)" click on the check box (you want it checked).

Click the "Details" button if you need to configure further.

Patrick

Strange Error

Hi Experts,
I have Visual Studio 2003 Installed in my Windows 2003 Sever. However, I
have problems in creating new Projects, Classes, Forms etc. When I try to
create New projects, I get an error that some wizard is missing and I get
an empty project opened. There are no forms, web.config, global.asax nor any
references set. I need to add all manually.
I am still getting the error, when I try to add new forms/ classes/User
controls to any of the projects.
The following error I got when I tried to add a new class file.
Could not run the 'C:\Program Files\Microsoft Visual Studio .NET 2003
VC#\CSharpProjectItems\WebProjectItems\..\CSharpAddClassWiz.vsz' wizard.
Can anyone tell me how to solve this problem.
Thanking in advance
Regards
GaneshHello Ganesh,
Try this:
regsvr32.exe "c:\program files\Microsoft Visual Studio .NET 2003\Vc7\vcpacka
ges\csproj.dll"
Matt Berther
http://www.mattberther.com

> Hi Experts,
> I have Visual Studio 2003 Installed in my Windows 2003 Sever. However,
> I have problems in creating new Projects, Classes, Forms etc. When I
> try to create New projects, I get an error that some wizard is
> missing and I get an empty project opened. There are no forms,
> web.config, global.asax nor any references set. I need to add all
> manually.
> I am still getting the error, when I try to add new forms/
> classes/User controls to any of the projects.
> The following error I got when I tried to add a new class file.
> Could not run the 'C:\Program Files\Microsoft Visual Studio .NET 2003
> VC#\CSharpProjectItems\WebProjectItems\..\CSharpAddClassWiz.vsz'
> wizard.
> Can anyone tell me how to solve this problem.
> Thanking in advance
> Regards
> Ganesh
Thanx Matt for your reply. It was really helpful.
Regards
Ganesh
"Matt Berther" <mberther@.hotmail.com> wrote in message
news:6846946632388960337567249@.news.microsoft.com...
> Hello Ganesh,
> Try this:
> regsvr32.exe "c:\program files\Microsoft Visual Studio .NET
2003\Vc7\vcpackages\csproj.dll"
> --
> Matt Berther
> http://www.mattberther.com
>
>

Strange Error

Hi Experts,

I have Visual Studio 2003 Installed in my Windows 2003 Sever. However, I
have problems in creating new Projects, Classes, Forms etc. When I try to
create New projects, I get an error that some wizard is missing and I get
an empty project opened. There are no forms, web.config, global.asax nor any
references set. I need to add all manually.

I am still getting the error, when I try to add new forms/ classes/User
controls to any of the projects.

The following error I got when I tried to add a new class file.

Could not run the 'C:\Program Files\Microsoft Visual Studio .NET 2003
VC#\CSharpProjectItems\WebProjectItems\..\CSharpAd dClassWiz.vsz' wizard.

Can anyone tell me how to solve this problem.

Thanking in advance
Regards
GaneshHello Ganesh,

Try this:

regsvr32.exe "c:\program files\Microsoft Visual Studio .NET 2003\Vc7\vcpackages\csproj.dll"

--
Matt Berther
http://www.mattberther.com

> Hi Experts,
> I have Visual Studio 2003 Installed in my Windows 2003 Sever. However,
> I have problems in creating new Projects, Classes, Forms etc. When I
> try to create New projects, I get an error that some wizard is
> missing and I get an empty project opened. There are no forms,
> web.config, global.asax nor any references set. I need to add all
> manually.
> I am still getting the error, when I try to add new forms/
> classes/User controls to any of the projects.
> The following error I got when I tried to add a new class file.
> Could not run the 'C:\Program Files\Microsoft Visual Studio .NET 2003
> VC#\CSharpProjectItems\WebProjectItems\..\CSharpAd dClassWiz.vsz'
> wizard.
> Can anyone tell me how to solve this problem.
> Thanking in advance
> Regards
> Ganesh
Thanx Matt for your reply. It was really helpful.

Regards
Ganesh

"Matt Berther" <mberther@.hotmail.com> wrote in message
news:6846946632388960337567249@.news.microsoft.com. ..
> Hello Ganesh,
> Try this:
> regsvr32.exe "c:\program files\Microsoft Visual Studio .NET
2003\Vc7\vcpackages\csproj.dll"
> --
> Matt Berther
> http://www.mattberther.com
> > Hi Experts,
> > I have Visual Studio 2003 Installed in my Windows 2003 Sever. However,
> > I have problems in creating new Projects, Classes, Forms etc. When I
> > try to create New projects, I get an error that some wizard is
> > missing and I get an empty project opened. There are no forms,
> > web.config, global.asax nor any references set. I need to add all
> > manually.
> > I am still getting the error, when I try to add new forms/
> > classes/User controls to any of the projects.
> > The following error I got when I tried to add a new class file.
> > Could not run the 'C:\Program Files\Microsoft Visual Studio .NET 2003
> > VC#\CSharpProjectItems\WebProjectItems\..\CSharpAd dClassWiz.vsz'
> > wizard.
> > Can anyone tell me how to solve this problem.
> > Thanking in advance
> > Regards
> > Ganesh

Thursday, March 22, 2012

Strange IIS connection error

Hi all
While developing a web app in visual interdev.net 2003
i get this error when i try to run the app:

There are too many people accessing the Web site at this time.

-----------------------

Please try the following:

a.. Click the Refresh button, or try again later.

b.. Open the localhost home page, and then look for links to the
information you want.
HTTP 403.9 - Access Forbidden: Too many users are connected
Internet Information Services

The problem is intermitent. I'm using IIS 5.1 and ASP 1.1

What can cause this? It's never happened to me before in the last 3 years

Thanks in advance

JohnWhat can cause this? It's never happened to me before in the last 3 years

It is caused by too many users being connected to Internet Information
Services.

--
HTH,

Kevin Spencer
Microsoft MVP
Chicken Salad Surgery

What You Seek Is What You Get.

"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:h_cOg.42635$89.33698@dotnet.itags.org.fe1.news.blueyonder.co.u k...

Quote:

Originally Posted by

Hi all
While developing a web app in visual interdev.net 2003
i get this error when i try to run the app:
>
There are too many people accessing the Web site at this time.
>
-----------------------
>
Please try the following:
>
a.. Click the Refresh button, or try again later.
>
b.. Open the localhost home page, and then look for links to the
information you want.
HTTP 403.9 - Access Forbidden: Too many users are connected
Internet Information Services
>
The problem is intermitent. I'm using IIS 5.1 and ASP 1.1
>
What can cause this? It's never happened to me before in the last 3 years
>
Thanks in advance
>
John
>
>


"Kevin Spencer" <uce@dotnet.itags.org.ftc.govwrote in message
news:%23GqxNrA2GHA.3464@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

It is caused by too many users being connected to Internet Information
Services.


Hi Kevin

That's the thing its on my development machine at home. Theres noone
connected to it but me?
One user can generate several connections.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:WYdOg.43278$89.6405@dotnet.itags.org.fe1.news.blueyonder.co.uk ...

Quote:

Originally Posted by

>
"Kevin Spencer" <uce@dotnet.itags.org.ftc.govwrote in message news:%23GqxNrA2GHA.3464@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

>It is caused by too many users being connected to Internet Information Services.


>
Hi Kevin
>
That's the thing its on my development machine at home. Theres noone connected to it but me?
>
>


"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:uYziF3A2GHA.1288@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

One user can generate several connections.


Yes but I don't see how by just running a web app. I always close
connections in the code and it's the first time it's happened in over 3
years. it's just a basic site with some web forms and fckeditor embedded in
some of the pages
re:

Quote:

Originally Posted by

I always close connections in the code


The problem is not data access connections. You're not running out of those.
It's http connections.

Windows XP is limited to 10 connections...of all types, both incoming and outgoing.

Run this little test and you'll probably be surprised
at the number of connections you actually have open :

Open a command window ( Start, Run, cmd ) and issue the command :

netstat -a

Make sure you're sitting down when you do that.
I'll bet you didn't know you had so many active connections open.

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:qceOg.43433$89.34469@dotnet.itags.org.fe1.news.blueyonder.co.u k...

Quote:

Originally Posted by

>
"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:uYziF3A2GHA.1288@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

>One user can generate several connections.


Quote:

Originally Posted by

Yes but I don't see how by just running a web app. I always close connections in the code and it's
the first time it's happened in over 3 years. it's just a basic site with some web forms and
fckeditor embedded in some of the pages


"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:%23kK7LjB2GHA.3476@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

re:

Quote:

Originally Posted by

>I always close connections in the code


>
The problem is not data access connections. You're not running out of
those.
It's http connections.
>
Windows XP is limited to 10 connections...of all types, both incoming and
outgoing.
>
Run this little test and you'll probably be surprised
at the number of connections you actually have open :
>
Open a command window ( Start, Run, cmd ) and issue the command :
>
netstat -a
>
Make sure you're sitting down when you do that.
I'll bet you didn't know you had so many active connections open.


Hey Juan you are right that is a shock. But why has localhost got so many
connections open with lots of different ports? Am I being hacked or what? As
I say this is the first time in three years I've got that error so I'm
assuming I have more connections now for some reason
re:

Quote:

Originally Posted by

Hey Juan you are right that is a shock.


heh, heh... I knew it'd be a surprise. :-)

re:

Quote:

Originally Posted by

Am I being hacked or what?


Nope. That's just the way things work.

re:

Quote:

Originally Posted by

But why has localhost got so many connections open with lots of different ports?


Your server ( IIS 5.1 ) is listening on several ports and your active connections
( browser requests from IIS ) stay alive for the default time-to-live configured for Windows XP.

You shouldn't mess with the default time-to-live, but you can tweak
Windows XP so you can have more connections ( although you aren't supposed to ).

See :
http://www.theeldergeek.com/increas...connections.htm
and
http://www.helpwithwindows.com/WindowsXP/tune-120.html
They have the same instructions...

Note : Doing what those sites recommend implies editing the Windows Registry.

What I am telling you is not a recommendation to go ahead and hack
the Windows Registry and, if you do it, you do it at your own risk.

At the very least, backup your registry so you can restore it later in case of an "accident".
After those required disclaimers, feel free to proceed at your own risk.

:-)

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:cZfOg.44739$89.34883@dotnet.itags.org.fe1.news.blueyonder.co.u k...

Quote:

Originally Posted by

>
"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:%23kK7LjB2GHA.3476@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

>re:

Quote:

Originally Posted by

>>I always close connections in the code


>>
>The problem is not data access connections. You're not running out of those.
>It's http connections.
>>
>Windows XP is limited to 10 connections...of all types, both incoming and outgoing.
>>
>Run this little test and you'll probably be surprised
>at the number of connections you actually have open :
>>
>Open a command window ( Start, Run, cmd ) and issue the command :
>>
>netstat -a
>>
>Make sure you're sitting down when you do that.
>I'll bet you didn't know you had so many active connections open.


>
Hey Juan you are right that is a shock. But why has localhost got so many connections open with
lots of different ports? Am I being hacked or what? As I say this is the first time in three years
I've got that error so I'm assuming I have more connections now for some reason
>
>


Thanks for the help Juan. If it keeps happening as reguarly as it is doing
lately I might just give it a tweak :)

"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
news:eDEqZbC2GHA.868@dotnet.itags.org.TK2MSFTNGP03.phx.gbl...

Quote:

Originally Posted by

re:

Quote:

Originally Posted by

>Hey Juan you are right that is a shock.


>
heh, heh... I knew it'd be a surprise. :-)
>
re:

Quote:

Originally Posted by

>Am I being hacked or what?


>
Nope. That's just the way things work.
>
re:

Quote:

Originally Posted by

>But why has localhost got so many connections open with lots of different
>ports?


>
Your server ( IIS 5.1 ) is listening on several ports and your active
connections
( browser requests from IIS ) stay alive for the default time-to-live
configured for Windows XP.
>
You shouldn't mess with the default time-to-live, but you can tweak
Windows XP so you can have more connections ( although you aren't supposed
to ).
>
See :
http://www.theeldergeek.com/increas...connections.htm
and
http://www.helpwithwindows.com/WindowsXP/tune-120.html
>
They have the same instructions...
>
Note : Doing what those sites recommend implies editing the Windows
Registry.
>
What I am telling you is not a recommendation to go ahead and hack
the Windows Registry and, if you do it, you do it at your own risk.
>
At the very least, backup your registry so you can restore it later in
case of an "accident".
After those required disclaimers, feel free to proceed at your own risk.
>
:-)
>
>
>
>
Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaol : http://asp.net.do/foros/
===================================
"John Haycock" <jhayc@dotnet.itags.org.blueyonder.co.ukwrote in message
news:cZfOg.44739$89.34883@dotnet.itags.org.fe1.news.blueyonder.co.u k...

Quote:

Originally Posted by

>>
>"Juan T. Llibre" <nomailreplies@dotnet.itags.org.nowhere.comwrote in message
>news:%23kK7LjB2GHA.3476@dotnet.itags.org.TK2MSFTNGP04.phx.gbl...

Quote:

Originally Posted by

>>re:
>>>I always close connections in the code
>>>
>>The problem is not data access connections. You're not running out of
>>those.
>>It's http connections.
>>>
>>Windows XP is limited to 10 connections...of all types, both incoming
>>and outgoing.
>>>
>>Run this little test and you'll probably be surprised
>>at the number of connections you actually have open :
>>>
>>Open a command window ( Start, Run, cmd ) and issue the command :
>>>
>>netstat -a
>>>
>>Make sure you're sitting down when you do that.
>>I'll bet you didn't know you had so many active connections open.


>>
>Hey Juan you are right that is a shock. But why has localhost got so many
>connections open with lots of different ports? Am I being hacked or what?
>As I say this is the first time in three years I've got that error so I'm
>assuming I have more connections now for some reason
>>
>>


>
>
>