SlickUpload
Welcome Guest Search | Active Topics | Log In | Register

Why no trace? Options
shaunco
#1 Posted : Thursday, June 12, 2008 11:02:09 PM
Rank: Newbie

Groups: Registered

Joined: 6/13/2008
Posts: 2

So, I see in the FAQ that SlickUpload doesn't function when trace is enabled, but I am curious why this is the case?

SlickUpload works great on my local IIS and inside the dev studio 2008 web server, but when I put everything up on my DiscountASP.net (IIS7) account, it doesn't work.  Since DiscountASP.net doesn't offer debugging, my only option is to use trace.  So, I enabled trace via my web.config:
  <trace enabled="true" localOnly="false" pageOutput="false" />
Only to find that SlickUpload stops working all together, giving me a useless /Trace.axd.  Why is this?

With Trace disabled, my <uploadParser fileFilter /> is properly called to generate a file name, and the uploaded file is put in the correct place, however the call to HttpUploadModule.GetUploadStatus() seems to always return NULL, which means I can't figure out where the file went...

How am I supposed to work this out without trace or debug?  I would rather not fake trace to a label/div since it would require a very large change...

ChrisHynes
#2 Posted : Monday, June 16, 2008 10:05:37 AM
Rank: Administration


Groups:

Joined: 7/7/2005
Posts: 1,586
Location: Scottsdale, AZ

Unfortunately, turning trace on interferes with SlickUpload's interception of the upload request. All ASP.NET upload controls have this limitation.

Are you using the UploadManager control? If so you should handle the upload in the UploadManager control's UploadComplete event. Call args.Status.GetUploadedFiles() to get a list of the uploaded files.

shaunco
#3 Posted : Thursday, June 19, 2008 11:06:23 PM
Rank: Newbie

Groups: Registered

Joined: 6/13/2008
Posts: 2
I am not using the UploadManager control.  The web form makes use of a standard asp FileUpload control.
ChrisHynes
#4 Posted : Thursday, June 19, 2008 11:54:37 PM
Rank: Administration


Groups:

Joined: 7/7/2005
Posts: 1,586
Location: Scottsdale, AZ

So the upload works locally, but not up on your deployed site? What trust level is the deployed site running under? Can you send your .aspx and codebehind so I can debug -- chrish at krystalware dot com.

Is there a reason you're not using the UploadManager control? We recommend using it as it has all the logic for error handling etc. and fully crossbrowser functionality.

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.