VintaSoft Imaging .NET SDK and Plug-ins Discussions
Questions, comments and suggestions concerning VintaSoft Imaging .NET SDK.
Board index < VintaSoft Imaging < VintaSoft Imaging .NET SDK and Plug-ins Discussions
Message: An unhandled exception of type 'System.InvalidOperationException' occurred in System.Windows.Forms.dll
Additional information: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application.
at System.Windows.Forms.Form.ShowDialog(System.Windows.Forms.IWin32Window)
at Vintasoft.Imaging.VintasoftLicenseProvider._(System.Object)
at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean)
at System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
at System.Threading.ThreadPoolWorkQueue.Dispatch()
I had first to reconfigure it to run on my Local IIS (instead of IS Express) and with my credentials on the Application Pool, otherwise, the demo failed to create temp folders (due to accesses denied).You need create the "VintasoftCache" directory in the directory of your web application and provide the write access for the directory.
Do you confirm that this is the expected configuration to be made o run the demo ? Anything else to be customized on the website ?
Next, I get now errors because the SDK tries to open the "Trial" Popup. It is failing as the SDK runs in non-interactive mode (within IIS) :(Unfortunately, in current version you can evaluate our web demos only on IIS Express (you need run our web demos from Visual Studio) because IIS express does not throw exception when modal dialog is showing. Also you can evaluate our web demos on our web site. We are working on this problem and in near time you will be able to evaluate our web demos on real IIS server. Sorry for this inconvenience.
The error logged in the event log looks like this: ...
The assembly VintaSoft.Imaging.Annotation.Web.dll in missing in the SDK 8.1.5.1 but was available in the SDK 8.1.4.3...Please contact our support team with this issue.