-
July 29th, 2006, 02:31 PM
#1
Problem compiling Managed C++ code using VC 7.0
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?
Thanks for your ideas.
Mike
mpliam
-
July 31st, 2006, 03:01 AM
#2
Re: Problem compiling Managed C++ code using VC 7.0
IIS should be on the same CD/DVD with Windows XP/2000/2003.
-
July 31st, 2006, 04:10 AM
#3
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).
Regards,
Ramkrishna Pawar
-
July 31st, 2006, 09:56 AM
#4
Re: Problem compiling Managed C++ code using VC 7.0
Thanks.
Excluding the deployment from the build works just fine.
Mike
mpliam
-
July 31st, 2006, 10:01 AM
#5
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 ?
Thanks again for the great help.
Mike
mpliam
-
August 12th, 2006, 05:58 PM
#6
Re: Problem compiling Managed C++ code using VC 7.0
Regards,
Ramkrishna Pawar
-
August 12th, 2006, 10:21 PM
#7
Re: Problem compiling Managed C++ code using VC 7.0
Thanks Krishnaa.
I'll check them out.
Mike
mpliam
-
August 14th, 2006, 11:56 AM
#8
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 ?
Thanks again.
Mike
mpliam
-
June 24th, 2011, 01:58 PM
#9
Re: Problem compiling Managed C++ code using VC 7.0
-
June 24th, 2011, 03:38 PM
#10
Re: Problem compiling Managed C++ code using VC 7.0
I really hope he already tried this (or whatever) with success sometime in the past 5 years...
Anyway, welcome to CodeGuru!
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.
-
June 25th, 2011, 05:20 AM
#11
Re: Problem compiling Managed C++ code using VC 7.0
Who knows... Maybe he is still waiting for an answer.
-
June 25th, 2011, 07:15 AM
#12
Re: Problem compiling Managed C++ code using VC 7.0
Yes, that's why I wrote "I hope". (Unfortunately, my hopes don't always get fulfilled...)
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.
-
June 28th, 2011, 03:28 PM
#13
Re: Problem compiling Managed C++ code using VC 7.0
Thanks. Your hope has been realized. I'll get back and let you know how it works out, as I never did solve the problem.
mpliam
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|