uploadmodule is not installed in the web.config

  •  07-24-2009, 8:03 AM

    uploadmodule is not installed in the web.config

    Hi,
     
    I've just purchased a domain license and I can't get the demo's to work.
     
    The one I'm looking at is 'Framework 2.0-VB-MagicAjax'. After time spent recoding the web.config file I'm now get the following error when I click either button on the page:
     
    "UploadModule is not installed into web.config.!"

    I'm working on a Vista machine, with IIS 7 and I'm using version 2 of .net in this instance. The files are also running on my localhost with a folder called 'Webapplication, therefore the url I'm looking at on my machine is 'http://localhost/Webapplication/simple-upload.aspx'

    My web.config file >>>>


    <?xml version="1.0"?>
    <configuration>
        <appSettings>
            <!-- You can set a low upload speed to test the progress bar. -->
            <!--
      <add key="CuteWebUI.AjaxUploader.UploadSpeedKB" value="20" />
      -->
        </appSettings>
        <system.web>
            <httpRuntime maxRequestLength="2000000"/>
            <pages>
                <controls>
                    <add namespace="CuteWebUI" assembly="CuteWebUI.AjaxUploader" tagPrefix="CuteWebUI"/>
                    <add namespace="MagicAjax.UI.Controls" assembly="MagicAjax" tagPrefix="MagicAjax"/>
                </controls>
                <namespaces>
                    <add namespace="System.Collections.Generic"/>
                    <add namespace="System.IO"/>
                    <add namespace="System.Data"/>
                    <add namespace="System.Data.SqlClient"/>
                </namespaces>
            </pages>
            <compilation debug="true">
                <assemblies>
                    <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
                </assemblies>
            </compilation>
            <httpHandlers>
                <remove verb="*" path="*.asmx"/>
                <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
                <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" validate="false"/>
            </httpHandlers>
            <httpModules>
                <add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" />
                <!-- UploadModule is optional , for the property Uploader.ShowProgress -->
                <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
            </httpModules>
        </system.web>
        <system.webServer>
            <modules>
                <remove name="MagicAjax"/>
                <add name="MagicAjax" type="MagicAjax.MagicAjaxModule, MagicAjax" />
            </modules>
        </system.webServer>
    </configuration>

    Any ideas ?

    James
View Complete Thread