CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

ASPX Deployment-JQFileUpload not work

by tonyzhou » 23 Mar 2016 14:53

I recently updated my IW components for DX10:

IW 14.0.52
CG 2.9.0.229

When I run your demos as ASPX Deployment(not ISAPI), the JQFileUpload component can not work and upload nothing.

Can you help me?

Thanks.
You do not have the required permissions to view the files attached to this post.
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

by Alexander Bulei » 23 Mar 2016 14:55

Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by tonyzhou » 23 Mar 2016 15:07

Code: Select all
{ .$DEFINE SA }
{ .$DEFINE ISAPI }
{$DEFINE IWLIB}
{$IFDEF SA}
program JQueryDemoV3;
{$ELSE}
library JQueryDemoV3;
{$ENDIF}

uses
  IWRtlFix,
  Forms,
{$IFDEF SA}
  IWStart,
{$ENDIF }
{$IFDEF ISAPI}
  ISAPIApp,
{$ENDIF }
{$IFDEF IWLIB}
  IWCGHttpApp,
  IW.Export,
{$ENDIF }
  UTF8ContentParser,
  HomePage in 'HomePage.pas' {IWHomeForm: TIWAppForm} ,
  Components in 'Components.pas' {IWComponentForm: TIWAppForm} ,
  UserSessionUnit
    in 'UserSessionUnit.pas' {IWDemoUserSession: TIWUserSessionBase} ,
  ServerController
    in 'IW14\ServerController.pas' {IWServerController: TIWServerControllerBase} ,
  CGAccordion in 'IWCGFrames\CGAccordion.pas' {IWAccordionFrame: TIWCGJQFrame} ,
  CGAutoComplete
    in 'IWCGFrames\CGAutoComplete.pas' {IWAutoCompleteFrame: TIWCGJQFrame} ,
  CGButtons in 'IWCGFrames\CGButtons.pas' {IWButtonsFrame: TIWCGJQFrame} ,
  CGCCValidator
    in 'IWCGFrames\CGCCValidator.pas' {CGCCValidatorFrame: TIWCGJQFrame} ,
  CGDatePicker
    in 'IWCGFrames\CGDatePicker.pas' {IWDatePickerFrame: TIWCGJQFrame} ,
  CGDialog in 'IWCGFrames\CGDialog.pas' {IWDialogFrame: TIWCGJQFrame} ,
  CGFancyBox in 'IWCGFrames\CGFancyBox.pas' {IWFancyBoxFrame: TIWCGJQFrame} ,
  CGFancyCaptcha
    in 'IWCGFrames\CGFancyCaptcha.pas' {IWFancyCaptchaFrame: TIWCGJQFrame} ,
  CGFileUpload
    in 'IWCGFrames\CGFileUpload.pas' {IWFileUploadFrame: TIWCGJQFrame} ,
  CGGMap in 'IWCGFrames\CGGMap.pas' {IWGMapFrame: TIWCGJQFrame} ,
  CGGroupBox in 'IWCGFrames\CGGroupBox.pas' {CGGroupBoxFrame: TIWCGJQFrame} ,
  CGHotKeyHighlight
    in 'IWCGFrames\CGHotKeyHighlight.pas' {CGHotKeyHighlightFrame: TIWCGJQFrame} ,
  CGHTMLEditor
    in 'IWCGFrames\CGHTMLEditor.pas' {IWFrameHTMLEditor: TIWCGJQFrame} ,
  CGJQCarousel
    in 'IWCGFrames\CGJQCarousel.pas' {CGJQCarouselFrame: TIWCGJQFrame} ,
  CGJQCheckBoxList
    in 'IWCGFrames\CGJQCheckBoxList.pas' {CGJQCheckBoxListFrame: TIWCGJQFrame} ,
  CGJQComboBoxEx
    in 'IWCGFrames\CGJQComboBoxEx.pas' {IWJQComboBoxExFrame: TIWCGJQFrame} ,
  CGJQDateTimePicker
    in 'IWCGFrames\CGJQDateTimePicker.pas' {CGIWDateTimePickerFrame: TIWCGJQFrame} ,
  CGJQDropDown
    in 'IWCGFrames\CGJQDropDown.pas' {IWJQDropDownFrame: TIWCGJQFrame} ,
  CGJQDropDownTree
    in 'IWCGFrames\CGJQDropDownTree.pas' {JQDropDownTreeFrame: TIWCGJQFrame} ,
  CGJQDynaTree
    in 'IWCGFrames\CGJQDynaTree.pas' {JQDynaTreeFrame: TIWCGJQFrame} ,
  CGJQEditFeatures
    in 'IWCGFrames\CGJQEditFeatures.pas' {CGJQEditFeaturesFrame: TIWCGJQFrame} ,
  CGJQGantt in 'IWCGFrames\CGJQGantt.pas' {JQGanttFrame: TIWCGJQFrame} ,
  CGJQGoogleReCaptcha
    in 'IWCGFrames\CGJQGoogleReCaptcha.pas' {IWCGGoogleReCaptcha: TIWCGJQFrame} ,
  CGJQMemoEx in 'IWCGFrames\CGJQMemoEx.pas' {IWJQMemoExFrame: TIWCGJQFrame} ,
  CGJQMenu in 'IWCGFrames\CGJQMenu.pas' {IWMenuFrame: TIWCGJQFrame} ,
  CGJQMessageDlg
    in 'IWCGFrames\CGJQMessageDlg.pas' {IWJQMessageDlgFrame: TIWCGJQFrame} ,
  CGJQMultiSelect
    in 'IWCGFrames\CGJQMultiSelect.pas' {IWJQMultiSelectFrame: TIWCGJQFrame} ,
  CGJQNotification
    in 'IWCGFrames\CGJQNotification.pas' {IWCGJQNotificationFrame: TIWCGJQFrame} ,
  CGJQPivot in 'IWCGFrames\CGJQPivot.pas' {CGJQPivotFrame: TIWCGJQFrame} ,
  CGJQPlayer in 'IWCGFrames\CGJQPlayer.pas' {CGJQPlayerFrame: TIWCGJQFrame} ,
  CGJQPlot in 'IWCGFrames\CGJQPlot.pas' {IWJQPlotFrame: TIWCGJQFrame} ,
  CGJQPrint in 'IWCGFrames\CGJQPrint.pas' {CGJQPrintFrame: TIWCGJQFrame} ,
  CGJQSignature
    in 'IWCGFrames\CGJQSignature.pas' {IWJQSignatureFrame: TIWCGJQFrame} ,
  CGJQSpinEdit
    in 'IWCGFrames\CGJQSpinEdit.pas' {IWJQSpinEditFrame: TIWCGJQFrame} ,
  CGJQSpreadSheet
    in 'IWCGFrames\CGJQSpreadSheet.pas' {CGJQSpreadSheetFrame: TIWCGJQFrame} ,
  CGJQTimePicker
    in 'IWCGFrames\CGJQTimePicker.pas' {IWJQTimePickerFrame: TIWCGJQFrame} ,
  CGJQToggleButtons
    in 'IWCGFrames\CGJQToggleButtons.pas' {CGJQToggleButtonsFrame: TIWCGJQFrame} ,
  CGJQToolBar in 'IWCGFrames\CGJQToolBar.pas' {CGJQToolBarFrame: TIWCGJQFrame} ,
  CGJQTreeView
    in 'IWCGFrames\CGJQTreeView.pas' {IWFrameJQTreeView: TIWCGJQFrame} ,
  CGJQueryGrid in 'IWCGFrames\CGJQueryGrid.pas' {FrameGrid: TIWCGJQFrame} ,
  CGJQueryGridDB
    in 'IWCGFrames\CGJQueryGridDB.pas' {CGJQJQueryGridDB: TIWCGJQFrame} ,
  CGJQueryTreeGrid
    in 'IWCGFrames\CGJQueryTreeGrid.pas' {IWFrameTreeGrid: TIWCGJQFrame} ,
  CGJQVertMenu
    in 'IWCGFrames\CGJQVertMenu.pas' {JQVertMenuFrame: TIWCGJQFrame} ,
  CGJQWeather in 'IWCGFrames\CGJQWeather.pas' {CGJQWeatherFrame: TIWCGJQFrame} ,
  CGJQWebCam in 'IWCGFrames\CGJQWebCam.pas' {CGJQWebCamFrame: TIWCGJQFrame} ,
  CGJQWizard in 'IWCGFrames\CGJQWizard.pas' {CGJQWizardFrame: TIWCGJQFrame} ,
  CGJQWPaint in 'IWCGFrames\CGJQWPaint.pas' {IWJQWPaintFrame: TIWCGJQFrame} ,
  CGJSPlumbFrame
    in 'IWCGFrames\CGJSPlumbFrame.pas' {JSPlumbFrame: TIWCGJQFrame} ,
  CGLayout in 'IWCGFrames\CGLayout.pas' {IWLayoutFrame: TIWCGJQFrame} ,
  CGMapQuery
    in 'IWCGFrames\CGMapQuery.pas' {IWCGJQMapQueryFrame: TIWCGJQFrame} ,
  CGMarkItUp in 'IWCGFrames\CGMarkItUp.pas' {JQMarkItUpFrame: TIWCGJQFrame} ,
  CGProgressBar
    in 'IWCGFrames\CGProgressBar.pas' {IWProgressBarFrame: TIWCGJQFrame} ,
  CGShowMessage
    in 'IWCGFrames\CGShowMessage.pas' {JQShowMessageFrame: TIWCGJQFrame} ,
  CGSlider in 'IWCGFrames\CGSlider.pas' {IWSliderFrame: TIWCGJQFrame} ,
  CGSQLBuilder
    in 'IWCGFrames\CGSQLBuilder.pas' {IWCGSQLBuilderFrame: TIWCGJQFrame} ,
  CGTabs in 'IWCGFrames\CGTabs.pas' {IWTabsFrame: TIWCGJQFrame} ,
  CGTooltip in 'IWCGFrames\CGTooltip.pas' {IWTooltipFrame: TIWCGJQFrame} ,
  CustomEventFrame
    in 'IWCGFrames\CustomEventFrame.pas' {JQCustomEventFrame: TFrame} ,
  JQBarQRCodeFrame
    in 'IWCGFrames\JQBarQRCodeFrame.pas' {IWCGJQBarQRCodeFrame: TIWCGJQFrame} ,
  JQColorPickerFrame
    in 'IWCGFrames\JQColorPickerFrame.pas' {CGJQColorPickerFrame: TIWCGJQFrame} ,
  JQContextMenuFrame
    in 'IWCGFrames\JQContextMenuFrame.pas' {IWCGJQContextMenuFrame: TIWCGJQFrame} ,
  JQDownloadFrame
    in 'IWCGFrames\JQDownloadFrame.pas' {IWJQDownloadFrame: TIWCGJQFrame} ,
  JQGMap3Frame in 'IWCGFrames\JQGMap3Frame.pas' {JQGMap3Frm: TIWCGJQFrame} ,
  JQLabelMarquee
    in 'IWCGFrames\JQLabelMarquee.pas' {JQLabelMarqueeFrame: TIWCGJQFrame} ,
  JQMiniColorsFrame
    in 'IWCGFrames\JQMiniColorsFrame.pas' {CGJQMiniColorsFrame: TIWCGJQFrame} ,
  JQPayPalCartFrame
    in 'IWCGFrames\JQPayPalCartFrame.pas' {IWCGJQPayPalCartFrame: TIWCGJQFrame} ,
  JQRating in 'IWCGFrames\JQRating.pas' {JQRatingFrame: TIWCGJQFrame} ,
  JQSchedulerFrame
    in 'IWCGFrames\JQSchedulerFrame.pas' {CGIWJQSchedulerFrame: TIWCGJQFrame} ,
  JQStickyPanel
    in 'IWCGFrames\JQStickyPanel.pas' {JQStickyPanelFrame: TIWCGJQFrame} ,
  JQueryDemoV3.Utils in 'JQueryDemoV3.Utils.pas',
  CGGauge in 'IWCGFrames\CGGauge.pas' {IWCGJQGaugeFrame: TIWCGJQFrame} ,
  CGJQSimplePieCharts
    in 'IWCGFrames\CGJQSimplePieCharts.pas' {JQSimplePieChartFrame: TIWCGJQFrame} ,
  CGJQResponsiveList
    in 'IWCGFrames\CGJQResponsiveList.pas' {CGJQResponsiveListFrm: TIWCGJQFrame} ,
  CGJQResponsiveListFrame
    in 'IWCGFrames\CGJQResponsiveListFrame.pas' {IWCGJQResponsiveFrame: TIWCGJQFrame} ,
  CGJQPDFViewer
    in 'IWCGFrames\CGJQPDFViewer.pas' {PDFViewerFrame: TIWCGJQFrame} ,
  CGJQSweetAlert
    in 'IWCGFrames\CGJQSweetAlert.pas' {IWJQSweetAlertFrame: TIWCGJQFrame} ,
  CGJQTinyMCE
    in 'IWCGFrames\CGJQTinyMCE.pas' {IWCGJQTinyMCEFrame: TIWCGJQTinyMCEFrame} ,
  CGJQEasyProgress
    in 'IWCGFrames\CGJQEasyProgress.pas' {CGJQEasyProgressFrame: TIWCGJQFrame};

{$R *.res}
{$IFDEF ISAPI}

exports
  GetExtensionVersion,
  HttpExtensionProc,
  TerminateExtension;
{$ENDIF}

begin
{$IFDEF ISAPI}
  IWRun;
{$ELSE}
{$IFDEF SA}
  TIWStart.Execute(True);
{$ENDIF}
{$ENDIF}

end.
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

by tonyzhou » 23 Mar 2016 15:10

[Exception: Uninitialized reply.]
IntraWeb.MainController.ProcessResponse(PacketReader aReader) +213
IntraWeb.MainController.ProcessAppMode() +466
IntraWeb.MainController.Index() +189
lambda_method(Closure , ControllerBase , Object[] ) +62
System.Web.Mvc.ActionMethodDispatcher.Execute(ControllerBase controller, Object[] parameters) +19
System.Web.Mvc.ReflectedActionDescriptor.Execute(ControllerContext controllerContext, IDictionary`2 parameters) +209
System.Web.Mvc.ControllerActionInvoker.InvokeActionMethod(ControllerContext controllerContext, ActionDescriptor actionDescriptor, IDictionary`2 parameters) +27
System.Web.Mvc.Async.<>c__DisplayClass42.<BeginInvokeSynchronousActionMethod>b__41() +28
System.Web.Mvc.Async.<>c__DisplayClass8`1.<BeginSynchronous>b__7(IAsyncResult _) +15
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +58
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethod(IAsyncResult asyncResult) +49
System.Web.Mvc.Async.<>c__DisplayClass39.<BeginInvokeActionMethodWithFilters>b__33() +57
System.Web.Mvc.Async.<>c__DisplayClass4f.<InvokeActionMethodFilterAsynchronously>b__49() +223
System.Web.Mvc.Async.<>c__DisplayClass37.<BeginInvokeActionMethodWithFilters>b__36(IAsyncResult asyncResult) +15
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +58
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeActionMethodWithFilters(IAsyncResult asyncResult) +49
System.Web.Mvc.Async.<>c__DisplayClass2a.<BeginInvokeAction>b__20() +24
System.Web.Mvc.Async.<>c__DisplayClass25.<BeginInvokeAction>b__22(IAsyncResult asyncResult) +102
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +58
System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +44
System.Web.Mvc.<>c__DisplayClass1d.<BeginExecuteCore>b__18(IAsyncResult asyncResult) +15
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +16
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +58
System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +54
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +16
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +58
System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +44
System.Web.Mvc.Controller.System.Web.Mvc.Async.IAsyncController.EndExecute(IAsyncResult asyncResult) +12
System.Web.Mvc.<>c__DisplayClass8.<BeginProcessRequest>b__3(IAsyncResult asyncResult) +25
System.Web.Mvc.Async.<>c__DisplayClass4.<MakeVoidDelegate>b__3(IAsyncResult ar) +16
System.Web.Mvc.Async.WrappedAsyncResult`1.End() +58
System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +44
System.Web.Mvc.MvcHandler.System.Web.IHttpAsyncHandler.EndProcessRequest(IAsyncResult result) +11
System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +9744373
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

by Alexander Bulei » 23 Mar 2016 15:14

Hi,

What is your value of ServerController.ComInitialization?

Best Regards.
Group: Developers | Support Team

  • info [at] cgdevtools.com - General information
  • sales [at] cgdevtools.com - Sales department
  • support [at] cgdevtools.com - Product and Technical Support
User avatar
Alexander Bulei
Site Admin
 
Posts: 3635
Joined: 15 May 2012 08:52
Location: Mealhada, Portugal

by tonyzhou » 23 Mar 2016 15:20

ServerController.ComInitialization
You do not have the required permissions to view the files attached to this post.
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

by tonyzhou » 23 Mar 2016 15:26

when I click upload key, the debug show:
You do not have the required permissions to view the files attached to this post.
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

by tonyzhou » 23 Mar 2016 15:36

this is a image for using TIWFileUploader
You do not have the required permissions to view the files attached to this post.
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

by tonyzhou » 24 Mar 2016 06:52

Is there anyone who can answer me?
What is difference result about using jqfileupload as ISAPI deployment or ASPX deployment?
tonyzhou
 
Posts: 112
Joined: 28 Jun 2015 13:02

by Jorge Sousa » 24 Mar 2016 15:31

Hello

I'm sorry, but we don't know what to answer you yet.

This will have to be investigated in your machine, using remote session, but you need to compile Intraweb against source code, do you have it?
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

Next

Return to JQFileUpload

Who is online

Users browsing this forum: No registered users and 1 guest

Contact Us.