Web Services on your dev machine

If you've ever tried to create a web service using a SharePoint development machine (using Visual Studio), you'll recognize this error:

"Visual Web Developer does not support creating Web sites on a SharePoint Web server."

Arrgh.. so annoying. Luckily there's an easy workaround:

First, create a new web application in your webroot folder (probably c:\Inetpub\wwwroot) by creating a folder with explorer, and then application-izing it using the IIS Administration snap-in.

Then, go back to Visual Studio and re-try to create the web service (File->New Web Site) using the name from the folder you just created.

Tadaaaa...

Comments

Popular posts from this blog

ERROR: Failed to create feature receiver...

PowerShell code for looking up document properties

Connect-PnPOnline : For security reasons DTD is prohibited in this XML document. error