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
- 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
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
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
- Delete the pkg folder in your solution foler.
- Start building and deploying again
Comments
Post a Comment