Skip to main content

- Get the following totals from your worklist.
o TotalItems
o TotalHighPriority
o TotalMediumPriority
o TotalLowPriority
o Overdue
o DueToday
o DueTomorrow
o DueIn5Days
o TotalItemsAvailable
o TotalItemsAllocated
o TotalItemsSleep
o TotalItemsCompleted
o TotalItemsOpen
- Get the statistics for you or another user
- Refresh the statistics every x seconds on a timer.

I'm get error during registering of dll. My version 11 (last). C:Program Files (x86)K2 blackpearlBin>controlutil register -assembly:"C:Program Files (x86)K2 blackpearlK2 SmartForms DesignerinK2Field.K2Forms.Controls.WorklistStats.dll" SourceCode SmartForms SDK Command-Line Utility Connecting to Integrated=True;IsPrimaryLogin=True;Authenticate=True;EncryptedPassword=False;CachePassword=True;Host=localhost;Port=5555... Loading assembly: C:Program Files (x86)K2 blackpearlK2 SmartForms DesignerinK2Field.K2Forms.Controls.WorklistStats.dll Loading assembly: C:Program Files (x86)K2 blackpearlK2 SmartForms DesignerinK2Field.K2Forms.Controls.WorklistStats.dll System.IO.FileLoadException: Could not load file or assembly 'file:///C:Program Files (x86)K2 blackpearlK2 SmartForms DesignerinK2Field.K2Forms.Controls.WorklistStats.dll' or one of its dependen cies. Operation is not supported. (Exception from HRESULT: 0x80131515) File name: 'file:///C:Program Files (x86)K2 blackpearlK2 SmartForms DesignerinK2Field.K2Forms.Controls.WorklistStats.dll' ---> System.NotSupportedException: An attempt was made to load an assemb ly from a network location which would have caused the assembly to be sandboxed in previous versions of the .NET Framework. This release of the .NET Framework does not enable CAS policy by default, so this load may be dangerous. If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more informatio n. at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boole an throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Bo olean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte[] hashValue, AssemblyHashAlgorithm hashAlgorithm, Boolean forIntrospection, Boolean suppre ssSecurityChecks, StackCrawlMark& stackMark) at System.Reflection.Assembly.LoadFrom(String assemblyFile) at SourceCode.Forms.Controls.Web.SDK.Installer.Program.RegisterControlTypes(String assemblyPath, List`1 supportAssemblyPaths) at SourceCode.Forms.Controls.Web.SDK.Installer.Program.Main(String[] args)

Reply