Is editing umbaco.config a good idea? Options
Zach
Posted: Monday, October 01, 2007 10:10:21 PM
Rank: Devotee

Joined: 8/15/2007
Posts: 30
I was just wondering if editing umbraco.config was 'legal' or if bad things would start happening if I messed with it.

Thanks,
Zach
neehouse
Posted: Monday, October 01, 2007 10:47:03 PM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
It is legal. Acutally, there are a few settings which should be edited to better suit your needs. Any specific questions you have?

Once you are done editing, modify the web.config to have the app restart and pick up the changes in umbraco.config.

Case

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
Zach
Posted: Monday, October 01, 2007 11:03:58 PM
Rank: Devotee

Joined: 8/15/2007
Posts: 30
Well, I'm going to need to do some bulk loads into the system once I get the structure setup, so I was hoping to be able to manipulate the XML directly because that's so easy. I'm a much happier camper now, Thanks Casey.

Zac
Zach
Posted: Monday, October 01, 2007 11:11:23 PM
Rank: Devotee

Joined: 8/15/2007
Posts: 30
Forgot to ask, what needs to be changed in web.config to restart the app?
Zach
Posted: Monday, October 01, 2007 11:58:37 PM
Rank: Devotee

Joined: 8/15/2007
Posts: 30
Been looking around and read that I need to "touch" web.config right? I assumed that means just opening it in an editor, adding a space somewhere, and closing it.
drobar
Posted: Tuesday, October 02, 2007 2:47:31 AM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,831
Location: MA, USA
Right. To "touch" the web.config is to save it. But most editors won't save an unchanged file so add a space, delete the space (or a blank line) and then save it. IIS will notice that the file "changed" and will restart the application to load the new data. That will also force the umbraco config files to be loaded again as well.

cheers,
doug.

MVP 2007-2009 - Percipient Studios
neehouse
Posted: Tuesday, October 02, 2007 3:51:25 AM

Rank: Umbracoholic

Joined: 7/20/2006
Posts: 1,076
Location: Charleston, West Virginia, United States
I am sorry... I read that incorrectly...

I was thinking you were asking about umbracoSettings.config. Editing Umbraco.config will do you no good, as once the app reloads, the changes are lost.

If you need to import content, using the API is the best way. There are methods of importing content using packages, but I would not recommend it, as it would be a huge mess to clean up.

If you need help with the API, please post back, and we can try to help.

I can also freelance for you if you need it faster.

Case

• 2007/2008 MVP • 2008/2009 MVP • Certified • Licensing • Support • Development • Hosting •
Zach
Posted: Tuesday, October 02, 2007 6:32:14 PM
Rank: Devotee

Joined: 8/15/2007
Posts: 30
Thanks Casey, I'll start looking into when I have a free moment (got pulled onto something else temporarily) and hopefully give it a decent shot.

Doug, thank you for the reply!

Zac
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.