PDA

View Full Version : publish wcf to subdomain


CrimeMasterGogo
11-10-2011, 08:29 AM
Hi.
I want to publish my WCF project to a subdomain. So that my services have a url like http://api.mydomain.com/Service.svc/json/blah blah...

for this I have created a directory(api) under /root and wrote the redirection script in the Default.aspx of my main website.

Now, when I try to publish my WCF project under ftp://mydomain.com/api/,
visual studio says publish failed.

some of the errors are below:
Unable to add 'BusinessCategory.svc' to the Web site. (550).
Unable to add 'CreateWCFagent.svc' to the Web site. (550).
Unable to add 'CustomerOffer.svc' to the Web site. (550).
Unable to add 'Global.asax' to the Web site. (550).
Unable to add 'Location.svc' to the Web site. (550).

any help guys??

ppcuban
05-19-2012, 06:22 PM
Did you ever figured this out? i would like to learn how to... thanks