Tips Couldn't delete a volume from SD/SDHC card

I was unable to delete a volume of my SDHC card using the Computer Management > Disk Management interface... the "Delete Volume..." menu was dimmed (disabled)...

The solution was to delete the volume using the Windows Diskpart command in a Dos prompt.

Click to Read More

Concretely, I had a SD card with 2 volumes. Those where created by a tool making the SD card bootable I think.

Using the Disk Management UI, I was able to delete the second volume. But the menu was disabled on the first volume as illustrated here above:

Computer Management: Delete Volume... dimmed

Computer Management: Delete Volume... dimmed

To solve this, I only found one solution (published on Internet by Salty Wagyu) : diskpart. Here is the list of commands to be used in a dos prompt run as Administrator:

  1. Diskpart
  2. List Disk
  3. Select Disk x (where x is the number corresponding to your SD Card)
  4. Clean
  5. Create partition primary
  6. Active
  7. Format fs=fat32 quick
  8. Assign

ProgrammingTFS TFS 2013 plugins cannot load dependencies located in the "Plugins" folder

I have a plugin for TFS 2010 that reads a config file containing custom section handlers. When I deployed my plugin on TFS 2013, it thrown the following error when trying to instantiate those section handlers :

A first chance exception of type 'System.Configuration.ConfigurationErrorsException' occurred in System.Configuration.dll

Additional information: An error occurred creating the configuration section handler for xxxxx: Could not load file or assembly 'xxxxx' or one of its dependencies. The system cannot find the file specified.

The problem was that there was no adequate probing path defined for .NET 4.5 in the TFS 2013 Services' web config.

Click to Read More

TFS 2013 Services are loading plugins from C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\Web Services\bin\Plugins.

But once those plugins loaded, they can only load their own dependencies from the GAC or from the TFS 2013 Services' bin folder (C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\Web Services\bin). I.e.: the sub-folder 'Plugins' of that bin folder is not probed...

In my case, when my plugin read its custom section, it needs to load the assembly containing the related custom section handlers (actually, the plugin and the custom handlers are in the very same assembly...). It works fine if I deploy the assembly in TFS 2013 Services' bin folder (or in the GAC I presume) but I cannot bring myself  to simply do that. Especially taking into account that it was working fine within TFS 2010.

Having a look at TFS 2013 Services' web config, in order to specify my own probing path, I noticed that there was already one defined, but ONLY for .Net 2.0. I.e.: here is the <runtime> section of C:\Program Files\Microsoft Team Foundation Server 12.0\Application Tier\Web Services\web.config

<!-- Plugin directory path -->
<runtime>
<assemblyBinding appliesTo="v2.0.50727" xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin\Plugins;bin\Plugins\zh-chs;bin\Plugins\zh-cht;bin\Plugins\de;bin\Plugins\es;bin\Plugins\fr;bin\Plugins\it;bin\Plugins\ja;bin\Plugins\ko"/>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>

As my plugin targets .Net 4.5, I simply defined the probing path for all target runtime.

<!-- Plugin directory path -->
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="bin\Plugins;bin\Plugins\zh-chs;bin\Plugins\zh-cht;bin\Plugins\de;bin\Plugins\es;bin\Plugins\fr;bin\Plugins\it;bin\Plugins\ja;bin\Plugins\ko"/>
</assemblyBinding>

<assemblyBinding appliesTo="v2.0.50727" xmlns="urn:schemas-microsoft-com:asm.v1">
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
<dependentAssembly>
<assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/>
<bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/>
</dependentAssembly>
</assemblyBinding>
</runtime>

And that solved my issue !

FYI (and google indexing): my plugin is a Server Side Event Handler for TFS...

Hardwares Creative WebCam Live! Motion on Windows 8 x86

I still have that very old webcam that I wanted to reuse under Win8 x86 on the PC of my daughter... It works fine with the drivers for Win2000 installed in compatibility mode...

Click to Read More

Creative WebCam Live! Motion

Creative WebCam Live! Motion

  • Go to the support website of Creative.
  • Select "Web Cameras".
  • At the very bottom, click on "If your product is not listed above, please click here".
  • Select "Others" in the first column.
  • And select "WebCam Live! Motion" in the second column.
  • Then, click on "Next".
  • Now, you see a list of "Latests Downloads". Take the first one : "Creative WebCam Live! Motion Driver 1.11.02". It's a beta version for Vista.
  • Once those drivers downloaded, right click on it and open the "properties".
  • If required, at the bottom of the "General" tab, "Unblock" the file
  • Then, in the "Compatibility" tab:
    • Select "Run this program in compatibility for": "Vista", and
    • Select "Run this program as an administrator"
  • Finally, run the setup.