Ver Mensaje Individual
  #12 (permalink)  
Antiguo 07/09/2004, 14:40
Avatar de Myakire
Myakire
Colaborador
 
Fecha de Ingreso: enero-2002
Ubicación: Centro de la república
Mensajes: 8.849
Antigüedad: 23 años, 3 meses
Puntos: 146
mmmmmmm, a ver,
Lo de la carpeta virtual esta ok, lo del acceso anónimo al usuario IUSR_NOMPC también es correcto (supongo que la BD tambien tiene permisos para ese mismo usuario), según indica la solución de microsoft:

Código:
RESOLUTION
If the page is meant to be accessed anonymously, give the IUSR_<machinename> account full control to the ASP page, and the folder and files where the database is located. Additionally, if the path to the database is being referenced using UNC (\\Server\Share), ensure that the Share Permissions allow the IUSR_<machinename> account full access. This step applies even if the share is on the local Web server. 

If the page has been secured such that the IUSR_<machinename> can't access the file or database, then ensure that the user's account that is being authenticated has full control to the appropriate folders and files. 

At a minimum, the account being used needs Create, Destroy, Read, Write to work with the .ldb file. Specific permission can be applied to the database to limit access.
Solo queda la conexion:

Si tienes esto, Falla:
oConn1.Open ("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("rebe_pad.mdb"))

Cambiala por esta:
oConn1.Open "Provider=Microsoft.Jet.OLEDB.4.0; Data Source="& Server.MapPath("rebe_new.mdb")

Y listo, con eso yo ya puedo trabajar en access y consultar la BD desde una página.

Saludos