These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Type Error

Hi,

I am building a webform based ipart. However, I keep running into the below error when adding the ipart to a content page. No error or warning message is displaying on the content type setup.

I have been sure to follow what is documented here, https://developer.imis.com/v1.0.1/docs/developing-webform-based-iparts-ascx and also I've added the class libraries to the bin folders in the iMIS and ASI.Scheduler folders.

Can you please assist?

"Please enter a path to a valid user control (.ascx file).
Error Details: Could not load type '' from assembly 'System.Web, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'.
Source: mscorlib
Stack: at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type) at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName) at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase) at Asi.Web.UI.WebControls.AsiWebPartZone.RaisePostBackEvent(String eventArgument)"

Kind regards,

Julie