Scenario:
You got the following error while using the upgrade command with your updated solution file.
Error : The solution file located at "xxxx.wsp" does not appear to be a valid upgrade for solution "xxxx.wsp".
The two solutions must have the same resource types (global or Web-application scoped).
Reason:
This can be due to change in feature scope or addition of a new feature in the solution package from its previous version.
SharePoint is complaining by saying that the solution was either deployed Globally last time and this time you are trying to deploy it to a specific Url or the other way around.
Solution:
I will suggest to better retract/delete the old solution and add/deploy the new one.
But just in case you have issues with this approach, I will suggest to compare the features in the solution package and move it to another solution package.
Comments welcome...
Wednesday, September 30, 2009
Subscribe to:
Post Comments (Atom)
3 comments:
Good one Sandy.
But these are not the only scenarios indeed.
I have posted another scenario where we have had the exact error in my blog.. http://goodbadtechnology.blogspot.com/2009/09/solution-file-located-at-xxxwsp-does.html
"I will suggest to better retract/delete the old solution and add/deploy the new one."
How?
"I will suggest to better retract/delete the old solution and add/deploy the new one."
How?
Post a Comment