IIS 7 issue with Spring .net Applications

Recently our .Net team faced a issue when deploying  Spring.net application on IIS 7.

There is below two steps that one need to perform in order to run Spring successfully on IIS 7. They are mentioned below:

  • There is few setting that one need to make in web.config file to make it work with IIS 7
  <validation validateIntegratedModeConfiguration="false"/>
    <add name="Spring" type="Spring.Context.Support.WebSupportModule, Spring.Web"/>
    <add name="SpringPageHandler" verb="*" path="*.aspx" type="Spring.Web.Support.PageHandlerFactory, Spring.Web"/>
    <add name="SpringContextMonitor" verb="*" path="ContextMonitor.ashx" type="Spring.Web.Support.ContextMonitor, Spring.Web"/>
  • One need to make changes in IIS Application Pool setting as well. As mention below:
    • Right click on Default-Website in IIS and select Advance setting as shown below:

    • Select Application Pooling as shown in below picture and change its type to classic:


One thought on “IIS 7 issue with Spring .net Applications

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s