Just wrapping up a marathon upgrade from 3.0 to 6.0.5 and things are mostly working great. One of my last issues is that I cannot save razor scripts in the admin website. I can edit them on disk and they are rendered fine on the front end.
I get this error on save in the javascript console. Any ideas?
Uncaught TypeError: Object function () {
umbraco.presentation.webservices.codeEditorSave.initializeBase(this);
this._timeout = 0;
this._userContext = null;
this._succeeded = null;
this._failed = null;
} has no method 'SaveDLRScript'editPython.aspx:27
Anything is possible. I used BeyondCompare to copy the dlls in the bin over. I just copied them from disk and didn't affect it. There are no other random DLLs from packages or extensions except WebControlCaptcha.dll...
I'm sure its something related to the upgrade process (old javascript or something)
I don't see ~/Umbraco/codeEditorSave.asmx. Is that the correct directory path?
editPython.aspx does have that include.
Something of note, its running on IIS6. Does that work? I'm also seeing an issue with TinyMCE in Chrome that its getting an error about needing IIS to be in integrated pipeline mode. I don't think that exists in IIS6.
Cannot save Razor scripts after upgrade to 6.0.5
Just wrapping up a marathon upgrade from 3.0 to 6.0.5 and things are mostly working great. One of my last issues is that I cannot save razor scripts in the admin website. I can edit them on disk and they are rendered fine on the front end.
I get this error on save in the javascript console. Any ideas?
@Jason -
Just a hunch...could there be an older .dll (from pre-6) still in the /bin/ ? Any you've incremented CD already too?
-Paul
Anything is possible. I used BeyondCompare to copy the dlls in the bin over. I just copied them from disk and didn't affect it. There are no other random DLLs from packages or extensions except WebControlCaptcha.dll...
I'm sure its something related to the upgrade process (old javascript or something)
Hey Jason, can you check if you have the file ~/Umbraco_Client/Editors/EditMacroScripts.js and if it contains the call to SaveDLRScript?
The call is then made to ~/Umbraco/codeEditorSave.asmx so make sure that file is there too.
Finally, have a look at ~/Umbraco/Developer/editPython.aspx it should have this guy in there:
And as Paul suggested try to bump the version in ClientDependency.config as well to get fresh javascripts.
Sebastiaan,
EditMacroScripts is there.
I don't see ~/Umbraco/codeEditorSave.asmx. Is that the correct directory path?
editPython.aspx does have that include.
Something of note, its running on IIS6. Does that work? I'm also seeing an issue with TinyMCE in Chrome that its getting an error about needing IIS to be in integrated pipeline mode. I don't think that exists in IIS6.
6.x works on IIS 6, right?
Thanks,
Jason
is working on a reply...