Tema: Conexion
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 08/01/2009, 10:54
Avatar de Killerx_8937
Killerx_8937
 
Fecha de Ingreso: noviembre-2006
Mensajes: 99
Antigüedad: 18 años, 5 meses
Puntos: 0
Conexion

hola nuevamente amigos tengo un problema de conexion en un equipo xp con iis y sql 2000 el escrip de conexion en el siguiente
Código PHP:
<SCRIPT LANGUAGE=VBScript RUNAT=Server>

'You can add special event handlers in this file that will get run automatically when
'
special Active Server Pages events occurTo create these handlersjust create a
'subroutine with a name from the list below that corresponds to the event you want to
'
use. For exampleto create an event handler for Session_OnStartyou would put the
'following code into this file (without the comments):

Sub Session_OnStart
    Session.Timeout=999
    session.lcid=7178
End Sub

'
EventName              Description
'Session_OnStart        Runs the first time a user runs any page in your application
'
Session_OnEnd          Runs when a user's session times out or quits your application
'
Application_OnStart    Runs once when the first page of your application is run for the first time by any user
Application_OnEnd      Runs once when the web server shuts down

Sub Application_OnStart
    Application
("dbStrConnect")="Provider=SQLOLEDB;Data Source=(local);Initial Catalog=xxxxxxxx;User Id=xxxxxx;PWD=xxxxxx"
    
Application("system_name")="Sis"
    
Application("system_version")="Version 2.2.4.1"    
    
Application("Company")=""
    
Application("ColorCeldaFiltros")="#F1F1F1"
    
Application("StrRegistrosPorPagina")=50
    Application
("StrRegistrosPorPaginaChica")=5
End Sub

</SCRIPT>
 
la verdad es que cuando trato de conectarme con mi pagina al servidor sql no se conecta, disculpen la ignorancia alguna ayuda.

Última edición por Killerx_8937; 08/01/2009 a las 13:52