127 lines
4.8 KiB
HTML
127 lines
4.8 KiB
HTML
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|||
|
<HTML>
|
|||
|
<HEAD>
|
|||
|
<TITLE>Error de Conexión a la Base de Datos</TITLE>
|
|||
|
<META NAME="GENERATOR" CONTENT="Mozilla/3.01Gold (Win95; I) [Netscape]">
|
|||
|
<SCRIPT SRC="global.js">
|
|||
|
</SCRIPT>
|
|||
|
<SCRIPT SRC="ctasapagar.js">
|
|||
|
</SCRIPT>
|
|||
|
</HEAD>
|
|||
|
<SERVER>
|
|||
|
if (request.alert) {
|
|||
|
//<!--
|
|||
|
writeln("<SCRIPT LANGUAGE='JavaScript'>")
|
|||
|
writeln("function Go_Location() {")
|
|||
|
if (request.alert == 0 ){
|
|||
|
redirect("logout.html?alert=0");
|
|||
|
}
|
|||
|
if (request.alert == 90 ){
|
|||
|
writeln('alert("\\r <20><><EFBFBD> Se desconoce el Usuario en la Base de Datos !!!\\r ")');
|
|||
|
}
|
|||
|
if (request.alert == 99 ){
|
|||
|
writeln('alert("\\r <20><><EFBFBD> No es posible utilizar las P<>ginas con otro Navegador\\r que no sea NETSCAPE NAVIGATOR 3 !!!\\r ")');
|
|||
|
}
|
|||
|
if (request.alert == 1 ){
|
|||
|
writeln('alert("\\r <20><><EFBFBD> Cursor No Abierto !!!\\r Operaci<63>n no Realizada")');
|
|||
|
}
|
|||
|
if (request.alert == 2 ) {
|
|||
|
writeln(' alert("\\r <20><><EFBFBD> Ya existe un registro con esta clave !!! \\r Operaci<63>n no Realizada")');
|
|||
|
}
|
|||
|
if (request.alert == 3 ) {
|
|||
|
writeln(' alert("\\r <20><><EFBFBD> La conversi<73>n de Fecha no es correcta!!! \\r Operaci<63>n no Realizada")');
|
|||
|
}
|
|||
|
if (request.alert == 5 ) {
|
|||
|
writeln(' alert("\\r <20><><EFBFBD> No es posible realizar la inserci<63>n de Datos!!! \\r Operaci<63>n no Realizada")');
|
|||
|
}
|
|||
|
if (request.alert == 6 ) {
|
|||
|
writeln(' alert("\\r <20><><EFBFBD> No es posible realizar la actualizaci<63>n de Datos!!! \\r Operaci<63>n no Realizada")');
|
|||
|
}
|
|||
|
if (request.alert == 7 ) {
|
|||
|
writeln(' alert("\\r <20><><EFBFBD> No es posible realizar el borrado de Datos!!! \\r Operaci<63>n no Realizada")');
|
|||
|
}
|
|||
|
if (request.alert == 8 ) {
|
|||
|
writeln(' alert("\\r <20><><EFBFBD> No es posible realizar la inserci<63>n de Datos!!! \\r Transacci<63>n no Realizada")');
|
|||
|
}
|
|||
|
if (request.alert == 9 ) {
|
|||
|
writeln(' alert("\\r <20><><EFBFBD> No es posible realizar la actualizaci<63>n de Datos!!! \\r Transacci<63>n no Realizada")');
|
|||
|
}
|
|||
|
if (request.alert == 10 ) {
|
|||
|
writeln(' alert("\\r <20><><EFBFBD> No es posible realizar el borrado de Datos!!! \\r Transacci<63>n no Realizada")');
|
|||
|
}
|
|||
|
if (request.alert == 11 ) {
|
|||
|
writeln(' alert("\\r <20><><EFBFBD> No es posible realizar la inserci<63>n de L<>neas !!! \\r Transacci<63>n no Realizada")');
|
|||
|
}
|
|||
|
if (request.alert == 12 ) {
|
|||
|
writeln(' alert("\\r <20><><EFBFBD> No es posible realizar la inserci<63>n de Cuentas !!! \\r Transacci<63>n no Realizada")');
|
|||
|
}
|
|||
|
if (request.alert == 14 ) {
|
|||
|
writeln(' alert("\\r <20><><EFBFBD> No es posible realizar la inserci<63>n de Datos de Pago!!! \\r Transacci<63>n no Realizada")');
|
|||
|
}
|
|||
|
if (request.nro_reg) {
|
|||
|
writeln(' alert("\\r <20><><EFBFBD> Error en Factura Nro. Reg: '+request.nro_reg+' !!! \\r Operaci<63>n no Realizada")');
|
|||
|
}
|
|||
|
writeln(' history.back(-2)')
|
|||
|
writeln("}")
|
|||
|
writeln("</SCRIPT>")
|
|||
|
writeln('<BODY ONLOAD="Go_Location()" BACKGROUND="images/backgrnd.gif">');
|
|||
|
} else
|
|||
|
writeln('<BODY BACKGROUND="images/backgrnd.gif">');
|
|||
|
//-->
|
|||
|
</SERVER>
|
|||
|
<H1>Gestor de Base de Datos: <B><BLINK><FONT COLOR="#FF0000"><FONT SIZE=+4>ERROR</FONT></FONT></BLINK></B></H1>
|
|||
|
|
|||
|
<P>
|
|||
|
<HR>Parámetros de Conexión utilizados:</P>
|
|||
|
|
|||
|
<P>
|
|||
|
<SERVER>
|
|||
|
|
|||
|
// write(" Status: <B>" + status + "</B>\n");
|
|||
|
writeln("<p> Tipo de Servidor: <B>" + client.type + "</B><p>\n");
|
|||
|
writeln("<p>Identificador del Servidor: <B>" + client.server + "</B><p>\n");
|
|||
|
writeln("<p> Identificador Usuario ID: <B>" + client.db_id + "</B><p>\n");
|
|||
|
// writeln(" Password: <B>" + client.password + "</B>\n");
|
|||
|
writeln("<p> Password: <B>[not shown]</B><p>\n");
|
|||
|
writeln("<p> Base de Datos: <B>" + client.database + "</B><p>\n");</SERVER></P>
|
|||
|
|
|||
|
<P>Comprobar los manuales y documentación del Gestor de Base de
|
|||
|
Datos para más informiación acerca de los siguientes códigos
|
|||
|
de error:</P>
|
|||
|
|
|||
|
<P><!--
|
|||
|
<TABLE BORDER=2 CELLPADDING=8 >
|
|||
|
<CAPTION>
|
|||
|
</CAPTION>
|
|||
|
|
|||
|
<TR>
|
|||
|
<TD><B>Error Code</B></TD>
|
|||
|
|
|||
|
<TD><B>Mensaje de Error</B></TD>
|
|||
|
</TR>
|
|||
|
</TABLE>
|
|||
|
-->
|
|||
|
<SERVER>
|
|||
|
if ( client.trans == true ) {
|
|||
|
writeln("<p></B>Transacci<EFBFBD>n Abortada </B><p>\n");
|
|||
|
client.trans == false
|
|||
|
}
|
|||
|
writeln("<p>Status: " + client.status + "\n");
|
|||
|
writeln("<p>DbStatus: " + client.dbstatus + "\n");
|
|||
|
writeln("<p>Major Error: " + client.majorErrorCode + "\n");
|
|||
|
writeln(client.majorErrorMessage + "</p>\n");
|
|||
|
writeln("<p>Minor Error: " + client.minorErrorCode + "\n");
|
|||
|
writeln(client.minorErrorMessage + "</p>\n");
|
|||
|
</SERVER>
|
|||
|
<!--
|
|||
|
<h3>More Information</h3>
|
|||
|
For more information, please see the
|
|||
|
<a href="http://home.netscape.com/eng/LiveWire/relnotes/">LiveWire
|
|||
|
Release Notes</a>. Also check the
|
|||
|
<a href="http://help.netscape.com/">Netscape Technical Support Home
|
|||
|
Page</a> for related Technical Notes and Frequently Asked Questions.
|
|||
|
-->
|
|||
|
<SERVER>writeSignature(false)</SERVER>
|
|||
|
</BODY>
|
|||
|
</HTML>
|