ExecuteCaptureRequest failed (0x80092024)

clock January 27, 2010 19:52 by author Fabian Tuender

When testing the User State Migration Tool we found a problem with an windows update. Because it took a long time for me to find a workaround I wanted to post the solution to help others.

When you execute a tast sequence that contains a "Request State Store" action it will always end with an error as below.

 The task sequence execution engine failed executing the action (Request State Store) in the group () with the error code 8228  Action output: ==============================[ OSDSMPClient.exe ]============================== Command line: "osdsmpclient.exe" /capture Client joined to the xxxx domain. Client is a member of the xxxx site. GetAdaptersAddressess entry point issupported. DhcpGetOriginalSubnetMask entry point not supported. Adapter {A20F676E-FE24-4A4E-BAED-008A346A4E3D} is DHCP enabled. Checking quarantine status. Loading client certificates. OSDSMPClient finished: 0x00002024 Failed to import the client certificate store (0x80092024) ClientRequestToMP::DoRequest failed (0x80092024). ExecuteCaptureRequestMP failed (0x80092024). ExecuteCaptureRequest failed (0x80092024).. The operating system reported error 8228: The administrative limit for this request was exceeded.

This is caused by windows update KB974571. Uninstalling this update and preventing it from installing again solved it.



Enable telnet access to Screenplay PRO HD

clock April 9, 2009 02:58 by author Fabian Tuender

When browsing Google for an option to modify the Iomega ScreenPlay Pro HD I found a ScreenPlay Pro wiki and a Realtek RTD1261 wiki with lots of usefull information.

They both mention that you should be able to use telnet to connect to the ScreenPlay but that didn’t work with my version. The following steps describe how you can enable telnet if it doesn’t work. Use at your own risk!

First install the IFS driver to access the Ext2 Linux partition later. During the installation make sure you don’t check the option for read only access, we need to modify a file on the Ext2 partition. Now connect your ScreenPlay using USB and turn it on. In your control panel start the application “IFS Drives” and assign a drive letter to the Ext2 partition.

Browse to the drive and to “\etc” and open the “inetd.conf” file with for example Notepad++. Uncomment the line with telnet and save the file. Go back the “IFS Drives” in your control panel and remove the drive letter. Safely remove your USB drive from windows and start your ScreenPlay again. You will now be able to access it using telnet via the Network.

 



English manual for Run Tec Model 60331/KPPM 57

clock January 29, 2008 19:25 by author Fabian Tuender

After asking the German company if they had the English manual they send it to me. I would like to share it with you guys or girls that where looking for the manual. The layout is a bit difficult to read but hope you can figure out how to use the watch.

Download the English and Danish manual for the 60331 below.

60331_GB+IE+DK_innen.pdf (4,04 mb)



SharePoint EXIF event handler

clock January 27, 2008 19:22 by author Fabian Tuender

Something that's missing from the default installation of SharePoint is sometimes simple; like picture information. When you place a picture in SharePoint it will not tell you anything about the EXIF information stored in the jpeg file. Using the exifworks class created by Michal A. Valášek to read the information from the picture; we can update the SharePoint listitem. There is a small modification in my exifworks class to get correct readings when converting from rational to int16 or int32 values.

When you install the feature it will register itself for the ItemAdded and ItemUpdating event on lists with ListTemplateId number 109 (the picture library). So when you add a picture to the library our code will be called. The ItemUpdating event is still empty but it should be easy to use when you know how to use the ItemAdded event. When the ItemAdded event is fired a bitmap picture is created by reading the drawing from the file in the listitem that has just been added. This bitmap is passed to our exifworks class to read out the properties. Next we pass the property from the exifworks class to our sub to check if the field exists. If the field does not exist it will create the field on the fly, see code below.

Private Sub GetExifProp(ByVal ListItem As SPListItem, ByVal FieldName As String, ByVal FieldType As String, ByVal prop As Object)

Dim SPFI As SPField

If Not ListItem.Fields.ContainsField(FieldName) Then

SPFI = ListItem.Fields.CreateNewField(FieldType, FieldName)

SPFI.ShowInEditForm = False

ListItem.Fields.Add(SPFI)

End If

ListItem.Item(FieldName) = prop

End Sub

   

Public Overrides Sub ItemAdded(ByVal properties As Microsoft.SharePoint.SPItemEventProperties)

Dim BM As New System.Drawing.Bitmap(properties.ListItem.File.OpenBinaryStream)

Dim EW As New ExifWorks(BM)

Dim LI As SPListItem = properties.ListItem

   

GetExifProp(LI, "ISO", "Text", EW.ISO)

GetExifProp(LI, "EquipmentModel", "Text", EW.EquipmentModel)

GetExifProp(LI, "ShotDate", "DateTime", EW.DateTimeOriginal)

GetExifProp(LI, "FocalLength", "Text", EW.FocalLength)

This will result in any property you wish to be added as metadata to your picture.

To install this feature:

  • Download and unzip this feature somewhere locally
  • Create a directory in your features folder (C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES) called myeventhandler. Copy the elements.xml and feature.xml to this directory
  • Register your assembly from the project using: C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\gacutil /i <path to your project>\ bin\Release\myeventhandler.dll
  • Next install the feature: stsadm -o installfeature -filename myeventhandler\feature.xml
  • Now we need to activate the feature on a site you want to use it: stsadm -o activatefeature -filename myeventhandler\feature.xml -url http://www.fabita.nl/test
  • You will now see that the feature is active if you goto the site settings and look under site features.

EventHandler.zip (474,35 kb)



Visual Basic SharePoint webpart (Template)

clock September 5, 2007 19:17 by author Fabian Tuender

In my search for a SharePoint template I could only find templates for C#. There was 1 project for Visual Basic but build with VS2002. I converted the project and rebuild it again in VS2005 and created some basic functions in it to show how you can use the webpart. I am just starting with SharePoint development after some years of visual basic 6 and .net hobby development so any comments welcome!

The webpart shows an htmlbutton, a text box, some text and a textbox with the value you set in the property of the webpart. When you push the Click me button the function Private Sub btnText_ServerClick is called. It will set the value of the textbox to your username.

 

When the webpart is created it will start by calling CreateChildControls() and RenderWebPart. In the render function it will write out the html to show on the webpart as well as it sets the value of the property field to the value you defined in your webpart properties.

 

Download the template or download the project.
To easy test the installation I installed VS2005 on a server together with WSS 3.0. After you build the project you can install the dll in the GAC by running the following command:
C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\gacutil /i <path to your project>\ bin\Release\webparttemplate.dll


Update 8.9.2007: Okay; there was something I forgot to tell. You need to modify your web.config file to tell ASP .NET that your assembly is safe. By default the web.config file will be located in c:\Inetpub\wwwroot\wss\VirtualDirectories\80. The project contains a safecontrols.txt file, add the first line starting with <safecontrol to the SafeControls section of your existing web.config file. Add the second line (starting with <add assembly=) to the <assemblies> section.

Next run iisreset (Warning This will stop and start the web service, so its down for a few seconds and takes some more seconds after starting to load again)

The coding is shown below. Have fun with it, I hope it's helpful for your webpart development.
My information source Chapter 19: Beginning Web Part Development and Walkthrough: Creating a Basic SharePoint Web Part

           

Imports System.ComponentModel
Imports System.Web.UI
Imports Microsoft.SharePoint
Imports Microsoft.SharePoint.WebControls
Imports Microsoft.SharePoint.WebPartPages
Imports System.Runtime.InteropServices
Imports System.Web.UI.HtmlControls
Imports System.Xml.Serialization
       

<ToolboxData("<{0}:WebPartTemplate runat='server'></{0}:WebPartTemplate>"), XmlRoot(namespace:="Fabita"), Guid("C19B01AA-4593-4426-87BE-3B4194521CC2")> Public Class WebPartTemplate

Inherits WebPart      

Dim WithEvents btnTest As New HtmlButton
Dim lblDisplay As New HtmlInputText
Dim txtProperty As New HtmlInputText
       

Private Const _defPropertyText As String = "Your webpart property"
Private defPropertyText As String = _defPropertyText
       

<Browsable(True), Category("Web Part Template"), DefaultValue(_defPropertyText), WebPartStorage(Storage.Shared), FriendlyName("Your text"), Description("Your description of the friendlyname")> Public Property DisplayPropertyText() As String

Get
Return
defPropertyText
End Get
Set
(ByVal value As String)
defPropertyText = value
txtProperty.Value = value
End Set
End
Property

Private Sub btnText_ServerClick(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnTest.ServerClick
Dim user As SPUser = SPContext.Current.Web.CurrentUser
lblDisplay.Value = "Welcome " & user.Name
End Sub

Protected Overrides Sub CreateChildControls()
btnTest.InnerText = "Click me"
Controls.Add(btnTest)
lblDisplay.Value = ""
Controls.Add(lblDisplay)
txtProperty.Value = ""
Controls.Add(txtProperty)
End Sub

Protected Overrides Sub RenderWebPart(ByVal output As System.Web.UI.HtmlTextWriter)
btnTest.RenderControl(output)
lblDisplay.RenderControl(output)
output.WriteLine("<br>Your property")
txtProperty.Value = defPropertyText
txtProperty.RenderControl(output)
End Sub

End Class

VB WebPart.zip (17,42 kb)

WebPartTemplate Project.zip (432,65 kb)



Creating your SharePoint blog site

clock September 3, 2007 19:14 by author Fabian Tuender

When I wanted to start this blog I was wondering how I can remove this top navigation bar. The anonymous user should be limited with options, since most options apply only to users who have access to my site.

Searching the internet I found these posts: SharePoint Blogs Part I: Blog Access Control, Built-In Groups & Anonymous Users, SharePoint Blogs Part II: UI Customization and SharePoint Blogs Part III: Blogging from Word. They are great to get you started with modifying your site and start blogging from Word.

Next mission would be to find out how to modify the form that displays the comments in a post. You can now only enter a title and body but I want to extend that with a name, email, website and body. An option to remember your input would also be nice



Run.GPS Trainer UV RELEASE 2.0.1

clock September 3, 2007 19:09 by author Fabian Tuender

I love to use the Run.GPS software for training while cycling or running. After testing the old version and testing the new beta version; the final version is released. Check the website for more information. Happy training!



Dutch scanned manual for Run Tec Model 60331/KPPM 57

clock September 2, 2007 18:41 by author Fabian Tuender

Here is a scanned version of the Dutch manual for the Run Tec watch. If anybody knows an English link to the Model 60331/KPPM 57 manual, please let me know. There is a slight difference with the 60206 model. The battery cover is different as well as the names used in the menu's on the watch. The basic function still looks the same, just some small improvements.

Below are the separated pages in jpg format. You can also download the zip file containing all files.

Model 60331 - Dutch Manual - scan0000.jpg (1,11 mb)

Model 60331 - Dutch Manual - scan0001.jpg (1,26 mb)

Model 60331 - Dutch Manual - scan0002.jpg (678,24 kb)

Model 60331 - Dutch Manual - scan0003.jpg (997,02 kb)

Model 60331 - Dutch Manual - scan0004.jpg (789,30 kb)

Model 60331 - Dutch Manual - scan0005.jpg (922,26 kb)

Model 60331 - Dutch Manual - scan0006.jpg (961,47 kb)

Model 60331 - Dutch Manual - scan0007.jpg (763,52 kb)

Model 60331 - Dutch Manual - scan0008.jpg (847,11 kb)

Model 60331 - Dutch Manual - scan0009.jpg (1,01 mb)

Model 60331 - Dutch Manual - scan0010.jpg (1,13 mb)

Model 60331 - Dutch Manual - scan0011.jpg (820,44 kb)

Model 60331 - Dutch Manual - scan0012.jpg (805,81 kb)

Model 60331 - Dutch Manual - scan0013.jpg (1,04 mb)

Model 60331 - Dutch Manual - scan0014.jpg (900,98 kb)

Model 60331 - Dutch Manual - scan0015.jpg (831,94 kb)

Model 60331 - Dutch Manual - scan0016.jpg (729,66 kb)

Model 60331 - Dutch Manual - scan0017.jpg (293,38 kb)

Model 60331 - Dutch Manual - scan.zip (15,08 mb)



Review: Run Tec (Model 60331/KPPM 57)

clock August 23, 2007 18:36 by author Fabian Tuender

As I wrote before this watch was available at the Lidl for only 17,99 euro. For that price you cannot expect much but when I open the box it all looks very good. Both the watch and chest belt have a CR2032 battery cell which is easy to replace. Have to admit that the watch is fat, what makes it ugly big. On the other side, what can you expect for this price?

After settings the time and date you can define your user profile. Sex, age, max heart rate, weight and length and your activity level you can start. With the chrono mode you can define an intensively level, lower heart rate, max hear rate, alert beep, your target calorie usage if you want it and the time for warming up. It's all easy to setup when you follow the manual.

The chest belt is easy to wear and worked without problems right away for me. All together, it's a complete solution for a cheap price that works fine.



Manual Lidl Run Tec watch (Model 60206/KPPM 35)

clock August 22, 2007 18:21 by author Fabian Tuender

As some people requested, here are some links to the manual for the RUN TEC watch Model 60206/KPPM 35   

On the ftp site (User: ls_ftp Pass: ftp) there are more languages

RUNTEC-GB-IRL-60206.pdf (1,27 mb)

RUNTEC-nl-b-60206.pdf (1,18 mb)