I am using ASP API 2 with OData v3 and Visual Studio 2017 Community .. I am trying to consume this API by OData Connected Service, and I followed this instructions then it throws error:
Adding OData Connected Service to the project failed: Value cannot be null. Parameter name: path1 Error
so how to handle that issue ?
To clarify CRice's response:
Install the WCF Data Services 5.0 for OData V3 https://www.microsoft.com/en-us/search/result.aspx?q=WCF+Data+Services
1-Add the Odata Connected Service extension
2-Verify registry contents:
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft WCF Data Services]
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft WCF Data Services\5.0]
"Version"="5.0.51212.0"
"InstallLocation"="C:\\Program Files (x86)\\Microsoft WCF Data Services\\5.0\\"
[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\Microsoft WCF Data Services\VS 2014 Tooling]
"Version"="5.0.51212.0"
"InstallLocation"="C:\\Program Files (x86)\\Microsoft WCF Data Services\\5.0\\"
3-Use the Add Connected Service Reference context menu from VS 2017
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With