Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Hosting and Servers
  4. ASP.NET Application + Issues in production server Windows 2008 R2

ASP.NET Application + Issues in production server Windows 2008 R2

Scheduled Pinned Locked Moved Hosting and Servers
helpasp-netcsharpcsswpf
3 Posts 2 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    anupkumarv
    wrote on last edited by
    #1

    We have a production environment with three nodes under a load balancer. The nodes are windows 2008 R2 servers with IIS 7.5. The web application is installed in all three servers. Recently, we see that many users have issues working with the web application like; They get logged out (I think session is lost) The application takes the user to a different page from the page they are working on automatically Sometimes the css and styles does not gets loaded completely This is turning out to be critical in our case since we have more than 200 live users working with the system and they all are experiencing problems. At first we thought the issue is with load balancer and so we asked them to use the server directly without hitting the load balancer but there again we found the above issues. Symantec 11 was installed in these servers and everything was working fine. Recently we upgraded to 12.1.3001.165. Is this related to Symantec 12.1.3001.165. I enabled failed request tracing and found few errors like.. Event: MODULE_SET_RESPONSE_ERROR_STATUS (Module Name: IIS Web Core) Event: MODULE_SET_RESPONSE_ERROR_STATUS (Module Name: DynamicCompression) Could anyone help us fix the above issues. Any help will be appreciated.

    Richard DeemingR 1 Reply Last reply
    0
    • A anupkumarv

      We have a production environment with three nodes under a load balancer. The nodes are windows 2008 R2 servers with IIS 7.5. The web application is installed in all three servers. Recently, we see that many users have issues working with the web application like; They get logged out (I think session is lost) The application takes the user to a different page from the page they are working on automatically Sometimes the css and styles does not gets loaded completely This is turning out to be critical in our case since we have more than 200 live users working with the system and they all are experiencing problems. At first we thought the issue is with load balancer and so we asked them to use the server directly without hitting the load balancer but there again we found the above issues. Symantec 11 was installed in these servers and everything was working fine. Recently we upgraded to 12.1.3001.165. Is this related to Symantec 12.1.3001.165. I enabled failed request tracing and found few errors like.. Event: MODULE_SET_RESPONSE_ERROR_STATUS (Module Name: IIS Web Core) Event: MODULE_SET_RESPONSE_ERROR_STATUS (Module Name: DynamicCompression) Could anyone help us fix the above issues. Any help will be appreciated.

      Richard DeemingR Offline
      Richard DeemingR Offline
      Richard Deeming
      wrote on last edited by
      #2

      Lost sessions are usually caused by combining in-process session state with multiple processes or servers. If it's still happening without the load balancer, check the "Maximum Worker Processes" setting for your AppPool (Advanced Settings -> Process Model). Anything other than "1" means you have a "web garden", with multiple processes serving requests for the same application. If that's the case, you'll need to switch your session state mode to either StateServer or SQLServer: https://msdn.microsoft.com/en-us/library/ms178586%28v=vs.140%29.aspx[^] You should also check that your machine key is explicitly specified, and is the same across all servers. For CSS loading issues, use a tool such as Fiddler[^] to monitor the network traffic on the client. It will probably give you a better idea of what is failing. ASP.NET and Load balancing.[^] Load Balancing and ASP.NET - Scott Hanselman[^] HOW TO: Set Up Multi-Server ASP.NET Web Applications and Web Services[^]


      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

      "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

      A 1 Reply Last reply
      0
      • Richard DeemingR Richard Deeming

        Lost sessions are usually caused by combining in-process session state with multiple processes or servers. If it's still happening without the load balancer, check the "Maximum Worker Processes" setting for your AppPool (Advanced Settings -> Process Model). Anything other than "1" means you have a "web garden", with multiple processes serving requests for the same application. If that's the case, you'll need to switch your session state mode to either StateServer or SQLServer: https://msdn.microsoft.com/en-us/library/ms178586%28v=vs.140%29.aspx[^] You should also check that your machine key is explicitly specified, and is the same across all servers. For CSS loading issues, use a tool such as Fiddler[^] to monitor the network traffic on the client. It will probably give you a better idea of what is failing. ASP.NET and Load balancing.[^] Load Balancing and ASP.NET - Scott Hanselman[^] HOW TO: Set Up Multi-Server ASP.NET Web Applications and Web Services[^]


        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

        A Offline
        A Offline
        anupkumarv
        wrote on last edited by
        #3

        Hi Richard, Thanks for the reply. Maximum Worker Processes = 1 The same machine key is specified in all the servers. CSS works fine but when the user does a ctrl+F5 to reload, some times (very rarely) the css does not load and the site will look odd without the styles. I am not sure if the session is getting lost or the IIS crashes or if Symantec endpoint is blocking something...its a bit weird.. Anup

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups