Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System.MissingMethodException when trying file upload #57

Open
stevegray12 opened this issue May 16, 2016 · 6 comments
Open

System.MissingMethodException when trying file upload #57

stevegray12 opened this issue May 16, 2016 · 6 comments

Comments

@stevegray12
Copy link

Sitecore version xp 8.1
sitecore ship version 0.3.5

when attempting a post to [servername]/services/package/install/fileupload

I get the following 500 error.

Nancy.RequestExecutionException: Oh noes! ---> System.MissingMethodException: Method not found: 'System.String Sitecore.Update.UpdateHelper.SaveInstallationMessages(System.Collections.Generic.List`1, System.String)'.
at Sitecore.Ship.Infrastructure.Update.UpdatePackageRunner.Execute(String packagePath, Boolean disableIndexing)
at Sitecore.Ship.Core.PackageRepository.AddPackage(InstallPackage package) in d:\Development\SCC\ship\src\Sitecore.Ship.Core\PackageRepository.cs:line 17
at Sitecore.Ship.Package.Install.InstallerModule.InstallUploadPackage(Object o) in d:\Development\SCC\ship\src\Sitecore.Ship\Package\Install\InstallerModule.cs:line 108
at Nancy.Routing.DefaultRouteInvoker.Invoke(Route route, DynamicDictionary parameters, NancyContext context)
at Nancy.Routing.DefaultRequestDispatcher.Dispatch(NancyContext context)
at Nancy.NancyEngine.InvokeRequestLifeCycle(NancyContext context, IPipelines pipelines)
--- End of inner exception stack trace ---
at Nancy.NancyEngine.InvokeOnErrorHook(NancyContext context, ErrorPipeline pipeline, Exception ex)

@pveller
Copy link
Contributor

pveller commented May 16, 2016

Take a look at issue #30. The solution is to use Sitecore.Ship version 0.4 that you can download off of the pre-release MyGet feed: https://www.myget.org/F/sitecore-ship-prerelease/api/v2/package

@stevegray12
Copy link
Author

Thanks, does anybody know when it will become an official release?

@pveller
Copy link
Contributor

pveller commented May 18, 2016

I can't tell. @kevinobee had big plans to rewrite with SSC and WebAPI and haven't pushed 0.4 to NuGet.

@kevinobee
Copy link
Owner

The MyGet 0.4.0 pre-release packages are on the NuGet gallery now.

Interested to hear if these solve your issue @stevegray12

@stevegray12
Copy link
Author

@kevinobee. The version we pulled from mygit did solve the issue after we solved some reference issues with ANTLR3. I will pick up the officall release today and update you monday.

@stevegray12
Copy link
Author

@kevinobee All working many thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants