Archive for October 1st, 2006
ISO Mounting and Vista RC1
ISO’s are a common format for many downloads these days especially from Microsoft themselves. However, to my horror Vista does not have the capability built-in for mounting them. Why? It does puzzle me however rather than sulk and moan I ventured onto the “interweb “ looking for a solution…
After many hours and fustration due to many software applications using drivers incapabile with Vista due to new hardware lingo, I found a solution! Daemon Tools and most importantly version 4.06.
It worked like a dream! Thank-you Daemon. Please note I do not support copying of games or using these tools for illegal purposes! Remember, big brother is watching.
Add comment October 1, 2006
Session State and Generic Handlers
The other day for a project I needed to read some session variables which had been set within a Generic Handler ( ashx file )… Now to my amazement through debugging I found that the Session State bag was not been populated and thus was always Null.
The solution to my problem : IRequiresSessionState. I had never come across this interface before but it was the magic key!
According to MSDN :- Specifies that the target HTTP handler requires read and write access to session-state values. This is a marker interface and has no methods.
However, if you only require readonly access then alternatively it is better to make use of IReadOnlySessionState. This will have a performance improvement and provide more scalability.
1 comment October 1, 2006
Enabling VS2005 to talk to IIS7
After much time and investigation I have managed to get VS2005 to “talk” to IIS7 on Vista RC1. The trick? Well, the problem is that VS2005 unfortunately, does not know the new lingo and thus you must configure IIS7 to provide this ability or backwards compatibility. I do believe that SP1 for VS2005 will correct this problem.
Right, within “Windows Features“ or Turn Windows Features on or off dialog ( see below screen shot )
Expand IIS, Web Management Tools and select IIS6 Management Capability. This will now allow VS2005 to talk with IIS.
Add comment October 1, 2006
Debugging using IIS7 and Vista RC1
Upon trying to debug my project I was faced with this common error. Now in the world of IIS 6 this was a trivial task to sort out. Open inetmgr and tick the checkbox for windows authentication. Press F5 in VS and away you went – happy and suitable chuffed with ones self.
However, with Vista it is a little more work. Please note I do assume here that you have a working website under IIS7.0. Within inetmgr and authentication do check if you have an entry for “Windows Authentication”
If you do not see Windows Authentication – then you will need to install this “feature“… this is a clue as to where you need to go! If you go to “Turn Windows Features Dialog” – which can be found under Programs and Features
Expand IIS, and then WWWS, Securty -> there is a check box for Windows Authentication. Check and click okay.
Return to inetmgr and Enable the Windows Authentication. You should now have no problem debugging your application. However I do warn you that you may face further problems if you have UAC still turned on.
Add comment October 1, 2006