CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

Error: "DataSet RecPos not specified!"

by zsleo » 01 Aug 2014 23:27

This occurs when first displaying the grid. After displaying that the form works as expected

Here is the log detail:

------------------------------------------------------------------------------------------------------------------------
Exception message : DataSet RecPos not specified!
Exception class : EIWCGJQGridProvider
Exception address : 00BBE59D
Exception Time : 2014-08-02 08:10:04.115
------------------------------------------------------------------------------------------------------------------------
Application Name : MDII.exe
Application Version: 3.30.40.227
Started at : 2014-08-01 17:40:14.315
Running for : 14 hours 29 minutes 49 seconds
Computer Name : [removed]
Compiler Version : 220
------------------------------------------------------------------------------------------------------------------------
IntraWeb Version : 14.0.31
Multi-session : False
Content Path : [removed]
Application Path : [removed]
Session count : 1
Active Form : iwfrmMain (TiwfrmMain)
Active Form list : [1] iwfrmMain (TiwfrmMain)
Form list : [1] IWUserSession (TIWUserSession)
[2] IWUserSession (TIWUserSession)
[3] DM_User01 (TDM_User01)
[4] iwfrmMain (TiwfrmMain)
Browser Name : Chrome
Browser UserAgent : Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
Session ID : cvvdmf12c2dnb566h286oz4y372w
Last Access : 2014-08-02 08:10:04.100
Callback : True
Client IP address : 192.168.10.141
Request PathInfo : /$/callback
Request Method : POST
Runtime parameters : [removed]
------------------------------------------------------------------------------------------------------------------------
(007BD598){MDII.exe } [00BBE598] IWWebGrid.TTIWCustomWebGrid.RenderHTML (Line 8574, "IWWebGrid.pas" + 8) + $2E
(007BD6CD){MDII.exe } [00BBE6CD] IWWebGrid.TTIWCustomWebGrid.RenderHTML (Line 8588, "IWWebGrid.pas" + 22) + $13
(007C07AF){MDII.exe } [00BC17AF] IWWebGrid.TTIWCustomWebGrid.Submit (Line 9333, "IWWebGrid.pas" + 306) + $3
(00804F1A){MDII.exe } [00C05F1A] tmsiwUXlsSheet.TWorkSheet.AddZoomRecord (Line 1784, "tmsiwUXlsSheet.pas" + 3) + $17
(008E4AB0){MDII.exe } [00CE5AB0] fs_ipascal.fs_ipascal (Line 192, "fs_ipascal.pas" + 3) + $284D
(003EE08C){MDII.exe } [007EF08C] IdAuthenticationSSPI.LoadDLL (Line 479, "IdAuthenticationSSPI.pas" + 20) + $52
(00003AB5){MDII.exe } [00404AB5] System.InitializeMemoryManager + $7D
(008031DC){MDII.exe } [00C041DC] tmsiwUXlsSheet.TWorkSheet.LoadFromStream (Line 1188, "tmsiwUXlsSheet.pas" + 41) + $8
(003EDBC2){MDII.exe } [007EEBC2] IdAuthenticationSSPI.ESSPIException.GetErrorMessageByNo (Line 344, "IdAuthenticationSSPI.pas" + 25) + $F
(002967AE){MDII.exe } [006977AE] IWMain.TFormIWMain.InitForm + $C96
(002965B6){MDII.exe } [006975B6] IWMain.TFormIWMain.InitForm + $A9E
(00293176){MDII.exe } [00694176] IWMain.InitMenus + $F6
(0026E8A9){MDII.exe } [0066F8A9] InCustomHTTPServer.HeadersCanContinue + $221
(0028DA1C){MDII.exe } [0068EA1C] IW.Server.HTTPIndy.THTTPServerIndy.ParseFileMultiPart + $108
(00294682){MDII.exe } [00695682] IWMain.InitImageLists + $1FA
(002EF0E2){MDII.exe } [006F00E2] XMLSchema..TXMLAttributeGroup + $AE
(002F0FC0){MDII.exe } [006F1FC0] XMLSchema..TXMLSchemaIncludes + $C8
(002EDC9B){MDII.exe } [006EEC9B] XMLSchema..TXMLComplexTypeDef + $27F
(002EE0B9){MDII.exe } [006EF0B9] XMLSchema..TXMLTypedSchemaItem + $1BD
(002EE88F){MDII.exe } [006EF88F] XMLSchema..TXMLElementDef + $C7
(0030762B){MDII.exe } [0070862B] XMLDoc.TXMLNodeCollection.CreateItemList + $18F
(002E8D6D){MDII.exe } [006E9D6D] XMLSchemaTags. + $0
(002BF1B7){MDII.exe } [006C01B7] Rtti..{Generics.Collections}TList<System.Pointer> + $633
(002BDD7A){MDII.exe } [006BED7A] Rtti..{Generics.Defaults}TComparer<Rtti.TMethodImplementation.TParamLoc> + $43E
(002D5626){MDII.exe } [006D6626] IWCGJSSuperObject.FromInt + $9A
(002D5001){MDII.exe } [006D6001] IWCGJSSuperObject.TSuperTableString.PutO + $1D
(0006892B){MDII.exe } [0046992B] DateUtils..{Generics.Defaults}TComparer<DateUtils.TLocalTimeZone.TYearlyChanges> + $1FB
(000B7EFE){MDII.exe } [004B8EFE] Controls.TWinControl.CreateWnd + $17E
(000068CC){MDII.exe } [004078CC] System.WriteErrorMessage + $8
(0006880D){MDII.exe } [0046980D] DateUtils..{Generics.Defaults}TComparer<DateUtils.TLocalTimeZone.TYearlyChanges> + $DD
(00068877){MDII.exe } [00469877] DateUtils..{Generics.Defaults}TComparer<DateUtils.TLocalTimeZone.TYearlyChanges> + $147

------------------------------------------------------------------------------------------------------------------------


Help please...

TIA
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by Jorge Sousa » 02 Aug 2014 00:03

Hello

Your log is nothing conclusive:

What is this? IWWebGrid? TTIWCustomWebGrid? tmsiwUXlsSheet?

(007BD598){MDII.exe } [00BBE598] IWWebGrid.TTIWCustomWebGrid.RenderHTML (Line 8574, "IWWebGrid.pas" + 8) + $2E
(007BD6CD){MDII.exe } [00BBE6CD] IWWebGrid.TTIWCustomWebGrid.RenderHTML (Line 8588, "IWWebGrid.pas" + 22) + $13
(007C07AF){MDII.exe } [00BC17AF] IWWebGrid.TTIWCustomWebGrid.Submit (Line 9333, "IWWebGrid.pas" + 306) + $3
(00804F1A){MDII.exe } [00C05F1A] tmsiwUXlsSheet.TWorkSheet.AddZoomRecord (Line 1784, "tmsiwUXlsSheet.pas" + 3) + $17
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by zsleo » 02 Aug 2014 01:37

Sorry.

It is IWCGJQGrid. I dont have IWGrid or TMS in the project

Regards
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33

by Jorge Sousa » 02 Aug 2014 15:08

Hi

Well i don't know how is this possible,

but you should define JQGridDataSetProvider.KeyFields or set Col.Key to a unique key field name(s).
Best Regards
CGDevTools Develop / Support Team
Home Page: http://www.cgdevtools.com
Jorge Sousa
 
Posts: 4261
Joined: 17 May 2012 09:58

by zsleo » 04 Aug 2014 03:29

My fault! (again)

I missed JQGridDataSetProvider.KeyFields for one grid
:oops: (Again)...
zsleo
 
Posts: 776
Joined: 03 Feb 2013 03:33


Return to General

cron

Who is online

Users browsing this forum: No registered users and 17 guests

Contact Us.