Archive for April, 2010

How to install U3 Apps to your U3 Drive

22 April, 2010 Leave a comment

I have a san-disk U3 Drive and I wanted to update my version of keePass that I run on it.

I downloaded a U3 version of keepass and do you think I could install it?

Basically you will download an archive file like a .zip file. If you extract the zip you will find folders like, data and manifest but no installer.

To add an application you do the following

  • Open the U3 Application
  • Click Add Program
  • Install from my computer
    • What you will find is it is looking for a .u3p file? Where is that?

      You need to change the file extension from .zip to .u3p
      Once you do this you can select you file from the U3 application, and just follow the wizard.


Categories: General Apps

SSRS – Reporting Services and custom assemblies

15 April, 2010 Leave a comment

Just cost myself a few hours on this one.

I have recently installed the 2008 R2 Nov CTP, I also have RS reports that use a custom assembly.

(The custom assembly provides a Parameters class that returns a formatted string for the selected parameters on a page. We have staffID’s and client ID etc to identify people in our company, so you can type in a staff ID as a parameter to the report, or even a CSV list of staffID’s. The assembly will interogate the parameters, if it is a drop down it will interogate the webservices and find the display value for the selected value directly from the report definition, if it is a parameter of a given type – like staffID – it does a database lookup and returns a nicely formatted string that is rendered into a report. I am thinking of turning this into an assembly that anyone could purchase and making it configurable via xml… if there is interest?)


When it comes to writing and deploying custom assemblies you should read this;
Bryant is the man when it comes to this stuff

The thing was that my report was running successfully when I deployed it but not when running in BIDS – (Business Integration Development Studio).

I was getting this error

Failed to load expression host assembly. System.Security.Permissions.SecurityPermission

When you configure you assembly as per the instructions provided by bryant, you need to configure;

– rssrvpolicy.config, found generally in a location like D:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVER\Reporting Services\ReportServer,
(this is the path for the NOV CTP on a x64 bit machine installed on D drive)

But there is also a corresponding policy file for BIDS to use and this also needs to be configured. It resides in the same folder as your IDE\PrivateAssemblies where you copied you assembly for BIDS to work;
RSPreviewPolicy.config – D:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies

Updating this policy file fixed my issues.


Categories: Reporting Services

Canon CameraWindow and Windows 7

9 April, 2010 9 comments

After upgrading to windows 7 my camera software refused to work. I did a lot of searching and even emailed Canon and got a really poor response that they new about it but didn’t know when it would be fixed.

I was about to write a post to describe the work around, but found there was a new version of the software CameraWindow DC.

I have downloaded the installer for ZoomBrowser 6.5.1 for windows7/vista, I got mine here:

When it installs it is version of CameraWindow DC.

And guess what… it works! Yeah, but read the following points…

1. After install you will have lost any configuration about where to download your photos. This can be reconfigured. At first I couldn’t work out how and then I noticed the nice little graphics in the top right hand corner. Mouse over them and the little gear icon is the preferences which allows you to configure the download location and options for file re-naming.

2. The blue button on the camera no longer works. You have to use your mouse and choose “Import Untransfered Images”, (or the action you want to do).

About time Canon.


Categories: Uncategorized

Textbox – supress previous entries – auto complete off

1 April, 2010 Leave a comment


I am developing a website and noticed that all my text boxes were repeating the content that had been entered previously.

Found this blog here; (I like ryans stuff).

In short you can turn this off via the autocomplete=”off” property.
This can be set in a number of ways:

  1. On the form, this disables it for all content on the form. This is really handy if you are using master pages as add it to your master page and job done, your entire site now stops prompting.
  2. On a control by control basis;
    <asp:TextBox ID="txtText" runat="server" autocomplete="off" />

Note: Visual studio will complain that it does not know this property but it works none the less so just ignore VS.


Categories: ASP .Net