Baixei o script "BSNews" ( http://www.wmonline....ia=postnoticias ) mas quando fui inserir uma nova notícia, ele retornou:
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/bnews/adicionar_noticia.asp, line 24
o código do script é:
<%
'Recupero os dados
manchete = (Request("manchete"))
fonte = (Request("fonte"))
imagem = (Request("imagem"))
noticia = (Request("noticia"))
IF imagem="" THEN
imagem="semimagem.gif"
END IF
'Faço a conexão com o bd
cnpath="DBQ=" & Server.MapPath("noticias.mdb")
DataSource = "Driver={Microsoft Access Driver (*.mdb)}; " & cnpath
Set Conn = Server.CreateObject("ADODB.Connection")
Conn.Open DataSource
'Adiciono no bd
sqlString = "INSERT INTO Noticias"&_
"(manchete, fonte, imagem, noticia) VALUES ( '" & manchete & "', '" & fonte & "', '" & imagem & "', '" & noticia & "')"
Conn.Execute sqlString ( <----- linha 24)
%>
alguma sugestão de como solucionar isso?
obrigado desde já