Krystalware
SlickUpload | Documentation | Demos | Purchase | Free Stuff | Forums | Blog | Testimonials | Company | Contact

Krystalware Support Forums

Welcome Guest Search | Active Topics | Log In | Register

Can't get trial version to upload files Options
christyr72
#1 Posted : Friday, June 26, 2009 12:51:04 PM
Rank: Newbie

Groups: Registered

Joined: 6/26/2009
Posts: 9

My company is evaluating your software with intention to buy if successful.  I have downloaded the latest trial version of your software (5.2.8) and cannot get either the Overview or the Simple examples to upload a file.  I have tried IE and Firefox and neither of them will work. 

For reference, in IE, as soon as I click "Upload File", a javascript error appears stating that on line 273, char 1, Expected '}'.  The URL = http://localhost/SlickUpload/Overview.  I am currently using IE 7 w/IIS 5.1 and ASP.net (C#) 1.1.  I am also using Windows XP SP2 if that helps at all.

In both instances, the progress bar for calculating appears, but never moves off of 0%.

Has anyone else had this issue?

ChrisHynes
#2 Posted : Friday, June 26, 2009 1:34:28 PM
Rank: Administration


Groups: Administrators

Joined: 7/7/2005
Posts: 1,277
Location: Arlington, VA

We just ran a couple of tests locally on a .NET 1.1 environment to make sure and can't reproduce the issue thus far. Some questions:

 - Is this using the stock sample with no changes?
 - Are you using the C# or VB.NET version of the sample?
 - You built the sample solution and created an IIS virtual directory and application that points to either the SampleCS (for C#) or SamplesVB (for VB.NET) folder?

Can you give more context on the javascript error you're seeing? Usually Firefox at least will give you the affected line and a couple lines before and after.

christyr72
#3 Posted : Friday, June 26, 2009 1:54:38 PM
Rank: Newbie

Groups: Registered

Joined: 6/26/2009
Posts: 9

Yes, I downloaded the sample from http://krystalware.com/Products/SlickUpload/ and clicked on "Download Installer".  Did I also need to "Download Binaries"?

- I haven't made any changes to the stock sample.

- We are using the C# version of the sample.

- I have created a virtual directory under my Default Web Site in IIS 5.1 entitled "SlickUpload" that points to C:\Program Files\SlickUpload\Samples-1.1\SamplesCS.

- In the Overview, I am not editing any settings and selecting a small doc file.  Upon clicking the "Upload File" button in IE (version 7.0.5730.11), the calculating progress bar appears with 0% and never updates.  At the bottom of the page, I see a javascript error stating:

Line: 273

Char: 1

Error: Expected '}'

Code:0

URL:http://localhost/SlickUpload/Overview/

ChrisHynes
#4 Posted : Friday, June 26, 2009 2:47:59 PM
Rank: Administration


Groups: Administrators

Joined: 7/7/2005
Posts: 1,277
Location: Arlington, VA

I believe we have tracked down the issue. If you install into the default directory, the IIS worker process ASP.NET runs under won't have access to the folder. The error message coming down has the entire folder name in it which is causing the javascript error. We'll be releasing a new version to escape the error message better so what is happening will be clear.

In the meantime you can solve the issue by giving ASP.NET full access to the samples folder. For IIS 5.1, you should give the ASPNET user full control to the samples folder.

Let me know if this solves the issue for you.

christyr72
#5 Posted : Friday, June 26, 2009 3:32:30 PM
Rank: Newbie

Groups: Registered

Joined: 6/26/2009
Posts: 9

Thanks for the tip - I did get it to work in IE, but Firefox is now giving a different error.

Error: document.getElementById("kw_uploadId") is null
Source File: http://localhost/SlickUpload/Overview/Default.aspx
Line: 190

 

ChrisHynes
#6 Posted : Friday, June 26, 2009 3:52:39 PM
Rank: Administration


Groups: Administrators

Joined: 7/7/2005
Posts: 1,277
Location: Arlington, VA

That appears to be caused by a bug in ASP.NET 1.1 that doesn't add the ID field for elements in certain circumstances. The attached build has a workaround that should solve the issue. Replace the Krystalware.SlickUpload.dll file in the Bin-1.1 folder with the one in the attached archive and rebuild the samples to pull it into the sample project.

christyr72
#7 Posted : Friday, June 26, 2009 3:57:34 PM
Rank: Newbie

Groups: Registered

Joined: 6/26/2009
Posts: 9

I really appreciate all of the quick responses!  I have updated the dll and Firefox now works as well.  Now I can start evaluating the software.

Thanks again - good support always means alot!

christyr72
#8 Posted : Friday, June 26, 2009 5:56:11 PM
Rank: Newbie

Groups: Registered

Joined: 6/26/2009
Posts: 9

Sorry Chris, but I have another question:  I am now trying to integrate SlickUpload into my application.  In both Firefox and IE, when I attempt to upload, I get "Upload Result:  Terminated.  Reason:  ConnectionTimeout" with no error messages.  It appears it is timing out trying to get the progress bar to update since it stays at 0%.  I have a feeling that I have something configured wrong, but I am not sure what at this point.  I am using .Net 1.1 and here is what my web.config looks like:

At top:

 

 

<

slickUpload>

<uploadParser handleRequests="false" />

</slickUpload>

 

In the same web.config, but at the bottom:

<

 

 

location path="SlideLibrary/Slides.aspx">

<slickUpload>

<uploadParser handleRequests="true" />

<uploadStreamProvider provider="File" location="~/SlideLibrary/Files/" existingAction="Overwrite" />

</slickUpload>

<system.web>

<httpRuntime executionTimeout="54000" maxRequestLength="50000" />

<httpHandlers>

<add path="SlickUpload.axd" verb="GET,POST" type="Krystalware.SlickUpload.SlickUploadHandler, Krystalware.SlickUpload" />

</httpHandlers>

<httpModules>

<add name="HttpUploadModule" type="Krystalware.SlickUpload.HttpUploadModule, Krystalware.SlickUpload" />

</httpModules>

<identity impersonate="true"

 

 

 

 

userName="registry:HKLM\SOFTWARE\identity\ASPNET_SETREG,userName"

 

 

 

 

password="registry:HKLM\SOFTWARE\identity\ASPNET_SETREG,password"/>

</system.web>

</location>

Is any of this wrong?

ChrisHynes
#9 Posted : Friday, June 26, 2009 7:44:10 PM
Rank: Administration


Groups: Administrators

Joined: 7/7/2005
Posts: 1,277
Location: Arlington, VA

Try the following:

 - Switch the location path to "SlickUpload.axd"
 - Move the httpHandlers, httpModules, and identity sections outside of the location tag

For an example of a done and working similar config, look at the web.config in the Quickstart-1.1 example.

christyr72
#10 Posted : Wednesday, July 01, 2009 12:05:24 PM
Rank: Newbie

Groups: Registered

Joined: 6/26/2009
Posts: 9

Thanks for all of your quick replies!  I am back on the project and have it running for files up to about 21MB.  When I am attempting to upload a zip file of 35MB, I am getting another timeout error.  It appears that the progress bar is not getting communication established about 10 seconds and is timing out.

Would there be another setting in my web.config that would cause this problem?  I switched things around to get it working for our app.  I tried to only include the relevant pieces.  The uploading actually happens in the SlideLibrary location.

 

<configuration>

<

 

 

configSections>

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

<sectionGroup name="slickUpload">

 

<section name="uploadParser" type="Krystalware.SlickUpload.Configuration.NameValueConfigurationSectionHandler, Krystalware.SlickUpload" />

 

<section name="uploadStreamProvider" type="Krystalware.SlickUpload.Configuration.NameValueConfigurationSectionHandler, Krystalware.SlickUpload" />

 

<section name="statusManager" type="Krystalware.SlickUpload.Configuration.StatusManagerConfigurationSectionHandler, Krystalware.SlickUpload" />

 

</sectionGroup>

</

 

 

configSections>

<

 

 

slickUpload>

 

<uploadStreamProvider type="File" location="~/Files" existingAction="Overwrite"/>

</

 

 

slickUpload>

 

<system.web>

 

<httpHandlers>

 

<add path="SlickUpload.axd" verb="GET,POST" type="Krystalware.SlickUpload.SlickUploadHandler, Krystalware.SlickUpload" />

 

</httpHandlers>

 

<httpModules>

 

 

 

<add name="HttpUploadModule" type="Krystalware.SlickUpload.HttpUploadModule, Krystalware.SlickUpload" />

 

</httpModules>

 

<compilation defaultLanguage="c#" debug="true"/>

 

 

<customErrors mode="Off" />

 

 

 

 

 

 

 

 

 

 

<!-- Impersonatef-->

 

 

 

 

<location path="SlickUpload.axd">

 

<slickUpload>

 

<uploadParser handleRequests="true" />

 

<uploadStreamProvider provider="File" location="~/SlideLibrary/Files/" existingAction="Overwrite" />

 

</slickUpload>

 

<system.web>

 

<httpRuntime executionTimeout="54000" maxRequestLength="1024000" />

 

<identity impersonate="true" userName="registry:HKLM\SOFTWARE\identity\ASPNET_SETREG,userName"password="registry:HKLM\SOFTWARE\identity\ASPNET_SETREG,password"/>

 

</system.web>

 

</location>

 

 

<location path="SlideLibrary/Slides.aspx">

 

<system.web>

 

<httpRuntime executionTimeout="54000" maxRequestLength="1024000" />

 

<identity impersonate="true"userName="registry:HKLM\SOFTWARE\identity\ASPNET_SETREG,userName"password="registry:HKLM\SOFTWARE\identity\ASPNET_SETREG,password"/>

 

</system.web>

 

</location

 

</

 

 

configuration>

christyr72
#11 Posted : Wednesday, July 01, 2009 1:18:18 PM
Rank: Newbie

Groups: Registered

Joined: 6/26/2009
Posts: 9

Just an update...I attempted to upload my example file in the Overview application sample and it also timed out and the progress bar never goes past 0%.  The file itself is a zip file that is 35,829KB that fails.  Both the sample and my app works on a zip file that is 21,291 KB.  Now I am thinking there is some sort of setting outside the web.config that may need altered.  Any suggestions?

christyr72
#12 Posted : Wednesday, July 01, 2009 1:29:27 PM
Rank: Newbie

Groups: Registered

Joined: 6/26/2009
Posts: 9

Ok, I figured out it was a setting in URLScan.ini that was prohibiting the upload.

ChrisHynes
#13 Posted : Wednesday, July 01, 2009 1:31:04 PM
Rank: Administration


Groups: Administrators

Joined: 7/7/2005
Posts: 1,277
Location: Arlington, VA

This is usually an issue with IIS7 -- it has another upload limit which is covered in the IIS7 configuration topic. But since you're using IIS 5.1, that's not the problem.

Are you using any ISAPI modules that might be filtering files? Maybe something like UrlScan? Also, can you test with a simple upload form without SlickUpload to see if it happens there?

Edit: Looks like it was UrlScan. Let me know if you have any other questions.

christyr72
#14 Posted : Wednesday, July 01, 2009 1:36:25 PM
Rank: Newbie

Groups: Registered

Joined: 6/26/2009
Posts: 9

Sorry Chris, you must not have seen my previous post yet.  I did find a 30MB limit in the urlscan.ini file, so I changed that and I am now testing with a 56MB zip file that appears to be working so far. 

Your quick responses are greatly appreciated!

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.