Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web Reference Service Error

I am trying to add a web reference service in an ASP.net MVC project. However when I add the service I got following error,

Custom tool error: Unable to import WebService/Schema. The object 'Settings' already contains a property 'FreeLance_Web_VATService_checkVatService' not of type WebServiceUrl. C:\FINALBUILD\User Portal\User.Web\Web References\VATService\Reference.map

like image 283
TBA Avatar asked Sep 18 '26 17:09

TBA


2 Answers

Some How the designer.settings.cs had already a service referenced with the same. Once I changed the name of the service and added again, it started working.

like image 148
TBA Avatar answered Sep 20 '26 07:09

TBA


I tried all of the above and I still experienced this issue. It turns out that a reference was stored in my app.config. I got rid of it and then re-added the web refences. That fixed the problem.

like image 25
SoftwareSavant Avatar answered Sep 20 '26 07:09

SoftwareSavant



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!