Clicking on the Upload button gives 'Object Expected' error

  •  12-03-2008, 4:08 AM

    Clicking on the Upload button gives 'Object Expected' error

    Hi,
     
    I was trying to install your trial version. I have created a sample page in my application.
     
    I am getting 'Object Expected' error in IE 8 beta and  nothing happening (just page reloads) in Firefox 3.0.4 in Windows XP machine while I clicked on the 'Upload Multiple files Now' button.
     
    I did all the deployment steps that mentioned in your deployment document.
     
    Since it was not working I tried adding the tags which I found in the sample web.config file, I have added the System.Web.Extensions.dll and AjaxUploader.lic files too. Also I have added the SampleUtill.cs file since it is refering in page.
     
    Following is the structure of my web.config file:
     
    <configuration>
      <system.web>
        <httpRuntime maxRequestLength="2000000"/>
          <pages>
            <controls>
       <add namespace="CuteWebUI" assembly="CuteWebUI.AjaxUploader" tagPrefix="CuteWebUI"/>
       <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
            </controls>
            <namespaces>
              <add namespace="System.Collections.Generic"/>
              <add namespace="System.IO"/>
              <add namespace="System.Data"/>
              <add namespace="System.Data.SqlClient"/>
            </namespaces>
          </pages>
          <!-- set debugmode to false for running application -->
          <compilation debug="true" />
          <trace enabled='false' localOnly='true' pageOutput='true' requestLimit='20' traceMode='SortByTime'/>
          <customErrors mode='RemoteOnly' defaultRedirect='Public/Error.aspx'>
            <error statusCode="404" redirect="<page>.aspx"/>
          </customErrors>
          <authorization>
            <allow users ="*" />
          </authorization>
          <authentication mode="Forms">
            <forms loginUrl="<path>.aspx" />
          </authentication>
          <sessionState mode='InProc' timeout='30' />
          <browserCaps>
            tagwriter=System.Web.UI.HtmlTextWriter
          </browserCaps>
          <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="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
             <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule,CuteWebUI.AjaxUploader"/>
          </httpModules>
          </system.web>
     
          <location path="....">
            <system.web>
              <authorization>
                <deny users="?" />
              </authorization>
            </system.web>
          </location>
         
          <appSettings>
            <add key="CuteWebUI.AjaxUploader.UploadSpeedKB" value="20" />
          </appSettings>
    </configuration>

    Page contains the same content in the sample page in multiple-files-upload.aspx.
     
    Please help me. Very urgent.
     
    Thanks
View Complete Thread