Unable to move config files to virtual directory
I'm having an odd problem. I wanted to move our config files to a virtual directory so deploys of the checked-in versions wouldn't wipe out changes. However, when I move the files and set up the virtual directory, I'm presented with a blank page with nothing but the Sitefinity admin background image. Is this possible with Sitefinity 5.4?
A little more information: The /app_data/sitefinity/config files don't need to be in the project, but apparently they all can't be in a virtual directory. Sitefinity's definitely reading some of the files.
Is there a reason we can't access all of the config files from a virtual directory?
This ended up being a permissions issue. It's working fine.
Hi,
I am glad to hear that everything is working on your side. Please note that it is important the ASP.NET Worker process or NETWORK SERVICE accounts to have full access( or at least read/write permissions) over App_Data folder.
Greetings,
Stefani Tacheva
the Telerik team
My last reply was a little premature--we couldn't get this completely working and had to roll back.
Using localsystem as our app pool user, we are unable to get this working on a development machine. In our test environment, we were able to get this working, but then the migration module broke, saying it could not register the MigrationModuleConfig.config file.
This is a big point of frustration, since deploys wipe out environment specific changes to the config files, and there is no documentation I could find on how to switch the configs to be run from the DB for an existing project.
Hi,
Regarding the MigrationModuleConfig.config file you have opened a support ticket, if the solution provided from us has helped you could share it with the community.
Further information about how to move configurations to database could be found in this blog post.
Kind regards,
Stefani Tacheva
the Telerik team