Issue uploading a file directly to a database

Last post 04-26-2010, 10:53 PM by cutechat. 2 replies.
Sort Posts: Previous Next
  •  04-22-2010, 6:35 PM 60333

    Issue uploading a file directly to a database

    When I try to upload a file directly to a database, after selecting the file, I get the following error:
     
    Could not load type 'UploaderDatabaseProvider.UploaderSqlServerProvider. UploaderDatabaseProvider' from assembly 'CuteWebUI.AjaxUploader, Version=3.0.0.0, Culture=neutral, PublicKeyToken=bc00d4b0e43ec38d'.
     
    My web.config file has the following:
     

                        <modules>
      <add name="CuteWebUI.UploadModule" type="CuteWebUI.UploadModule, CuteWebUI.AjaxUploader"/>
     </modules>
     
       <add key="UploaderDatabase" value="server=67.210.229.77;database=HighStreetInvestor;uid=XXX;pwd=YYYY"/>
       <add key="CuteWebUI.AjaxUploader.Provider" value="UploaderDatabaseProvider.UploaderSqlServerProvider. UploaderDatabaseProvider"/>
    What am I missing?
     
    Thanks
     
    Joe
  •  04-22-2010, 10:12 PM 60336 in reply to 60333

    Re: Issue uploading a file directly to a database

    Hi CandiaSven,

     If you want to use UploaderDatabaseProvider, you need to create it yourself. You can find the code in the thread above.

     

    Regards,

     Ken

  •  04-26-2010, 10:53 PM 60433 in reply to 60333

    Re: Issue uploading a file directly to a database

    Joe,
     
    the web.config is wrong.
     
     <add key="CuteWebUI.AjaxUploader.Provider" value="UploaderDatabaseProvider.UploaderSqlServerProvider. UploaderDatabaseProvider"/>
     
    Please use :
    <add key="CuteWebUI.AjaxUploader.Provider" value="UploaderDatabaseProvider.UploaderSqlServerProvider,UploaderDatabaseProvider"/>
    Regards,
    Terry
     
View as RSS news feed in XML