About Ian Hayse

A lengthy career working as a SharePoint developer, admin, and architect. I'm now working in the Power Platform and Azure spaces. What happened to InfoPath?

how to expand a VMware disk vmware-vdiskmanager.exe

if you are running VMware and need to expand the virtual disk size, here is the simply way to do it.

in windows Start – – > Run – -> CMD

cd C:\Program Files\VMware\VMware Server\

vmware-vdiskmanager.exe -x 30Gb “C:\path where your virtual disk is stored\name of your virtual disk.vmdk”

lets break this down.

vmware-vdiskmanager.exe -x (how large you want the disk to be)Gb “where the virtual disk is located, dont point this to the -flat file”

example (this is exactly what i put in the DOS prompt, including the quotation marks ” ” )

vmware-vdiskmanager.exe -x 99Gb “C:\VMstuff\myDisk.vmdk”

view a list of My Site users

I recently spent a stupid amount of time looking for a list of users that have enabled their My Site.

Log into Central Administration, navigate to Application Management, under the SharePoint Site Management section click on Site collection list.

Central Administration > Application Management > Site Collection List 

On the right side of the screen you will see dropdown box for Web Application, select your My Site host. Now a list of My Sites users will be displayed.

create a boot cd from an ISO

after messing with this for way too long I found a REAL easy answer to the question.

downloaded and installed this tool http://www.petri.co.il/how_to_write_iso_files_to_cd.htm

  1. Download the ISO CD image to a folder on your computer.

  2. Insert a blank CD in your CD-RW drive

  3. Locate the ISO file, right-click the file name, and then click Copy image to CD to open the ISO Recorder Wizard.

  4. Follow the steps in the wizard to write the image to the CD.

That is it… too easy!

InfoPath 2007 – There has been an error while loading the form

You updated an existing template with some new fields and data connections then published the form to the library. now users are unable to open any of the older forms they had saved. before the current update users were able to open all the forms with ie.

Error:

There has been an error while loading the form.
 
Click Try Again to attempt to load the form again. If this error persists, contact the support team for the Web site.Click Close to exit this message.

This form template is not currently browser-enabled. It must either be republished as a browser-enabled form, or opened using Microsoft Office InfoPath 2007.

—————————–

the problem is the older forms are referencing the old template, in my case it was templateOLD.xsn. All i had to do was update all the old forms… below is a block of code that will help you do this. (the forms Modified date and Modified by will change to the current date and the users name that is updating the forms)

Imports System.Text.RegularExpressions

Dim sPath As String
Dim sText As String

For Each file As String In IO.Directory.GetFiles(“\\sharepointed.com\ehaze”) ‘location of your doc library

sPath = file
sText = My.Computer.FileSystem.ReadAllText(sPath)

sText = Regex.Replace(sText, “templateOLD.xsn”, “template.xsn”)

My.Computer.FileSystem.WriteAllText(file, sText, False)

Next