WSP--- Language related error
I built WSP file from a Danish Language site by using SharePoint Solution Generator 2008.
When I am using STSADM command of addsolution with -lcid 1030 in my system, it is giving the following error.
When I am not using -lcid it is working fine but I need to deploy in Danish Language (1030)
Error:
Cannot add a language pack resource for the solution "teamleder.wsp" without adding the main solution package. D:\Documents and Settings\Administrator\Desktop\WSP Files\Teamleder.wsp: The Sol ution installation failed.
FYI: I have already installed Danish language(1030) pack and it is working fine in my system
June 18th, 2010 12:10pm
Just as a matter of interest (and maybe it is relevant)
Was the system where you created the wsp running the same language of SharePoint (main) system as the system where you are adding this package.
I.e. could it be that the system used for WSP was Danish SP installation (and no LPs) and the target English SP installation + Danish LP.
P.S. You have presumably seen this description of the error message
By specifying this parameter, you stores the solution as a language pack. If the core neutral solution does not exist, the following error message is displayed:
"Cannot add a language pack resource for the solution without adding the main solution package."
(and yes the text does say "stores" after you !)
Ref: http://technet.microsoft.com/en-us/library/cc263162(office.12).aspx
2010 Books: SPF 2010; SPS 2010; SPD 2010; InfoPath 2010; Workflow etc.
2007 Books:
WSS 3.0; MOSS 2007; SPD 2007; InfoPath 2007; PerformancePoint; SSRS; Workflow
Both lists also include books in French; German; Spanish with even more languages in the 2007 list.
Free Windows Admin Tool Kit Click here and download it now
June 18th, 2010 12:32pm
Source system from where I taken they have the site in Danish only
But when I am generating wsp by using SharePoint Solution Generator it is not asking for any language specific settings. May be there lies problem.
In my system I have English (Default) and Danish LP
June 18th, 2010 12:48pm
True, I ran through the generator, and it does not ask for any language setting.
The wsp we generated are created on
SharePoint Services 3.0 SP2 with Danish Language Pack. Not sure there IS a danish version of SharePoint Services 3.0 - it is all created in english with languagepack added. I notice that stsadm is english, for instance.
The site collection is created using Danish language (1030). The applicationcore.wsp and documentlibraryreview.wsp we use for our wsps are rolled on using DANISH versions of those (downloaded from MS Download in Danish). So they are not
rolled on as any -lcid specifications. They don't need to apparently.
The target system is deploying using SharePoint Services 3.0 SP2 native English, I just noticed that on the screenshots sent to me by the admin trying to deploy.
I must say I find the mechanics of language pack in SharePoint Services 3.0 opaque. But the source of the problems might be we are going from a Danish language platform with danish solution to english language platform with danish solution? They have added
Danish Language pack though...
[edit]
Trying to roll back the solution from the test system I notice that it says "Country standard 0". It should be 1030 or 1033 shouldnt it? Fishy...
Free Windows Admin Tool Kit Click here and download it now
June 22nd, 2010 12:23pm


