Solved

WCF Service stop working on SubDomains

Posted on 2010-09-04
2
507 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering 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

Suggested Solutions

In .NET 2.0, Microsoft introduced the Web Site.  This was the default way to create a web Project in Visual Studio 2005.  In Visual Studio 2008, the Web Application has been restored as the default web Project in Visual Studio/.NET 3.x The Web Si…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

749 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