Page 1 of 1

Cache Folder must be specified to start upload process

Posted: Mon Jun 18, 2018 11:29 pm
by Alex
Hi,

My docuvieware was working just fine, but suddenly began throwing the error from the title when trying to load from a stream. I read the documentation and I saw that the Cache folder had to be created in the root of the project. Then when you create a new instance, you got to set the cache folder. But I can't find the property! The docuvieware manager mentioned in the documentation has no overload that takes 4 parameters, and the only parameters it get, are the session Id, the control Id and the timeout. Then if I try to set it in the docuvieware instance, there is no property called CacheFolder. Looking at the demo included, there is no such property neiher!

I already specified the cache folder in the global.asax like this:

public static string GetCacheDirectory()
{
return HttpRuntime.AppDomainAppPath + "\\Cache";
}

But I still get the exception!

Help please!

Re: Cache Folder must be specified to start upload process

Posted: Mon Jul 09, 2018 10:19 am
by Cedric
Hello,

You need to use the DocuViewareManager.SetupConfiguration static method documented here:
http://www.docuvieware.com/guides/aspne ... ring).html
We will update the documentation and demo applications to make it more clear.

Regards,