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!
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.
Who is online
Users browsing this forum: No registered users and 2 guests