473,406 Members | 2,345 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,406 software developers and data experts.

Multiple Apps on Server Not Working

DJT
I have 2 applications that are configured to work with ASP.NET (ie.
app1.domain.com and app2.domain.com). App1 has been working (with
infrequent aspnet_wp recycling) for quite awhile. Recently, I added app2
and now neither works properly. Whichever application is started first, the
other application cannot be started. The error states that it cannot find
the application or I'll get a Server Application Unavailable error. I must
restart IIS to allow this second application to be started. Once the second
app has been started, you can no longer navigate within the first without
one of the preceding error messages appearing. I can switch between making
App1 or App2 work all the time by stopping the other site in IIS. It is as
if they are trying to overwrite the session and/or authentication
information.

The web.config authentication section is:
APP1:
<authentication mode="Forms">
<forms name="App1" loginUrl="MainLogin.aspx" timeout="20"/>
</authentication>
APP2:
<authentication mode="Forms">
<forms name="App2" loginUrl="Login.aspx" timeout="20"/>
</authentication>
Both applications use Out Proc for sessions.
<sessionState mode="StateServer"
stateConnectionString="tcpip=127.0.0.1:42424" cookieless="false"
timeout="20"/>

Any ideas would be greatly appreciated.

DJT
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.530 / Virus Database: 325 - Release Date: 10/22/2003
Nov 17 '05 #1
3 1307
Hi,

It’s really interesting. I'm running about 35 applications on the same
machine without any problems. I suspect that there is something wrong in
your application due to the fact that they cause aspnet_wp recycling. If
you try it with two simple web application do you still get that
behavior?

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #2
DJT
I realize that there is most likely a problem with the application with
regard to the multiple application. However, the recycling occurs at rare
but completely random times throughout the application. Therefore, a page
that always works suddenly creates a Server Application Unavailable and then
works again moments later. The randomness of the occurrences lead me to
believe that the problem has more to do with the memory leak in the
aspnet_wp process than a problem with the application. If you disagree,
than please let me know what else could be causing this.

The multiple application problem is clearly an oversight somewhere in my
code. Possibly for sessions and/or authentication. That is why I posted
this code originally.

DJT
"Natty Gur" <na***@dao2com.com> wrote in message
news:eD**************@TK2MSFTNGP11.phx.gbl...
Hi,

It's really interesting. I'm running about 35 applications on the same
machine without any problems. I suspect that there is something wrong in
your application due to the fact that they cause aspnet_wp recycling. If
you try it with two simple web application do you still get that
behavior?

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.538 / Virus Database: 333 - Release Date: 11/10/2003
Nov 17 '05 #3
Well the memory problems of 1.0 (solved in 1.1, we switch to 1.1 a week
ago) just cause us performance issues. all recycaling problems that we
have eventually caused by code.

Natty Gur[MVP]

blog : http://weblogs.asp.net/ngur
Mobile: +972-(0)58-888377
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Lauren Quantrell | last post by:
I use this code in my Access 2K apps to check for multple instances of my Access2K apps and it works fine on XP and WIn2K OS. However, trying it on Access 2003/ XP OS it doesn't work and gets...
3
by: Winston Nimchan | last post by:
Hi: I would like to build a socket server application that is user configurable using XML (app.config) and would like some guidance. I already have a single socket server working but would...
1
by: Mark Edwards | last post by:
I've got an asp.net app that gets installed 150 times on a server. With every installation, there is another /bin/ directory with another copy of the dll in it. (meaning 150 copies of the dll) ...
1
by: walt | last post by:
A few years ago I wrote an active-X server to maintain a single connection to a file .mdb from multiple apps on same PC because I was having to many database curptions. Should I use the same...
0
by: Ben K | last post by:
Is it possible to setup multiple SQL Server "listeners" like Oracle's so that I can have N X M mapping between LISTENERs and DB INSTANCEs? What I want is to partition access to one database, say...
2
by: schao416 | last post by:
Hello all, I have a 3rd party Windows app using an USB joystick running. If I develop a C# app that uses a 2nd USB joystick, can both of those apps running side by side receiving inputs from...
3
by: lds | last post by:
On our server we have both applications that have been migrated to use v2.0 of the framework as well as apps that have not yet been migrated and still use 1.1. When I tried to deploy my v2.0 app...
1
by: xoinki | last post by:
hi, I want to install multiple MySQL server instaces in my Fedora machine. I already have a 4.1.x instance running.. Now i want to install 5.2.x ALONG with that. if this installation causes...
0
by: sillz | last post by:
On Apr 8, 2:00 pm, sillz <beth.sto...@gmail.comwrote: I never could get this to work. The oracle account tested fine. I ended up creating a new account in Windows with the right permissions...
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
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,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.