Developer forum

Forum » Ecommerce - Standard features » IIS App pool restarts when Design & Layouts template is changed

IIS App pool restarts when Design & Layouts template is changed

Lars Larsen
Reply

Hi,

Everytime you change a Designs & Layout template the system restarts the application pool!! Not very good if eg. a customer has filled his basket with goods in a shop and the webmaster makes a change to one of the templates in the folder "/Files/Templates/Designs". Result: empty baskets and no conversions!

Please change this behaviour.

 


Replies

 
Vladimir
Reply

 

Hi Lars!

This is abnormal behaviour indeed. Content of File/Templates folder shouldn't affect on application pool resets in any way.

I check few solutions and do not found such situation.

 

These articles help to find reason of  resets:

  • http://technet.microsoft.com/en-us/library/cc753412(v=ws.10).aspx
  • http://blogs.msdn.com/b/tess/archive/2006/08/02/asp-net-case-study-lost-session-variables-and-appdomain-recycles.aspx

Best regards,

Vladimir

 

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

FWIIW: I can reproduce the issue:

 

- Add something to the cart and visit the cart page

- Go into the Designs folder and make a change to the design that the cart page uses

- Save your changes

- Go back to the Cart page and refresh.

 

Actual results

- The cart is empty

 

Expected results

- The product is till in the cart

 

Not sure if it's an App Pool reset, but it could be as that would explain the loss of the cart in the session.

 

Tested this on the latest available version of Dynamicweb running in Integrated mode on Windows 8.

 

Cheers,

 

Imar

 

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Strike that; I was pretty sure I could reproduce this yesterday, but today I no longer can't. Instead, it seems the cart is cleared because of logging in into the backend which makes sense, and isn't  problem for other users as it clears the cart for the current user's session only.

 

Lars: could that be your problem as well?

Imar

 

 
Peter Bille Larsen
Reply

Just tested on 8.1.3 custom server. Can not reproduce problem with both DW admin editor and direct FTP access through VS2010.

edit: would be great to know if this was a general issue.!

 
Lars Larsen
Reply

It was very hard for me to reproduce the behavior. But finally I managed. The problem occurs everytime I do a "Check-Out" or "Undo Pending Changes" from within VS2010 (I use TFS). When ever these two TFS commands are issued on any file in the /Files folder the app-pool is recycled. In the same browser I am logged into the backend on one tab and on the frontend of the site on another tab. The tab with the backend looses its session and therefore I am logged out of the backend. The other tab with the frontend and my basket looses its session too and the basket is emtied. Why TFS causes this behavior - I have absolutly no clue! I tried to mimic TFS by removing the read-only attributte of a file in the /Files folder and changing the content of the same file. But this didn't cause the problem.

 

You must be logged in to post in the forum