Skip to content

No mapping for the Unicode character exists in the target multi-byte code page  #4

@Szics

Description

@Szics

I created an example intraweb application. (MSSQL, FireDac, Intraweb)
I'm using TIWDBGrid, TIWDBEdit. I get this error when I request this page. If I delete the value of TIWDBGrid.DataSource works fine, there is nothing in the grid.
What is the solution?
Don't use TIWDBGrid?

Error message: No mapping for the Unicode character exists in the target multi-byte code page

Depending on the error condition, it might be possible to restart the application.

In order to restart the application, please click the link below:

Click here to restart MyApp

Please note that depending on the actual exception that occured, restarting the application might not be possible. If this is the case, please report the error message to the administrator.

Error details:
Exception message : No mapping for the Unicode character exists in the target multi-byte code page
Exception class : EEncodingError
Exception address : 00437425
Exception Time : 2019-07-25 13:15:31.165

Application Name : IWProject1.exe
Application Version:
Started at : 2019-07-25 13:15:03.544
Running for : 27 seconds
Compiler Version : 330

IntraWeb Version : 14.2.12
Multi-session : False
Content Path : D:\Projects\Teszt10.3\IWProject1\Win32\Debug\wwwroot
Session count : 2
Application Path : D:\Projects\Teszt10.3\IWProject1\Win32\Debug
Active Form : IWForm1 (TIWForm1)
Active Form list : [1] IWForm1 (TIWForm1)
Form list : [1] IWUserSession (TIWUserSession)
[2] IWForm1 (TIWForm1)
Browser Name : Chrome
Browser UserAgent : Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
Session ID : C0D5T3IohK~9pdVtZYdeJa
Last Access : 2019-07-25 13:15:30.644
Callback : False
Runtime parameters :

Client IP address : 127.0.0.1
Request PathInfo : /$/
Request Method : GET
Request User Agent : Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36
Cookies Count : 2

(00036420){IWProject1.exe} [00437420] System.SysUtils.Sysutils.TEncoding.GetString (Line 33077, "System.SysUtils.pas" + 12) + $12
(000C36F2){IWProject1.exe} [004C46F2] System.Classes.TStringStream.GetDataString (Line 9499, "System.Classes.pas" + 1) + $10
(00493F58){IWProject1.exe} [00894F58] IWDBGrids.TIWDBGrid.RefreshData (Line 572, "IWDBGrids.pas" + 150) + $6
(00492EE8){IWProject1.exe} [00893EE8] IWDBGrids.TIWDBGrid.RenderCells (Line 295, "IWDBGrids.pas" + 30) + $8
(00490717){IWProject1.exe} [00891717] IWCompGrids.TIWCustomGrid.RenderInnerHTML (Line 783, "IWCompGrids.pas" + 45) + $9
(00490128){IWProject1.exe} [00891128] IWCompGrids.TIWCustomGrid.RenderHTML (Line 711, "IWCompGrids.pas" + 4) + $7
(003024C1){IWProject1.exe} [007034C1] IWBaseHTMLControl.TIWBaseHTMLControl.RenderMarkupLanguageTag (Line 547, "IWBaseHTMLControl.pas" + 1) + $2
(002E585D){IWProject1.exe} [006E685D] IWContainer.TIWContainer.RenderComponents (Line 484, "IWContainer.pas" + 58) + $42
(0030E0FD){IWProject1.exe} [0070F0FD] IWForm.TIWForm.RenderComponents (Line 1425, "IWForm.pas" + 1) + $4
(0030A097){IWProject1.exe} [0070B097] IWForm.TIWForm.DoGenerateForm (Line 631, "IWForm.pas" + 104) + $18
(0032CBE5){IWProject1.exe} [0072DBE5] IWAppForm.TIWAppForm.DoGenerateForm (Line 117, "IWAppForm.pas" + 2) + $4
(00330CE3){IWProject1.exe} [00731CE3] IWBaseForm.TIWBaseForm.GenerateForm (Line 362, "IWBaseForm.pas" + 4) + $5
(003383C6){IWProject1.exe} [007393C6] IWApplication.TIWApplication.GenerateActiveForm (Line 1368, "IWApplication.pas" + 35) + $6
(00337E5F){IWProject1.exe} [00738E5F] IWApplication.TIWApplication.ProcessForm (Line 1209, "IWApplication.pas" + 53) + $4
(003ACB95){IWProject1.exe} [007ADB95] IWServerSession.TIWServerSession.ExecuteForm$qqrv (Line 842, "IWServerSession.pas" + 11) + $9
(003AC5C5){IWProject1.exe} [007AD5C5] IWServerSession.TIWServerSession.DoExecuteSession$qqrx20System.UnicodeStringo (Line 732, "IWServerSession.pas" + 40) + $2
(003AC9F5){IWProject1.exe} [007AD9F5] IWServerSession.TIWServerSession.ExecuteSession$qqrx20System.UnicodeString (Line 812, "IWServerSession.pas" + 44) + $7
(0039B754){IWProject1.exe} [0079C754] IWServer.TIWServer.ExecuteUrl (Line 538, "IWServer.pas" + 63) + $7
(0039BC60){IWProject1.exe} [0079CC60] IWServer.TIWServer.Execute (Line 608, "IWServer.pas" + 11) + $11
(003A931B){IWProject1.exe} [007AA31B] IWServerSession.HttpExecute$qqrpuci (Line 88, "IWServerSession.pas" + 2) + $3
(003C92C2){IWProject1.exe} [007CA2C2] IW.Server.HTTPIndy.Server.Httpindy.THTTPServerIndy.DoCommandGet (Line 235, "IW.Server.HTTPIndy.pas" + 26) + $19
(00396D71){IWProject1.exe} [00797D71] InCustomHTTPServer.TInCustomHTTPServer.GetSessionFromCookie (Line 1557, "InCustomHTTPServer.pas" + 30) + $10
(00396819){IWProject1.exe} [00797819] InCustomHTTPServer.TInCustomHTTPServer.DoExecute (Line 1426, "InCustomHTTPServer.pas" + 180) + $F
(0036C2A7){IWProject1.exe} [0076D2A7] InContext.TInContext.Run (Line 185, "InContext.pas" + 2) + $7
(0036AE42){IWProject1.exe} [0076BE42] InTask.TInTask.DoRun (Line 136, "InTask.pas" + 0) + $2
(003829F2){IWProject1.exe} [007839F2] InThread.TInThreadWithTask.Run (Line 625, "InThread.pas" + 1) + $3
(0038239D){IWProject1.exe} [0078339D] InThread.TInThread.Execute (Line 377, "InThread.pas" + 43) + $5
(000D3091){IWProject1.exe} [004D4091] System.Classes.ThreadProc$qqrxp22System.Classes.TThread (Line 15048, "System.Classes.pas" + 18) + $5
(0000973C){IWProject1.exe} [0040A73C] System.ThreadWrapper$qqspv (Line 24940, "System.pas" + 45) + $0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions