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

"Add Files" button under UplevelSelectorTemplate is not working with Firefox/2.0.0.20 Options
mrajendra
#1 Posted : Monday, November 16, 2009 5:46:22 PM
Rank: Newbie

Groups: Registered

Joined: 11/16/2009
Posts: 4

Hi,

I have an input button "Add Files" under UplevelSelectorTemplate for adding files.

<kw:SlickUpload ...>
    ...
    <UplevelSelectorTemplate>
        <input type="button" value="Add Files" />
    </UplevelSelectorTemplate>
    ...

It's working fine with Firefor 3.5.X but having some issue with Firefox/2.0.0.20, it behaves like disabled/inactive control, nothing happens onclick. For verification I double checked this behavior againts your demo at http://krystalware.com/Products/SlickUpload/Demos/Overview/DefaultCS.aspx and is reproducible there. So I believe I am not doing anything out of normal. Is this an open issue?? Can you suggest any workaround/quickfix for the same.

Thanks in advance,

--mrajendra

Axosoft
#2 Posted : Tuesday, November 17, 2009 2:42:04 PM
Rank: Administration


Groups: Administrators

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

Thanks for bringing this issue to our attention. The attached SlickUpload 5.4 build should solve this issue. Let me know if it works for you.

File Attachment(s):
SlickUpload-5.4.zip (56kb) downloaded 4 time(s).
mrajendra
#3 Posted : Tuesday, November 17, 2009 5:05:37 PM
Rank: Newbie

Groups: Registered

Joined: 11/16/2009
Posts: 4

Hi,

Thanks for the quick response, but after deploying the new 5.4.* version I am getting an application error, see stack trace below

Could not instantiate manager, or manager was not specified.

 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ApplicationException: Could not instantiate manager, or manager was not specified.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:

[ApplicationException: Could not instantiate manager, or manager was not specified.] Krystalware.SlickUpload.HttpUploadModule.get_x2e44222178b55b87() +278 Krystalware.SlickUpload.Controls.UploadConnector.OnPreRender(EventArgs e) +1195 System.Web.UI.Control.PreRenderRecursiveInternal() +80 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

 

So I am not able to verify the fix.

Please suggest.

Thanks in advance!

--mrajendra

Axosoft
#4 Posted : Tuesday, November 17, 2009 5:08:50 PM
Rank: Administration


Groups: Administrators

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

Can you email me your web.config? chrish at krystalware dot com.

mrajendra
#5 Posted : Tuesday, November 17, 2009 5:21:37 PM
Rank: Newbie

Groups: Registered

Joined: 11/16/2009
Posts: 4

For security reasons, I may not be able to send you the actual config file but most major part of it looks like as follows.

<?xml version="1.0"?>
<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 provider="Custom" type="SVault.Server.DocDownload.Implementation.UploadStreamProvider, SVault.Server.DocDownload.Implementation" 
    fileNameMethod="Custom" fileNameGenerator="SVault.Server.DocDownload.Implementation.FileNameGenerator, SVault.Server.DocDownload.Implementation" />
    <statusManager manager="Custom"   updateInterval="1" type="SVault.Server.DocDownload.Implementation.UploadStatusManager, SVault.Server.DocDownload.Implementation"/>
  </slickUpload>

  <system.web>
    <compilation debug="true">
      <assemblies>
        <add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
        <add assembly="System.Security, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/>
      </assemblies>
    </compilation>

    <trace enabled="false" pageOutput="true" localOnly="false" traceMode="SortByTime" mostRecent="true" requestLimit="25"/>

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

    <httpHandlers>
      <add path="SlickUpload.axd" verb="GET,POST" type="Krystalware.SlickUpload.SlickUploadHandler, Krystalware.SlickUpload"/>
    </httpHandlers>
    <httpRuntime maxRequestLength="2024000" executionTimeout="6000"/>

    <sessionState mode="Off"/>
  </system.web>

  <system.webServer>
    <security>
      <requestFiltering>
        <requestLimits maxAllowedContentLength="2072576000"/>
      </requestFiltering>
    </security>
  </system.webServer>
</configuration> 

Axosoft
#6 Posted : Tuesday, November 17, 2009 5:58:14 PM
Rank: Administration


Groups: Administrators

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

The issue is that SlickUpload is having a problem instantiating the status manager you are specifying. Try removing that statement and then testing again.

The status manager reference should be in this format: http://krystalware.com/Products/SlickUpload/Documentation/concepts/assembly-reference.aspx.

What are you using the status manager for?

mrajendra
#7 Posted : Wednesday, November 18, 2009 11:22:29 AM
Rank: Newbie

Groups: Registered

Joined: 11/16/2009
Posts: 4

Hi,

Initial error goes away with that, but it won't work for us if we remove that statement because we have our custom backend uploader. And it is/was working just fine with earlier versions except one mentioned firefox 2.0 issue.

Are there any breaking chages to this version, how can we make it working with the custom manager. I am not sure how to fit it with the syntax you suggested earlier. Can you give me an example usage with reference to the we.config I submitted.

Thanks in advance,

--mrajendra

Axosoft
#8 Posted : Wednesday, November 18, 2009 6:35:23 PM
Rank: Administration


Groups: Administrators

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

If the namespace is "SVault.Server.DocDownload.Implementation", the class is named "UploadStatusManager", and the class lives in the assembly "SVault.Server.DocDownload.Implementation", that reference should be correct.

Are you certain it's located there and public? Is there any way you can send me the code file for the upload status manager? If not, can you try going back to the old version of SlickUpload you have to ensure that the status manager reference still works? There were no changes to that section of the code any time recently.

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.