DCSIMG
December 2006 - Posts - Ohad's Blog

Ohad's Blog

Lets talk about .net !

Mirror at:
weblogs.asp.net/israelio

News

         Ohad Israeli's Facebook profile

Grab this badge here!

December 2006 - Posts

The Vista ScreenSaver Mystery Is Over

Since I've installed Vista on both of my laptop & desktop I just couldn't figure out what happened to the screen saver, It seems that it just refused to start up although I was able to preview.

This issue was driving me insane as I couldn't spot what was causing the screen saver not to start, after deep investigation it turned out that the problem is due to a defected driver of the Microsoft Wireless Receiver which is part of both of my wireless mices (Microsoft Wireless Laser Mouse 6000 - Notebook & Desktop editions)

If you unplug the receiver the screen saver comes back to life !

It is funny that Microsoft QA haven't spotted this on their Vista QA hardware tests as it is Microsoft's hardware... they can't blame in this case a 3rd party to not support Vista.

Current solution : Buy a Logitech G7 Laser Mouse as Microsoft's support say it is a known defect but they have no plans to fix the issue.

Installing Adobe Acrobat Reader 8 on Vista

If you download Abode Acrobat Reader 8 and try to install it on your Vista machine it could be that you'll encounter the following message:

If you do... following is the work around that i've found to the problem:

1. Start the installation as usual, do no dismiss the error message box.

2. Open erplorer and copy the "Adobe Reader 8" directory from the following path to your root dir
"C:\Users\{username}\AppData\LocalLow\Netopsystems\temp\"

3. run the setup.exe from the "Adobe Reader 8" directory on your root dir.

Enterprise Library 3.0 Dec CTP on Code Plex !

Enterprise Library 3.0 Dev CTP is available on Code Plex since yesterday :-)

This CTP Highlights are :

Partial Trust Support
Strong-Named Binary Assemblies
Validation Application Block ( check tom's blog )
SQL Server Compact Edition support
Database.UpdateDatabase now support updateBatchSize parameter
Visual Studio-Integrated Configuration Editor.
AppSettings support.
Encryption support.
Application Block Software Factory
  
Creating a New Application Block (Solution Template)
   Creating a New Provider Library (Solution Template)
   Creating a New Typed or Untyped Provider for Enterprise Library Application Blocks
   Creating a New Typed or Untyped Provider (generic)
   Converting an Untyped Provider to a Typed Provider
   Creating a New Provider Factory and Base class
   Creating a New Design-time Provider Base Node
   Creating a Provider Design-time node

[InternalsVisibleTo]

Download EntLib 3.0 CTP Over here

Microsoft Code Zone Missing Proper Exception Handling Policy

On my Enterprise Library 2.0 course which was a part of the MVPs Week that took place last week I've talked about the Exception Handling Application Block which is part of the Enterprise Library and why its so important to handle exceptions the right way...

One of most common failure of system regarding application security is the way application developers handle exceptions in the code, If you do not take care of unexpected exception you might expose some information on your system that you might have wanted to conceal.

For example... take a look at the Microsoft Code Zone... seems like someone haven't looked deeply into the code that was written there as when an unexpected exception happened we begin to start finding some inner application info...

There is a user by the name of UrlRedirection on the system which is used to access to the database.

Well if the big ones fail... probably you too... so take a deep look at your source code and see if you have handled all the exceptions the right way... and that is catching them (or any unhandled exception) on the top most layer before the presentation layer log the exception and replace it with an informative exception that will not expose any details about the real exception.

 

Microsoft's MVPs Week

The Microsoft's MVPs Week classes are getting filled with pepole... Only few seats left !

If you havent already registered hurry up as we are starting the courses on Sunday 9:00 !

Register HERE

Microsoft Most Valuable Professional Week

Microsoft Office Compatibility Pack

For anyone who started distributing Office 2007 documents and ran into the problem of enabling non Office 2007 users to open his documents this compatibility pack is a must.

Using the Office Compatibility Pack users of Office XP and 2003 can Open, edit, and save documents, workbooks, and presentations in the file formats new to Microsoft Office Word, Excel, and PowerPoint 2007.

So from now on... when you send an Office 2007 document to someone... add a link to this pack just to be sure that the document can be opened :-)

Download from here