---
title: "windows phone 8 emulator showing error when connecting to wcf service"  
description: "windows phone 8 emulator showing error when connecting to wcf service"  
author: "Anonymous User"  
published: 2015-05-01  
updated: 2015-05-01  
canonical: https://www.mindstick.com/forum/23168/windows-phone-8-emulator-showing-error-when-connecting-to-wcf-service  
category: "windows phone"  
tags: ["windows phone", "wcf data services", "windows phone 8"]  
reading_time: 1 minute  

---

# windows phone 8 emulator showing error when connecting to wcf service

An [exception](https://www.mindstick.com/articles/1824/objective-c-exception-handling) of type 'System.ServiceModel.CommunicationException' occurred in System.ServiceModel.ni.dll but was not handled in [user](https://www.mindstick.com/articles/13001/multi-statement-table-valued-user-defined-function-in-sql-server) [code](https://yourviews.mindstick.com/view/85458/alan-turing-the-mastermind-behind-cracking-the-enigma-code-during-world-war-ii) while using [windows](https://www.mindstick.com/articles/311752/how-to-install-and-use-the-google-wifi-software-on-a-windows-or-mac-computer) [phone](https://www.mindstick.com/articles/23411/the-most-effective-method-to-find-the-perfect-small-business-phone-system-for-your-business) 8 emulator

## Replies

### Reply by Anonymous User

i assume you tried to connect the Windows phone 8 emulator to the localhost wcf service? this won't work because the emulator is in a virtual machine but there are steps to fix it:


---

Original Source: https://www.mindstick.com/forum/23168/windows-phone-8-emulator-showing-error-when-connecting-to-wcf-service

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
