-
Notifications
You must be signed in to change notification settings - Fork 59
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
Adding OData Connected Service to the project failed: Value cannot be null. Parameter name: path1 #82
Comments
@tcukanoot this is what worked for me: First install Microsoft WCF Toolkit from the link below: and then go to the registry, find the following key: |
Thanks for the response. I've tried that as well, but still no luck. I'm wondering if it's due to a lack of credentials supplied. |
It looks like the solution from @dalehhirt works with OData services that do not require authentication. |
The extension currently doesn't support authentication. The feature is highly requested and is in a pending state. |
Since the original issue has been resolved, closing this thread. |
@AlanWong-MS May I request that the instructions from @dalehhirt be added to an FAQ so that other developers using VS 2017 may find this solution? It seems like the easiest one out of the set I've seen elsewhere in the issues, and I'm concerned that it may end up getting buried beneath the other more complex solutions proposed in the other threads. |
Just open the link in Internet explorer, will prompt for username and password. Then save the credentials. Try again in visual studio. It works!!! |
@onyangofred I openned it, saved it, tried it in VS but it didn't work. An "Object reference not set to an instance of an object" error appeared. |
I tried to install a component manually (Microsoft.OData.ConnectedService.vsix) but I have the same problem! An "Object reference not set to an instance of an object" error appeared. |
two thumbs up!!! and then go to the registry, find the following key: Export the reg and edit file and merge it back and vs2017 is fixed!!!! |
Just call the URL in explorer like this: https://........:xx/TSOL/OData/$metadata
This work for me. |
@AlanWong-MS I just ran into this issue when using a local EDMX file when trying to work around the lack of support for authentication (sigh). Could you please clarify how this issue was resolved? Because the workaround provided by @dalehhirt is arcane and inconvenient. |
I followed all this indications and nothing works. Is there any tool to add a odata reference to a c# application on VS2017 or VS2019 ? How comes that this issue is closed but nothing works ? |
I think it's closed because most people have shifted from WCF to either the OData v1-3 or the Newer OData V4 Client Generator for Odata HTH |
Hello. You just can use Unchase OData ConnectedService to solve your issue. |
This resolved my issue. Thanks |
I am getting below error when I use Unchase --------------------------- Microsoft Visual StudioConnected Services Cannot access http://localhost:7048/BusinessCentral/ODataV4/$metadata
|
When attempting to add a new Rest API client proxy, this error pops up. What is the resolution or action item? This error is pretty vague and non-helpful.
The text was updated successfully, but these errors were encountered: