How to install NeatUpload?

Salvete! While searching for a quality asp.net/ajax free download control, I found NeatUpload. I can’t find a demo for it, but the download package comes with a demo. I need help installing on my server (Windows Server 2008).

I followed the directions from http://mumblestiltskin.blogspot.com/2009/10/using-neatupload-simple-setup.html (they are basically the same as the directions in the manual. Htm, which comes with the NeatUpload binary package).

I still have

  • Successfully installed Brettle.Web.NeatUpload.dll on the GAC using gacutil.
  • Added link to my web.config (with version and manual).
  • copied the demo file and its code to my web application (which is registered in iis7)

Now, when I browse the page, I get an asp.net server error on

Line 35: protected MultiFile multiFile;
Line 36: protected MultiFile multiFile2;
Line 37: protected InputFile inputFile;

and

error CS0246: The type or namespace name 'MultiFile' could not be found (are you missing a using directive or an assembly reference?)
error CS0246: The type or namespace name 'MultiFile' could not be found (are you missing a using directive or an assembly reference?)
error CS0246: The type or namespace name 'InputFile' could not be found (are you missing a using directive or an assembly reference?)
error CS0246: The type or namespace name 'InputFile' could not be found (are you missing a using directive or an assembly reference?)
error CS0246: The type or namespace name 'ProgressBar' could not be found (are you missing a using directive or an assembly reference?)
error CS0246: The type or namespace name 'ProgressBar' could not be found (are you missing a using directive or an assembly reference?)

What should I do now? Do I need to copy another dll somewhere or specific files? I can not figure it out from the documentation.

+3
source share
1 answer

I thought! I am deploying a control in a sharepoint web application. (SPVD is described below as the "Sharepoint Application Virtual Directory".) If you do not deploy the Sharepoint website, you will use the root of the virtual directory of your web application, where I used Sharepoint instead. Below are the steps that I followed to launch a demo page on my server.

-, , "-" "-". . "-". :

  • Brettle.Web.NeatUpload.dll GAC (, Windows Server 2008 gacutil - dll % windir%\assembly. , , , ). , NeatUpload . - IIS.
  • , web.config, , , ( web.config ) - UNLESS - neatupload web.config. , .
  • aspx, demo.aspx, , :

    <%@ Register TagPrefix="Upload" Namespace="Brettle.Web.NeatUpload" Assembly="Brettle.Web.NeatUpload" %>

    :

    <%@ Register TagPrefix="Upload" Namespace="Brettle.Web.NeatUpload" Assembly="Brettle.Web.NeatUpload, Version=1.3.3798.663,Culture=neutral, PublicKeyToken=c95290d92c5893c8" %>

  • NeatUpload-1.3.25\dotnet\app\bin SVPD\bin. :

    • Brettle.Web.NeatUpload.dll( , , GAC)
    • Brettle.Web.NeatUpload.GreyBoxProgressBar.dll
    • Brettle.Web.NeatUpload.HashedInputFile.dll
    • Hitone.Web.SqlServerUploader.dll
    • en-US ( dll )
    • , fr ( dll )
    • .mdb Brettle.Web.NeatUpload.xml
    • http- web.config - (. web.config).
  • : NeatUpload-1.3.25\dotnet\app\NeatUpload SPVD NeatUpload, SVPD\NeatUpload . , : Progress.aspx SmoothProgress.aspx. @, :

    <%@ Page language="c#" AutoEventWireup="false" Inherits="Brettle.Web.NeatUpload.ProgressPage,Brettle.Web.NeatUpload,Version=1.3.3519.18793,Culture=neutral,PublicKeyToken=C95290D92C5893C8" %>

    <%@ Register TagPrefix="Upload" Namespace="Brettle.Web.NeatUpload" Assembly="Brettle.Web.NeatUpload, Version=1.3.3798.663,Culture=neutral, PublicKeyToken=c95290d92c5893c8" %>

web.config, .

<?xml version="1.0"?>
<configuration>

  <configSections>
    <!--You need this part so that you can have a neatupload configuration section.  You will get .net errors if you try to add the configuration section without this part here.-->
    <section name="neatUpload"
      type="Brettle.Web.NeatUpload.ConfigSectionHandler, Brettle.Web.NeatUpload"
      allowLocation="true"
      />
  </configSections>

  <!--This is where you put your neatupload configuration preferences.-->
  <neatUpload xmlns="http://www.brettle.com/neatupload/config/2008"
      useHttpModule="true"
    />

  <system.web>
    <customErrors mode="Off"/>
    <!-- Always required to use any of NeatUpload features.  Without it, ProgressBars won't display and MultiFile will look like a regular HtmlInputFile. -->
    <httpModules>
      <add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule,Brettle.Web.NeatUpload,Version=1.3.3798.663,Culture=neutral,PublicKeyToken=c95290d92c5893c8" />
    </httpModules>

    <!-- Set these next 2 attributes large enough to accomodate the largest and longest running upload you want to support.  Note that browsers and IIS typically don't support uploads larger than 2GB (2097151 KB). -->
    <httpRuntime maxRequestLength="2097151" executionTimeout="999999"/>

    <!-- Not required for NeatUpload but makes it easier to debug in VS. -->
    <compilation debug="true"/>
  </system.web>

  <!-- For IIS7 Integrated Pipeline Mode which is used by the DefaultAppPool. -->
  <system.webServer>
    <security>
      <requestFiltering>
        <!-- Increased maxAllowedContentLength from default of 300MB. -->
        <requestLimits maxAllowedContentLength="2147483648" />
      </requestFiltering>
    </security>
    <modules>
      <add name="UploadHttpModule" type="Brettle.Web.NeatUpload.UploadHttpModule,Brettle.Web.NeatUpload,Version=1.3.3798.663,Culture=neutral,PublicKeyToken=c95290d92c5893c8" preCondition="managedHandler"/>
    </modules>
    <validation validateIntegratedModeConfiguration="false"/>
  </system.webServer>
</configuration>

, , http://neatupload.codeplex.com/releases/view/46086 - , , " " http://neatupload.codeplex.com/releases/view/59339, , . CodePlex : http://neatupload.codeplex.com/, , number guid dll GAC.

, : http://mumblestiltskin.blogspot.com/2009/10/using-neatupload-simple-setup.html?showComment=1335835416022#c1846924755786832325, html binaries . "" Open Office. , , !

?

, . NeatUpload , , ...

+5

All Articles