Click to See Complete Forum and Search --> : Web service just creates .cs file content


sharon_cds
June 5th, 2006, 03:22 AM
I created a web service on my development PC and it is working fine.
I tried to copy it to another server and it is not working. Here is what I did:
1. Create a directory C:\Inetpub\wwwroot\V8.WebServices
2. Opened Internet Information Services and created a new virtual directory pointing to that folder
3. Copy from my development PC all files from C:\Inetpub\wwwroot\V8.WebServices to the 2nd PC.
4. Restarted IIS
5. Open Internect Explorer
6. Browse to http://localhost/v8.webservices/item.asmx
7. All i get is the content of the item.asmx.cs file:
<%@ WebService Language="c#" Codebehind="Item.asmx.cs" Class="Retalix.StoreLine.WS.STLWSItem" %>

Can anyone please advise why?

Thanks