PostGreSQL und CXP -> IDSC Error

Hier dreht es sich um den PostGre Server

Moderator: Moderatoren

Antworten
xdragon2009
Cut&Paste-Entwickler
Cut&Paste-Entwickler
Beiträge: 49
Registriert: So, 02. Mär 2014 16:36

PostGreSQL und CXP -> IDSC Error

Beitrag von xdragon2009 »

Hallo,

ich bin gerade dabei, mich in PostGreSQL und CXP einzuarbeiten.

PostGreSQL Server läuft. Eine direkte Verbindung auf die Datenbank ist auch möglich, allerdings nicht über CXP.

Der Beispielcode:

Code: Alles auswählen

#include "pgdbe.ch"

FUNCTION Test()
   DbeLoad("PGDBE")
   DbeSetDefault("PGDBE")

   cConnect := 'DBE=pgdbe;SERVER=localhost;DB=test;UID=postgres;PWD=test'
   oSession := DacSession():new(cConnect)  // IDSC
RETURN
Ohne CXP funktioniert es ohne Probleme. Über CXP geht er bei DacSession() in einen Fehler

Runtime Error:
One error occurred which was caught by the generic error management of the CXP execution infrastructure.

Error:
Internal data structures corrupted in Line 190
Internal data structures corrupted (an unexpected OS error occurred)

Callstack:
Use the callstack to analyse the context of the error condition. This is especially useful in cases of complex web solution such as pages making use of page-locality or pages which are rendering views for the CXP MVC framework.

Line# Function/Method
190 DACSESSION:NEW4CONNECTSTRING()
147 DACSESSION:INIT()


Hat jemand eine Idee, was da falsch sein könnte?
Antworten