an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 4/1/2012 9:19:50 AM By TAhmad. 4 replies.
3/28/2012 11:32:22 PM
TAhmad
Posts: 46
Joined: 1/12/2010
Site Metrics

I have tried to register WCF from framework v4.0.30319 using command 'ServiceModelReg.exe –ia' but I face warning the HTTP namespace reservation already exists.
Then I tried to register WCF from framework v3.0 it show me:
Installing: Machine.config Section Group and Handlers
Installing: System.web Build provider
Installing: System.web Compilation Assemblies
Installing: HTTP Handlers
Installing: HTTP Modules
Installing: Web host script mappings

I browsing our service 'https://www.oursite.com/Admin/Service/SiteMetrics.svc' showing me:

You have created a service.

To test this service, you will need to create a client and use it to call the service. You can do this using the svcutil.exe tool from the command line with the following syntax:
svcutil.exe https://accuvps109.hushohush.com/Admin/Service/SiteMetrics.svc?wsdl

3/29/2012 10:17:20 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Site Metrics
Are you using .NetFx 4.0 for your website? If so, you will need to use 4.0 version of WCF. What error message are you getting?
DotShoppingCart Staff
3/29/2012 2:57:50 PM
TAhmad
Posts: 46
Joined: 1/12/2010
Re: Site Metrics
how to know website using .NetFx 4 or not? we have .Net 4 client profile installed in our host server.
 
when using WCF 4  by command 'ServiceModelReg.exe –i' show me error as below:
[Error]Switch '-c' requires a component to be specified for installation or uninstallation. please specify which componenets to install or uninsstall.
 
 
3/29/2012 3:53:39 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Site Metrics
You need to install the complete .Net 4 not just client profile. Please see step 3 in our installation guide.
DotShoppingCart Staff
4/1/2012 9:19:50 AM
TAhmad
Posts: 46
Joined: 1/12/2010
Re: Site Metrics
I have installed .Net 4 client profle and .net 4 extender, but nothing changed, still can't show any thing regarding sitemetrics in site admin.
for your notes I have the following:
  • OS win2003 R2 Standard edition sp2
  • IIS6
  • Application pool Asp.net 4
  • Asp.net version 4.0.30319
and when I run command 'ServiceModelReg.exe –i' show me message as below
"[Error]Switch '-c' requires a component to be specified for installation or uninstallation. please specify which componenets to install or uninsstall."
 
I try to run 'ServiceModelReg.exe –i -c:httpnamespace' show me message "[warning] the HTTP namespace reservation already exists."
 
also I have the DotShoppingCartSuiteV4.1Source and I updated the client element as below:
<client>
            <endpoint address="https://www.mysite.com/Admin/Service/SiteMetrics.svc"
                binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_SiteMetrics"
                contract="SiteMetrics.SiteMetrics" name="BasicHttpBinding_SiteMetrics" />
        </client>
 
please advise me if I miss any step.