Patrick’s Bytes

Techie for the past 30 years…

Got DinnerNow working at last!!

DinnerNow is a cool sample application that is complex and huge enough to showcase all the latest Microsoft Windows Application Platform technologies. It is also a good example on how to put Software plus Service vision to work here. You can download the latest v2.5 version from Codeplex website.

Not I want to do selling here but the technologies includes

  1. .Net Framework 3.5
    • Windows Presentation Foundation
    • Windows Workflow Foundation
    • Windows Communication Foundation
    • Cardspace
  2. Windows Mobile 6
  3. MMC 3.0 shell addin developed using .NET
  4. Poweshell
  5. IIS 7.0
  6. Integration with Windows Live services such as Virtual Earth

Because of IIS 7.0, you will need to install DinnerNow on top of Windows Vista or Windows Server 2008. However since trying this for the past few months, I got no luck of getting it running. There has been quite a few posts on the Codeplex forum with people complaining the same time.

Then checking back all the event logs in the OS, I realize there are a lot of authentication error in the IIS log. This leads me to a creation the self signed SSL cert causes this problem. This is because when you setup the WCF service website of DinnerNow it will installs its own SSL cert as well. So for a change I created a clean Win Server 2008 VPC and during the IIS installation process, I refused to create or install any SSL cert. Just select Choose a certificate for SSL encryption later in the Choose a certificate for SSL encryption screen (as pic below)

image

Well, do check out whether this work for you or not which I believe there are other environment issues which might pops up for larger application like DinnerNow.

P/S: So to get DinnerNow working on my VPC, I installed the following software

  • Windows Server 2008
  • IIS 7.0
  • Visual Studio 2008 Pro with SQL Server 2005 Express
  • Powershell enabled
  • Desktop Experience enabled for WMDC
  • Windows Mobile Device Center (WMDC)
  • Windows Mobile 6 SDK

POP3 Server for Windows Server 2008

POP3 services only make it to one version of the Windows Server family which is Windows Server 2003. However because of this server OS been around for about 5 years, there are a lot applications out there designed to leverage the feature. Even SharePoint can make good use of this POP3 service to send email if the customer does not have any email server or they host it else where. However it comes handy for me to do development as I don’t want to touch my production email server.

For those who still  need POP3 Services, a guy named Hannes Preishuber has come out with their own POP3 extender for SMTP services. How it works I am not sure but you can check out their website here.

http://weblogs.asp.net/hpreishuber/archive/2008/04/30/visendo-smtp-pop3-extender-for-windows-2008-server.aspx

Windows Mobile Device Center could not be installed on Windows Server 2008

I am in the process of trying to create an environment to do all my development including ASP.NET, SharePoint, WPF and Win Mobile, in this case the ideal OS to use will be Windows Server 2008. So when I tried to installed Windows Mobile Device Center on top, I got an error message saying it could not install because one component is missing. Wonder who wrote this error message without telling me what is actually missing.

Do some digging on Windows Live Search (or %$#gle it if you want to) and I came across a KB stating it is actually I need to install Desktop Experience on top of Windows Server 2008. At least Windows Live Search working!!

The problem does not occur in Windows XP or Windows Vista.

Hardware Virtualization on my Lenovo T60

Been using Lenovo T60 under the impression that it does not support Hardware virtualization for about 1 year! This is not until Serena Yeoh told about running Hyper-V on her T61 only I realize by default the Thinkpads have this feature turned off by default. You need to go into bios and set it in CPU configuration section. (pic below)

HwVirtual

As stated on the screen, you need to power off the system and turn it on again to have this feature visible in Virtual PC (shown below)

image

Next? Maybe thinking of installing Windows Server 2008 64bit with Hyper-V on my T60 as well. :)

Enable Ping Replies on Windows Server 2008

Due to security concern, by default you are not able to Ping a Windows Server 2008 machine. At first I though there is a problem with my network but actually it’s disabled. To enabled Ping reply from Windows Server 2008, goto Window Firewall with Advance Settings from Administrator Tools menu.

image

Look inside Inbound Rules, scroll down to File and Printer Sharing, right click and enable this rule. (pic below)

image

After that the check icon will turn green

image

For Windows Server Core which does not have any UI, you can enable this rule from the command prompt.

netsh firewall set icmpsetting 8

To disable it type

netsh firewall set icmpsetting 8 disable 
« Newer PostsOlder Posts »