bcgov / aries-vcr

Hyperledger Aries Verifiable Credential Registry (VCR) is a set of application level software components designed to accelerate the adoption of trustworthy entity to entity communications.
Apache License 2.0
78 stars 70 forks source link

The value -1 is outside the acceptable range of [0,2147483647], parameter name: value' #320

Closed ldrollin closed 5 years ago

ldrollin commented 5 years ago

Visual Studio Community 2019 Version 16.2.0

When adding a new controller "Web API 2 Controller - Empty" I receive this error after naming the controller:

'The value -1 is outside the acceptable range of [0,2147483647], parameter name: value'

First, What does that mean?

Second, how do I fix this error?

ianco commented 5 years ago

Can you provide a bit more context around what you are doing and where you are seeing this error?

ldrollin commented 5 years ago

I essentially following the Autodesk Forge Tutorial and got to this step (https://learnforge.autodesk.io/#/oauth/2legged/net) in the process when I received the error.

ianco commented 5 years ago

Sorry I'm not familiar with this tutorial or how the error would relate to Indy Catalyst. I haven't seen this error before.

ldrollin commented 5 years ago

Could you recommend me to someone that does?

I've scoured the help forums of both visual studio and github, and the only other one that mentions the same error as mine doesn't have a solution either.

I cannot create a web api controller without figuring out what this error even means.

ianco commented 5 years ago

Try asking the authors of the tutorial, I notice there is a link at the bottom of the page:

"Questions on this tutorial? Ask on Stackoverflow or email us"

ldrollin commented 5 years ago

Someone has already asked the same error question.

I've added mine to the pool of questions, but no one has solution for the other guy yet either.