I have a .aspx page on my web site that intermittently fails to load with the
following error: Cannot access a disposed object named
"System.Net.Sockets.NetworkStream.
My hosting company says this is due to the fact that multiple ASP.NET
applications are sharing the same server. the only remedy they can offer is
for me to pay for a dedicated server (obviously for more hosting $$).
Is the hosting company being lazy and not getting to the root of a solvable
problem?
Can the problem be in my code?
Can somebody suggest a solid but reasonable web hosting company that
supports .NET?
Thanks, 7 4406
What is your page trying to do, load a grid from databse, take over the
world?.....need to give additonal info.
"johnnyturk" wrote: I have a .aspx page on my web site that intermittently fails to load with the following error: Cannot access a disposed object named "System.Net.Sockets.NetworkStream.
My hosting company says this is due to the fact that multiple ASP.NET applications are sharing the same server. the only remedy they can offer is for me to pay for a dedicated server (obviously for more hosting $$). Is the hosting company being lazy and not getting to the root of a solvable problem? Can the problem be in my code? Can somebody suggest a solid but reasonable web hosting company that supports .NET? Thanks,
It reads from a database and populates labels within a user control with
information about a band's next gig -- venue name, date, time, etc.
"Chris" wrote: What is your page trying to do, load a grid from databse, take over the world?.....need to give additonal info.
"johnnyturk" wrote:
I have a .aspx page on my web site that intermittently fails to load with the following error: Cannot access a disposed object named "System.Net.Sockets.NetworkStream.
My hosting company says this is due to the fact that multiple ASP.NET applications are sharing the same server. the only remedy they can offer is for me to pay for a dedicated server (obviously for more hosting $$). Is the hosting company being lazy and not getting to the root of a solvable problem? Can the problem be in my code? Can somebody suggest a solid but reasonable web hosting company that supports .NET? Thanks,
Hi,
Are you using MYSql? If so then are you setting connection pooling in
connection string? If yes the set the pool;ing to false. Let me know.
Thanks
"johnnyturk" wrote: It reads from a database and populates labels within a user control with information about a band's next gig -- venue name, date, time, etc.
"Chris" wrote:
What is your page trying to do, load a grid from databse, take over the world?.....need to give additonal info.
"johnnyturk" wrote:
I have a .aspx page on my web site that intermittently fails to load with the following error: Cannot access a disposed object named "System.Net.Sockets.NetworkStream.
My hosting company says this is due to the fact that multiple ASP.NET applications are sharing the same server. the only remedy they can offer is for me to pay for a dedicated server (obviously for more hosting $$). Is the hosting company being lazy and not getting to the root of a solvable problem? Can the problem be in my code? Can somebody suggest a solid but reasonable web hosting company that supports .NET? Thanks,
I am using MySQL. I'm not explicitly using connection pooling but I belive
my web hosting company pools its connections. My understanding of this is a
little fuzzy so bear with me. Isn't connection pooling a good thing... a la
reuse of scarce resources???
"Chris" wrote: Hi, Are you using MYSql? If so then are you setting connection pooling in connection string? If yes the set the pool;ing to false. Let me know.
Thanks
"johnnyturk" wrote:
It reads from a database and populates labels within a user control with information about a band's next gig -- venue name, date, time, etc.
"Chris" wrote:
What is your page trying to do, load a grid from databse, take over the world?.....need to give additonal info.
"johnnyturk" wrote:
> I have a .aspx page on my web site that intermittently fails to load with the > following error: Cannot access a disposed object named > "System.Net.Sockets.NetworkStream. > > My hosting company says this is due to the fact that multiple ASP.NET > applications are sharing the same server. the only remedy they can offer is > for me to pay for a dedicated server (obviously for more hosting $$). > Is the hosting company being lazy and not getting to the root of a solvable > problem? > Can the problem be in my code? > Can somebody suggest a solid but reasonable web hosting company that > supports .NET? > Thanks,
Pooling is good. But only effective if the request is always the same. In
your case, since given a hard time by the providers, don't persist the pool.
It doesn't matter if they pool connections. It's up to you to specify, in
connection string, if pooling is enabled.
Did you setting pooling to false?
"johnnyturk" wrote: I am using MySQL. I'm not explicitly using connection pooling but I belive my web hosting company pools its connections. My understanding of this is a little fuzzy so bear with me. Isn't connection pooling a good thing... a la reuse of scarce resources???
"Chris" wrote:
Hi, Are you using MYSql? If so then are you setting connection pooling in connection string? If yes the set the pool;ing to false. Let me know.
Thanks
"johnnyturk" wrote:
It reads from a database and populates labels within a user control with information about a band's next gig -- venue name, date, time, etc.
"Chris" wrote:
> What is your page trying to do, load a grid from databse, take over the > world?.....need to give additonal info. > > "johnnyturk" wrote: > > > I have a .aspx page on my web site that intermittently fails to load with the > > following error: Cannot access a disposed object named > > "System.Net.Sockets.NetworkStream. > > > > My hosting company says this is due to the fact that multiple ASP.NET > > applications are sharing the same server. the only remedy they can offer is > > for me to pay for a dedicated server (obviously for more hosting $$). > > Is the hosting company being lazy and not getting to the root of a solvable > > problem? > > Can the problem be in my code? > > Can somebody suggest a solid but reasonable web hosting company that > > supports .NET? > > Thanks,
I set pooling=false. I'll monitor site & see how it behaves. Thanks for the
suggestion.
"Chris" wrote: Pooling is good. But only effective if the request is always the same. In your case, since given a hard time by the providers, don't persist the pool. It doesn't matter if they pool connections. It's up to you to specify, in connection string, if pooling is enabled.
Did you setting pooling to false?
"johnnyturk" wrote:
I am using MySQL. I'm not explicitly using connection pooling but I belive my web hosting company pools its connections. My understanding of this is a little fuzzy so bear with me. Isn't connection pooling a good thing... a la reuse of scarce resources???
"Chris" wrote:
Hi, Are you using MYSql? If so then are you setting connection pooling in connection string? If yes the set the pool;ing to false. Let me know.
Thanks
"johnnyturk" wrote:
> It reads from a database and populates labels within a user control with > information about a band's next gig -- venue name, date, time, etc. > > "Chris" wrote: > > > What is your page trying to do, load a grid from databse, take over the > > world?.....need to give additonal info. > > > > "johnnyturk" wrote: > > > > > I have a .aspx page on my web site that intermittently fails to load with the > > > following error: Cannot access a disposed object named > > > "System.Net.Sockets.NetworkStream. > > > > > > My hosting company says this is due to the fact that multiple ASP.NET > > > applications are sharing the same server. the only remedy they can offer is > > > for me to pay for a dedicated server (obviously for more hosting $$). > > > Is the hosting company being lazy and not getting to the root of a solvable > > > problem? > > > Can the problem be in my code? > > > Can somebody suggest a solid but reasonable web hosting company that > > > supports .NET? > > > Thanks,
Keep me posted.
"johnnyturk" wrote: I set pooling=false. I'll monitor site & see how it behaves. Thanks for the suggestion.
"Chris" wrote:
Pooling is good. But only effective if the request is always the same. In your case, since given a hard time by the providers, don't persist the pool. It doesn't matter if they pool connections. It's up to you to specify, in connection string, if pooling is enabled.
Did you setting pooling to false?
"johnnyturk" wrote:
I am using MySQL. I'm not explicitly using connection pooling but I belive my web hosting company pools its connections. My understanding of this is a little fuzzy so bear with me. Isn't connection pooling a good thing... a la reuse of scarce resources???
"Chris" wrote:
> Hi, > Are you using MYSql? If so then are you setting connection pooling in > connection string? If yes the set the pool;ing to false. Let me know. > > Thanks > > "johnnyturk" wrote: > > > It reads from a database and populates labels within a user control with > > information about a band's next gig -- venue name, date, time, etc. > > > > "Chris" wrote: > > > > > What is your page trying to do, load a grid from databse, take over the > > > world?.....need to give additonal info. > > > > > > "johnnyturk" wrote: > > > > > > > I have a .aspx page on my web site that intermittently fails to load with the > > > > following error: Cannot access a disposed object named > > > > "System.Net.Sockets.NetworkStream. > > > > > > > > My hosting company says this is due to the fact that multiple ASP.NET > > > > applications are sharing the same server. the only remedy they can offer is > > > > for me to pay for a dedicated server (obviously for more hosting $$). > > > > Is the hosting company being lazy and not getting to the root of a solvable > > > > problem? > > > > Can the problem be in my code? > > > > Can somebody suggest a solid but reasonable web hosting company that > > > > supports .NET? > > > > Thanks, This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Ultrakorne |
last post by:
hi, i have some problems with my client talk to my server...
i am using xmlserializer to serialize object and send them to the other
side of the connection. I need to send / recive by both client...
|
by: Tim Wagaman |
last post by:
I an having issuses with a loop I am running to keep checking for
messages coming across our line.
The goal:
Listen for messages on port 5001 and print the messages into a text
file. The port...
|
by: Naveen |
last post by:
Hello all,
Environment - Winforms app calling into a webservice
Exception returned - "A first chance exception of
type 'System.ObjectDisposedException' occurred in
system.dll"
Additional...
|
by: johnnyturk |
last post by:
I have a .aspx page on my web site that intermittently fails to load with the
following error: Cannot access a disposed object named
"System.Net.Sockets.NetworkStream.
My hosting company says...
|
by: eliss.carmine |
last post by:
I'm using TCP/IP to send a Bitmap object over Sockets. This is my first
time using C# at all so I don't know if this is the "right" way to do
it. I've already found out several times the way I was...
|
by: David |
last post by:
I have googled to no avail on getting specifically what I'm looking for. I
have found plenty of full blown apps that implement some type of file
transfer but what I'm specifcally looking for is an...
|
by: pedrito |
last post by:
I've got an app that downloads from several concurrent threads.
Occasionally, I get an expcetion trying to read the HttpWebResponse
stream...
Sorry, the code isn't short, but I figured best to...
|
by: larspeter |
last post by:
Hi all.
I have a problem with TcpClient ... I am conneting to a server with
TcpClient and returning the answer through a webservice.
It actully all works fine. BUT if I make a lot of...
|
by: satnamsarai |
last post by:
Using System.Net.Mail: Sometimes I get error 'failure sending mail.
Unable to write data to the transport connection: An existing
connection was forcibly closed by the remote host.' Not sure how...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Defcon1945 |
last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |