RE: Error opening WCF samples Application in Web Services
- From: stcheng@xxxxxxxxxxxxxxxxxxxx ("Steven Cheng")
- Date: Tue, 14 Jul 2009 02:57:58 GMT
{\rtf1\ansi\ansicpg936\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fnil\fprq2\fcharset0 MS Sans Serif;}}
\viewkind4\uc1\pard\lang2052\f0\fs20 Hi Alex,
\par
\par I have checked the sample file. It seems the sample you're using is a web host sample(the WCF service is hosted in ASP.NET web application via .svc file). However, the project containing it is a class library project. That's why the service doesn't run. I have made some modification which add a new console application as the WCF service host(it reference the class library that contains the service contract and service class). The new solution has been sent to you via email. BTW, I used visual studio 2008, so you may need to convert it back if you're still using vs 2005. Anyway, if possible, I suggest you start using visual studio 2008 since it support .net 3.5 which include new features on WCF(such as web programming model ..).
\par
\par Here are some reference about how to host WCF service:
\par
\par #How to: Host a WCF Service in IIS
\par http://msdn.microsoft.com/en-us/library/ms733766.aspx
\par
\par #How to: Host a WCF Service in a Managed Application
\par http://msdn.microsoft.com/en-us/library/ms731758.aspx
\par
\par Regards,
\par
\par Steven
\par
\par \pard\li720 --------------------
\par From: =?Utf-8?B?QWxleC4gTy4gS29yYW50ZW5n?= <AlexK@xxxxxxxxxxxxxxxx>
\par Subject: Error opening WCF samples Application in Web Services
\par Date: Mon, 13 Jul 2009 05:32:01 -0700
\par
\par
\par
\par Steve,
\par I have downloaded the latest version of the sample you recommended from the
\par link
\par http://www.microsoft.com/downloads/details.aspx?FamilyID=0043041F-95D6-4EB7-
\par 966A-C21A737E193A&displaylang=en and started with the Getstarted
\par solution. I am getting the message below:
\par
\par A project with an output class library cannot be started. Any suggestions. I
\par will email you my version. If I can get this work, I can understand the
\par basics and build on it.
\par
\par Thanks
\par \pard
\par
\par }
- References:
- Error opening WCF samples Application in Web Services
- From: Alex. O. Koranteng
- Error opening WCF samples Application in Web Services
- Prev by Date: Re: Error opening WCF samples Application in Web Services
- Next by Date: looking for code to add WS-Security in client
- Previous by thread: Re: Error opening WCF samples Application in Web Services
- Next by thread: looking for code to add WS-Security in client
- Index(es):
Relevant Pages
|