Cache Folder must be specified to start upload process

Discussions about DocuVieware integration in GdPicture.NET.
Post Reply
Alex
Posts: 4
Joined: Mon Apr 16, 2018 6:39 pm

Cache Folder must be specified to start upload process

Post by Alex » Mon Jun 18, 2018 11:29 pm

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!

Cedric
Posts: 263
Joined: Sun Sep 02, 2012 7:30 pm

Re: Cache Folder must be specified to start upload process

Post by Cedric » Mon Jul 09, 2018 10:19 am

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,

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests