Skip to content

sptimer assembly cache problem when using (redeploy.bat) #6

Open
@norvegec

Description

@norvegec

Precondition:

  1. my.wsp is deployed as farm solution with -GacDeployment parameter. my.dll is in GAC.
  2. New feature is added to my.wsp with feature receiver. Package version isn't incremented, neither does assembly/file versions.
  3. When redeploy.bat is executed, uninstall-remove my.wsp worked fine, but add-install 'my.wsp' is exited with error in
The Execute method of job definition "SPSolutionDeploymentJobDefinition" threw an exception. 
Failed to create receiver object from assembly **ommited**
System.ArgumentNullException at System.Activator.CreateInstance(Type type, Boolean nonPublic)

Solution: If restart-service SPTimerV4 is called before installing new version of my.wsp then it is completed successfully.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions