The Execute method of job definition “SPSolutionDeploymentJobDefinition” (id “c399d875-78f4-42c2-a230-de6842e208bf”) threw an exception
Posted on 16. Jan, 2010 by admin in Sharepoint
In Microsoft Office SharePoint 2007, when you try to upload InfoPath form from Central Administration Site the installation will fail.
In event Viewer you will see the following error posted:
Event ID: 6759
The Execute method of job definition “SPSolutionDeploymentJobDefinition” (id “c399d875-78f4-42c2-a230-de6842e208bf”) threw an exception. Solution manifest for solution ‘3dc3b0d5-7837-4d88-bda5-104dab188495′ failed validation, file manifest.xml, line 2, character 84: The ‘ResetWebServerModeOnUpgrade’ attribute is not declared.
The Execute method of job definition “SPSolutionDeploymentJobDefinition”
this indicates that the wss.xsd was modified and the below line is either not available or set wrong:
<xs:attribute name=”ResetWebServerModeOnUpgrade” type =”ResetWebServerModeOnUpgradeAttr”/>
Solution:
Make sure the following line exist in the wss.xsd file:
<xs:attribute name=”ResetWebServerModeOnUpgrade” type =”ResetWebServerModeOnUpgradeAttr”/>
below is the code where you need to add this line:
<xs:complexType name=”Solution”>
<xs:all>
<xs:element name=”FeatureManifests” type=”FeatureFileReferences” minOccurs=”0″ maxOccurs=”1″ />
<xs:element name=”SiteDefinitionManifests” type=”SiteDefinitionManifestReferences” minOccurs=”0″ maxOccurs=”1″ />
<xs:element name=”Assemblies” type=”AssemblyFileReferences” minOccurs=”0″ maxOccurs=”1″ />
<xs:element name=”TemplateFiles” type=”TemplateFileReferences” minOccurs=”0″ maxOccurs=”1″ />
<xs:element name=”RootFiles” type=”RootFileReferences” minOccurs=”0″ maxOccurs=”1″ />
<xs:element name=”ApplicationResourceFiles” type=”ApplicationResourceFileDefinitions” minOccurs=”0″ maxOccurs=”1″ />
<xs:element name=”Resources” type=”ResourceDefinitions” minOccurs=”0″ maxOccurs=”1″ />
<xs:element name=”DwpFiles” type=”DwpFileDefinitions” minOccurs=”0″ maxOccurs=”1″ />
<xs:element name=”CodeAccessSecurity” type=”CodeAccessSecurityDefinition” minOccurs=”0″ maxOccurs=”1″/>
</xs:all>
<xs:attribute name=”SolutionId” type=”UniqueIdentifier” />
<xs:attribute name=”DeploymentServerType” type=”DeploymentServerTypeAttr” />
<xs:attribute name=”ResetWebServer” type=”TRUEFALSE” />
<xs:attribute name=”ResetWebServerModeOnUpgrade” type =”ResetWebServerModeOnUpgradeAttr”/>
</xs:complexType>
Restart IIS once you make this change to apply the changes on your portal.

James
Feb 9th, 2010
Can you give the exact XML (Simple/ complex type, etc.) that this tag belong in? I am having this exact error.
James
Feb 9th, 2010
Edit:
I only have this issue on our Production Server (SP2). Our Test Server (SP1) does not have this error, nor does it have this line in the wss.xsd
Is this line only required in SP2 installations?
admin
Feb 9th, 2010
Hi james, thanks for pointing this, i modified this post and added the code snippet where you need to add the “ResetWebServerModeOnUpgrade” code, am not so sure but i guess it is requiered with SP2 and for some reasons you don’t have it (installation issues ??).. and do not apply this change unless you are getting this error..
let me know if you still have the same issue after adding the code provided.
cheers