Solved

WCF Service stop working on SubDomains

Posted on 2010-09-04
2
494 Views
Last Modified: 2012-08-13
Question: I have created WCF service which is successfully running in domain like www.test.com. However, I have shifted to subdomain i.e. "test.test.com" and the service has stopped working. Whenever I try to run the service it gives error "Resource not found."

Please remember that my application is hosted on shared hosting (goDaddy.com).

Thanks.
0
Comment
Question by:aplusexpert
2 Comments
 
LVL 19

Expert Comment

by:Amandeep Singh Bhullar
Comment Utility
Have you check with the simple static page on the server

Check as
1. Put a simple html page in directory say(a.html)
2. Open this in the Browser as http://test.test.com/a.html

If you get the same error, then you are placing the file in the wrong folder.
0
 
LVL 7

Accepted Solution

by:
aplusexpert earned 0 total points
Comment Utility
We have solved the problem at own.

We have one domain and a more than one sub-domains. Sub-domain's directories resides in root directory of main domain.

i.e

Domain www.testsite.com
Root directory :testsite.com
Sub-Domain test.testsite.com
Sub directory :testsite.com/test

We have used www.testsite.com/test for get the WCF Service insted of test.testsite.com

Thanks for reply.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

In this Article, I will provide a few tips in problem and solution manner. Opening an ASPX page in Visual studio 2003 is very slow. To make it fast, please do follow below steps:   Open the Solution/Project. Right click the ASPX file to b…
IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

728 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now