1. Jochen Peters
  2. Valentina Reports ADK
  3. Wednesday, September 09 2015, 08:23 PM
  4.  Subscribe via email
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
Comment
There are no comments made yet.
Sergey Pashkov Accepted Answer
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.
Comment
There are no comments made yet.
  1. more than a month ago
  2. Valentina Reports ADK
  3. # 1
  • Page :
  • 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. 0 subcategories
BETA Testing
  1. 0 subcategories
Education & Research
  1. 0 subcategories
Omegabundle
  1. 0 subcategories