Hi,

Hope your projects are coming off as planned so far. Well I have some issues with hosting a WCF service in IIS. The service was developed in VS2005(C#), and worked well when i hosted it in a console application(both on Win Vista and WinXP platforms). However when i tried hosting it in IIS, I had issues. First of all there was no Template for Service.svc files so i had to do with a notepad file(*.txt) save with a *.svc extension, after typing this in:
<%@ServiceHost Service=”DerivativesCalculator.DerivativesCalculatorServiceType” %>

Then I created a virtual directory and did the other stuff on IIS manager but came up with this error in my Mozilla browser.
XML Parsing Error: not well-formed
Location: http://localhost/DerivativesCalculat...ce/Service.svc
Line Number 1, Column 2:<%@ServiceHost Service=
-^
And the following error from IE8
The XML page cannot be displayed
Cannot view XML input using XSL style sheet. Please correct the error and then click the Refresh button, or try again later.


--------------------------------------------------------------------------------

A name was started with an invalid character. Error processing resource 'http://localhost/DerivativesCalculatorService/Serv...

<%@ServiceHost Service=
-^
And finally i got this from Google Chrome browser:
This page contains the following errors:

error on line 1 at column 2: StartTag: invalid element name
Below is a rendering of the page up to the first error.
I need some help on this guys. I know the answer is out there somewhere. Thanks.

Charles.