Portal Engine
Version 3.x > Portal Engine > Upload file in BizForms when running a webfarm View modes: 
User avatar
Member
Member
damon.amanabadi-artisgroup.com - 3/24/2011 1:15:36 AM
   
Upload file in BizForms when running a webfarm
Hi All,

I have a web farm with 2 servers, I've created a Bizform allowing the users to upload files using the "Upload File" filed type . the problem is that the files that have been uploaded by the end-users are saving in only the web server which he was connected at the time of using the bizform to entering the data.

Is there any way to Sync these to folders ? Both are on a folder named "BizFormFiles"
Is there any way to save the uploaded file to database instead of file system?

Cheers,

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 3/24/2011 1:53:08 PM
   
RE:Upload file in BizForms when running a webfarm
Hi,

Could you please add a web.config parameter to your web.config file. It should be this one:

<add key="CMSWebFarmSynchronizeFiles" value="true" />

Its default value is true, please check also the Web farms section in Site manager if there are any errors logged or not processed tasks. Check the event log too (Site Manager -> Administration -> Event log)

Best regards,
Juraj Ondrus

User avatar
Member
Member
damon.amanabadi-artisgroup.com - 3/30/2011 6:57:58 PM
   
RE:Upload file in BizForms when running a webfarm
Thanks Juraj,

I've checked the webfarm functionality and also added the config parameter but it seems that it's not gonna Synch the folders and I couldn't see any log in event log too.

Is it supposed to work on bizform files folder as well?

User avatar
Member
Member
damon.amanabadi-artisgroup.com - 3/30/2011 11:19:28 PM
   
RE:Upload file in BizForms when running a webfarm
I had an investigation around the webfarm usage , and discovered a silly issue about the server naming in web.config :

<add key="CMSWebFarmServerName" value="..."/>

this line wasn't defined correctly , It works fine now
Thanks Kentico