Breaking news from around the world
Get the Bing + MSN extension
Now Available in Community - MBAS 2019 Presentation Videos
Catch the most popular sessions on demand and learn how Dynamics 365, Power BI, Power Apps, Power Automate, and Excel are powering major transformations around the globe. | View Gallery
2019 release wave 2 Discover the latest updates and new features to Dynamics 365 planned through March 2020
Release overview guides and videos Release Plan | View virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Talent TechTalks | Upcoming TechTalks
I get the above error when I try to add a web reference via the service reference to my C# class library.
I'm busy with the rate engines again. Fedex is using a web reference and not a service reference.
I have created my D365FO unified operations project. Then I added C# class library. I need to add to this class library a web reference for the rate and ship proxies.
According to this link: https://msdn.microsoft.com/en-us/library/bb628649.aspx, to create a web reference I need to do the steps below. However when I click on the Advanced button, I get the error "Resolver must resolve module reference to a valid module'. I can't just right-click > Add > Web Reference because the latter is greyed out. Any other way to add it or to fix this error?
In Solution Explorer, right-click the name of the project that you want to add the service to, and then click Add Service Reference.
The Add Service Reference dialog box appears.
In the Add Service Reference dialog box, click the Advanced button.
The Service Reference Settings dialog box appears.
In the Service Reference Settings dialog box, click Add Web Reference.
The Add Web Reference dialog box appears.
In the URL box, enter the URL of the Web service to use. If you do not know the URL, use the links in the browse pane to locate the Web service you want.
According to your description, I suppose you are trying to create a C# class library and add a web reference there. Then you want to add a reference from an X++ project to the C# class library project and use the generated proxy classes in X++.
So if you meet the error when you are trying to add a web reference to the C# library project, you may get more support from the .NET Community.
While searching for this error I found a comment on the Internet where one guy said that he fixed it by just deleting his project and start over again. Another one did an update on existing web references which fixed his problem. I decided to start a new project, after adding the class library I left it as is, so no adding of code or renaming. I immediately went to add Service Reference and then was able to click on Add web reference without getting the error.
So I'm adding my web references first before starting to add the code needed for the engine in the library class.
Business Applications communities