Recycle Application Mod_Mono 2.8 / Getting A 404 Not Found Error Page?

Dec 14, 2010

I have a CentOS 5.x server running Mono 2.8.1 and mod_mono 2.8 with apache2.

Every time I deploy a site from visual studio 2010 to my server by ftp, and navigate to the site, I get a 404 not found error page.

Sites in other subdomains (virtual hosts) are not affected.

Performing a restart of httpd using /etc/init.d/httpd restart fixes the problem, and I can view my ASP site again. Obviously restarting the entire httpd process is less than adequate.

My guess is that this is similar to application domains in IIS. Is there a way to 'recycle' and app domain in mod_mono? Can I set this to happen on deployment?

View 2 Replies


Similar Messages:

Appdomain Recycle Settings On Mod_mono & Apache?

Apr 30, 2010

How does one control the application recycle settings for an ASP.NET application runnin on mod_mono & Apache ?

On IIS6 & 7 there was an option to specify either a time period, a number of requests, etc. when the AppDomain would be recycled and the application would basically do an Application_End() / Application_Start().

I am seeing the same behaviour on mod_mono & Apache ,but I can't find where to change the settings.

View 2 Replies

State Management :: Page Cannot Be Found Error On Clearing Cookies While Running Application

Jul 27, 2010

I've a web application which is running on sql state session ..

And is running well under normal conditions.

But when my application is in home page or landing page after loging to the application,

if user clears all his history and cookies and click on any menu in the application .

It is giving Internet Explorer cannot display the webpage error..

I'm not able to debug the error.. am getting the same problem even under deploying conditions.

How to handle this issue?

View 11 Replies

Recycle Web Application In Production Server?

Sep 1, 2010

I have made changes to my global.asax file so i want to recycle my web application to make the changes work. How to safely recycle my asp.net web application in production server?

View 3 Replies

Log IIS Application Pool Startup / Shutdown And Recycle?

Dec 9, 2010

My application is running in a shared hosting environment. I do have a dedicated App Pool for my app. I've been doing some testing with 1st visits and precompile performance and have been tracking when my application starts up and shuts down.

In my Global.asax I have some logging code in Application_Start and Application_End. I can see from my logs generally when the application is idle and shuts down, then someone visits and it starts back up.

But, I also see cases where a shutdown is logged and then followed by another shutdown about 13 minutes later; without a startup in the middle.

I also see instances where there are two Startups in a row. I'm guessing these might be a recycle, but why wouldn't there be a shutdown log entry?

What I'd really like to know if there is a better way to track when my application starts, when it shuts down and if it is shutdown due to an idle pool, or from a recycle. I don't have access to the Windows Event Log so I need to do this from my app if possible.

View 1 Replies

Session - Why Does Application Recycle When Delete A Folder

Sep 27, 2010

I have a Silverlight application using a WCF service hosted in IIS. I make use of some aspects of ASP.NET. I have the following folder structure for my application:

inetput
wwwroot
myapp
reports
{user-guid-folders}
report1.pdf
report2.pdf
App_Data (folder)
bin (folder)
Client_Bin (folder)
(various .aspx files, plus web.config, etc.)

The application dynamically generates reports and puts them in a folder with a GUID for the name which is unique to the user. This all works fine. However, when the user logs out I was cleaning up and deleting the PDF files in their folder, then deleting their GUID folder.

Deleting the files works fine, but if I delete the folder, the application recycles (which then removes all other users' sessions - I get a Session_OnEnd event for every user's session, and an Application_OnEnd event. The next user request causes the whole application to restart. So, while I can fix this by not deleting the GUID folder (which my application itself created), what is the reason for this? Is there any way I can prevent this from happening?

View 1 Replies

Iis7 - Should Set .NET Application Pool To Auto-recycle

Mar 3, 2011

I have a number of ASP.NET (4.0) web applications that appear to leak (a small amount) of memory during each request. It is such a small amount, that for most use-cases, it will not grow to become a problem for weeks or even months at a time. I generally try to be good with closing any connections managed by the application, avoiding state-variables (or instance variables for my singleton), etc. My question is this - is this normal behavior for ASP.NET applications? I had turned off the default (IIS 7) behavior of recycling the app pool after 20 minutes of being idle. I do this since the application takes a few minutes to build its internal cache, and I want to avoid negatively impacting the user experience (and having them wait for the application to start when they issue the request).

View 1 Replies

.net - Memory Increase On Application Pool Recycle?

Dec 14, 2010

I'd like to describe strange issue I've noticed while analyzing my asp.net application in production and ask for some advice or opinion on the following matter.Application usually runs with some 80-90 MB of memory footprint. This seems stable since no memory leaks have been detected so far - no slight increase in memory usage over time. Yet, problem occurs when application pool recycles (I'm using shared hosting and judging by logs it occurs either when app is idle for 20 mins or every ~30 hours - something like that). The issue is that used memory almost doubles for some period on recycle - it goes to some 160-170 MBs without any explanation. This is confusing, since it is common claim that recycling should purge the memory and all other resources - at least I get it that way. System holds this amount of memory for some 7-8 hours and then memory usage drops to it's usual level of 90-100 MB, again, with no apparent reason (at least not know to me).

View 1 Replies

Memory Limits And Application Pool Recycle?

Jun 22, 2010

my web applications app pool configuration is
PeriodicRestartMemory : 512000
PeriodicRestartPrivateMemory : 196608

although the virtual memory limit is higher than private memory, app pool is recycled with virtual memory limits exceeded errors in the event log (instead of private memory).

what is the reason for this? how could it exceed virtual memory limits before exceeding private memory limits? it seems that systems other allocations in virtual memory cause limits exceeded before applications private allocations exceed the limits, but what are those allocations of the system? or what is the root cause of this.

View 1 Replies

C# - Routing On IIS 6 Compiled Web Application / HTTP Error 404 - File Or Directory Not Found

Jun 30, 2010

I have a web application and I'm using asp.net routing. When I publish it with the Only files needed to run this application selected it gives me an error when I'm loading any of the page "HTTP Error 404 - File or directory not found."

but if I choose publish All files it works fine.

Do you know how to resolve this issue?

View 1 Replies

Loading Application - Error - Unable To Load DLL 'VSPerf100.dll': The Specified Module Could Not Be Found?

Feb 21, 2011

I have an asp.net 3.5 application. When i try to load the application it says: Exception Details: System.DllNotFoundException: Unable to load DLL 'VSPerf100.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

The application works fine on my win 7 machine. i tried the same on win server 2008 r2 where in i get the above message.

View 3 Replies

Is It Possible To Recycle IIS Application Pools Without Losing User Sessions

Nov 25, 2010

We're currently deploying code to live pretty reguarly at the moment, but the down side is destroying user session data.

Is there a way of being able to recycle IIS without loosing session data, or is persisiting session state in SQL server or alike the only way?

View 2 Replies

ASMX :: WCF Service Is Not Restarting After Application Pool Recycle?

Nov 18, 2010

My WCF Service isnt restarting after the app pool recycles. I have no control over how often the pool is recycled (shared hosting) .How do I get the wcf service to restart on pool-recycle ?

View 1 Replies

Cast Object Of Type' Error - Resolved By IIS Recycle?

Sep 8, 2010

3rd party ASP.Net web site and web service installed. The code appears not to log errors to server log or custom error log.

User receives the following critical untrapped error message:

"System.Web.Services.Protocols.SoapException: Unable to cast object of type 'System.Security.Principal.WindowsIdentity' to type 'Library.Security.Identity'. at ....."

Of course I understand the type cast issue but why would a IIS recycle resolve the issue?

View 1 Replies

IIS Configuration :: Membership Forms Authentication Cookie Clears On Application Pool Recycle

Jan 28, 2013

I use Form Based Authentication in my siteIn my login page I have:

FormsAuthentication.SetAuthCookie(user.userName, true)

View 1 Replies

Classic ASP Error - The Page Cannot Be Found?

Jan 6, 2011

I know i'm not in the right spot to post this. I hope someone experienced this before and can help.I have an old classic asp website. I try to run it with localhost/foldname/default.asp but it gives me 404 error:

[Code]....

a) I'm running XP 64 bitsb) Classic ASP is checked in Add/Remove Windows Component
c) "Active Server Pages" is set to Allowed in IIS Web Service Extension
d) .asp is mapped in the Application ConfigurationNo luck so far!!! Accessing a HTML file within the same folder work, but not the ASP page.

View 1 Replies

MVC :: Html Tag Not Found Error On Page?

Jul 17, 2010

I create mvc2 application.

i create controllers for user name UserController.cs inside of all function related user are in

in views folder i create one more folder name User.

all user forms are there

everything working fine i can create, update ,delete user.

but now i am getting error.

when i run my code.. got below error...

An error occurred during the parsing of a resource required to service this request. review the following specific parse error details and modify your source file appropriately.

i tried with cleaning and re-building code... iisreset

clean temp file, cleaning app_browser folder..

View 4 Replies

Handling 404 Page Not Found With Error Page?

Aug 19, 2010

How do i handle 404 page not found?

View 5 Replies

Web Forms :: Page Not Found Error 404 After 20 Minutes Idle?

Feb 19, 2010

I have a page that have a combobox and a button, when the user select something from the combobox and hit the Go button they are redirected to the page with the desired variable.

[Code]....

The problem appears when the page was not used from more than 20 minutes and the user select something from the comboBox and hit Go Button the receive a page indicating the Error 404.The only thing that I try is to use a javascript code that Refresh the page every 15 minutes but is not nice to see a page refreshing without a reason.If someone can have a way to identify what can be done in this problem, Its going to be a huge help.

View 2 Replies

Web Forms :: Error 404: Page Not Found In Case Of Html Pages?

Aug 16, 2010

I have a website which has both html and aspx pages. for aspx pages i have added code in customerror section in web.config and is working fine, but only in case of aspx pages. I want if somebody looks for html page which does not exist should also be taken to error page.[URL]( What about html pages section) will only work if the site is hosted at my servers, but in my case the website is hosted somewhere else.

View 2 Replies

Web Forms :: Dynamically Created Files And IIS Error 404 Page Not Found?

Feb 8, 2010

i have to create some files dynamically. those are referred in html anchor control.i want to process some requested files in asp.net worker process but IIS just intercept all these requests and show 404 page not found page. how can i avoid IIS bevaiour in such cases additionally i can not map these files extentions to IIS because i don't know there are so many???

View 1 Replies

Configuration :: URL Routing / Rewriting - Http 404 Page Not Found Error

Dec 25, 2010

In my website users can create thier own websites by making folder of thier choice like: [URL] Where the folders Pankaj and Adam are storing in database. I just want that when user after creting thier website just clicked or type the address of thier website as [URL] then if the folder with name Pankaj exists in database then the page will open otherwise it gives the http 404 page not found error. And while the address [URL] is opens then i donot want to physically create it on server. My requirement is that i want to open it by the concept of url rewriting/ Routing. Which one concept will be good for this. And can anyone provide some code with example that how can i achieve this easily.

View 2 Replies

MVC :: Resource Not Found Error When Loading Details.aspx Page?

Feb 24, 2011

I am able to display Customer records, but when I click on the details link to retrieve related orders, I am getting Resource not found error as shown below.: I can email to you my solution project to help make things clearer.I have added my code for CustomerController class

using
System;
using

[code]...

View 4 Replies

Web Forms :: Resource Cannot Be Found Error When Accessing Page In Folder?

Oct 21, 2015

I have Following code in Master Page:

with 5 pages in it.

(with 4th and 5th page is inside Admin folder)

No <authorization> are given. all are open to every user.
 
<%@ Master Language="C#" AutoEventWireup="true" CodeFile="MasterPage.master.cs" Inherits="MasterPage" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">

[Code].....

When I run the application, 1st page, second page, 3rd page I get Url on page as:

localhost:2069/TestPage/FirstPage.aspx
localhost:2069/TestPage/SecondPage.aspx
localhost:2069/TestPage/ThirdPage.aspx
theycan be accessible.

also when i click on 4th Page, I get url as:

localhost:2069/TestPage/Admin/FourthPage.aspx

and 4th page will get displayed.But..When i go back to any other page, it will throw an error

"Resource cannot be found"

with URL as:

localhost:2069/TestPage/Admin/ThirdPage.aspx

How to avoid this Error?

View 1 Replies

State Management :: Session State Expiration After Application Pool Recycle?

Nov 1, 2010

All we have a global ships position tracking website which runs smoothly until IIS application pool recycles.When there is workerprocess recycling looks like session state expires as a result i loose all session data and when customer clicks refresh button he is redirected to login page.

In web.config Session state mode is set to InProc so i changed it to State Server but to my luck i have MAP object which is not serialiazable which is causing the maps from not appearing on the website.I tried adding serializable attribute to the object class but still not succesfull.Our website is accessed by our customers whose count is more than 1000.

Changing the session state mode from InProc to StateServer can really slow down the response time so
Is it good to go further fix the serailizable issues and move to state server?.

Is there any way I can retain my session data when application pool recyles?..

Stopping Application pool from recycling may not be a good idea considering health factor of web server.

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved