Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7495765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T18:18:30+00:00 2026-05-29T18:18:30+00:00

I receive this error when trying to run the client. The type ‘StringPro.IMyString’ is

  • 0

I receive this error when trying to run the client.

The type ‘StringPro.IMyString’ is defined in an assembly that is not referenced.

This error comes from, StringProClient from file Program.cs and underlines in blue the following first line of code:

StringProProxy.StringProProxy proxy = new StringProProxy.StringProProxy();

The solution has 4 projects inside:

StringPro – Class Library that contains the service’s interface(IMyString.cs) and the implementation class(MyString.cs)

StringProHost – Console Application that has Program.cs inside which defines Uri, ServiceHost, Endpoint, ServiceMetadataBehaviour, HttpGetEnabled, host.Description.Behaviours, calls host.Open() and displays in console information about when the service was started

StringProProxy – I believe it’s a Class Library project since it has only StringProProxy.cs which defines the service’s proxy

StringProClient – Console Application which instantiates the service’s proxy inside, call the service’s functions and displays results.

EDIT: The service host launches fine. It’s the client that won’t build and run because of the mentioned error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T18:18:38+00:00Added an answer on May 29, 2026 at 6:18 pm

    If a project is using a type that was declared in other assembly, this assembly must be referenced – this is basically what your error is telling you.

    In your case, I’m guessing that StringProClient is referecing StringProProxy, but it is also using types declared in StringPro project (to be exact: IMyString interface/class), without referencing it. You should make sure, that StringProClient references both, StringProProxy and StringPro.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I receive this error when trying to run a node.js server. I recently migrated
I'm using subclipse in Flex Builder 3, and recently received this error when trying
I receive this Run-Time Check Failure upon the return in the following code. I
I seem to be getting this particular always when i am trying to receive
I'm trying to run the following code but unfortunately facing Error problems package jskypeexample;
I'm trying to use rspec with mongoid but I'm running across this error: undefined
I am trying to run a java client through PHP which sends an XML
I'm trying to run this query: select * from activity where id = 9348927
I am getting error when trying to run Python socket http server. import SocketServer
I am trying to run this piece of code taken from http://coffeescriptcookbook.com embedding it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.