AjaxUploader works fine locally - Javascript error 'object expected' when viewing after deploy

Last post 09-29-2011, 7:26 AM by Kenneth. 3 replies.
Sort Posts: Previous Next
  •  09-28-2011, 4:37 AM 70223

    AjaxUploader works fine locally - Javascript error 'object expected' when viewing after deploy

    Works fine locally - Javascript error 'object expected' when viewing after deploy
     
    line with error is :
    <script type='text/javascript' src='/CuteWebUI.AjaxUploader.ashx?type=script&amp;_ver='></script><input type='hidden' id='myuploader' name='myuploader' autocomplete='off' /><img id='myuploader_Loader' UniqueID='myuploader' Namespace='CuteWebUI' PageUpload='1' src='/CuteWebUI.AjaxUploader.ashx?type=file&amp;file=continuous.gif' onload='this.style.display=&quot;none&quot; ; CuteWebUI_AjaxUploader_Initialize(this.id);' onerror='this.onload()' ContextValue='!3wEWAQUgQzpcV2luZG93c1xURU1QXEFqYXhVcGxvYWRlclRlbXDJOB4KtzeWLYt!3yCW57iXRXa78e9PCWnVIE00fsAIEtA!2!2' UploadModuleNotInstall='1' Extensions="zip" WindowsDialogLimitMsg="Unable to select so many files at once. The total file name length cannot exceed 32kb." MultipleFilesUpload="0" InfoStyle="padding-left:3px;font:normal 12px Tahoma;" InsertButtonID="uploadbutton" ShowProgressInfo="1" UploadType="Auto" MaxFilesLimitMsg="The maximum number of files allowed to be uploaded is set to {0}." FileTooLargeMsg="{0} cannot be uploaded!
     
    CuteWebUI_AjaxUploader_Initialize  is not an object.
     
     
    the local version of the offending code is:
     
    <script type='text/javascript' src='/CuteWebUI_Uploader_Resource.axd?type=script&amp;_ver='></script><input type='hidden' id='myuploader' name='myuploader' autocomplete='off' /><img id='myuploader_Loader' UniqueID='myuploader' Namespace='CuteWebUI' PageUpload='1' src='/CuteWebUI_Uploader_Resource.axd?type=file&amp;file=continuous.gif' onload='this.style.display=&quot;none&quot; ; CuteWebUI_AjaxUploader_Initialize(this.id);' onerror='this.onload()' ContextValue='!3wEWAQU3QzpcVXNlcnNcdDE3MjMzMjRcQXBwRGF0YVxMb2NhbFxUZW1wXDNcQWpheFVwbG9hZGVyVGVtcI919FYkeRagXa83AO9usQt3q0WSY3tAjk23AGDr94pk' ShowProgressInfo="1" CancelUploadMsg="Cancel upload" ShowProgressBar="1" InsertButtonID="uploadbutton" UploadUrl="/UploadHandler.ashx" UploadingMsg="Uploading.." ResourceHandler="/CuteWebUI_Uploader_Resource.axd" PanelWidth="360" CancelAllMsg="Cancel all Uploads" WindowsDialogLimitMsg="Unable to select so many files at once. The total file name length cannot exceed 32kb." BarHeight="20" BorderStyle="border:1px solid #444444;" FileTooLargeMsg="{0} cannot be uploaded!

     
    For some reason the src is different. - Replacing the JS on the server with the JS on the local file does not solve the issue.
     
     

    Please help,
     
    Simon
  •  09-28-2011, 8:34 AM 70225 in reply to 70223

    Re: AjaxUploader works fine locally - Javascript error 'object expected' when viewing after deploy

    Hi simonhorridge,
     
    This issue cause by the uploader handle deploy not correct.
     
    Please refer to http://www.ajaxuploader.com/Deployment.htm step 2. If still does not work, please post your web.config here, I will change it for you.
     
    Regards,
     
    Ken
  •  09-28-2011, 11:20 AM 70226 in reply to 70225

    Re: AjaxUploader works fine locally - Javascript error 'object expected' when viewing after deploy

    Hi - Thanks for getting back to me ...
    we are using IIS 7
     
     
     
    <?xml version="1.0"?>
    <!--
      For more information on how to configure your ASP.NET application, please visit
      http://go.microsoft.com/fwlink/?LinkId=169433
      -->
    <configuration>
      <configSections>
        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
          <section name="Icm.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
          <section name="Icm.Application.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
        </sectionGroup>
      </configSections>
      <connectionStrings>

      </connectionStrings>
      <appSettings>
        <add key="FileLogPath" value="C:\Inetpub\wwwroot\ICM\Logs"/>
        <add key="gridviewpagesize" value="10"/>
        <add key="SystemName" value="UKIO ICM Platform"/>
        <add key="AccessDeniedRedirectionPage" value="NoAccessPageForUser.aspx"/>
        <add key="SiteLogo" value="Images/prutight.png"/>
        <add key="MyTheme" value="Default"/>
        <add key="SiteSplash" value="Images/logo.gif"/>
        <add key="LogonSplash" value="Images/UKIOICMP.png"/>
        <add key="ICMCodeFilePath" value="C:\ICM\Data\"/>
        <add key="ICMLiteModelCodeFilePath" value="C:\ICM\Data\LiteModels\"/>
        <add key="SandboxFilePath" value="C:\ICM\Data\Sandbox\"/>
        <add key="SingleSignOnEnabled" value="true"/>
        <add key="FormLabelTrawlingEnabled" value="false"/>
        <add key="SiteNameUrlPathElement" value="icm"/>
        <add key="IcmEntities" value="metadata=res://*/IcmDataModel.csdl|res://*/IcmDataModel.ssdl|res://*/IcmDataModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=(local);Initial Catalog=IcmDataLocal;Integrated Security=SSPI;MultipleActiveResultSets=True&quot;"/>
        <add key="ChartImageHandler" value="storage=file;timeout=20;dir=C:\ICM\Data\Sandbox\tempimages;"/>
        <add key="ChartImageDumpLocation" value="C:\ICM\Data\Sandbox\tempimages\"/>
        <add key="fileUploadPath" value="~/Uploads" />

        <!-- AjaxUploader Settings -->
        <add key="AjaxUploaderLicense" value="~/Resource/Licenses/AjaxUploader.lic" />
        <add key="CuteWebUI.AjaxUploader.MaxFile" value="100" />
        <add key="CuteWebUI.AjaxUploader.MaxSizeKB" value="1024 * 1024 * 2" />

        <add key =""/>
      </appSettings>
      <system.web>
        <httpModules>
          <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
        </httpModules>
        <httpHandlers>
          <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
        </httpHandlers>
        <globalization uiCulture="en" culture="en-GB"/>
        <compilation debug="true" targetFramework="4.0">
          <assemblies>
            <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
            <add assembly="System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
            <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="System.Web.DataVisualization.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          </assemblies>
          <buildProviders>
            <add extension="cshtml" type="System.Web.WebPages.Razor.RazorBuildProvider, System.Web.WebPages.Razor"/>
            <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
          </buildProviders>
        </compilation>
        <authentication mode="Forms">
          <forms loginUrl="logon.aspx"/>
        </authentication>
        <authorization>
          <deny users="?"/>
        </authorization>
        <membership defaultProvider="AspNetSqlmembershipProvider">
          <providers>
            <clear/>
          </providers>
        </membership>
        <profile defaultProvider="AspNetSqlProfileProvider">
          <providers>
            <clear/>
            <add name="AspNetSqlProfileProvider" connectionStringName="AspNetProviderConnection" type="System.Web.Profile.SqlProfileProvider"/>
          </providers>
        </profile>
        <roleManager enabled="true">
          <providers>
            <clear/>
            <add name="AspNetSqlRoleProvider" connectionStringName="AspNetProviderConnection" applicationName="ICM" type="System.Web.Security.SqlRoleProvider"/>
          </providers>
        </roleManager>
        <customErrors mode="Off"/>
        <pages>
          <namespaces>
            <add namespace="System.Web.Mvc"/>
            <add namespace="System.Web.Mvc.Ajax"/>
            <add namespace="System.Web.Mvc.Html"/>
            <add namespace="System.Web.Routing"/>
            <add namespace="Icm.Application"/>
            <add namespace="Icm"/>
          </namespaces>
        </pages>
      </system.web>
      <location path="About.aspx">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <location path="css">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <location path="Scripts">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <location path="Static">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
          <httpRuntime  maxRequestLength="2097151" executionTimeout="3600"/>
        </system.web>
      </location>
      <location path="help">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules runAllManagedModulesForAllRequests="true">
          <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
        </modules>
        <handlers>
          <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
        </handlers>
        <security>
          <requestFiltering>
            <requestLimits maxAllowedContentLength="4294967295"  />
          </requestFiltering>
        </security>

      </system.webServer>
      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
     
      <applicationSettings>
      </applicationSettings>
    </configuration>
  •  09-29-2011, 7:26 AM 70233 in reply to 70226

    Re: AjaxUploader works fine locally - Javascript error 'object expected' when viewing after deploy

    Hi simonhorridge,
     
    I attached two web.config, please try it, one of them should work.
     
    #1 
     
    <?xml version="1.0"?>
    <!--
      For more information on how to configure your ASP.NET application, please visit
      http://go.microsoft.com/fwlink/?LinkId=169433
      -->
    <configuration>
      <configSections>
        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
          <section name="Icm.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
          <section name="Icm.Application.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
        </sectionGroup>
      </configSections>
      <connectionStrings>

      </connectionStrings>
      <appSettings>
        <add key="FileLogPath" value="C:\Inetpub\wwwroot\ICM\Logs"/>
        <add key="gridviewpagesize" value="10"/>
        <add key="SystemName" value="UKIO ICM Platform"/>
        <add key="AccessDeniedRedirectionPage" value="NoAccessPageForUser.aspx"/>
        <add key="SiteLogo" value="Images/prutight.png"/>
        <add key="MyTheme" value="Default"/>
        <add key="SiteSplash" value="Images/logo.gif"/>
        <add key="LogonSplash" value="Images/UKIOICMP.png"/>
        <add key="ICMCodeFilePath" value="C:\ICM\Data\"/>
        <add key="ICMLiteModelCodeFilePath" value="C:\ICM\Data\LiteModels\"/>
        <add key="SandboxFilePath" value="C:\ICM\Data\Sandbox\"/>
        <add key="SingleSignOnEnabled" value="true"/>
        <add key="FormLabelTrawlingEnabled" value="false"/>
        <add key="SiteNameUrlPathElement" value="icm"/>
        <add key="IcmEntities" value="metadata=res://*/IcmDataModel.csdl|res://*/IcmDataModel.ssdl|res://*/IcmDataModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=(local);Initial Catalog=IcmDataLocal;Integrated Security=SSPI;MultipleActiveResultSets=True&quot;"/>
        <add key="ChartImageHandler" value="storage=file;timeout=20;dir=C:\ICM\Data\Sandbox\tempimages;"/>
        <add key="ChartImageDumpLocation" value="C:\ICM\Data\Sandbox\tempimages\"/>
        <add key="fileUploadPath" value="~/Uploads" />

        <!-- AjaxUploader Settings -->
        <add key="AjaxUploaderLicense" value="~/Resource/Licenses/AjaxUploader.lic" />
        <add key="CuteWebUI.AjaxUploader.MaxFile" value="100" />
        <add key="CuteWebUI.AjaxUploader.MaxSizeKB" value="1024 * 1024 * 2" />

        <add key =""/>
      </appSettings>
      <system.web>
        <httpModules>
          <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
        </httpModules>
        <httpHandlers>
          <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
        </httpHandlers>
        <globalization uiCulture="en" culture="en-GB"/>
        <compilation debug="true" targetFramework="4.0">
          <assemblies>
            <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
            <add assembly="System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
            <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="System.Web.DataVisualization.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          </assemblies>
          <buildProviders>
            <add extension="cshtml" type="System.Web.WebPages.Razor.RazorBuildProvider, System.Web.WebPages.Razor"/>
            <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
          </buildProviders>
        </compilation>
        <authentication mode="Forms">
          <forms loginUrl="logon.aspx"/>
        </authentication>
        <authorization>
          <deny users="?"/>
        </authorization>
        <membership defaultProvider="AspNetSqlmembershipProvider">
          <providers>
            <clear/>
          </providers>
        </membership>
        <profile defaultProvider="AspNetSqlProfileProvider">
          <providers>
            <clear/>
            <add name="AspNetSqlProfileProvider" connectionStringName="AspNetProviderConnection" type="System.Web.Profile.SqlProfileProvider"/>
          </providers>
        </profile>
        <roleManager enabled="true">
          <providers>
            <clear/>
            <add name="AspNetSqlRoleProvider" connectionStringName="AspNetProviderConnection" applicationName="ICM" type="System.Web.Security.SqlRoleProvider"/>
          </providers>
        </roleManager>
        <customErrors mode="Off"/>
        <pages>
          <namespaces>
            <add namespace="System.Web.Mvc"/>
            <add namespace="System.Web.Mvc.Ajax"/>
            <add namespace="System.Web.Mvc.Html"/>
            <add namespace="System.Web.Routing"/>
            <add namespace="Icm.Application"/>
            <add namespace="Icm"/>
          </namespaces>
        </pages>
      </system.web>
      <location path="About.aspx">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <location path="css">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <location path="Scripts">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <location path="Static">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
          <httpRuntime  maxRequestLength="2097151" executionTimeout="3600"/>
        </system.web>
      </location>
      <location path="help">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <handlers>
          <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
        </handlers>
        <security>
          <requestFiltering>
            <requestLimits maxAllowedContentLength="4294967295"  />
          </requestFiltering>
        </security>

      </system.webServer>
      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
     
      <applicationSettings>
      </applicationSettings>
    </configuration>
     
    #2
     
    <?xml version="1.0"?>
    <!--
      For more information on how to configure your ASP.NET application, please visit
      http://go.microsoft.com/fwlink/?LinkId=169433
      -->
    <configuration>
      <configSections>
        <sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
          <section name="Icm.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
          <section name="Icm.Application.Properties.Settings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/>
        </sectionGroup>
      </configSections>
      <connectionStrings>

      </connectionStrings>
      <appSettings>
        <add key="FileLogPath" value="C:\Inetpub\wwwroot\ICM\Logs"/>
        <add key="gridviewpagesize" value="10"/>
        <add key="SystemName" value="UKIO ICM Platform"/>
        <add key="AccessDeniedRedirectionPage" value="NoAccessPageForUser.aspx"/>
        <add key="SiteLogo" value="Images/prutight.png"/>
        <add key="MyTheme" value="Default"/>
        <add key="SiteSplash" value="Images/logo.gif"/>
        <add key="LogonSplash" value="Images/UKIOICMP.png"/>
        <add key="ICMCodeFilePath" value="C:\ICM\Data\"/>
        <add key="ICMLiteModelCodeFilePath" value="C:\ICM\Data\LiteModels\"/>
        <add key="SandboxFilePath" value="C:\ICM\Data\Sandbox\"/>
        <add key="SingleSignOnEnabled" value="true"/>
        <add key="FormLabelTrawlingEnabled" value="false"/>
        <add key="SiteNameUrlPathElement" value="icm"/>
        <add key="IcmEntities" value="metadata=res://*/IcmDataModel.csdl|res://*/IcmDataModel.ssdl|res://*/IcmDataModel.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=(local);Initial Catalog=IcmDataLocal;Integrated Security=SSPI;MultipleActiveResultSets=True&quot;"/>
        <add key="ChartImageHandler" value="storage=file;timeout=20;dir=C:\ICM\Data\Sandbox\tempimages;"/>
        <add key="ChartImageDumpLocation" value="C:\ICM\Data\Sandbox\tempimages\"/>
        <add key="fileUploadPath" value="~/Uploads" />

        <!-- AjaxUploader Settings -->
        <add key="AjaxUploaderLicense" value="~/Resource/Licenses/AjaxUploader.lic" />
        <add key="CuteWebUI.AjaxUploader.MaxFile" value="100" />
        <add key="CuteWebUI.AjaxUploader.MaxSizeKB" value="1024 * 1024 * 2" />

        <add key =""/>
      </appSettings>
      <system.web>
        <httpHandlers>
          <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
        </httpHandlers>
        <globalization uiCulture="en" culture="en-GB"/>
        <compilation debug="true" targetFramework="4.0">
          <assemblies>
            <add assembly="System.Web.Abstractions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Web.Routing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Web.Mvc, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
            <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
            <add assembly="System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
            <add assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="Microsoft.ReportViewer.Common, Version=10.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="Microsoft.Build.Framework, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="System.Management, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
            <add assembly="System.Web.DataVisualization.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
          </assemblies>
          <buildProviders>
            <add extension="cshtml" type="System.Web.WebPages.Razor.RazorBuildProvider, System.Web.WebPages.Razor"/>
            <add extension=".rdlc" type="Microsoft.Reporting.RdlBuildProvider, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
          </buildProviders>
        </compilation>
        <authentication mode="Forms">
          <forms loginUrl="logon.aspx"/>
        </authentication>
        <authorization>
          <deny users="?"/>
        </authorization>
        <membership defaultProvider="AspNetSqlmembershipProvider">
          <providers>
            <clear/>
          </providers>
        </membership>
        <profile defaultProvider="AspNetSqlProfileProvider">
          <providers>
            <clear/>
            <add name="AspNetSqlProfileProvider" connectionStringName="AspNetProviderConnection" type="System.Web.Profile.SqlProfileProvider"/>
          </providers>
        </profile>
        <roleManager enabled="true">
          <providers>
            <clear/>
            <add name="AspNetSqlRoleProvider" connectionStringName="AspNetProviderConnection" applicationName="ICM" type="System.Web.Security.SqlRoleProvider"/>
          </providers>
        </roleManager>
        <customErrors mode="Off"/>
        <pages>
          <namespaces>
            <add namespace="System.Web.Mvc"/>
            <add namespace="System.Web.Mvc.Ajax"/>
            <add namespace="System.Web.Mvc.Html"/>
            <add namespace="System.Web.Routing"/>
            <add namespace="Icm.Application"/>
            <add namespace="Icm"/>
          </namespaces>
        </pages>
      </system.web>
      <location path="About.aspx">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <location path="css">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <location path="Scripts">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <location path="Static">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
          <httpRuntime  maxRequestLength="2097151" executionTimeout="3600"/>
        </system.web>
      </location>
      <location path="help">
        <system.web>
          <authorization>
            <allow users="*"/>
          </authorization>
        </system.web>
      </location>
      <system.webServer>
        <validation validateIntegratedModeConfiguration="false"/>
        <modules runAllManagedModulesForAllRequests="true">
          <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
        </modules>
        <handlers>
          <add name="ReportViewerWebControlHandler" preCondition="integratedMode" verb="*" path="Reserved.ReportViewerWebControl.axd" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
        </handlers>
        <security>
          <requestFiltering>
            <requestLimits maxAllowedContentLength="4294967295"  />
          </requestFiltering>
        </security>

      </system.webServer>
      <runtime>
        <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
          <dependentAssembly>
            <assemblyIdentity name="System.Web.Mvc" publicKeyToken="31bf3856ad364e35"/>
            <bindingRedirect oldVersion="1.0.0.0" newVersion="2.0.0.0"/>
          </dependentAssembly>
        </assemblyBinding>
      </runtime>
     
      <applicationSettings>
      </applicationSettings>
    </configuration>
     
     
    Regards,
     
    Ken
View as RSS news feed in XML