question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Azure Storage TP Upgrade error

See original GitHub issue

Description

Using the latest version of ProvidedTypes.fs, I’ve updated the Azure TP in this branch. The main solution builds fine, but the Test project that references the TP does not work:

C:\Users\Isaac\Source\Repos\AzureStorageTypeProvider\tests\IntegrationTests\TableUnitTests.fs(28,20): error FS3033: The type provider 'ProviderImplementation.AzureTypeProvider' reported an error in the context of provided type 'FSharp.Azure.StorageTypeProvider.AzureTypeProvider,accountName="DevStorageAccount"+Domain+optionalsEntity', member 'get_IsAnimal'. The error: generic parameter index our of range: 0 [C:\Users\Isaac\Source\Repos\AzureStorageTypeProvider\tests\IntegrationTests\IntegrationTests.fsproj]

However, I’m able to get it to work absolutely fine in a script - it appears that it’s just in a compiled project that the issue appears. Note that the Test project is MSBuild 14, .NET 4.5.2, F#4.0.

It also compiles fine for the Blob and Queue provided types - it’s something about the way we’re creating Table entities that’s causing the issue. My feeling is that the issue lies somewhere in the TableEntityMemberFactory.setPropertiesForEntity function (or functions called within).

Repro steps

  1. Download the Azure Type Provider repository.
  2. Switch to the cross-targeting branch.
  3. Run build.cmd. The FAKE script will fail whilst building the test project.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
dsymecommented, Oct 30, 2017

@isaacabraham Fixed by #167. Thanks for making the standalone repro - it means we now have this under test

1reaction
dsymecommented, Oct 21, 2017

Ok, will take a look

Read more comments on GitHub >

github_iconTop Results From Across the Web

Validation failed while upgrading Azure blob to datalake ...
I am upgrading Azure blob storage to DataLake gen 2. I have already created few pipelines in adf in which there was a...
Read more >
Validation failed while upgrading Azure blob to DataLake ...
Now when I tried to upgrade to DataLake Gen 2, validation failed saying that "Incompatible feature soft delete". I disabled "Enable Logging" in ......
Read more >
Error Codes for Update Storage Account
Error Code HTTP Status Description InvalidAccountType BadRequest (400) The specified Account type is invalid. MaxTagKeyLengthExceeded BadRequest (400) A key given in the tags is too...
Read more >
Upgrade Azure Blob Storage with Azure Data Lake ...
The Upgrade to a Storage account with Azure Data Lake Gen2 capabilities configuration ... If validation fails, an error appears in the page....
Read more >
Failed to update storage account. Enabling Azure Active ...
Hi, I am trying to enable Azure AD authentication on Azure files, When I try to enable the Azure AD element I get...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found