Click here to Skip to main content
15,902,299 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: What is difference between form authentication and claim authentication Pin
Tridip Bhattacharjee26-Mar-16 9:57
professionalTridip Bhattacharjee26-Mar-16 9:57 
GeneralRe: What is difference between form authentication and claim authentication Pin
Richard MacCutchan26-Mar-16 21:09
mveRichard MacCutchan26-Mar-16 21:09 
GeneralPlease help me with my project Pin
Member 1241095522-Mar-16 19:07
Member 1241095522-Mar-16 19:07 
GeneralRe: Please help me with my project Pin
F-ES Sitecore22-Mar-16 23:59
professionalF-ES Sitecore22-Mar-16 23:59 
PraiseRe: Please help me with my project Pin
Nathan Minier23-Mar-16 1:19
professionalNathan Minier23-Mar-16 1:19 
GeneralPlease help me with my project Pin
Member 1241095522-Mar-16 19:07
Member 1241095522-Mar-16 19:07 
GeneralRe: Please help me with my project PinPopular
OriginalGriff22-Mar-16 21:06
mveOriginalGriff22-Mar-16 21:06 
QuestionAjaxFileUpload - UploadComplete event not firing (on test server only) Pin
Stevens22-Mar-16 14:56
Stevens22-Mar-16 14:56 
Apologies in advance if this is in the wrong topic.

I am using the AjaxFileUpload in the latest AjaxControlToolkit (v16.1.0.0), and it works fine in my development environment: VS2013 VB.Net -- but when I move it to either my test or production servers the UploadComplete event doesn't fire. I can tell the 'Sub' isn't invoked at all because I have it write to a log file if it does. I have assigned read/write permissions to my destination upload directory. My Test server is Windows Server 2012 R2, Production server: Windows Server 2008 R2

The UploadStart event IS fired, but that doesn't do me any good because it doesn't receive the "AjaxFileUploadEventArgs".

I have include the relevant bits of ASPX and VB code, and Web.config settings. Any help would be appreciated!

VB 'Sub' not being invoked on our test server, but works fine and uploads files properly in the VS2013 development environment:
VB.NET
Private Sub AjaxFileUpload1_UploadComplete(sender As Object, e As AjaxFileUploadEventArgs) Handles AjaxFileUpload1.UploadComplete 
...


Defined in the ASPX:
<ajaxToolkit:AjaxFileUpload ID="AjaxFileUpload1" runat="server" AllowedFileTypes="xlsx,xls,jpg,jpeg,gif,png" OnClientUploadComplete="uploadComplete" MaximumNumberOfFiles="1" ClearFileListAfterUpload="true" /> 


Handlers required in the Web.config file:
XML
<handlers>
  <add name="AjaxFileUploadHandler" verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit"/>
</handlers>

<httpHandlers>
  <add verb="*" path="AjaxFileUploadHandler.axd" type="AjaxControlToolkit.AjaxFileUploadHandler, AjaxControlToolkit"/>
</httpHandlers>

Questioncreate .mdf file Pin
Member 1240930122-Mar-16 3:35
Member 1240930122-Mar-16 3:35 
AnswerRe: create .mdf file Pin
ZurdoDev22-Mar-16 9:02
professionalZurdoDev22-Mar-16 9:02 
AnswerRe: create .mdf file Pin
User 418025411-Apr-16 8:40
User 418025411-Apr-16 8:40 
Questionasp Pin
Member 1240930122-Mar-16 2:35
Member 1240930122-Mar-16 2:35 
AnswerRe: asp Pin
Richard MacCutchan22-Mar-16 3:10
mveRichard MacCutchan22-Mar-16 3:10 
AnswerRe: asp Pin
ZurdoDev22-Mar-16 9:01
professionalZurdoDev22-Mar-16 9:01 
QuestionHow to make editable Web page Pin
Member 1232991221-Mar-16 2:26
Member 1232991221-Mar-16 2:26 
AnswerRe: How to make editable Web page Pin
ZurdoDev21-Mar-16 10:28
professionalZurdoDev21-Mar-16 10:28 
AnswerRe: How to make editable Web page Pin
koolprasad200321-Mar-16 21:01
professionalkoolprasad200321-Mar-16 21:01 
AnswerRe: How to make editable Web page Pin
F-ES Sitecore22-Mar-16 1:35
professionalF-ES Sitecore22-Mar-16 1:35 
QuestionMVC5 Identity Stuff Pin
#realJSOP21-Mar-16 1:57
professional#realJSOP21-Mar-16 1:57 
AnswerRe: MVC5 Identity Stuff Pin
jkirkerx21-Mar-16 9:56
professionaljkirkerx21-Mar-16 9:56 
GeneralMessage Closed Pin
21-Mar-16 19:21
professionaldeepankarbhatnagar21-Mar-16 19:21 
GeneralRe: MVC5 Identity Stuff Pin
jkirkerx22-Mar-16 7:42
professionaljkirkerx22-Mar-16 7:42 
GeneralRe: MVC5 Identity Stuff Pin
#realJSOP22-Mar-16 1:34
professional#realJSOP22-Mar-16 1:34 
GeneralRe: MVC5 Identity Stuff Pin
F-ES Sitecore22-Mar-16 1:38
professionalF-ES Sitecore22-Mar-16 1:38 
GeneralRe: MVC5 Identity Stuff Pin
#realJSOP22-Mar-16 2:10
professional#realJSOP22-Mar-16 2:10 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.