Foros del Web » Programación para mayores de 30 ;) » .NET »

No Error Information Available Regdb_e_classnotreg

Estas en el tema de No Error Information Available Regdb_e_classnotreg en el foro de .NET en Foros del Web. Hola: Por favor pueden ayudarme a resolver esto me despliega este error el browser intento conectarme por OLEDB a una base de datos access pero ...
  #1 (permalink)  
Antiguo 03/03/2005, 10:01
 
Fecha de Ingreso: febrero-2005
Mensajes: 2
Antigüedad: 19 años, 2 meses
Puntos: 0
No Error Information Available Regdb_e_classnotreg

Hola:

Por favor pueden ayudarme a resolver esto me despliega
este error el browser intento conectarme por OLEDB a una
base de datos access pero no funciona y despliega este
error:

NO ERROR INFORMATION AVAILABLE REGDB_E_CLASSNOTREG
(0X80040154)

MI CODIGO ES EL SIGUENTE

<%@ Page Language="VB" Debug="true" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="System.Data.OleDb" %>

<script runat="server">

Sub Page_Load(obj As object, e As eventargs)

if ispostback() then
Dim objConn as new OleDbConnection
("Provider=Microft.Jet.OLEDB.4.0;Data Source=" &
server.mappath("../db/facil.mdb"))


Dim sSQL, Resul as string

sSQL = "INSERT INTO Contactos
(Nombre,Puesto,Empresa,Giro,Telefono,Fax,Email,Dir eccion,C
olonia,Ciudad,Estado,CodigoPostal,NoFlotilla,Comen tario)
VALUES ('" & Nombre.text & "','" & puesto.text & "','" &
Empresa.text & "', '" & giro.text & "', '" &
telefono.text & "', '" & fax.text & "','" & email.text
& "','" & direccion.text & "', '" & colonia.text & "','"
& ciudad.text & "','" & estado.text & "','" & CP.text
& "',"' & NoFlotilla & "',"' & comentario &"')"
Dim objCmd As New OleDbCommand
(sSQL,objConn)
objConn.open
resul = objCmd.ExecuteNonQuery

if resul then
response.write("Se ha agregado
correctamente el registro")
end if
end if
end Sub

</script>


EN ESPERA DE SU RESPUESTA PRONTA
MIL GRACIAS
SALUDOS !!!
.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 08:43.