Control installation instruction is missing.
I used standard custom control installation instruction. Control did not work with it. It does not get placed on view or form and no event appear for the control.
I take it back. There are some extensions and images blocked in our domain. This is the reason control was not being rendered on the view/form. After allowing these extensions/images on the server control worked as desired. So all is well in my world again.
Hi, Will this work for SmartForms version to 4.6.11 ?
When I try to register using controlutil.exe I get the following error:
D:Program Files (x86)K2 blackpearlBin>controlutil.exe register -assembly:"D:Program Files (x86)K2 blackpearlK2 smartforms DesignerinSourceCod e.QA.Controls.Modalizer.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: D:Program Files (x86)K2 blackpearlK2 smartforms DesignerinSourceCode.QA.Controls.Modalizer.dll
System.IO.FileLoadException: Could not load file or assembly 'file:///D:Program Files (x86)K2 blackpearlK2 smartforms DesignerinSourceCode.QA.Co ntrols.Modalizer.dll' or one of its dependencies.
Operation is not supported. (Exception from HRESULT: 0x80131515) File name: 'file:///D:Program Files (x86)K2 blackpearlK2 smartforms DesignerinSourceCode.QA.Controls.Modalizer.dll' ---> System.NotSupportedExce ption: An attempt was made to load an assembly from a network location which would have caused the assembly to be sandboxed in previous versions of th e .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 intende d to sandbox the assembly, please enable the loadFromRemoteSources switch. See http://go.microsoft.com/fwlink/?LinkId=155569 for more information. at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackC rawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, Sta ckCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) at System.Reflection.RuntimeAssembly.InternalLoadFrom(String assemblyFile, Evidence securityEvidence, Byte hashValue, AssemblyHashAlgorithm hashA lgorithm, Boolean forIntrospection, Boolean suppressSecurityChecks, 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)
That AFAIK is due to copying directly between remote sessions.
Download the zip to a central share then copy the zip to the target environment. Once you've done that extract the zip and install.
The control was built on 4.6.11, so yes, it should work .
Please let me know if you still have issues: email@example.com
Thanks Ernie, this control has been working for me once I figured out the restriction in our domain. One observation is, if it takes longer for the operation within Spinner control start and end, then Spinner intermittently stops spinning till the operation is complete. Gives false impression to end user as if something is hung. But actually it is not.
My control actually uses the internal spinner logic of SmartForms (I literally ask SF runtime to show its spinner - I don't add it myself) - you will see the same thing happens with the native SF spinner as well.
I don't know if we will ever move to a "multi-threaded" model in SF, if we do, this will probably go away.
Thank you very much for explaining me that behavior and the inherent nature of it. Now I know the cause of it. Appreciate it.
Already have an account? Login
Enter your username or e-mail address. We'll send you an e-mail with instructions to reset your password.
Sorry, we're still checking this file's contents to make sure it's safe to download. Please try again in a few minutes.
Sorry, our virus scanner detected that this file isn't safe to download.
We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.