I've had this before and fixed it by copying a new config file from somewhere but that was for 10.1. See attached screenshot.
How do I fix this?
Cheers, Rob.
I am having a similiar issue with the AppStylist and I have tried the above fix. But now I get another error on my AppStylist regarding assemblies. I have attached a screenshot of the error I am receiving. It states that it cannot find the System.Web.Extensions assembly but I have looked in the GAC and it is there. Any help would be great.
Hello,
I am just checking have you been able to resolve your issue? If you still need any assistance on the matter do not hesitate to ask.
Hello Rob,
I tested the issue that you are referring and I succeeded in reproducing the behavior that you reported still on my side the issue get resolved after modifying the newVersion setting to “4.0.0.0” the version .Therefore would you please try to change the content of the config file as follows :
<?xml version="1.0"?> <configuration> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v2.0.50727"> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0"/> </dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="4.0.0.0"/> </dependentAssembly> </assemblyBinding> </runtime> </configuration>
Please let me know if you have any additional questions with this matter.
Actually, I've not sure I've got it working now because when when I attempt to create a new AppStyList project and base it upon ElectricBlue, I get loads of the attached error messages and the system just doesn't work at all. If I debug it, it's failing here in this code.
Rob.
//<![CDATA[
Sys.Application.initialize(); // FAILS HERE WITH SYS UNDEFINED
Sys.Application.add_init(
function() {
$create(Infragistics.Web.UI.WebDataGrid, {
"id":"WebDataGrid1","name":"WebDataGrid1","props":[[[,10,,],{"c":{"hmcf":false,"sv":"1","_pi":"[\"~/ig_res/Default/images/ig_ajaxIndicator.gif\",,,\"ig_AjaxIndicator\",,1,,,,\"ig_AjaxIndicatorBlock\",,3,,3,\"Async post\"]","cbc":0,"incolcnt":"0","ti":0,"hdlay":false,"cbdci":0,"ecr":false,"rac":"ig_ElectricBlueAlt igg_ElectricBlueAlt","shH":true,"en":"true","dcwidth":"","pi":"[]","ea":"false","ocs":1,"uid":"WebDataGrid1","we":"false"}}],[[[[0]],,],[[[5]],,],[[["Selection",1,2,2,2,,,],{"c":{"sh":"igg_ElectricBlueSelectedHeader","si":"igg_ElectricBlueSelectedRowSelectorImage","sc":"ig_ElectricBlueSelected igg_ElectricBlueSelectedCell","sr":"igg_ElectricBlueSelectedRowSelector","ehs":false}}],,,[]],[[["Paging"],{"c":{"ps":10,"pc":10,"pic":false,"pa":1,"pi":0}}],,,["PageIndexChanging::1"]],[[["Sorting",[["Column 3",2],["Column 1",1]]],{"c":{"ecm":true,"lsck":null,"hmc":true,"sm":0,"ics":false,"cmc":"igg_ElectricBlueMergedCell"}}],,[{'Column 1':[[,0],{"c":{"ck":"Column 1"}}]}],["ColumnSorting::1"]],[[["EditingCore"],{"c":{"bu":false}}],[[[["CellEditing"],{"c":{"ecc":"igg_ElectricBlueEditCell"}}],[[[[,,,]],,]],[{}],["ExitedEditMode:WebDataGrid1_ExitedEditMode","EnteringEditMode:WebDataGrid1_EnteringEditMode"]]],,["RowAdding::1","RowsDeleting::1","RowUpdating::1"]],[[["Activation",,],{"c":{"acc":"igg_ElectricBlueActiveCell","arc":"igg_ElectricBlueActiveRow","arsi":"igg_ElectricBlueActiveRowSelectorImage","arsc":"igg_ElectricBlueActiveRowSelector","ahc":"igg_ElectricBlueActiveColumn"}}],,,[]]],[{'0':[[,,,,,],{"c":{"css":"","footTxt":"","key":"Column 1","headTxt":"Column 1","cf":"","type":"number","dfn":"Column 1","fcs":1,"nullable":true,"vIndex":0,"type2":6,"htmlEnc":true}}],'1':[[,,,,,],{"c":{"css":"","footTxt":"","key":"Column 2","headTxt":"Column 2","cf":"","type":"date","dfn":"Column 2","fcs":1,"nullable":true,"vIndex":1,"type2":12,"htmlEnc":true}}],'2':[[,,,,,],{"c":{"css":"","footTxt":"","key":"Column 3","headTxt":"Column 3","cf":"","type":"string","dfn":"Column 3","fcs":1,"nullable":true,"vIndex":2,"type2":0,"htmlEnc":true}}],'3':[[,,,,,],{"c":{"css":"","type":"boolean","chkcu":"E:/Temp/StyleLibrary/ElectricBlue/images/ig_checkbox_on.gif","chkdt":"true","nullable":true,"vIndex":3,"htmlEnc":true,"chkua":"Unchecked","chkpa":"Partial","footTxt":"","dfn":"Column 4","chkpu":"E:/Temp/StyleLibrary/ElectricBlue/images/ig_checkbox_partial.gif","cf":"","chk":"1","chkuu":"E:/Temp/StyleLibrary/ElectricBlue/images/ig_checkbox_off.gif","chkca":"Checked","headTxt":"Column 4","cct":"","chkdf":"false","key":"Column 4","fcs":1,"type2":13}}]},{}],["Initialize:WebDataGrid1_Init"],]}, null, null, $get("WebDataGrid1"));
});
$create(Infragistics.Web.UI.WebNumericEditor, {
"id":"_ig_def_ep_n","name":"_ig_def_ep_n","props":[[[],{"c":{"prop1":"[\"\",\"..\",\",\",\"-\",\"\",\"n\",\"-n\",1,10,0,1,0,0,0,\"\",0]","uid":"_ig_def_ep_n","vse":0,"prop":"1,0,,0,1,1,,,0,,,,,6,,200,,2038:2040:2032,igte_Focus,igte_Hover,igte_NullText,"}}],,,[]]}, null, null, $get("_ig_def_ep_n"));
$create(Infragistics.Web.UI.WebDateTimeEditor, {
"id":"_ig_def_ep_d","name":"_ig_def_ep_d","props":[[[],{"c":{"prop1":"[\",,\",\"09/05/03\",\"_ 0322\",\"09/05/03\",29,0,\"\"]","uid":"_ig_def_ep_d","vse":0,"prop":"1,0,,0,1,1,,,0,,,,,6,,200,,2038:2040:2032,igte_Focus,igte_Hover,igte_NullText,"}}],,,[]]}, null, null, $get("_ig_def_ep_d"));
//]]>
Answering my own enquiry. To get this working before, I had to replace Infragistics2.Web.AppStyList10.3.exe.config with another version I found elsewhere (can't remember where). Same fix works for Infragistics2.Web.AppStyList10.3.exe.config. Installed version:
<?xml version="1.0" encoding="utf-8" ?><configuration> <startup> <supportedRuntime version="v2.0.50727" /> <supportedRuntime version="v4.0" /> </startup></configuration>
Change to:
<?xml version="1.0" encoding="utf-8" ?><configuration> <startup> <supportedRuntime version="v2.0.50727" /> <supportedRuntime version="v4.0" /> </startup> <runtime> <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1" appliesTo="v2.0.50727"> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly> <dependentAssembly> <assemblyIdentity name="System.Web.Extensions.Design" publicKeyToken="31bf3856ad364e35"/> <bindingRedirect oldVersion="1.0.0.0-1.1.0.0" newVersion="3.5.0.0"/></dependentAssembly> </assemblyBinding> </runtime> </configuration>
And AppStyList now loads.