Bonjour à tous,
J'ai un probleme au niveau d'une page web (en ASP) publié chez un hebergeur:
Un message d'erreur s'affiche:
Voilà une partie de code:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6 Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error. More information about this error may be available in the server error log.
Le probleme c'est au niveau de la ligne d'execution de la requete:
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 <%'================================================= dim objconn Set objconn = Server.CreateObject("ADODB.Connection") objconn.open "DSN=xxx" '================================================= nom=Replace(Request.Form("nom"),"'","''") prenom=Replace(Request.Form("prenom"),"'","''") dim SQLString SQLString =" INSERT INTO TABLE_TEST (NOM, PRENOM) VALUES ('"&nom&"','"&prenom&"')" objconn.execute(SQLString)
objconn.execute(SQLString)
Est-ce vous pouvez m'aider svp.
Et merci d'avance
Partager