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 ¡¡¡ Se desconoce el Usuario en la Base de Datos !!!\\r ")');
|
|
}
|
|
if (request.alert == 99 ){
|
|
writeln('alert("\\r ¡¡¡ 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 ¡¡¡ Cursor No Abierto !!!\\r Operación no Realizada")');
|
|
}
|
|
if (request.alert == 2 ) {
|
|
writeln(' alert("\\r ¡¡¡ Ya existe un registro con esta clave !!! \\r Operación no Realizada")');
|
|
}
|
|
if (request.alert == 3 ) {
|
|
writeln(' alert("\\r ¡¡¡ La conversión de Fecha no es correcta!!! \\r Operación no Realizada")');
|
|
}
|
|
if (request.alert == 5 ) {
|
|
writeln(' alert("\\r ¡¡¡ No es posible realizar la inserción de Datos!!! \\r Operación no Realizada")');
|
|
}
|
|
if (request.alert == 6 ) {
|
|
writeln(' alert("\\r ¡¡¡ No es posible realizar la actualización de Datos!!! \\r Operación no Realizada")');
|
|
}
|
|
if (request.alert == 7 ) {
|
|
writeln(' alert("\\r ¡¡¡ No es posible realizar el borrado de Datos!!! \\r Operación no Realizada")');
|
|
}
|
|
if (request.alert == 8 ) {
|
|
writeln(' alert("\\r ¡¡¡ No es posible realizar la inserción de Datos!!! \\r Transacción no Realizada")');
|
|
}
|
|
if (request.alert == 9 ) {
|
|
writeln(' alert("\\r ¡¡¡ No es posible realizar la actualización de Datos!!! \\r Transacción no Realizada")');
|
|
}
|
|
if (request.alert == 10 ) {
|
|
writeln(' alert("\\r ¡¡¡ No es posible realizar el borrado de Datos!!! \\r Transacción no Realizada")');
|
|
}
|
|
if (request.alert == 11 ) {
|
|
writeln(' alert("\\r ¡¡¡ No es posible realizar la inserción de Líneas !!! \\r Transacción no Realizada")');
|
|
}
|
|
if (request.alert == 12 ) {
|
|
writeln(' alert("\\r ¡¡¡ No es posible realizar la inserción de Cuentas !!! \\r Transacción no Realizada")');
|
|
}
|
|
if (request.alert == 14 ) {
|
|
writeln(' alert("\\r ¡¡¡ No es posible realizar la inserción de Datos de Pago!!! \\r Transacción no Realizada")');
|
|
}
|
|
if (request.nro_reg) {
|
|
writeln(' alert("\\r ¡¡¡ Error en Factura Nro. Reg: '+request.nro_reg+' !!! \\r Operació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ó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>
|