SELECT OK, INSERT and DELETE Problems in Windows 2003

Ask a Question related to ASP Database, Design and Development.

  1. #1

    Default SELECT OK, INSERT and DELETE Problems in Windows 2003

    Hi,

    I´m not getting write, alter or exclude any register in my table.

    Only read without problems.

    What is happening ?

    Generate the error:

    Code = 500
    "Cannot update the cursor ALUN, since it is read-only."

    Is there some configuration in the Web.Config File ? Or is the problem
    with host (IIS) ?

    The database is the Visual FoxPro.

    The connection is:

    sSqli = "DELETE FROM alun WHERE registr = 1"

    'Open the Connection
    oConnectioni = New OleDbConnection("Provider=VFPOLEDB.1;data source=" &
    Folder)

    oConnectioni.Open()
    oCommandi = New OleDbCommand(sSqli, oConnectioni)

    oCommandi.ExecuteNonQuery()

    oConnectioni.Close()

    The read I get without problems. (SELECT)
    I´m not getting alter nothing. (INSERT and DELETE)

    The host is the Windows 2003

    Thank you,
    Rogério

    E-mail: [email]rogerio.ricardo@uol.com.br[/email]





    *** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
    Don't just participate in USENET...get rewarded for it!
    Rogério Ricardo Santos Guest

  2. Similar Questions and Discussions

    1. What's faster - loop for insert or insert...select.
      What is faster if I'm moving large numbers of records (anywhere from 10,000 to 300,000 records per archive) from one query to another table? 1)...
    2. SQL Update, Insert and Delete
      Why do I get the message "Operation must use an updateable query" on an Update, Insert and Delete. Mind you the site worked fine before a recent...
    3. Problems sending mail with Windows 2003 server's SMTP server (I'm also using the integrated POP3 service)
      Hi, I am setting up POP3 accounts for my users. I am using the POP3 and SMTP services built into Windows 2003 Server Std Edition. My users can...
    4. Windows 2003 Pop3 server new user problems
      Anyone (i.e. Microsoft) know whats happening - was it an automatic update thats stuffed something ? just It and to the
    5. Windows Server 2003 Problems
      We just migrated a ASP/ADO app over to Windows 2003 Server from a Windows 2000 machine. We transferred all the includes and .asp Web pages...
  3. #2

    Default Re: SELECT OK, INSERT and DELETE Problems in Windows 2003

    [url]http://www.aspfaq.com/5002[/url]

    Ray at home

    "Rogério Ricardo Santos" <rogerio.ricardo@uol.com.br> wrote in message
    news:eE1MdQxkDHA.4008@TK2MSFTNGP11.phx.gbl...
    > 'Open the Connection
    > oConnectioni = New OleDbConnection("Provider=VFPOLEDB.1;data source=" &
    > Folder)
    >
    > oConnectioni.Open()
    > oCommandi = New OleDbCommand(sSqli, oConnectioni)
    >

    Ray at Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139