Monthly Archives: November 2011

Cannot insert the value NULL into column ‘MachineName’, table ‘Logging.dbo.Log’; column does not allow nulls. INSERT fails.

Silverlight is running in a sandbox, the Silverlight LogEntry object does not support the following properties which are also NOT NULL in the Logging Database Schema: MachineName ProcessID ProcessName This seems to be an oversight when using Silverlight logging combined … Continue reading

Posted in Enterprise Library, General | Leave a comment

IIS 7 : Support for non-HTTP Protocols

Yesterday we hold here in Wallisellen an IIS7 Event where the main features (with plenty of demos) of this fresh new release were presented from a developer point of view. As in the last time I’m diving into Windows Communication … Continue reading

Posted in IIS, WCF | Leave a comment

Entity Framework or Data Services Tips and Tricks

Hopefully if you’re reading this you’ve noticed that I’ve started a series of Tips recently. The tips will mostly apply to Entity Framework or Data Services. Seeing as I expect to have a lots of tips, it probably makes sense … Continue reading

Posted in Entity Framework | Leave a comment

Windows Update: Network policy settings prevent you

… from using this website to get updates for your computer. If you believe you have received this message in error, please contact your system administrator.” This often happens on Corporate networks because your Corporate IT guys don’t want you … Continue reading

Posted in General | Leave a comment

Metadata publishing for this service is currently disabled (WCF)

Add <behavior> like below <system.serviceModel> <behaviors> <serviceBehaviors> <behavior name=”metadataBehavior”> <serviceMetadata httpGetEnabled=”true” /> </behavior> </serviceBehaviors> AND <services> <service name=”BLL.CategorySrv” behaviorConfiguration=”metadataBehavior”> <host> <baseAddresses> <add baseAddress=”http://localhost:2514/CategorySrv.svc”/> </baseAddresses> </host> <endpoint address=”mex” binding=”mexHttpBinding” contract=”IMetadataExchange” />

Posted in Silverlight, Web Service | Leave a comment

Enterprise Library Application Blocks – good links

Offered link to read about Enterprise Library; – http://www.education.vic.gov.au/devreskit/appdev/Application Blocks/default.htm Enterprise Library – Logging Database creation script The Enterprise Library database creation scripts can be found in the following location: Version 3.x : \App Blocks\Src\Logging\TraceListeners\Database\Scripts Version 5.x : \Blocks\Logging\Src\DatabaseTraceListener\Scripts

Posted in Enterprise Library | Leave a comment

Silverlight exception handling using WCF RIA Services and WCF Services

Thanks to Fredrik Note: Some examples in this post uses the WCF RIA Services PDC Beta, so changes can be done until it hit RTM. I have already mention about how to handle exceptions with WCF RIA Services here: http://weblogs.asp.net/fredriknormen/archive/2009/12/08/wcf-ria-services-exception-handling.aspx, … Continue reading

Posted in Silverlight | 1 Comment