This is a migrated thread and some comments may be shown as answers.

Rad Upload is not working in II7

5 Answers 121 Views
Upload (Obsolete)
This is a migrated thread and some comments may be shown as answers.
mani
Top achievements
Rank 1
mani asked on 03 Mar 2010, 06:25 PM
Hi
         I am using rad upload control. The upload control for using upload the excel file to database. It is working in Local visusal sudio application. when i configure the II7 ( Vista or Windows server 2008) . It is now working. i try to fixed this problem as below even though it is not working.

Anything differ configuratio for Vista and Windows Server 2008. for II7

Leave
I am using Visual Studio .Net 3.5 and Sql server 2008. Telerik Q3 2009 Telerik.

When i try to confgure below section RadUpoad.Net . how can i handl the .Net 3.5 Version.
and I tried Section B Eeven though  it is not working. let me knowow can i fixed this poblem


Section A:
<httpModules>
<add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule,RadUpload.Net2 />
</httpModules>
<httpHandlers>
<add verb="*" path="Telerik.RadUploadProgressHandler.aspx" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2"></add>
</httpHandlers>

Section B:
Add the following to the Sytem.WebServer element

<modules>
<add name="RadUploadModule" type="Telerik.WebControls.RadUploadHttpModule, RadUpload.Net2" />
</modules>
<handlers>
<add name="TelerikRadProgress" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.aspx" verb="*" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />
</handlers>

<validation validateIntegratedModeConfiguration="false" />
Let me anythig missing for this problem.

Thanks
G.Manikandan

5 Answers, 1 is accepted

Sort by
0
mani
Top achievements
Rank 1
answered on 06 Mar 2010, 01:53 PM
Hi 
    I used rad upload control for using upload the excel sheet. It is works in my local visual studio application. but it is not working in (www.jetliving.com)  server. My server configurations is Windows server 2008 , II7, Visual studio 2008 and SQL 2008

   Herewith I have attached my web.config file. and also I  have changed II 7 changes for rad upload. Eventhough it is not woking. please review my web.config file. if it anything missing let me know. 

  I eagerly waiting waiting for your response.  Please do needful as soon as possible.



<?xml version="1.0" encoding="UTF-8"?>
<configuration>
 <configSections>
  <sectionGroup name="system.web.extensions" type="System.Web.Configuration.SystemWebExtensionsSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
   <sectionGroup name="scripting" type="System.Web.Configuration.ScriptingSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
    <section name="scriptResourceHandler" type="System.Web.Configuration.ScriptingScriptResourceHandlerSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
    <sectionGroup name="webServices" type="System.Web.Configuration.ScriptingWebServicesSectionGroup, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35">
     <section name="jsonSerialization" type="System.Web.Configuration.ScriptingJsonSerializationSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="Everywhere" />
     <section name="profileService" type="System.Web.Configuration.ScriptingProfileServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
     <section name="authenticationService" type="System.Web.Configuration.ScriptingAuthenticationServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication" />
     <section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="true" allowDefinition="MachineToApplication" />
    </sectionGroup>
   </sectionGroup>
  </sectionGroup>

  <section name="Telerik.Reporting" type="Telerik.Reporting.Processing.Config.ReportingConfigurationSection, Telerik.Reporting, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" allowLocation="true" allowDefinition="Everywhere" />
 </configSections>

 

 <appSettings>
  <add key="Telerik.Skin" value="Vista" />     
      <add key="JetSoftDB" value="Data Source=JS_TEST;User ID=j23232;Password=j23232;Initial Catalog=JSRENTALS_TEST;" />

 </appSettings>
 <connectionStrings>
  <add name="JSEntities" connectionString="metadata=res://*;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=Indas2323232;Initial Catalog=JS_TEST;User ID=j23232;Password=j23232;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient" />

 </connectionStrings>
 <system.web>
  
  <httpRuntime executionTimeout="18000" />
  <!--
            Set compilation debug="true" to insert debugging
            symbols into the compiled page. Because this
            affects performance, set this value to true only
            during development.
        -->
  <compilation debug="false">
   <assemblies>
    <add assembly="System.Core, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Data.DataSetExtensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
    <add assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add assembly="System.Xml.Linq, Version=3.5.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />

    <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>

    <add assembly="Telerik.ReportViewer.WebForms, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
    <add assembly="Telerik.Reporting, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=A9D7983DFCC261BE"/>
   </assemblies>
  </compilation>
  <!--
            The <authentication> section enables configuration
            of the security authentication mode used by
            ASP.NET to identify an incoming user.
        -->
  <authentication mode="Windows" />
  <!--
            The <customErrors> section enables configuration
            of what to do if/when an unhandled error occurs
            during the execution of a request. Specifically,
            it enables developers to configure html error pages
            to be displayed in place of a error stack trace. On
 -->
 <customErrors mode="On"  defaultRedirect="Errorpage.aspx">
            <error statusCode="403" redirect="Errorpage.aspx" />
            <error statusCode="404" redirect="FileNotFound.aspx" />
     </customErrors>
     
      
  <pages validateRequest="false">
   <controls>
    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
    <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
   </controls>
  </pages>
  <httpHandlers>
   <add verb="*" path="*_AppService.axd" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
   <add verb="GET,HEAD" path="ScriptResource.axd" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" validate="false" />
   <add path="Telerik.Web.UI.WebResource.axd" verb="*" type="Telerik.Web.UI.WebResource, Telerik.Web.UI" validate="false" />
   <add verb="*" path="Telerik.ReportViewer.axd" type = "Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
  </httpHandlers>
  <httpModules>
           <add name="RadCompression" type="Telerik.Web.UI.RadCompression" />
   <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  </httpModules>
      <sessionState mode="InProc" cookieless="false" timeout="54000">
      </sessionState>

 </system.web>
 <system.codedom>
  <compilers>
   <compiler language="c#;cs;csharp" extension=".cs" warningLevel="4" type="Microsoft.CSharp.CSharpCodeProvider, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089">
    <providerOption name="CompilerVersion" value="v3.5" />
    <providerOption name="WarnAsError" value="false" />
   </compiler>
  </compilers>
 </system.codedom>
 <!--
        The system.webServer section is required for running ASP.NET AJAX under Internet
        Information Services 7.0.  It is not necessary for previous version of IIS.
    -->
 <system.webServer>
  <validation validateIntegratedModeConfiguration="false" />
  <modules>
   <remove name="ScriptModule" />
   <add name="ScriptModule" preCondition="managedHandler" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
  </modules>
  <handlers>
   <remove name="WebServiceHandlerFactory-Integrated" />
   <remove name="ScriptHandlerFactory" />
   <remove name="ScriptHandlerFactoryAppServices" />
   <remove name="ScriptResource" />  
   <add name="Telerik_Web_UI_WebResource_axd" verb="*" preCondition="integratedMode" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" />
   <add name="Telerik.ReportViewer.axd_*" path="Telerik.ReportViewer.axd" verb="*" type="Telerik.ReportViewer.WebForms.HttpHandler, Telerik.ReportViewer.WebForms, Version=3.2.9.1211, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" preCondition="integratedMode,runtimeVersionv2.0"/>
   <add name="TelerikRadProgress" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.aspx"  verb="*" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />
  </handlers>
        <urlCompression doStaticCompression="true" doDynamicCompression="true" />
 </system.webServer>
 <runtime>
  <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
   <dependentAssembly>
    <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
   </dependentAssembly>
   <dependentAssembly>
    <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35" />
    <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0" />
   </dependentAssembly>
  </assemblyBinding>
 </runtime>
</configuration>


Thanks
G. Manikandan
0
Chris Lee
Top achievements
Rank 1
answered on 08 Mar 2010, 04:54 PM
I am also having the same problem.
0
Genady Sergeev
Telerik team
answered on 09 Mar 2010, 11:48 AM
Hello mani

Can you please clarify your problem? Why do you mean by RadUpload not working. Is the upload component no longer uploading files (empty uploaded files collection), or are there any errors that you receive?

Which version of the controls do you use? As far as I can see from your web.config you have some Telerik.Web.UI declarations which means the AJAX controls, however, you have registered the classic RadUploadProgressHandler from the RadUpload namespace.

Do you use the both versions of the controls (the AJAX ones and the classic ones) in your application?

<add name="TelerikRadProgress" preCondition="integratedMode" path="Telerik.RadUploadProgressHandler.aspx"  verb="*" type="Telerik.WebControls.RadUploadProgressHandler, RadUpload.Net2" />

Kind regards,
Genady Sergeev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
0
mani
Top achievements
Rank 1
answered on 09 Mar 2010, 02:14 PM
Hi
         I am using Asp.Net with Ajax control Q3 2009. and also i am using rad upload controls for upload the excel sheet. The excel sheet data after read. the datas are stored in Database table.

Please review

        <

 

JetSoft:RadUpload ID="UploadLead" runat="server" OverwriteExistingFiles="true" BorderStyle="None" >

 

 

        </JetSoft:RadUpload>

In this control i used for uploading excel sheet. In this control is working good in my local visual studio machine and local II 7 in Vista. But some thing is not working in my live server  ( www.jetliving.com ).  My live server configuration is Windows Server 2008 and II7. let me know anything missing configuration or web.config. please review our previous conversion.

 

 

Herewith with i have attached my error screen shot sample. i am very confident for this error is not coding problem because the code is work in local visaul studio and II 7 in Vista. but the same coding is not working in Windows server 2008 and II 7. I think some thing add for web. config file or some configuration. let me knwo solutions of this problem

 I am eagerly waiting for your response. please do needful ASAP.........

Thanks
G. Manikandan.

0
Genady Sergeev
Telerik team
answered on 09 Mar 2010, 05:59 PM
Hi mani,

As it is visible from the stacktrace, the problem has nothing to do with RadUpload. The error is thrown in the OleDB provider which I suppose you use for your data access layer. I suggest that you put a break point in the submit button click handler and debug your application to see where and why the error is thrown.

With respect to you web.congfig question, I have done the needed modifications for you. You can find it as an attachment.

Sincerely yours,
Genady Sergeev
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Upload (Obsolete)
Asked by
mani
Top achievements
Rank 1
Answers by
mani
Top achievements
Rank 1
Chris Lee
Top achievements
Rank 1
Genady Sergeev
Telerik team
Share this question
or