views:

33

answers:

2

I'm trying to publish my WCF service to a server on my network:

http://machineName/ProjectName

The most recent (first) version of the service is already there as I did this no more than 15 minutes ago. I then made some changes to the service's web.config and one setting in IIS and now I can't publish the service anymore, getting the error returned in the title.

web.config changes:

Changed

<service name="ProjectName.Service1"... 

to

<service name="ProjectName.ServiceName"...

IIS change: changed application name from nothing to ProjectName

What happened?

A: 

It sounds like you're trying to publish the web site to the directory the same project is being loaded from.

md5sum
+1  A: 

Solved

Turns out that I had originally tried to set it up via the project properties UI.

"Project Properties>Web>Use IIS Web server" was selected and I had the address of the server in the "Project URL:" textbox. clearing this out solved the issue.

SnOrfus