Print Page | Close Window

Cannot connect to EntityService

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=3761
Printed Date: 11-Apr-2026 at 6:04am


Topic: Cannot connect to EntityService
Posted By: Bert1234
Subject: Cannot connect to EntityService
Date Posted: 02-Nov-2012 at 6:31am

Hello,

I am trying to get the WPF Console demo application  http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-wpf-console - http://drc.ideablade.com/xwiki/bin/view/Documentation/code-sample-wpf-console  running in Visual Studio but ran out of luck.

When the client configuration includes isDistributed=”false” everything works as expected. When I set it to true, nothing is happening. I also cannot connect to the service using internet explorer. Neither there is any message logged to the logfile. The logfile is not even created.

In another WPF test application exactly the same happens. There I see a timeout exception which is thrown in the constructor of the EntityManager. This happens after about one minute.

I am using DevForce 2010 6.1.8.1 on a Windows7 64bit development station.

Any help would be highly appreciated.

Kind Regards,

Bert




Replies:
Posted By: kimj
Date Posted: 02-Nov-2012 at 8:22am
The WpfConsoleWeb project needs to be started to host the EntityService.  Right click on the project in the Solution Explorer and in the Properties window check that "Always Start When Debugging" is true.  Now when you hit F5 you should see the ASP.NET Development Web Server start up, along with the console application.


Posted By: Bert1234
Date Posted: 02-Nov-2012 at 8:42am
Hello,

that is not the problem, the dev server is started and running  and the Windows Firewall is turned off.
The only thing that i changed in the downloaded application is setting isDistributed="true". 
I do not think that the problem is related to the DevForce software, i guess that it has something to do with my development system. But what is going wrong here? 

Kind Regards,
Bert


Posted By: kimj
Date Posted: 02-Nov-2012 at 8:53am
When the development server is running, you can right click its icon on the task bar and select "Open in Web Browser" from the context menu.  From that, if you navigate to http://localhost:9009/EntityService.svc - http://localhost:9009/EntityService.svc  what happens? 


Posted By: Bert1234
Date Posted: 02-Nov-2012 at 8:59am
Nothing, after a while the browser reports that the page cannot be opened.


Posted By: kimj
Date Posted: 02-Nov-2012 at 9:37am
We haven't seen this before, and you're right that it probably has something to do with your development system.
 
One thing to look at - if you start a new project and choose WCF, do you see the WCF project templates (these are not DevForce templates, they're standard VS templates):
 


Posted By: Bert1234
Date Posted: 02-Nov-2012 at 10:55am
Hello,

yes, I can see and select one of the standard Visual Studio WCF templates.

Kind Regards,
Bert 



Print Page | Close Window