Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Unable to load DLL 'fusion.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) #596

Closed
Nefcanto opened this issue Dec 23, 2017 · 6 comments

Comments

@Nefcanto
Copy link

Environment:
VS 2017 Community edition 15.5.2
dotnet --version => 2.1.2
Windows 10 Enterprise

Steps to reproduce this bug:

  1. Create a simple console application using default template
  2. Add these Nuget packages:
  <ItemGroup>
    <PackageReference Include="WindowsAzure.Storage" Version="8.7.0" />
    <PackageReference Include="Microsoft.WindowsAzure.ConfigurationManager" Version="3.2.3" />
  </ItemGroup>
  1. Write these lines of codes to get a container:
var accessKey = "your access key";
CloudStorageAccount storageAccount = CloudStorageAccount.Parse(CloudConfigurationManager.GetSetting(accessKey));
CloudBlobClient blobClient = storageAccount.CreateCloudBlobClient();
CloudBlobContainer container = blobClient.GetContainerReference("images");
  1. Run the application
@sameedaris
Copy link

sameedaris commented Jan 3, 2018

I was facing same issue . CloudConfigurationManager.GetSetting(accessKey) method looks into configuration files and it takes AppSetting key name only as parameter. but ironically i was passing whole connection string in place of Key so it was giving error . i think they need to correct exception message

@user3301
Copy link

user3301 commented Jan 5, 2018

I had this issue before, when I try to load the configuration information using CloudConfigurationManager.GetSettings(key) this exception showed up, one workaround is put your exact value of you settings in Parse(settings) method.

@JoyceLiang
Copy link

I see the same issue when I try to use Microsoft.WindowsAzure.ConfigurationManager in ASP.NET Core Web Application. ASP.NET Web Application(.NET Framework) do not have this problem.

@erezvani1529
Copy link
Contributor

Thanks for reporting this issue. However, this issue should be opened on Azure Sdk repo as it is related to Microsoft.WindowsAzure.ConfigurationManager package.

Thanks!

@JoyceLiang
Copy link

This issue was moved to Azure/azure-sdk-for-net#4010

@JoyceLiang
Copy link

Thank you @erezvani1529 . I've moved this issue to Azure/azure-sdk-for-net#4010

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants