469,649 Members | 1,187 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,649 developers. It's quick & easy.

Using same Asp.Net application multiple times in sharing hosting.

I have an asp.net application that is fully database driven.
It takes the parameters from the server name and according to the
domain it display the proper information.
So, I upload the same exact code like 20 times for each of my domains
in a shared hosting.
The database access is done by a separate class library that handles
all request in static methods from a single class.
The business data logic is also in a separate class and this one call
the library class above.
Is there any problem in the above scenario ?

The thing is my sites are getting an "server application unavailable"
from time to time, and my hosting can't find the solution. I wonder if
the cause of this error is some fault in my side...

Nov 19 '05 #1
1 1024
Hi Craig,
there are many things that could produce this error, one of the first things
to check is that all your database connections are closed correctly as you
may be running out of database connections from the pool. Alternatively it
could be due to server load which in a shared environment may mean somebody
elses sloppy code is using all the available resources or it may just be very
busy....

You may like to consider adding an error handling module to your application
which can notify you of any errors in your application and give you a head
start on resolving the issue. There is a good example at
http://msdn.microsoft.com/library/de...html/elmah.asp

HTH jd

"cr************@hotmail.com" wrote:
I have an asp.net application that is fully database driven.
It takes the parameters from the server name and according to the
domain it display the proper information.
So, I upload the same exact code like 20 times for each of my domains
in a shared hosting.
The database access is done by a separate class library that handles
all request in static methods from a single class.
The business data logic is also in a separate class and this one call
the library class above.
Is there any problem in the above scenario ?

The thing is my sites are getting an "server application unavailable"
from time to time, and my hosting can't find the solution. I wonder if
the cause of this error is some fault in my side...

Nov 19 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

33 posts views Thread by aa | last post: by
3 posts views Thread by Random Person | last post: by
9 posts views Thread by William LaMartin | last post: by
4 posts views Thread by adacal | last post: by
35 posts views Thread by keerthyragavendran | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.