New Posts New Posts RSS Feed: Contract requires Duplex Error
  FAQ FAQ  Forum Search   Calendar   Register Register  Login Login

Contract requires Duplex Error

 Post Reply Post Reply Page  <12
Author
Vonzkie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 01-Aug-2011
Location: PH
Posts: 133
Post Options Post Options   Quote Vonzkie Quote  Post ReplyReply Direct Link To This Post Topic: Contract requires Duplex Error
    Posted: 18-Oct-2012 at 7:38pm
Hi,

Here is the actual BOS on the actual server where we get the error.

uploads/1228/iRely.BusinessObjectServer_-__Bangalore_Server.zip

We can assign a public IP for it if you want to connect and look at its configuration.

Thanks,
Von
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 18-Oct-2012 at 10:20am
The log file from your upload indicates the EntityServer.svc started successfully.  I was also able to run your BOS on Winodws 7 - IIS 7.5.  Are you sure this is from the failing test server?
 
We've never seen this error before, and as I said, only the Push service uses a duplex binding.  Whenever something fails on one machine but works everywhere else, I would focus on what is different about the configuration of that machine - maybe a different OS, a different version of .NET framework, etc.
 
Also, fyi, the EntityService.svc and EntityServer.svc files are not necessary when you register the DevForce ServiceVirtualPathProvider, as the global.asax code is doing.
 
 
Back to Top
Vonzkie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 01-Aug-2011
Location: PH
Posts: 133
Post Options Post Options   Quote Vonzkie Quote  Post ReplyReply Direct Link To This Post Posted: 18-Oct-2012 at 4:26am
Hi,

uploads/1228/iRely.BusinessObjectServer.zip

I've attached the BOS that I deployed on our test server. Please take note that it only happens on that specific server. MY local IIS works fine with this same BOS and another test server is also working with this same BOS.

Thanks,
Von
Back to Top
Vonzkie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 01-Aug-2011
Location: PH
Posts: 133
Post Options Post Options   Quote Vonzkie Quote  Post ReplyReply Direct Link To This Post Posted: 17-Oct-2012 at 7:40pm
Hi,

We didn't enabled Push Service in our BOS and the weird thing is this only happens on a single machine and all working are working fine.

Here's the code of our ServiceHostEvents:

    public class ServiceEventsManager : ServiceHostEvents {

        public override void OnEndpointCreated(System.ServiceModel.Description.ServiceEndpoint endpoint)
        {
            base.OnEndpointCreated(endpoint);
        }

        public override void OnServiceHostCreated(System.ServiceModel.ServiceHost host)
        {
            base.OnServiceHostCreated(host);
        }
    }

Actually it's plain..

Are there any configuration or IIS settings we need to check to here?

Thanks,
Von
Back to Top
kimj View Drop Down
IdeaBlade
IdeaBlade
Avatar

Joined: 09-May-2007
Posts: 1391
Post Options Post Options   Quote kimj Quote  Post ReplyReply Direct Link To This Post Posted: 17-Oct-2012 at 5:58pm
The Push service is the only part of DevForce which requires a duplex binding, so I assume you've enabled it somewhere. 
 
I'll also assume that you've modified your web.config or subclassed the ServiceHostEvents class to change DevForce binding defaults, so it will help if you can provide these, along with any client config or ServiceProxyEvents code.
Back to Top
Vonzkie View Drop Down
Senior Member
Senior Member
Avatar

Joined: 01-Aug-2011
Location: PH
Posts: 133
Post Options Post Options   Quote Vonzkie Quote  Post ReplyReply Direct Link To This Post Posted: 16-Oct-2012 at 7:53pm

We are having this kind of problem when trying to access the EntityServer via browser. What configurations or actions we need to do to get this thing working?



Edited by Vonzkie - 16-Oct-2012 at 7:55pm
Back to Top
 Post Reply Post Reply Page  <12

Forum Jump Forum Permissions View Drop Down