Skip to content

GetLatestBlob - KeyNotFoundException #6

Description

@LittleAndi

I've installed v2.8.1.9 via Nuget and I've added the StorageConnectionString pointing to my Azure Storage but I get this error while browsing /nuget/Packages:

<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<error xmlns="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata">
  <code></code>
  <message xml:lang="en-US">An error occurred while processing this request.</message>
  <innererror>
    <message>The given key was not present in the dictionary.</message>
    <type>System.Collections.Generic.KeyNotFoundException</type>
    <stacktrace>   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)&#xD;
   at Nuget.Server.AzureStorage.AzureServerPackageRepository.GetLatestBlob(CloudBlobContainer container)&#xD;
   at Nuget.Server.AzureStorage.AzureServerPackageRepository.&lt;GetPackages&gt;b__2(CloudBlobContainer x)&#xD;
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()&#xD;
   at System.Linq.Enumerable.WhereSelectEnumerableIterator`2.MoveNext()&#xD;
   at System.Linq.Buffer`1..ctor(IEnumerable`1 source)&#xD;
   at System.Linq.OrderedEnumerable`1.&lt;GetEnumerator&gt;d__0.MoveNext()&#xD;
   at System.Linq.Enumerable.&lt;TakeIterator&gt;d__3a`1.MoveNext()&#xD;
   at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService)&#xD;
   at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)&#xD;
   at System.Data.Services.DataService`1.HandleRequest()</stacktrace>
  </innererror>
</error>

Do I need to create a Container with a specific name within my Storage or is there someting else that I need to configure?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions