2
Vote

WCF service does not start

description

Hi,
I have installed latest version by downloading source code of change set 56821.
When I try to run Virtual Router Manager says "Can not manage Virtual Router. The Service is not running".
 
I have reviewed event viewer. The error is
Error Starting Service
System.BadImageFormatException: Could not load file or assembly 'Interop.NETCONLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adf3512d981b92f9' or one of its dependencies. An attempt was made to load a program with an incorrect format.
File name: 'Interop.NETCONLib, Version=1.0.0.0, Culture=neutral, PublicKeyToken=adf3512d981b92f9'
at IcsMgr.IcsManager.Init()
at IcsMgr.IcsManager..ctor()
at VirtualRouterHost.VirtualRouterHost..ctor()
at VirtualRouterService.VirtualRouterWindowsService.OnStart(String[] args)
 
My machine details are as
Dell Studio 1558
Core i5
Windows 7 Professional 64 bit
 
 
Can you help me with this?

comments

shuangye wrote May 21, 2011 at 2:57 PM

The same to you.
When I tried to run C:\Program Files\Virtual Router\VirtualRouterService.exe, a message box showed that Cannot start service from command line or debugger. A Windows Service must first be installed (using installutil.exe) and then started with the ServerExplorer, Windows Services Administrative tool or the NET START command.
I checked the VirtualRouterService. It has no dependences.
Waiting for a solution... HELP!

cnayan wrote Jan 3, 2012 at 5:30 PM

Yep... same problem with latest code. No news?

cnayan wrote Jan 3, 2012 at 5:34 PM

On the other hand, when I used the dll "Interop.NETCONLib.dll" which gets installed by the setup, the problem goes away. Then the service and apps can be debugged normally. Anybody knows why?