Ver Mensaje Individual
  #1 (permalink)  
Antiguo 28/04/2009, 15:49
lucassoberano
 
Fecha de Ingreso: agosto-2006
Mensajes: 7
Antigüedad: 18 años, 9 meses
Puntos: 0
Problema con ASP y MySQL

Hola!

Soy medio novato con ASP (programo en PHP)

Tengo el siguiente problema...

tengo un buscador en ASP que busca en una base de datos en Access y tengo que cambiarlo a mySQL porque mi hosting no acepta access...

lo que hice fue cambiar

'strConnect = "Driver={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("bd/biblioteca.mdb")

a

strConnect = "Driver={MySQL}; Server=192.168.0.66; Database=biblioteca; UID=miusuario; PWD=mipassword"


pero al buscar, recibo el siguiente error:


///////////////////////////
The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.

--------------------------------------------------------------------------------

Please try the following:

Click the Refresh button, or try again later.

Open the home page, and then look for links to the information you want.
HTTP 500.100 - Internal Server Error - ASP error
Apache

--------------------------------------------------------------------------------

Technical Information (for support personnel)

Error Type:
ADODB.Recordset.1 (0x80004005)
SQLState: S Native Error Code: 1146 [TCX][MyODBC]Table 'biblioteca.biblioteca' doesn't exist
/buscar_resultado.asp, line 34


Browser Type:
Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; uE v7; Alexa Toolbar; uE v7)

Page:
GET /buscar_resultado.asp

Time:
martes, 28 de abril de 2009, 19:32:41


More information:
Sun ONE Active Server Pages Support


///////////////////////////

Que estoy haciendo mal?

gracias!
Lucas