I want to build a C++ managed code executable to run on a remote MS server. I have had no success in writing Web Service applications as yet.
error VCD0041: IIS must be installed on this machine in order for this program to function correctly.
OK. I thought at least I could build it locally without the server, then upload the executable to my server. Guess not.
Next, I went to IIS at Microsoft with the thought of downloading IIS and installing it on my local machine -- simply so that I could build a Managed C++ Web Service. But this seems extremely impractical. First, the software is huge and expensive (at least for my limited budget). Second, I don't want to run my local machine (Dell Inspiron Laptop) as a Web Server.
Any of you gurus have thoughts you'd like to share on this dilemma?
Re: Problem compiling Managed C++ code using VC 7.0
You can set to exclude the deployment from build process and do it manually wherever you want, try setting the Project Properties->Web Deployment->Excluded From Buid = Yes (It is 'No' as default value).
Re: Problem compiling Managed C++ code using VC 7.0
OK. So now I've got my Web Service DLL. How do I get it to perform on my remote server. Obviously, the first thing is to upload it to a server directory. Next, I will need a way for the user to call the Web Service DLL into action from an HTML or ASP doc. Where do I find how to do that ?
Re: Problem compiling Managed C++ code using VC 7.0
Krishnaa.
All of the references you provided deal with creating and 'consuming' a Web Service using C#. Because I don't have C# and havn't used it (I only have the Microsoft Visual C++.NET with VC 7.0), while I can write a Managed C++ Web Service, I cannot figure out how to deploy it on a remote server. Specifically, I would like a client to be able to invoke the web service from an HTTP or ASP page that also resides on the remote server.
Are there any SIMPLE examples of such an ASP or HTTP page ?
Bookmarks