Anyone can point out how to get razor file saved in version 4.7.0?
I have try to save a blank file but not working at all.
This is the error am getting very time am trying to save a file.
Error occured c:\Windows\Microsoft.NET\Framework64\v4.0.30319\Temporary ASP.NET Files\root\dc9ed78a\5c35ffd\App_Web_634758895741652126_axys-group-navi.cshtml.70df5e80.h7twa9gj.0.cs(27): error CS0138: A using namespace directive can only be applied to namespaces; 'umbraco.MacroEngines.ExtensionMethods' is a type not a namespace
Well remember the server we configured, we did installed v4.7.1 for this project and turns out when i tried to save the file i got the error and only then i noticed from the About and Config file that i was actually using v4.7.0 instead!
Do you think the server might be doing something wrong here?
Sorry for the delay to my reply it was around midnight last night and had to get some sleep.
It sounds like you might have your installation a bit messed up. I would try and perform an Upgrade to v 4.7.2 making sure that you overwrite all the relevant files. Then use something like winmerge or beyondcompare to compare the web.config files to see if you have missed anything.
I switched to V.7.2 and i think we must be having some permission issues on the server. Now with v.4.7.2 still cant save the file but doesnt return any error message expect alert message "Scripting file could not be saved" !
Cant save cshtml file in umbraco v 4.7.0
Anyone can point out how to get razor file saved in version 4.7.0?
I have try to save a blank file but not working at all.
This is the error am getting very time am trying to save a file.
any suggestions?
Hey Fuji
Could you post the Razor file you are trying to save?
Peter
Also seemed that you asked the same question sometime last year? http://our.umbraco.org/forum/developers/razor/28048-Error-msg-when-saving-CSHTML-
Hi Peter,
Even a blank file returns me an error. However i do have a project running on v4.7.0 not having this issue after overwritting the MacroEngines.dll
Is the working site on the same machine? Are you attempting an upgrade? If you are why are you not going to 4.7.2?
Well remember the server we configured, we did installed v4.7.1 for this project and turns out when i tried to save the file i got the error and only then i noticed from the About and Config file that i was actually using v4.7.0 instead!
Do you think the server might be doing something wrong here?
Sorry for the delay to my reply it was around midnight last night and had to get some sleep.
It sounds like you might have your installation a bit messed up. I would try and perform an Upgrade to v 4.7.2 making sure that you overwrite all the relevant files. Then use something like winmerge or beyondcompare to compare the web.config files to see if you have missed anything.
Hi Peter,
I switched to V.7.2 and i think we must be having some permission issues on the server. Now with v.4.7.2 still cant save the file but doesnt return any error message expect alert message "Scripting file could not be saved" !
Finally got this working!!!...needed to set permission on the temp file
//fuji
Fuji - please elaborate. What temp file and what permissions did you set. I'm having the same problem
Thanks
Stewart
is working on a reply...