הוסטס - פורום אחסון האתרים הגדול בישראל

הוסטס - פורום אחסון האתרים הגדול בישראל (https://hosts.co.il/forums/index.php)
-   פורום תיכנות (https://hosts.co.il/forums/forumdisplay.php?f=14)
-   -   [ASP] עזרה (https://hosts.co.il/forums/showthread.php?t=45774)

mayden 19-05-07 17:51

[ASP] עזרה
 
אני מנסה לבנות הרשמה לאתר, אני משתמש בIIS.

וזה כל הזמן מציג לי שגיאה:
קוד:

Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
/register.asp, line 15

זה הקובץ:
קוד:

<%
        pname=Request.form("pname")
        fname=Request.form("fname")
        idnum=Request.form("idnum")
        email=Request.form("email")
        radiosex=Request.form("radiosex")
        game=Request.form("game")
        manu=Request.form("manu")
        set con=Server.CreateObject("ADODB.connection")
        con.Open "driver={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("database.mdb") &";"
        set r=con.Execute("select * from [members] where idnum='"& idnum &"' ")
        if not r.eof then
        Response.Write "bla bla bla1"
        else
      con.Execute"INSERT INTO [members] VALUES('"& pname &"','"& fname &"','"& idnum &"','"& email &"''"& radiosex &"','"& game &"','"& manu &"')"
        Response.Write "bla bla bla bla 2"
        end if
        con.Close
        set con=nothing
        set r=nothing
%>

ושורה 15 זה:
קוד:

    con.Execute"INSERT INTO [members] VALUES('"& pname &"','"& fname &"','"& idnum &"','"& email &"''"& radiosex &"','"& game &"','"& manu &"')"

חיפשתי את השגיאה בגוגל, וקראתי 100 פעם את המאמר של microsoft בנושא:
http://support.microsoft.com/kb/175168

וזה עדיין לא פועל, שיניתי ערכתי מלא premissions לכל התיקיות, הכל עומד על Full Write.

לא מבין מה הבעיה,
אשמח אם תעזרו לי.


תודה ..

idanz 19-05-07 18:17

האם אתה בטוח שגם הרשאת Everyone פועל כ-Full Control?

mayden 19-05-07 18:18

ציטוט:

נכתב במקור על ידי idanz (פרסם 480722)
האם אתה בטוח שגם הרשאת Everyone פועל כ-Full Control?


איפה אני רואה זאת בבירור? דרך הRegistry? אם אתה יכול בבקשה להנחות אותי..|לב|

mayden 19-05-07 20:22

הללויה, עובד. |לב|


כל הזמנים הם GMT +2. הזמן כעת הוא 01:39.

מופעל באמצעות VBulletin גרסה 3.8.6
כל הזכויות שמורות ©
כל הזכויות שמורות לסולל יבוא ורשתות (1997) בע"מ