Click here to Skip to main content
15,881,600 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi Friends ,
I have created a sample WCF service application and trying to host it in IIS7
but for that added a new application under DefulatWebsites in IIS and placed the physical path to published files of WCF Service Application
but when trying to browse the service applciation getting only one line output as :
XML
"<%@ ServiceHost Language="C#" Debug="true" Service="WCFServiceApp1.Service1" CodeBehind="Service1.svc.cs" %>
"
same application tried in another machine it is working fine .
My problem is i need to fix it in the same machine . plz suggest me something.
Posted
Updated 17-Jun-13 2:49am
v3
Comments
Can you show the screenshot of the IIS, where you have hosted?
parul77 17-Jun-13 9:13am    
http://www.iis.net/learn/install/installing-iis-7/installing-iis-on-windows-vista-and-windows-7
In the above link see Fig 12 mine is same
No, show me how exactly you have deployed the WCF application?
Which file you have mapped? etc...
Mahesh Bailwal 17-Jun-13 9:23am    
Please check .Net Framework version of application pool for DefulatWebsite.
parul77 17-Jun-13 9:32am    
checked it is v4 in both DefaultAppPool and my application web.config

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900