codetoad.com
  ASP Shopping CartForum & BBS
  - all for $20 from CodeToad Plus!
  
  Home || ASP | ASP.Net | C++/C# | DHTML | HTML | Java | Javascript | Perl | VB | XML || CodeToad Plus! || Forums || RAM 
Search Site:
Search Forums:
  Cannot Input data to Database Access  Archive Import (nitishika) at 03:24 on Monday, August 11, 2003
 

dear all,
i`ve script to insert new record to my database.
but the result is error :
"Databse/Object Read Only"
i`ve check my database, and its not read only.
then, i`ve change the location of my database, and it`s showed error again :
"RPC server is unavailable"
please help me..
these are the code :

<%response.buffer=true%>
<html>
<body>
<%
`On Error Resume Next
Dim StrConn
Dim StrSQL
Dim Rst

StrConn ="PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA SOURCE=" & server.mappath("database/data.mdb") & ";"
Set Rst=server.CreateObject("ADODB.Recordset")
StrSQL="select * from email"
Rst.open StrSQL,StrConn,1,3

Rst.AddNew
If request.form("Name") <>"" then
Rst("Name")=request.form("Name")
End IF
If request.form("Email1")<>"" then
Rst("email")=request.form("Email1")
End If

Rst.Update
Rst.Close
StrConn.close
Set Rst=Nothing
Set StrConn=Nothing

%>

</body>
</html>

thanks for your help...

  Re: Cannot Input data to Database Access  Archive Import (lets) at 12:31 on Tuesday, August 12, 2003
 

Hi,
I think you cannot do anything other than setting the privilages..
Contact your Service provider and ask if you have Read,Write,and execute Permission on the foler..
Hope this helps!
lets

  Re: Cannot Input data to Database Access  Elain at 07:27 on Wednesday, November 17, 2010
 

I think you can search the keyword about your question in google for answer!
---------------------------------------------
flash menu|drop down menu|flash decompiler mac










CodeToad Experts

Can't find the answer?
Our Site experts are answering questions for free in the CodeToad forums








Recent Forum Threads
•  Re: hi
•  Re: Questions about Bill Gates
•  Re: How to convert a big XML to HTML using XSL?
•  Re: Assign a html table element to a variable
•  Re: Form Field Validation
•  Re: Form Email script
•  Re: File Formats
•  Re: Cannot Input data to Database Access
•  Re: Help me


Recent Articles
ASP GetTempName
Decode and Encode UTF-8
ASP GetFile
ASP FolderExists
ASP FileExists
ASP OpenTextFile
ASP FilesystemObject
ASP CreateFolder
ASP CreateTextFile
Javascript Get Selected Text


© Copyright codetoad.com 2001-2010