Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Experiencing type incompatible error when we add ProtoBufFormatter to HttpConfiguration Formatters #6

Open
vdhubala opened this issue Nov 25, 2015 · 1 comment

Comments

@vdhubala
Copy link

HttpConfiguration.Formatters.Insert(0, new ProtoBufFormatter());
(OR)
HttpConfiguration.Formatters.Add(new ProtoBufFormatter());

Exception: Attempted to access an element as a type incompatible with the array.
.NET Frame work: 4.5
WebApi Package: Microsoft.Owin - 3.0.1, System.Net.Http.Formatting- 5.2.3,
Visual Studio - Ultimate 2013,
Name of the Nuget package for Protobuf: WebApiContrib.Formatting.ProtoBuf

@JayShahInd
Copy link

hello, getting same error. Did anyone solve this ?

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

No branches or pull requests

2 participants