ASI IQA iPart errors

Problem Description

 
We have loaded the ASI IQA Viewer as a webpart (the one asi created). I added this ipart to a content record, published, added a navigation item and linked it to this content record and published. Everything publishes fine but when I go to the page (and on the ipart configuration) we get the following error:

############## ERROR ##################

Unable to process your request!
Incorrect or Unknown source query! Please verify that IQA Query: $/Library/Reports/Chapter Roster exists and (or) you have enough permissions to run it!

#######################################

The query exsits and I can run it from this location. I am logged into the staff website imis15 as manager and getting this error....How do I troubleshoot this?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Who created the ASI iparts?

Could someone point me in the direction of the person who created the ASI sample iparts? 

I created this iPart.

I created this iPart.

Few things to check.

1. Go to iPaprt config page and make sure that you can select this query via Object Browser.

2. Once you will select query from object browser you should be able to see it is properties.

3. Save all your changes and publich content record then try to test it.

 

Thanks,

Dmitry.

I am trying to publish this control to iMIS 15.1.2

I am trying to publish version II to an imis 15.1.2 site... It does not appear that the same folders and files are located in the RadControls folder in 15.1.2...and get this error:    

 

 

 


Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016

 

 

Server Error in '/iMIS15' Application.

Could not find a part of the path 'C:\Program Files (x86)\ASI\iMIS15\net\RadControls\Grid\Skins'.

 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\ASI\iMIS15\net\RadControls\Grid\Skins'.

Source Error:

 

Line 420:            RadGrid _tmpgrid = new RadGrid();
Line 421:            //            DebugAdd(" Skin path: " + Server.MapPath(_tmpgrid.SkinsPath));
Line 422:            string[] _dirs = System.IO.Directory.GetDirectories(Server.MapPath(_tmpgrid.SkinsPath));
Line 423:            ListItem _item = new ListItem();
Line 424:            string _Path = "";

Source File: c:\Program Files (x86)\ASI\iMIS15\Net\Custom\Webparts\IQAViewerIIEditPage.ascx    Line: 422

Stack Trace:

 

[DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files (x86)\ASI\iMIS15\net\RadControls\Grid\Skins'.]
   System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +193
   System.IO.Directory.InternalGetFileDirectoryNames(String path, String userPathOriginal, String searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption searchOption) +1923
   System.IO.Directory.GetDirectories(String path, String searchPattern, SearchOption searchOption) +37
   System.IO.Directory.GetDirectories(String path) +14
   ASI.ContentType_WebPart.IQAViewerII.IQAViewerIIEditPage.FormRefresh() in c:\Program Files (x86)\ASI\iMIS15\Net\Custom\Webparts\IQAViewerIIEditPage.ascx:422
   ASI.ContentType_WebPart.IQAViewerII.IQAViewerIIEditPage.OnLoad(EventArgs e) in c:\Program Files (x86)\ASI\iMIS15\Net\Custom\Webparts\IQAViewerIIEditPage.ascx:59
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

 

When trying to get it working in 15.1.1 I get the same issues

Yes the query was selected via the "browse" button next to the field in the configuration.

Once I hit ok... and am back to the content I can see a design mode message and the same error message underneath that...

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

function NewWindowNavigate(url)
{
window.open(url);
return false;

}

function WindowNavigate(url)
{
// Ok we need to navigate current window to the new URK
window.location=url;

}

function NavigateViaHelper(url,IDValue,windowstatus)
{

var elm;

elm=document.getElementById("ctl00_TemplateBody_WebPartControl_WebPartManager1_ContentItemWebPart1_ContentItemWebPart1_Actual_hdnURLHelper");
// Set String as list with char(6) as separator
var sep=" ";
elm.value=url + sep + IDValue + sep + windowstatus;

var elm1;
elm1=document.getElementById("I bet there is no control with such CLient ID");

if (elm1!=null)
{
// alert ("WE have btn - we need to somehow call its method!");
elm1.click();
}
else
{
document.forms[0].submit();
}
}

 

Design Mode: Please note that some options/settings may not display correctly in Design Mode.
If you don’t see some of your changes below, save the content and close this screen,
then run the content using the icon on the toolbar (Preview Mode).
Note: This message is only displayed in Design Mode.



/*{0} out of {1} pages"},Scrolling:{AllowScroll:false,ScrollHeight:"300px",ScrollWidth:"",ScrollBarWidth:"",ScrollTop:"",AJAXScrollTop:"",ScrollLeft:"",UseStaticHeaders:false,SaveScrollPosition:true,EnableAJAXScrollPaging:false,FrozenColumnsCount:0},Resizing:{AllowColumnResize:false,AllowRowResize:false,ResizeGridOnColumnResize:false,ClipCellContentOnResize:true,EnableRealTimeResize:false},EnablePostBackOnRowClick:false,AllowKeyboardNavigation:false,ApplyStylesOnClient:false,AllowDragToGroup:false,AllowColumnsReorder:false,ReorderColumnsOnClient:false,ColumnsReorderMethod:"Swap",AllowRowHide:false,AllowColumnHide:false,AllowExpandCollapse:false,AllowGroupExpandCollapse:false,EnableClientKeyValues:false,PostBackReferences:{PostBackColumnsReorder:"{__doPostBack('ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable','ColumnsReorder');}",PostBackGroupByColumn:"{__doPostBack('ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable','GroupByColumn');}",PostBackUnGroupByExpression:"{__doPostBack('ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable','UnGroupByExpression');}",PostBackReorderGroupByExpression:"{__doPostBack('ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable','ReorderGroupByExpression');}",PostBackEditRow:"{__doPostBack('ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable','EditRow');}"},ActiveRowData:"",Slider:"",PostBackFunction:"__doPostBack('{0}','{1}')",FirstDataRowClientRowIndex:0,ShouldCreateRows:false},GroupPanel:{GroupPanelItems:[],ClientID:"ctl00_TemplateBody_WebPartControl_WebPartManager1_ContentItemWebPart1_ContentItemWebPart1_Actual_radDataTable_ctl00"},ShowGroupPanel:false,GroupingEnabled:true,MasterTableView: new RadGridNamespace.RadGridTable( {OwnerID:"ctl00_TemplateBody_WebPartControl_WebPartManager1_ContentItemWebPart1_ContentItemWebPart1_Actual_radDataTable",HierarchyLoadMode:"ServerOnDemand",GroupLoadMode:"Server",AllowFilteringByColumn:true,PageSize:10,PageCount:1,TableLayout:"Auto",RenderItemStyle:"",RenderItemStyleClass:"GridRow_Default",RenderGroupHeaderItemStyle:"",RenderGroupHeaderItemStyleClass:"GroupHeader_Default GroupHead",RenderAlternatingItemStyle:"",RenderAlternatingItemStyleClass:"GridAltRow_Default Grid_alternate",RenderEditItemStyle:"",RenderEditItemStyleClass:"GridEditRow_Default",RenderPagerStyle:"background-color:#E9E8CF;",RenderPagerStyleClass:"GridPager_Default",RenderHeaderStyle:"height:20px;",RenderHeaderStyleClass:"GridHeader_Default Grid_head",RenderActiveItemStyle:"",RenderActiveItemStyleClass:"ActiveRow_Default Grid_selected",RenderFooterStyle:"",RenderFooterStyleClass:"GridFooter_Default Grid_foot",SelectedItemStyle:"",SelectedItemStyleClass:"SelectedRow_Default",Name:"",ShowHeader:true,RenderColumns:[{ExpandImageUrl:"/iMIS15/WebResource.axd?d=g8STxh8nO504Dsu8eiYsUVHJOWSHIyzQsCr8MDmhaIuPUMlt_xcVIMS9vwDiFNxcuPaz_gTPsTadE57E6gMrsrqb8LISYDN0bExpDgBiH4M1&t=633776836000000000",CollapseImageUrl:"/iMIS15/WebResource.axd?d=g8STxh8nO504Dsu8eiYsUVHJOWSHIyzQsCr8MDmhaIuPUMlt_xcVIMS9vwDiFNxcuPaz_gTPsTadE57E6gMrsgXufAw1dtP9NCiuehYrHw1A3o-C1te_e7X7Lq5GvO840&t=633776836000000000",ButtonType:"ImageButton",UniqueName:"ExpandColumn",CurrentFilterFunction:"NoFilter",FilterListOptions:"VaryByDataType",FilterImageUrl:"/iMIS15/WebResource.axd?d=g8STxh8nO504Dsu8eiYsUVHJOWSHIyzQsCr8MDmhaIuPUMlt_xcVIMS9vwDiFNxcuPaz_gTPsTadE57E6gMrsu9JQ7zgs7ZHrYl8iv3qsNM1&t=633776836000000000",DataTypeName:"System.String",Visible:false,Display:true,OwnerID:"ctl00_TemplateBody_WebPartControl_WebPartManager1_ContentItemWebPart1_ContentItemWebPart1_Actual_radDataTable_ctl01",ColumnType:"GridExpandColumn",OrderIndex:-1},{UniqueName:"RowIndicator",CurrentFilterFunction:"NoFilter",FilterListOptions:"VaryByDataType",FilterImageUrl:"/iMIS15/WebResource.axd?d=g8STxh8nO504Dsu8eiYsUVHJOWSHIyzQsCr8MDmhaIuPUMlt_xcVIMS9vwDiFNxcuPaz_gTPsTadE57E6gMrsu9JQ7zgs7ZHrYl8iv3qsNM1&t=633776836000000000",DataTypeName:"System.String",Visible:false,Display:true,OwnerID:"ctl00_TemplateBody_WebPartControl_WebPartManager1_ContentItemWebPart1_ContentItemWebPart1_Actual_radDataTable_ctl01",ColumnType:"GridRowIndicatorColumn",OrderIndex:-1}],CurrentPageIndex:0,ID:"ctl01",HierarchyIndex:"",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl01",IsItemInserted:false,CommandItemDisplay:"None",Controls:[],ClientID:"ctl00_TemplateBody_WebPartControl_WebPartManager1_ContentItemWebPart1_ContentItemWebPart1_Actual_radDataTable_ctl01",Visible:true} ),CurrentPageIndex:0,AllowMultiRowSelection:false,ShowHeader:true,FilterMenu:{Items:[{Selected:false,Text:"NoFilter",Value:"NoFilter",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item0"},{Selected:false,Text:"Contains",Value:"Contains",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item1"},{Selected:false,Text:"DoesNotContain",Value:"DoesNotContain",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item2"},{Selected:false,Text:"StartsWith",Value:"StartsWith",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item3"},{Selected:false,Text:"EndsWith",Value:"EndsWith",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item4"},{Selected:false,Text:"EqualTo",Value:"EqualTo",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item5"},{Selected:false,Text:"NotEqualTo",Value:"NotEqualTo",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item6"},{Selected:false,Text:"GreaterThan",Value:"GreaterThan",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item7"},{Selected:false,Text:"LessThan",Value:"LessThan",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item8"},{Selected:false,Text:"GreaterThanOrEqualTo",Value:"GreaterThanOrEqualTo",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item9"},{Selected:false,Text:"LessThanOrEqualTo",Value:"LessThanOrEqualTo",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item10"},{Selected:false,Text:"Between",Value:"Between",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item11"},{Selected:false,Text:"NotBetween",Value:"NotBetween",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item12"},{Selected:false,Text:"IsEmpty",Value:"IsEmpty",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item13"},{Selected:false,Text:"NotIsEmpty",Value:"NotIsEmpty",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item14"},{Selected:false,Text:"IsNull",Value:"IsNull",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item15"},{Selected:false,Text:"NotIsNull",Value:"NotIsNull",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item16"},{Selected:false,Text:"Custom",Value:"Custom",UID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable$ctl02$Item17"}],SelectedImageUrl:"/iMIS15/WebResource.axd?d=g8STxh8nO504Dsu8eiYsUVHJOWSHIyzQsCr8MDmhaIuPUMlt_xcVIMS9vwDiFNxcuPaz_gTPsTadE57E6gMrsh3ySqkG9wdEP15zU_31ruIfnBRkbFdddSvQERAlj1b60&t=633776836000000000",NotSelectedImageUrl:"/iMIS15/WebResource.axd?d=g8STxh8nO504Dsu8eiYsUVHJOWSHIyzQsCr8MDmhaIuPUMlt_xcVIMS9vwDiFNxcuPaz_gTPsTadE57E6gMrsgc-IRR1MfXcezp0sOrqowUp7B7WaXzKyjwK7KrZRniR0&t=633776836000000000",SelectColumnBackColor:"buttonface",TextColumnBackColor:"window",HoverBackColor:"LightSteelBlue",HoverBorderColor:"Navy",CssClass:""},Skin:"",AllowFilteringByColumn:true,ClientID:"ctl00_TemplateBody_WebPartControl_WebPartManager1_ContentItemWebPart1_ContentItemWebPart1_Actual_radDataTable",ID:"radDataTable",UniqueID:"ctl00$TemplateBody$WebPartControl$WebPartManager1$ContentItemWebPart1$ContentItemWebPart1_Actual$radDataTable"} )/*]]>*/

Unable to process your request!
Incorrect or Unknown source query! Please verify that IQA Query: exists and (or) you have enough permissions to run it!

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I save it and publish it and get this same result on the page...  The query is in the common/queries folder in the document system. 

I am frequently getting the error message below when trying to edit the configuration of the webpart... but I think this is a defect with WCM not the webpart:

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an object.]
   Asi.Web.UI.WebControls.SmartControl.OnPreRender(EventArgs e) +2615
   System.Web.UI.Control.PreRenderRecursiveInternal() +80
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Control.PreRenderRecursiveInternal() +171
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842

Server Error in '/iMIS15' Application.

Object reference not set to an instance of an object.

 


Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082

Version I in 15.1.2

I was able to get the version I iqa webpart working in 15.1.2 but not 15.1.1 yet...

Hi, I am using the

Hi,

I am using the IQA Viewer version 2 in WCM 15.1.2 and I want modify the configuration page. I want to display the results in the repeater instead of a grid and I also want to specify number of horizontal rows to display as a config setting.

Can you point me to the direction of how to achieve this? I dont see any .cs files associated to the .ascx files so that I can hack it.

Thanks

Mohsin

 

 

 

Sorry my bad, I didnt see

Sorry my bad,

I didnt see the inline c# code in the .ascx page. I got what I wanted. Please ignore my request.

Thanks

Mohsin