I suspect that you don't have adequate file permissions on the /data/umbraco.config file (or some other file(s)).
If it is a medium trust issue I would expect you'd get errors long before this... though Benjamin is the medium trust expert and is working hard on making umbraco medium-trust friendly.
Aha. Medium Trust = my digs (I've created a new build which supports Medium Trust here).
You must ensure that your ASP.NET user account also has write access to the /data/umbraco.config file - also ask your host if the application pool runs with ASP.NET impersonation or actually runs as NETWORK SERVICE.
P.S. I believe (but have not tested this) that if you remove the umbraco.config file from the /data directory, all works well. I think it's something to do with umbraco.config controlling file-based caching and removing it forces Umbraco to cache data elsewhere, which solves the problem.
Morten, if you'd like me to take a look at your build, DM me on Twitter @benjaminhowarth with your MSN/GTalk/Skype and I'll add you so I can help you debug.
Happy to help be part of the friendliest community in the world :-)
You *can* safely delete the /data/umbraco.config file at any time. Umbraco will silently re-create it afresh.
Indeed, this is a useful test. Delete it and see that umbraco can re-create it. If it can then that isn't the problem (though you might have other file-permission related problems).
The umbraco.config file is an xml file that contains all the same data that is held in memory on the server for fast access. You can open it with any text or xml editor. The reason is has a .config filename is so that IIS won't ever serve it up (IIS never serves .config files).
Umbraco Keeps Unpublish Automatic!
Kinda new to umbraco..
Did a fresh install on Surftown's server.. Worked out just fine, played around the admin panel, did a publish and clicked around on my side..
Went away for a short period of time, when i got back it said that there was nothing published.. And i published again...
now 5 times later it still unpublish my site.. What to do?
Hi Morten,
Can you provide us with the following information:
Its Surftown Danish servers..
its installed http://ski.mjdigital.dk/
ASP.NET 3.5
Newest Umbraco Build
Cant find a reason why it keeps unpublish my site :S
If u want Benjamin i can create a user for u so u can try take alook if u got time?
BTW think that surftown run medium thruster... If that does anything?
I suspect that you don't have adequate file permissions on the /data/umbraco.config file (or some other file(s)).
If it is a medium trust issue I would expect you'd get errors long before this... though Benjamin is the medium trust expert and is working hard on making umbraco medium-trust friendly.
cheers,
doug.
Aha. Medium Trust = my digs (I've created a new build which supports Medium Trust here).
You must ensure that your ASP.NET user account also has write access to the /data/umbraco.config file - also ask your host if the application pool runs with ASP.NET impersonation or actually runs as NETWORK SERVICE.
Let us know if this helps.
Cheers,
Benjamin
P.S. I believe (but have not tested this) that if you remove the umbraco.config file from the /data directory, all works well. I think it's something to do with umbraco.config controlling file-based caching and removing it forces Umbraco to cache data elsewhere, which solves the problem.
Morten, if you'd like me to take a look at your build, DM me on Twitter @benjaminhowarth with your MSN/GTalk/Skype and I'll add you so I can help you debug.
Happy to help be part of the friendliest community in the world :-)
You *can* safely delete the /data/umbraco.config file at any time. Umbraco will silently re-create it afresh.
Indeed, this is a useful test. Delete it and see that umbraco can re-create it. If it can then that isn't the problem (though you might have other file-permission related problems).
The umbraco.config file is an xml file that contains all the same data that is held in memory on the server for fast access. You can open it with any text or xml editor. The reason is has a .config filename is so that IIS won't ever serve it up (IIS never serves .config files).
cheers,
doug.
Benjamin Howarth tried adding u on twitter :D But dont know if i got it right...
Just add my MSN [email protected]
is working on a reply...