Unable to find reference

7 posts, 2 answers
  1. Robert
    Robert avatar
    12 posts
    Member since:
    May 2013

    Posted 15 Nov 2013 Link to this post

    I am working on the radcloudupload and followed the code in http://demos.telerik.com/aspnet-ajax/cloud-upload/examples/upload-to-amazon-s3/defaultcs.aspx. But I am getting an assembly reference error that the control couldnt find reference to awssdk.dll. Any Ideas?
  2. Answer
    Shinu
    Shinu avatar
    17764 posts
    Member since:
    Mar 2007

    Posted 15 Nov 2013 Link to this post

    Hi Robert,

    RadCloudUpload depends on third party libraries to support all the different Cloud Storage Providers. If you want to use this control to upload files to Amazon S3 cloud, then you should add a reference to the AWSSDK.dll (which is a part of AWS SDK for .NET Extensions) in your application. Similarly uploading files to Windows Azure requires a reference to the Microsoft.WindowsAzure.StorageClient.dll and Everlive requires a reference to the Telerik.Everlive.Sdk.dll.

    So if you have not added the reference to the AWSSDK.dll and attempts to upload files to Amazon S3 then uploading will fail with the following error message. "Telerik.Web.UI.RadCloudUpload with ID="ControlID" was unable to find a reference to AWSSDK.dll. Please, make sure that you have added a reference to this assembly in your project."

    You can use the Package Management Console in your Visual Studio to add the reference as shown in the following steps.
    • In Visual Studio IDE, Take Tools-> Library Package Manager -> Package Manager Console
    • In the Prompt type, "Install-Package AWS.Extensions".
    • Finally you will get a message "Successfully added 'AWS.Extensions 1.5.26.1' to <ProjectName> and you are done.

    The package management tool will add two assemblies - AWSSDK.dll and AWS.SessionProvider.dll. The first dll is mainly required for the control to work.

    Hope this helps,
    Shinu.

  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Answer
    Nencho
    Admin
    Nencho avatar
    1457 posts

    Posted 15 Nov 2013 Link to this post

    Hello Robert,

    In addition to the detailed explanation of Shinu, I would suggest you to refer to our documentation article, providing additional insights on the matter.

    Regards,
    Nencho
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  5. Robert
    Robert avatar
    12 posts
    Member since:
    May 2013

    Posted 15 Nov 2013 Link to this post

    Thank You Shinu for the splendid explanation. I followed the steps you mentioned and got it to work.
    Thank You Nencho for the extra tip.
  6. neowebgr
    neowebgr avatar
    5 posts
    Member since:
    Nov 2005

    Posted 07 Feb 2014 in reply to Shinu Link to this post

    Hello Shinu,

    I am having the same issue, but I am already using the AWSSDK.dll in my project, but currently it is a different version than the 1.5.23.2 that the error I get mentions.

    Do I have to use the 1.5.23.2 version or is there a way where I can use a more recent version?
  7. Peter Filipov
    Admin
    Peter Filipov avatar
    1028 posts

    Posted 11 Feb 2014 Link to this post

    Hi,

    @neowebgr
    With Q1.2014 we have updated the assembly reference to 2.0.5 . Our assembly (Telerik.Web.UI) is with strong name and it could reference only assemblies with strong name so it is possible to use only the specified versions.

    Regards,
    Peter Filipov
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the UI for ASP.NET AJAX, subscribe to the blog feed now.
  8. Michael Wayne
    Michael Wayne avatar
    2 posts
    Member since:
    Apr 2003

    Posted 20 Feb 2014 Link to this post

    If your project relies on the more recent AWSSDK for other features but also uses RadCloudUpload (meaning you need references to both) you can overcome by doing something similar to below in your web.config:
     
    <dependentAssembly>
            <assemblyIdentity name="AWSSDK" publicKeyToken="9f476d3089b52be3" culture="neutral" />
            <bindingRedirect oldVersion="0.0.0.0-1.5.45.0" newVersion="1.5.45.0" />
            <codeBase version="1.5.45.0" href="bin\awssdk_1.5.45.0\awssdk.dll" />
          </dependentAssembly>
            <dependentAssembly>
              <assemblyIdentity name="AWSSDK" publicKeyToken="9f476d3089b52be3" culture="neutral" />
              <bindingRedirect oldVersion="1.5.45.1-2.0.8.2" newVersion="2.0.8.2" />
              <codeBase version="2.0.8.2" href="bin\awssdk_2.0.8.2\awssdk.dll" />
    </dependentAssembly>
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017