Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8943139
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T11:42:00+00:00 2026-06-15T11:42:00+00:00

I upgraded my development machine to Windows 8 and Visual Studio 2012. I’m testing

  • 0

I upgraded my development machine to Windows 8 and Visual Studio 2012.

I’m testing my ASP.Net applications (also upgraded to .net 4.5) on a local IIS.

One thing that is annoying me, that hasn’t been this way with my last configuration (Windows 7, VS 2010, .net 4.0), is that InProc-sessions are being restarted after changes in markup files.

Example: I’m logged into my local ASP.net application, make and save changes in a *.ascx file, refresh my webbrowser and the session is gone.

How do I turn off the session restart issue?

Edit:
I tried to repro the issue with the new VS 2012 Web Application project template, removed unnecessary content and couldn’t repro this issue.

However, in my real project the issue still remains: Changes to an aspx or ascx file result in the Application_Start event being fired.

I also stripped down the web.config in my real project to the bare minimum to look like the one in the new project, but that didn’t allow me to remove the bug either. Things I commented out in the web.config were DevExpress Controls, custom healthMonitoring, IIS UrlRewrite 2

Applicationpool as Integrated, v4.0 with NetworkService as Identity

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T11:42:01+00:00Added an answer on June 15, 2026 at 11:42 am

    I’m not going to try to take the credit for this but the answer is buried in the 11th comment on the original question by @Anand:

    Add this key in web.config:

    <appSettings><add key="PageInspector:ServerCodeMappingSupport" value="Disabled" /></appSettings>
    

    and the problem goes away. VS becomes far more responsive too. Only downside is you lose the server-side trickery from Page Inspector.

    Hopefully MS will provide a fix soon..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Just recently upgraded to Visual Studio 2010 SP1 and ASP.NET MVC3, but the only
I upgraded my development machine to Windows 7 and my project to .NET 3.5.
I've recently upgraded my development machine from Windows XP to Windows 7. How can
I have upgraded to PHP 5.3 on a development machine (Windows 7 box). php-v
I just upgraded my development machine to Windows 7 and am therefore reinstalling PostgreSQL
My development machine is running Windows XP SP2 (and IIS 5.1 by implication). Until
I recently upgraded my SharePoint development machine to VSeWSS 1.3 and have noticed a
I've just upgraded my development machine and have moved over a website I was
I started with an ASP.net 3.5 web application and upgraded to ASP.net 4.0. When
I have a local development machine which has started to give me the following

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.