by Didier >> Wed, 6 May 2009 8:20:14 GMT
Hi, Jade Support.
We use jade 6.3.03 unicode version
We can connect to Jade Database, and have evaluted other options--get object, create,delete jade object in VS2008 .
But can not dispose the JadeDBConnection object. Cause 1209 error.
the simplied example as following: ====================================================================================================================== using System;
using System.Collections.Generic;
using JadeWorld.Jade.Interop;
namespace WebApplication1
{
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
JadeDBConnection connection = null ;
JadeDBProcess process = null;
try
{
connection = new JadeDBConnection("Con1", "App1");
process = connection.GetProcess();
}
catch (Exception ex)
{
Label1.Text = ex.Message;
}
finally
{
process.Dispose();
connection.Dispose();
}
}
}
}
======================================================================================================================
Error dispaly in Web page. ====================================================================================================================== Server Error in '/' Application. --------------------------------------------------------------------------------
A Jade call returned error status, status=1209 - Application terminate request
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: JadeWorld.Jade.Interop.JadeJomException: A Jade call returned error status, status=1209 - Application terminate request
Source Error:
Line 43: {
Line 44: process.Dispose();
Line 45: connection.Dispose();
Line 46: }
Line 47:
Source File: E:\Hanyitong_unicode\netWeb\netWebApp\WebApplication1\Default.aspx.cs Line: 45
Stack Trace:
[JadeJomException: A Jade call returned error status, status=1209 - Application terminate request]
JadeWorld.Jade.Interop.JadeJomException.CheckJomResult(Int32 jomResult) in p:\cut\jade6303\language\jomDotNet\Exceptions.cs:174
JadeWorld.Jade.Interop.JadeProcess.SignOff() in p:\cut\jade6303\language\jomDotNet\JadeProcess.cs:338
JadeWorld.Jade.Interop.JadeNode.MultiProcessJadeSignOff(UInt32 timeout) in p:\cut\jade6303\language\jomDotNet\JadeNode.cs:158
JadeWorld.Jade.Interop.JadeDBConnection.Dispose(Boolean disposing) in p:\cut\jade6303\language\jomDotNet\Connection\JadeDBConnection.cs:290
JadeWorld.Jade.Interop.JadeDBConnection.Dispose() in p:\cut\jade6303\language\jomDotNet\Connection\JadeDBConnection.cs:276
WebApplication1._Default.Page_Load(Object sender, EventArgs e) in E:\Hanyitong_unicode\netWeb\netWebApp\WebApplication1\Default.aspx.cs:45
System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
System.Web.UI.Control.OnLoad(EventArgs e) +99
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433
======================================================================================================================
Please give some clue.
Appreciate for any help.
Didier
2009.05.06