-
Notifications
You must be signed in to change notification settings - Fork 61
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
Using Sitecore.Ship with version 8.1 of sitecore, issue with /services url #52
Comments
No one has responded yet -- but I need to take a step back. I did build my own and get Sitecore.Ship via the code to work on 8.0. Will it work on 8.1? |
The only way is via the code. /services is not configurable in Ship but I know Kevin was going to extract it out. Not sure if it got backlogged with the new Web API / SSC plans. If you ask me - it's ok to run your own custom version of it that fits your needs. Ship is infrastructure and it's hard to have one size fits all. I am using a fork too - the PR with token authentication wasn't merged (yet) and I need that on the instances with Ship exposed out. Sent from my iPhone
|
Apologies guys, @pveller was spot on I have been swamped. Must try harder and will get those forked changesets looked at asap. |
Hi All. Just a note to say we had a similar issue. Last time I checked (this Tuesday) we were playing with more specific, multiple, nancy httphandler paths to fix it but that was just one of my crazy on the spot ideas before quite literally running for the train. TBH I have to check what fixed it for us in the end but when I'm in the office next week I'll ping the result here. Might help someone! David |
Ok so as it turns out, that was the answer. We replaced: I hope that's helpful for some. David |
I am having a similar issue with Sitecore 8.1 (latest update) and Ship v0.4. When I add the handler [FileLoadException: The given assembly name or codebase was invalid. (Exception from HRESULT: 0x80131047)] [TypeInitializationException: The type initializer for 'Nancy.Hosting.Aspnet.NancyHttpRequestHandler' threw an exception.] When I add the same in section under <system.web> it keeps getting back with 404 error. Any pointers will be really helpful. Thanks |
@mohit511, did you try using the classic ASP.NET endpoint? |
Hi @pveller, yes i tried. added handlers |
I actually meant: <add verb="*"
name="Sitecore.Ship"
type="Sitecore.Ship.AspNet.SitecoreShipHttpHandler, Sitecore.Ship.AspNet"
path="/services/*" /> |
Thank you @pveller. This works. |
Sorry guys, I missed this email trail as I have been away travelling. Thanks @pavel for responding :) -----Original Message----- Thank you @pveller. This works. |
I had to download the source and build my own sitecore ship because of using sitecore 8.1.
Everything was working fine until our content editors renamed an area of our site to be "services".
So now they need the /services url to refer to their content area. But as you know sitecore ship uses the /services url for fileupload, publishing etc.
They went ahead and removed the entry from the ship.config file without my knowing. So two things
I hope it's okay to post this kind of issue here.
Thanks,
Melissa M
The text was updated successfully, but these errors were encountered: