473,386 Members | 1,763 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,386 software developers and data experts.

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 1134
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

33
by: aa | last post by:
I am migrating to PHP from ASP where there are the Application Scope variables which are accessible from any page on a website and which are used, in particular, for hit counters. Is there a similar...
3
by: Random Person | last post by:
Does anyone know how to use VBA to relink tables between two MS Access databases? We have two databases, one with VBA code and the other with data tables. The tables are referenced by linked...
9
by: William LaMartin | last post by:
I have a problem, mentioned here before, of Session and Application variables disappearing at one site but not at others or on my development computer. The problem is illustrated by an example...
4
by: adacal | last post by:
suppose I've an application running on my desktop computer running windows xp pro. I would like to access this application over Internet wherever I'm via standart web browser. My aim infact is just...
3
by: dph | last post by:
I have an asp.net application that I need to run from multiple different virtual directories. However, I don't want simply copy an instance of the application into each of these directories as...
2
by: thomas | last post by:
Hello All, The question may seem to be trivial, but I found it really was not, and I am hoping that someone who has done it could share his/her experience. How do I share my web application...
1
by: badger_nz | last post by:
Hi all, I recently opened an account with a USA-based hosting company. I'm new to the world of hosting providers, and I have a question regarding performance that I'm hoping somebody here can...
35
by: keerthyragavendran | last post by:
hi i'm downloading a single file using multiple threads... how can i specify a particular range of bytes alone from a single large file... for example say if i need only bytes ranging from...
4
by: Dave | last post by:
I have a global.asax file with Application_Start defined and create some static data there and in another module used in the asp.net application and I realize that static data is shared amongst...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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,...

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.