Hi, i don't really get this to work. It works really good on testsite, but not in production (hosted on Azure)
/umbraco/backoffice/api/RankOneApi/GetPageHierarchy gives me 404 on productionsite. Any idea what it could be?
Hi, I get this error in the dashboard interface, and it's not only GetPageHierarchy that throws 404, also /umbraco/backoffice/api/RankOneApi/AnalyzeNode throws 404.
0.3.1 is installed. Installed by uploading "local package". Did not upgrade, just a new install
Yes, RankOne.dll is present
I'm authenticated in Umbraco, so I suppose my backend session is alive? Or how do I check?
And also, RankOne.Business.dll is NOT present in bin-folder
Oh, if you've installed version 0.3.1. can you also make sure the RankOne.Business.dll is not present in the bin folder. If it is, please delete it. It's not necessary anymore
I'm really trying to reproduce the problem on my dev-environment, but I'll only get the error on Azure. (Running as Webapp)
I also have the testsite on Azure, and get the same error.
I'll fork your project and test to mark the controller as PluginController and see what's happends. If you want I can give you credentials to our testsite
Okay, this was a bit odd. I just made a new release with other changes in my project. And suddenly it works! Did not change anything in RankOne-source.
Hi again, would like to take up this thread again. It seems like the problem is that you've hardcoded the url's to backoffice api to '/umbraco/backoffice/rankone/RankOneApi/{action}'
But the compiled scripts.js in the package that I've downloaded has the wrong url's:
Download latest package (0.3.5) and look att scripts.js around line 847
Did you download the package from our or through nuget?
I just checked, both have the updated javascripts. When you update through nuget not all the files seem to update.
404 from backoffice
Hi, i don't really get this to work. It works really good on testsite, but not in production (hosted on Azure) /umbraco/backoffice/api/RankOneApi/GetPageHierarchy gives me 404 on productionsite. Any idea what it could be?
Hi Calle,
Are you getting this error in the new dashboard interface or with one of the datatypes? Could you do a few checks?
I'm running my personal site in Azure (Virtual Machine) and everything works as expected, this is the only scenario I've tested in Azure.
Hi, I get this error in the dashboard interface, and it's not only GetPageHierarchy that throws 404, also /umbraco/backoffice/api/RankOneApi/AnalyzeNode throws 404.
And also, RankOne.Business.dll is NOT present in bin-folder
Oh, if you've installed version 0.3.1. can you also make sure the RankOne.Business.dll is not present in the bin folder. If it is, please delete it. It's not necessary anymore
I had a look at RankOne.dll in reflector I might be wrong here, but I think your RankOneApiController must be marked with
Thanks, I'll take a look at it. Is there a way I can try to reproduce your environment?
Is it an Azure webapp or have you maybe installed Umbraco through the Azure marketplace?
I'm really trying to reproduce the problem on my dev-environment, but I'll only get the error on Azure. (Running as Webapp) I also have the testsite on Azure, and get the same error.
I'll fork your project and test to mark the controller as PluginController and see what's happends. If you want I can give you credentials to our testsite
Okay, this was a bit odd. I just made a new release with other changes in my project. And suddenly it works! Did not change anything in RankOne-source.
That is indeed odd, haha! Glad it works for you now
I've tried reproducing the problem in an Azure webapp but without success. If you encounter this problem again, please let me know.
Hi again, would like to take up this thread again. It seems like the problem is that you've hardcoded the url's to backoffice api to '/umbraco/backoffice/rankone/RankOneApi/{action}'
Please, correct me if I'm wrong here, but I had a look at this page https://our.umbraco.org/documentation/reference/routing/Authorized/ which sais that the url will look like this:
Because you've marked all your controllers as "RankOne" the url should look like
For example:
I've got 404 in backoffice after the last update, but made this fix in scripts.js on all API-requests, and it works for me
Ok, an addition to my last post. It seems like you've actually fixed the endpoint-url's in the source: https://github.com/markwemekamp/RankOne-Umbraco-SEO-Tool/blob/master/src/RankOne.SEO.Tool/Web/UI/App_Plugins/RankOne/services/dashboard.service.js
But the compiled scripts.js in the package that I've downloaded has the wrong url's: Download latest package (0.3.5) and look att scripts.js around line 847
Did you download the package from our or through nuget? I just checked, both have the updated javascripts. When you update through nuget not all the files seem to update.
is working on a reply...