---
title: "Visual Studio 2012 Windows Phone 8 WCF - System.ServiceModel.CommunicationException"  
description: "Visual Studio 2012 Windows Phone 8 WCF - System.ServiceModel.CommunicationException"  
author: "Anonymous User"  
published: 2015-05-01  
updated: 2015-05-01  
canonical: https://www.mindstick.com/forum/23170/visual-studio-2012-windows-phone-8-wcf-system-servicemodel-communicationexception  
category: "windows phone"  
tags: ["windows phone", "windows phone 8", "windows phone 7"]  
reading_time: 2 minutes  

---

# Visual Studio 2012 Windows Phone 8 WCF - System.ServiceModel.CommunicationException

In [Visual Studio](https://www.mindstick.com/articles/12378/visual-studio-for-mac-is-out-of-beta-preview-now-officially-available) 2012, I attemped to debug my WP 7.5 [project](https://www.mindstick.com/articles/105927/how-to-excel-at-managing-multiple-projects) which uses a WCF [Service](https://www.mindstick.com/articles/105963/online-thesis-writing-service-for-college-kids-with-disabilities) hosted on the same dev machine. I keep getting the following error:

System.ServiceModel.CommunicationException

[Message](https://www.mindstick.com/forum/12802/show-confirmation-message-yes-or-no-in-asp-dot-net): The [remote](https://www.mindstick.com/articles/85431/remote-employee-training-tips-tricks) [server](https://www.mindstick.com/articles/43769/what-is-serverless-architecture-is-it-worth-switching-over) returned an error: NotFound.

The strange thing is that there is no [problem](https://yourviews.mindstick.com/view/81399/tackling-the-problem-of-unemployment-during-corona-pandemic) invoking the service in a [Console](https://www.mindstick.com/blog/210/the-console-class), but in WP Emulator no luck. All [works fine](https://answers.mindstick.com/qa/115732/my-software-works-fine-on-windows-10-but-crashes-on-windows-11-why) with Visual 2012.

## Replies

### Reply by Anonymous User

That symptom indicates the service cannot be found. Note that you cannot use localhost in your address, as you might have been doing in WP7, because the emulator is a completely different computer instance with its own internal localhost.

Before you can connect successfully from the emulator to the local web service, you have to make two changes:

You have to reconfigure the local web service and web server to accept

connections from other devices on the network.

You have to reconfigure the service reference in the Windows Phone app to

connect to the service by using the IP address of the development computer on

which the service is running.

\
There are plans afoot to update the MSDN documentation to explain this in further detail.


---

Original Source: https://www.mindstick.com/forum/23170/visual-studio-2012-windows-phone-8-wcf-system-servicemodel-communicationexception

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
