Skip to content

Tarik Billa

  • Web Development
    • html
    • vue.js
    • laravel
    • css
    • javascript
    • jquery
    • node.js
    • php
    • asp.net
  • Programming
    • python
    • java
    • c
    • c++
    • c#
  • git
  • android

service-reference

can’t access the added service reference

December 19, 2023 by Tarik

I found the solution HERE which as Hoakie mentioned below instructions worked for me and my reference.cs is generated properly now: 1) Right click on Service Reference 2) Select Configure Service Reference 3) Uncheck “Reuse types in referenced assemblies” and Voila!

Categories c# Tags asp.net-mvc-4, c++, service-reference, web-services Leave a comment

What does this WCF error mean: “Custom tool warning: Cannot import wsdl:portType”

January 24, 2023 by Tarik

I found my answer here: http://www.lukepuplett.com/2010/07/note-to-self-don-let-wcf-svcutil-reuse.html Long story short: I unchecked Reuse types in reference assemblies from the Advanced menu. I don’t know if this matters but i’m not using MVC, but Web Forms.

Categories wpf Tags service-reference, wcf, wpf Leave a comment

What are the WCF Service Reference .datasource files?

January 19, 2023 by Tarik

As far as I remember, they are just generated so that you can use the data contracts used in the service as object data sources for data binding against UI controls.

Categories wcf Tags datasource, file, service-reference, wcf Leave a comment

Service Reference Error: Failed to generate code for the service reference

December 2, 2022 by Tarik

Have to uncheck the Reuse types in all referenced assemblies from Configure service reference option Check this for details

Categories c# Tags .net, c++, service-reference, visual-studio-2010, web-services Leave a comment

How to generate service reference with only physical wsdl file

November 30, 2022 by Tarik

This may be the easiest method Right click on the project and select “Add Service Reference…” In the Address: box, enter the physical path (C:\test\project….) of the downloaded/Modified wsdl. Hit Go

Categories .net Tags .net, service-reference, web-services Leave a comment

Tarik Billa

Software Engineer
tarikbilla@gmail.com
+8801884414000
  • Reuse a hash in YAMLApril 17, 2024
  • Dockerfile: how to redirect the output of a RUN command to a variable?April 16, 2024
  • How to cd to a directory with spaces in the directory name?April 16, 2024
  • Maximum MIME type length when storing the type in a databaseApril 16, 2024
  • What is the difference between Unit, Integration, Regression and Acceptance Testing?April 16, 2024
© 2026 Tarik Billa