| Dart Home | PowerWEB File Upload for ASP.NET | Custom Development | Reply | PowerWEB File Upload for ASP.NET Topics | Forums |
| Author | Forum: PowerWEB File Upload for ASP.NET Topic: Uploader doesnt work while debugging |
| darren123 From: London, LA United Kingdom Posts: 2 Member Since: 03/25/09 |
posted March 25, 2009 9:44 AM Hello, We are using the FileUploader which runs fine on our web servers (Windows 2003). But trying to debug on Windows Vista, IIS 7.0 , Visual Studio 2008 Professional when you try to upload a file the progress bar is shown but never progress and the file is never uploaded. Any help would be appreciated. Thanks |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted March 25, 2009 4:44 PM Hi, Are the modules and handlers under the <system.webServer> tag in the web.config? This is necessary in IIS7. See the last post in the following thread for an example: http://support.dart.com/postings?topicid=7685 Thanks, -ken |
| darren123 From: London, LA United Kingdom Posts: 2 Member Since: 03/25/09 |
posted March 26, 2009 5:49 AM Here is the content of my web.config file. I've aslo disable th efire wall on my local machine. The exact same code when uploaded to server works but i cant debug. Any ideas? Thanks <httpHandlers> <remove verb="*" path="*.asmx" /> <add verb="*" path="*.asmx" validate="false" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <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" validate="false" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <!-- DART fileupload--> <add verb="*" path="Dart.PowerWEB.FileUpload.GetResource.aspx" type="Dart.PowerWEB.FileUpload.ResourceHttpHandler,Dart.PowerWEB.FileUpload" /> </httpHandlers> <httpModules> <!-- DART fileupload--> <add name="FileUploadModule" type="Dart.PowerWEB.FileUpload.FileUploadModule,Dart.PowerWEB.FileUpload" /> <add name="CallbackManager" type="Dart.PowerWEB.FileUpload.CallbackManager,Dart.PowerWEB.FileUpload" /> <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <!-- added NJF --> <add name="EntityTransactionModule" type="ViaPost.Web.Data.EntityTransactionModule" /> </httpModules> <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" /> <add name="FileUploadModule" type="Dart.PowerWEB.FileUpload.FileUploadModule,Dart.PowerWEB.FileUpload" preCondition="managedHandler" /> <add name="CallbackManager" type="Dart.PowerWEB.FileUpload.CallbackManager,Dart.PowerWEB.FileUpload" preCondition="managedHandler" /> </modules> <handlers> <remove name="WebServiceHandlerFactory-Integrated" /> <remove name="ScriptHandlerFactory" /> <remove name="ScriptHandlerFactoryAppServices" /> <remove name="ScriptResource" /> <add name="Dart.PowerWEB.FileUpload.GetResource.aspx_*" path="Dart.PowerWEB.FileUpload.GetResource.aspx" verb="*" type="Dart.PowerWEB.FileUpload.ResourceHttpHandler,Dart.PowerWEB.FileUpload" preCondition="integratedMode,runtimeVersionv2.0" /> <add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> <add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" /> </handlers> </system.webServer> |
K M Drake![]() From: Utica, NY USA Posts: 3406 Member Since: 07/14/00 |
posted March 26, 2009 11:39 AM Hi, Does it work if you move the FileUploadModule to the top of the modules list? This module needs to be first. Thanks, -ken |
| Reply | PowerWEB File Upload for ASP.NET Topics | Forums |
This site is powered by
PowerTCP WebServer for ActiveX
|