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
Add following code to file: FCKEditor\editor\fckeditor.html
window.onload = function()
{
// 25-11-2008 Han: Fixing the issue with the backbutton, when the back/forward button is hit then the html to display is
// still HTMLEncoded which will cause the control to display html control sequences in the editor.
// The easiest solution is probably to always htmldecode the value before it is beaing displayed in the editor, this can be done
// using the statement below.
// FCK.LinkedField.value=FCKTools.HTMLDecode(FCK.LinkedField.value);
FCK.LinkedField.value=FCKTools.HTMLDecode(FCK.LinkedField.value); // THIS LINE
InitializeAPI(); // existing code line
.......
}
After adding the code line you will have to make sure that the javascript is downloaded to the client, so in your browser delete the local files ( tools->internet options->delete files).
And then it should all work as expected.
Source: FCKEditor forum
Development
FCKEditor, HTML Editors, Problems
- SecurityTrimming doesn’t work with Menu control and when Windows authentication is used. Menu becomes invisible or only root node is visible.
Create root node as
<siteMapNode url=”home.aspx” title=”Home” roles=”*”>.
If it still doesn’t work try to add roles attribute to other siteMapNodes.
- How to refresh an UpdatePanel using JavaScript?
Use __doPostBack() method in JavaScript code:
function someFunction ()
{
__doPostBack('UpdatePanel1', '');
// or try this if code above doesn't work:
// __doPostBack('<%= UpdatePanel1.ClientID %>', '');
}
Development
AJAX, asp.net, JavaScript, Problems
Error: The specified metadata path is not valid. A valid path must be either an existing directory, an existing file with extension ‘.csdl’, ‘.ssdl’, or ‘.msl’, or a URI that identifies an embedded resource.Source: forums.microsoft.com
ADO.NET Entity Framework
OS: Vista x64
Platform: VS 2008
The catch is that apparently the designers are not supported on 64-bit machines. You should copy two files from %windir%\Microsoft.NET\Framework64\v3.5 to %windir%\Microsoft.NET\Framework\v3.5:
- Microsoft.Data.Entity.Build.Tasks.dll
- Microsoft.Data.Entity.targets
then restart Visual Studio and rebuild your solution.
Tools
ADO.NET, Entity Framework, Problems, Visual Studio 2008
Error: The selected file is not a valid solution file.
Platform: VS 2008
Description: When one trying to use VisualSourceSafe 2005 with VisualStudio 2008 one get above error.
Solution:
- First install Visual Source Safe 2005 Update CTP
- Next run as administrator the following command: regsvr32 “%programfiles%\Microsoft Visual SourceSafe\tdnamespaceextension.dll”
Source: http://blogs.msdn.com/richardb
Tools
Problems, Visual Studio 2005, Visual Studio 2008