Installing SharePoint on Windows Server 2008
When installing SharePoint on your Windows Server 2008 operating system remember
using the installer containing SP1, since you can't install SharePoint on Win2K8
without SP1. So it is not possible to first install SharePoint without SP1 and later SP1. You have to use the installer containing SharePoint and SP1.
Download: SharePoint Server 2007 Trial with Service Pack 1 included
(OfficeServerwithSP1.exe)
Problems using WSS Extensions for Visual Studio
ERROR: “This solution contains two assemblies with the same name, or the SharePoint server already has an assembly with the specified name.” when deploying a solution using the Visual Studio Extensions for SharePoint (VSEWSS) after you have already deployed it to a different site on the same server.
Resolution:
- Remove the solution’s assembly from the Global Assembly Cache (GAC).
- Gacutil –uf assemblyName (note: no .dll extension is specified)
- Rename or Remove the feature from “Program Files\Common Files\Microsoft Shared\
web server extensions\TEMPLATE\FEATURES\FeatureName”
//FeatureName may not be the same as assembly name –
look in your manifest.xml to find the correct name
[/code]
ERROR: When trying to deploy a VSEWSS solution using the Visual Studio “Deploy” command you receive the error “Value does not fall within the expected range.”
Resolution:
Remove all projects except the VSEWSS project from the Visual Studio solution
then attempt your deployment again.
ERROR: Value does not fall within the expected range (Line 0, Column 0)
Resolution:
- Delete the pkg folder in your solution foler.
- Start building and deploying again.
Read More on MSDN Forum
Event Receiver DLL in GAC
I noticed that it is not possible to place a dll in the BIN
directory of your Virtual Directory if you're registering event handlers in this
DLL. Event Handlers (also e.g. SharePoint Jobs) have to be placed in the GAC.