Hi,When i try to insert data from Asp to a .Nsf file using NotesSql i get the following error. I have no problem with connecting to database or reading datas. I have designer rights on database so there is no problem about user privileges.
So when i try to insert table i get this error message.
Microsoft OLE DB Provider for ODBC Drivers hata ‘80004005’
[Lotus][ODBC Lotus Notes]No INSERT/UPDATE/ALTER/CREATE INDEX/CREATE VIEW on view
And here is my source code;
<%
Dim strInsert
Dim objCmd
Set oConn = Server.CreateObject(“ADODB.Connection”)
oConn.ConnectionString = “DSN=Lotusanket”
oConn.CursorLocation = adUseClient
oConn.Open
strInsert = “INSERT INTO InternetListesi (Form,FirstName,LastName) VALUES(‘Contact’,‘Cihan’,‘Erdoğan’)”
Set objCmd = Server.CreateObject(“ADODB.Command”)
Set objCmd.ActiveConnection = oConn
objCmd.CommandText = strInsert
objCmd.Execute’ Close and dereference database objects
Set objCmd = Nothing
oConn.Close
%>
Error is occuring on this command line, " objCmd.Execute "
Thanks. Sadık.