Solved

WCF Service stop working on SubDomains

Posted on 2010-09-04
2
501 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
ID: 33602899
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
ID: 33608930
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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

A quick way to get a menu to work on our website, is using the Menu control and assign it to a web.sitemap using SiteMapDataSource. Example of web.sitemap file: (CODE) Sample code to add to the page menu: (CODE) Running the application, we wi…
While working on Silverlight and WCF application, I faced one issue where fault exception occurred at WCF operation contract is not getting propagated to Silverlight client. So after searching net I came to know that it was behavior by default for s…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

809 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