Forgot to mention, this is EPi 7.5 and version 7.14.2
In EPiServerFramework.config, you should see this:
<appData basePath="<somepath>" />
This can be shared in load-balancing environment.
You can specify the standard blob provider (FileBlobProvider) path liks this:
<episerver.framework> <blob defaultProvider="fileShare"> <providers> <add name="fileShare" path="\\dbserver\blobs" type="EPiServer.Framework.Blobs.FileBlobProvider, EPiServer.Framework" /> </providers> </blob>
Tried that, but
is not valid ...(Unrecognized attribute 'defaultprovider')
And no, the EpiserverFramework file is gone... or should I make one just for this purpose?
section which matters. You can change the AppData basePath in web.config.
The episerver.framework file has been moved into the web.config file, in a <episerver.framework> section. There you will also find <appData basePath>.
<configuration> .... lots more settings <episerver.framework> <blob defaultProvider="fileShare"> <providers> <add name="fileShare" path="\\dbserver\blobs" type="EPiServer.Framework.Blobs.FileBlobProvider, EPiServer.Framework" /> </providers> </blob> <appData basePath="App_Data" /> ... more settings </episerver.framework> ... </configuration>
And remember that config settings are case sensitive, so make sure you have a capital P in defaultProvider
Thanks all! It works fine now, and thanks Per it is case sensitive I had the lowercase p :-/
One thing you can do in a load balanced enviroment is to have for example DFS to sync your local AppData folder.
blobs automatically placed in AppData folder, but how can I use a commen share in a load balanced environment?
Where do I change the path?
Since episerverframework and episerver config files are gone, I guess the configuration is in web.config... but here is only the AppData basePath="", I guess changing this would affect aother things..?
Please help :)