WsProfileDualHttpBinding

Hi there,

Guys, I am trying to create and run a Indigo service (Duplex contract) and run with a "WsProfileDualHttpBinding". It compiles OK, but the WsProfileDualHttpBinding element is creating problems. However if I change all the OperationContracts and ServiceContracts to "wsProfileBinding" and change web.config to use the same, it rocks. It looks to me like a version problem with the .NET framework. Let me know if there is a work around for this.
IE shows the following error
-

Server Error in '/IndigoService' Application.

Configuration section system.serviceModel/bindings/WsProfileDualHttpBinding could not be created. Machine.config is missing information. To fix, run xws_reg.exe -i.

[918 byte] By [LakshmiKanth] at [2007-12-16]
# 1

It sounds like you're in a state where some of the Indigo configuration section handlers in machine.config either didn't get registered or got corrupted. Does running xws_reg /i fix the problem?

Are you running the Beta1 RC of Indigo?

Thanks
-steve

Steve Maine
Program Manager, Indigo

SteveMaine at 2007-9-9 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...
# 2
Actually, why don't we check the simple things first :) Check the capitalization on "wsProfileDualHttpBinding", as I believe the attribute is case sensitive.
-steve
SteveMaine at 2007-9-9 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...
# 3
Steve,

Thanks for the catch. It was a typo.

Cheers
Laksh

LakshmiKanth at 2007-9-9 > top of Msdn Tech,.NET Development,ASMX Web Services and XML Serialization...

.NET Development

Site Classified