Archives

All Posts Tagged Tag: ‘c#’

XNA: The specified Module could not be found

During development of the ConSense Cockpit solution I experienced a problem when deploying a Windows Presentation Foundation (WPF) solution on a target client with no XNA (btw – an extremely lame acronym from Microsoft) installed which resulted in: The specified module could not be found. (Exception from HRESULT: 0x8007007E) For me the trick was to include the libraries:  d3dx9_31.dll  msvcr80.dll …

Read More

WCF inside Windows Service: HTTP could not register URL http://+:8000

Following the  usual-subject kind of MSDN tutorials to make a Windows Service able to communicate with a WPF application (that is have a WCF service hosted inside your Windows Service) I ended with this kind of app.config section: <services> <service name=”ConSense.Sensors.Service.ConSenseSensorsWcfService” behaviorConfiguration=”ConSenseSensorsWcfServiceBehavior”> <host> <baseAddresses> <add baseAddress=”http://localhost:8000/ConSense/service”/> </baseAddresses> </host> <!– this endpoint is exposed at the base address provided by host: …

Read More

Reusing Subversion-managed Library Projects in Visual Studio

Just posting this as it would have saved me some time myself back then: In the ConSense Prototype I have some custom libraries (especially the proprietary RDF-framework) which are used in multiple application-solutions (WPF Cockpit, VSTO Plugins, Windows/WCF Service, Plugins for those Service etc..). So – even if you use Subversion this still leaves the question open how to keep …

Read More

Log4Net in a Windows Service

Requirement: I want a Windows Service under LocalService (and not LocalSystem see  Microsoft MSDN: Secure Hosting and Deployment of WCF Services ) using Log4Net starting when the service’s Main() method is called – so I can see if the service starts up at all Seems easy, but wut – no logfile created! The help at  Apache FAQ: Why doesn’t the …

Read More

Page 1 of 212»