Showing posts with label IIS7. Show all posts
Showing posts with label IIS7. Show all posts

Thursday, August 26, 2010

How do i get ajaxuploader to work with IIS7

If you are using IIS 7.0 Integrated mode you need to use the following code to add uploadmodule into web.config

IIS 7.0 Integrated mode

<configuration>
<system.webServer>
<modules>
<add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
</modules>
</system.webServer>
</configuration>

Friday, April 9, 2010

Fixed error - UrlRewritingNet.UrlRewrite on IIS7

(System Requirements)

The component was designed and developed in 2006 for running with ASP.NET 2.0, but it works with ASP.NET 3.5 as well. The only requirement is a webserver running ASP.NET, for example Internet Information Services (IIS, Version 5.0 - 7.0).

However, UrlRewritingNet can have error when run on IIS7

To fix it, simple:

Open Web.config , find:

<configuration>
<system.webserver>
<modules>
// Place holder
</modules>
</system.webServer>
</configuration>


Place code below to Place holder:

<add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter"/>
<remove name="Session"/>
<add name="Session" type="System.Web.SessionState.SessionStateModule"/>


And upload it.

Done.