Error calling method of PBNI object
I'm using PB 9.0.2 and using PBDOM to parse an XML file. Everything
works fine in development environment. When I deploy the app and run the
app, I get the error message "Error calling method of PBNI object" when
PBDOM_Builder's BuildFromString() function is being called. I have included
pbddom90.dll, PBXerces90.dll and xerces-c_1_5_1.dll and still get the same
error message. Would anyone help me figure that out?
> I'm using PB 9.0.2 and using PBDOM to parse an XML file. Everything
> works fine in d...Error Calling Method of a PBNI Object
I get the subject error when trying to call setoptions after
creating the soapconnection.
PB 10, build 4510, windows 2000
Any help appreciated
I figured it out.
I had to rename all the related dll's in the winnt/system32
directory, then I copied all of those dll's to the local
work directory, then I added current directory to the system
path, then restarted powerbuilder.
I've seen several other people with similar problems, Sybase
really needs to clean up and simplify the dll's and
> I get the subject error when tryin...Error calling method of a PBNI object
I've tried almost all PBNI CodeXchange examples and I'm still getting "Error
calling method of a PBNI object" message. It appears when I click on the
E.g. in Oscilloscope application everything works fine until I click the
oscilloscope screen area.
I've tried just unzipping, opening the pbw and run. Then I've tried to
rebuild pbx, pbx2pbd90.exe to get pbd and rebuild workspace but the result
is still the same.
I'm using PB 188.8.131.5233 and Visual Studio .NET 2003 7.1.3088.
Regarding to an answer from Clive Collie in the newsgroup before ...Error calling method of a PBNI object
Run my deployed application I get this error
"PBNI exeption: Error calling method of a PBNI object"
this is the code:
//declaration used to get data from xml code
//parsing if parsing != succed return error
if ret<>0 then return ret
//string XMLTravco -> PBDOM_DOCUMENT pbdom_doc
pbdom_builder_new = Create PBDOM_Builder
pbdom_doc ...Error calling method of a PBNI object #2
Please help me!
(Sorry, my english is bad) ;-)
My problem is, when I start my application in the runtime I recieved
error: "Error calling method of a PBNI object"
When I start my application from the powerbuilder then it works!
Please help me... Thank you!
is_haus_id = proxy.InsertUpdateHaus(is_mandant, is_haus)
CATCH (runtimeerror er_haus)
fw_log("FEHLER in fw_x_insertupdatehaus: " + er_haus.getMessage())
fw_log("--> Mandant: " + is_mand...Error calling method of a PBNI object #2
I have just upgraded to PB 11.2 and have written a small application
that can read a text file into some datawindows and then export it to
After the export i read in the file into a PBDOM document and needs to
add some data and then save the file again.
It works fine from inside the PB IDE, but if i compile the application
and run ity on the same machine i get the error in the subject line.
I have created a runtime package where i include support for PBDOM and
Can anybody maybe help me, with what i'm missing.
Thanks in advance
Seapay A...System error
I run a depolyed application and tried to build a xml file from a string of
I got an error
Error text = Error calling method of a PBNI object.
Error Object/Control = pbdom_builder.
script = build fromstring.
I run it in powerbuilder environment is fine.
Did you deploy the runtime components that the PBDOM90.PBD is
On 4 Nov 2004 14:40:13 -0800, "Patrick Lee"
>I run...Web Service & Error Calling Method of a PBNI Object
I try to consume MS MapPoint web service. Unfortunately without luck :(
The following code generates PB Application Execution Error (R0000):
Error Calling Method of a PBNI Object.
long ll_ret, ll_log
conn = create soapconnection
// Create proxy object
ll_ret = conn.createinstance(proxy_obj, "routewebservicesoap")
address.addressline = sle_addressline.text
address.postalcode = sle_postalcode.text
a...error calling method of a PBNI object in 'CreateJavaInstance'
There is an error "error calling method of a PBNI object " at
CreateJavaInstance function of 'FilterInputStream' .But it
works fine when "InputStream".
Does anyone know what 's wrong or how to debug it??
First, run your C++ debugger and see what error message you are getting in your
C++ code when you get to that point.
On 3 Nov 2003 01...Error calling mething of PBNI object
Hi All ,
Referring to the downloaded version of "PBNI_Examples\flags5507\" from Code
Exchange of Sybase website.
I have re-build the workspace in Visual Studio successfully and also rebuild
the PBW workspace from PB10.5 build 5048 after inclusion of the extension
file called "flag.dll" then also on click on the flag user object it gives
Error calling method of PBNI object
Application execution error ( R0000 )
Any ideas ..........thanks in advance .
I have the same problem.
Did you find any reason ?
"Van...Error: Error destroying PBNI Object
I have a fairly simple implementation of pbniSMTP. Basically I have an
event that at the beginning of the script it creates an instance of
n_cpp_smtp and at the end it destroys said instance. On a majority of my
client machines this works perfectly fine. On a couple I get the above
message. Is there something I am missing?
Are you sure that you're not allowing the working directory to be
changed and then not changing it back. The PBD will look in the
search path (including the working directory) for the PBX file. If
the working directory gets changed (for example when th...Error using the Find Method of Outlook Object With PowerBuilder 8.0.3
Hi, I have some problems using the Find Method of MS Outlook object in
PowerBuilder 8.0.3 build 9820. The error occurred when I try to pass a
DATETIME variable in this code:
ls_fecha_ini = String(adt_fecha_ini)
ole_item = ole_folder.Items.FIND("[Start] = '" + ls_fecha_ini + "'")
The problem is that the Start Property of outlook receive a Date or DateTime
data type, but the FIND method use a string like the example. If I convert
the Datetime variable to a String, the Ole Object give me this error
"Error Calling external obje...'Invalid object for method' error calling jaguar component method
I am attempting to call a jaguar component method that has an string
argument defined as INOUT. The component has been created in PowerBuilder
where the argument is passed by reference. I am able to call the
java.CreateComponent successfully but when the component method is called
the following error is generated in my browser:
Invalid object for method doSomething near line 34 in "/test.htm"
Here is the code segment from my server script in the test.htm page:
test = java.CreateComponent("fts/test", "iiop://localhost:9000", "jagadmin...Error destroying PBNI object
I am using the pbnismtp.pbx object in my application.
When I try to compile my app I get the message, "Error:
destroying PBNI object". I have to remove the PBX to do the
compile and put it back to run the program. Is there
another solution to this?
(Note: I decided to make this it's own issue)
It looks like I need to add some exception hanling in the code to help
On 25 Jan 2005 12:15:48 -0800, Tom Tufankjian wrote:
>I am using the pbnismtp.pbx ...