If you are trying to create Sharepoint 2007 Workflow project and receiving error message:
“A 32-bit version of SharePoint Server is not installed. Please install a 32-bit version of SharePoint Server” then try this solution.
- Install the following:
- Visual Studio Extensions for SharePoint ver 1.2 or ver 1.3 – this addin provides developers with support for building workflow-enabled applications using Windows Workflow Foundation. Compatible with the released versions of the 2007 Microsoft Office system, Microsoft Windows Vista, and the .NET Framework 3.0 Runtime Components
- Create a new Workflow project with STSDEV or create template Workflow project by yourself according to this tutorial.
References:
- sharepointbuzz
- stackoverflow
- blah!blah!BLOG!!
Development
HowTo, Problems, SharePoint, VS2008, Workflows
Requirements
- A Java runtime – needed to run FitNesse .
- The srvany.exe and instsrv.exe from the Windows 2003 Resource Kit.
- An account on the machine that has Log On As Service rights and full rights to the directory where FitNesse runs and keeps its files.
- The .NET Redist if you want to use the .NET version of the FitNesse server.
- An account with access to the machine to install it on and sufficient rights to do that – this usually means local administrator rights.
Installing FitNesse as service
- Install FitNesse :)
- Install Java
- In FitNesse root folder find start.bat theres something like this:
java -cp fitnesse.jar fitnesse.FitNesse -p 8080
where -p is port number. You should start it and check if under http://localhost:8080 runs your installed FitNesse.
- Install Windows Resource Kit (or srvany.exe and instsrv.exe only)
- Install new service:
instsrv.exe FitNesse "<path to the srvany.exe file>\srvany.exe" -a AcoountName -p AccountPassword
- Add AccountName account required rights (modify) to FitNesse folder
- Create file FitNesseAsService.reg:
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\FitNesse\Parameters]
"Application"="C:\\Program Files (x86)\\Java\\jre6\\bin\\java.exe"
"AppDirectory"="<path to the FitNesse folder>\\FitNesse"
"AppParameters"="-cp fitnesse.jar fitnesse.FitNesse -p 8080"
and run it. This will add required keys to the registry.
- And thats it. If you want to remove FitNesse service, run this:
- You can uninstall Windows Resource Kit (save instsrv and srvany if you want).
Source
http://fitnesse.org/InstallingFitNesseAsaService
Development, Tools
FitNesse, HowTo, Testing
Whole process looks very simple: grab VSS, produce text file, run SVN and consume produced file.
- Download and install (unpack) vss2svn
- Run vss2svn.exe
vss2svn.exe --vssdir \\vss\repository\path
- That will produce
file which will be consume by svnadmin
- [Optional]: compress and send vss2svn-dumpfile.txt file. I’m using 7-zip:
"{PathTo7-Zip}\7-Zip\7z.exe" a "%DATE% vss2svn-dumpfile.7z" "vss2svn-dumpfile.txt" -t7z -mx9 -aoa
- Run svnadmin, use vss2svn-dumpfile.txt
"{PathToSVN Server}\VisualSVN Server\bin\svnadmin" load "E:\SVN Repositories\BackupVSS" < "vss2svn-dumpfile.txt"
- And thats it.
Whole script might look like this:
E:
CD E:\Vss2Svn\
vss2svn.exe --vssdir \\vss\repository\path
:: ### Optional compression, you might do this if you want send file somewhere else ###
"C:\Program Files (x86)\7-Zip\7z.exe" a "%DATE% vss2svn-dumpfile.7z" "vss2svn-dumpfile.txt" -t7z -mx9 -aoa
:: ### SVNAdmin ###
"C:\Program Files (x86)\VisualSVN Server\bin\svnadmin" load "E:\SVN Repositories\BackupVSS" < "vss2svn-dumpfile.txt"
Tools
HowTo, Subversion, SVN, Visual Source Save, VSS
This little function converts HTML characters (for example brackets < >) to entities (like < >).
function escapeHTMLEncode(str)
{
var div = document.createElement('div');
var text = document.createTextNode(str);
div.appendChild(text);
return div.innerHTML;
}
Source: http://sanzon.wordpress.com
Development
HowTo, JavaScript