November Happy Hour will be moved to Thursday December 5th.

Images and appdata configuration setting

Vote:
 

Hi all,

We're building a project where we have multiple people working on coding and testing. We've updated the appdata configuration setting to a shared folder on a network drive. Loading images works fine, but when someone uploads an image, it's saved on their local machine and not the shared drive.

Has anyone else experienced this? Everyone has full control on this folder so I don't think it's a rights issue.

Thanks for helping out!

/Mark

#131363
Jul 22, 2015 11:20
Vote:
 

Hi,

Did you set the VPP directory to shared network folder?

<appData basePath="\\10.30.1.231\vpp\myProject" />

Also maybe each developer could have local databse. It could be useful with schema updates - they will available just for the developer.

#131364
Jul 22, 2015 11:26
Vote:
 

Hi,

Yes, that's what we did. We set the basePath to the shared folder. But still it's loading images from that path, but saving it locally.
We're also using a shared database.

/Mark

#131365
Edited, Jul 22, 2015 11:33
Vote:
 

Could you try to run this in debug watch window:

VirtualPathUtilityEx.RebasePhysicalPath("[appDataPath]\\blobs")

This code will show the location of files.

#131367
Jul 22, 2015 11:53
Vote:
 

Will do! 

#131368
Jul 22, 2015 12:00
Vote:
 

i have set appdata basepath in web.config under the <episerver.framework> and it worked for me

#131376
Jul 22, 2015 12:42
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.