Can't access trade/config.svc, but can access trade and configweb
-
2012年4月10日 6:22
Hi,
I am running StockTrader 5 on premises. I can connect to the localhost\trade site. I can connect to the localhost\ConfigWeb site. I can connect to the .Net IIS Host StockTrader Business Services. When I go directly to the .Net IIS Host StockTrader Business Services .svc site, I can see the service test page. But I can't see the localhost\trade\config.svc page.
It is there, in the folder, but for some reason it won't come up. It says Internet Explorer cannot display the web page.
Yet the default site, localhost\trade, actually works.
Any ideas?
Regards,
Tony
全部回复
-
2012年4月13日 19:12版主
It may be an issue with the script maps in IIS. Sometimes on install of .NET Framework 4; WCF does not get registered across all virtual directories. You want to make sure of a couple of things:
1. Default framework for IIS is set to 4.0
2. App pools (there are separate ones for web app, business services) are set to .NET 4.0
goto C:\Windows\Microsoft.NET\Framework64\v4.0.30319
there you will find servicemodelreg.exe. Run this from command line prompt from this directory "Servicemodelreg -ia" or "ServiceModelreg -r"
-Greg
Greg Leake, Microsoft
-
2012年4月30日 6:32Ya I was being a bit tricky and trying to install it in Windows 8. I did try to manually add the scripts in Win 8, but I guess those script maps aren't fully baked yet. Never mind. Anyhow, I've got it all working in Win7 now, and all is fine.
-
2012年5月1日 15:33版主I do have it running fine on Windows 8. Make sure you have installed .NET 4.0, IIS, selected ASP.NET and other WCF settings listed in readme. but it does work on Windows 8 (I run on my main laptop).
Greg Leake, Microsoft

