1. Jochen Peters
  2. Valentina Reports ADK
  3. 水, 9月 09 2015, 08:23 PM
  4.  メールで購読
Unhandled VException
Message:

Stack:

WebRePrint.WebRePrint.RePrint%%o<WebRePrint.WebRePrint>
WebRePrint.WebRePrint.Button1_Action%%o<WebRePrint.WebRePrint>o<WebButton>
Delegate.IM_Invoke%%o<WebButton>
AddHandler.Stub.28%%
WebButton._ExecuteEvent%b%o<WebButton>sA1v
WebControl.!_ExecuteEvent%b%ssA1v
WebSession._HandleEvent%%o<WebSession>so<_HTTPServer.HTTPRequestContext>
WebSession._HandleRequest%i4%o<WebSession>so<_HTTPServer.HTTPRequestContext>
WebApplication._HandleHTTPRequest%%o<WebApplication>o<_HTTPServer.HTTPRequestContext>
_CGIGateway.GatewayRequestThread.Event_Run%%o<_CGIGateway.GatewayRequestThread>


how i fix
コメント
There are no comments made yet.
Sergey Pashkov 承諾済みの回答
Hello, Alexis

By default, V4RB throws exceptions to notify about errors, so it is good practice to handle them.

For example:

try

mReport = App.mProject.MakeNewReport( 1, App.mDataSource_SQLite, "SELECT * FROM T1" )

catch e as VException
dim errNumber as Integer = e.ErrorNumber
dim errString as String = e.Message

// ... do something with this error.
// e.g. write it into log file or display on some HTML page
end


For debugging purpose (if you don't want to debug in the Xojo IDE), you can show it in alert,
both a number and a message, so it will be clear what is wrong.
コメント
There are no comments made yet.
  • ページ :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.

Categories

Announcements & News
  1. 0 subcategories
Valentina Studio
  1. 2 subcategories
Valentina Server
  1. 4 subcategories
Valentina Database ADK
  1. 0 subcategories
Valentina Reports ADK
  1. 0 subcategories
Other Discussions
  1. 2 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories