created my WCF Service in my local machine, now I have to deploy this to another server.
I copied my dll and wsp files and try to add it to the other server using
• Add-SPSolution c:\deploy\.wsp Afterwhich, I deploy it using
• Install-SPSolution –Identity .wsp –WebApplication http:// -GACDeployment
But there is an error:
Install-SPSolution : This solution contains no resources scoped for a Web application and cannot be deployed to a particular Web application.
I removed the -WebApplication parameter and it worked but I can access it using any web application. What I want to do is to only access it on a specific web app.
Any idea? thanks