We help IT Professionals succeed at work.
Get Started

Unable to consume WCF Service that is Published to IIS7 on GoDaddy

1,379 Views
Last Modified: 2014-11-12
Overview:
WCF Published to IIS Root on GoDaddy
SQL DB hosted by GoDaddy
Windows Phone 7 Emulator / Windows Phone with App Deployed to it

I have created a WCF Service that grabs data from a database and feeds a Windows Phone Application.

When I run the WCF on my local machine, then reference the WCF in the Windows Phone Local Emulator, I see the data in the application.

WP7 Showing Data from WCF Running Locally
When I reference the WCF that is hosted on GoDaddys IIS, no data renders to the phone.

I am not sure what could be causing this?
There are no errors... just no data rendered in the app.
Same result when I deploy the Application to the Windows Phone.

Here are some code snippets and some screen shots to help:

Config entry for WCF
        <add name="DailySpecialsDB" 
        connectionString="Data Source=wp7pushdb.db.7966980.hostedresource.com; Initial Catalog=wp7pushdb; User ID=userid; Password=password;" 
        providerName="System.Data.SqlClient"/>

Open in new window


WCF Running Locally connected to SQL

Comment
Watch Question
CERTIFIED EXPERT
Commented:
This problem has been solved!
Unlock 1 Answer and 22 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE