Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
In EPiServerFramework.config, you should see this:
<appData basePath="<somepath>" />
This can be shared in load-balancing environment.
Regards.
/Q
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
<blob defaultProvider="fileShare">
is not valid ...(Unrecognized attribute 'defaultprovider')
And no, the EpiserverFramework file is gone... or should I make one just for this purpose?
It's the
<episerver.framework>
section which matters. You can change the AppData basePath in web.config.
Freguz,
The episerver.framework file has been moved into the web.config file, in a <episerver.framework> section. There you will also find <appData basePath>.
Example:
<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 :-/
/Fredrik
One thing you can do in a load balanced enviroment is to have for example DFS to sync your local AppData folder.
Hi
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 :)
Fredrik