IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

ASP Discussion :

Connexion à une base de données


Sujet :

ASP

  1. #1
    Futur Membre du Club
    Homme Profil pro
    Inscrit en
    Décembre 2009
    Messages
    60
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations forums :
    Inscription : Décembre 2009
    Messages : 60
    Points : 5
    Points
    5
    Par défaut Connexion à une base de données
    Bonjour,

    J'ai un site ou je viens de changer d'hébergeur qui vient de fusionner avec un autre hébergeur.
    Le problème c'est je ne comprends pas pourquoi ma connection ne se fait pas avec ma base donnée.
    J'ai un fichier connection ou j'ai ce code.
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    set cn = Server.CreateObject("ADODB.Connection")
    strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("\App_Data\aram.mdb")
    cn.Open strConn
    Selon l'hébergeur tout est correct mais rien ne s'affiche sur le site ou il y a les infos de ma base .mdb, je n'arrive pas trouvé mon erreur, est-ce que quelqu'un pourrait me donner un coup de mains?
    Steve

  2. #2
    Modérateur
    Avatar de roro06
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    1 480
    Détails du profil
    Informations personnelles :
    Âge : 54
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 1 480
    Points : 1 978
    Points
    1 978
    Par défaut
    Bonjour

    Ta base n'est-elle pas vide ?
    Dans ta page, n'as-tu pas une ligne :
    Peux-tu consulter les logs du serveur ?


    N'oubliez pas de consulter les FAQ ASP et les cours et tutoriels ASP

    " La vie c'est quelque chose de très fort et de très beau.... La vie appartient a tous les vivants. It's both a dream and a feeling. C'est être ce que nous ne sommes pas sans le rester. La vie c'est mourir aussi....Et mourir c'est vraiment strong...c'est rester en vie au delà de la mort...Tous ceux qui sont morts n'ignorent pas de le savoir."
    (J.C. VanDamme, humoriste et philosophe belge . A moins que ce ne soit l'inverse ...)

    Chuck Norris comprend JC Van Damme.

  3. #3
    Futur Membre du Club
    Homme Profil pro
    Inscrit en
    Décembre 2009
    Messages
    60
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations forums :
    Inscription : Décembre 2009
    Messages : 60
    Points : 5
    Points
    5
    Par défaut
    Bonjour,
    Non, elle n'est pas vide!
    En fait, mon site fonctionnait nickel chez l'ancien provider.
    Mais vue que je ne mets plus les mains dans le code depuis des années je n'arrive plus à voir ce qui ne fonctionne pas.

    Je te mets le code d'une page ou il y a une connection avec la base.
    Merci d'avance pour ton aide.

    Steve

    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
    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
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    354
    355
    356
    357
    358
    359
    360
    361
    362
    363
    364
    365
    366
    367
    368
    369
    370
    371
    372
    373
    374
    375
    376
    377
    378
    379
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    <!--#include file="Connections/aram.asp" -->
    <%
    Dim rs_news
    Dim rs_news_cmd
    Dim rs_news_numRows
     
    Set rs_news_cmd = Server.CreateObject ("ADODB.Command")
    rs_news_cmd.ActiveConnection = MM_aram_STRING
    rs_news_cmd.CommandText = "SELECT * FROM news1" 
    rs_news_cmd.Prepared = true
     
    Set rs_news = rs_news_cmd.Execute
    rs_news_numRows = 0
    %>
    <%
    Dim Repeat1__numRows
    Dim Repeat1__index
     
    Repeat1__numRows = -1
    Repeat1__index = 0
    rs_news_numRows = rs_news_numRows + Repeat1__numRows
    %>
    <html>
    <head>
    <title>ARAM Association Romande des Assistantes M&eacute;dicales</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="stylearam.css" rel="stylesheet" type="text/css">
    <script language="JavaScript" type="text/JavaScript">
    <!--
     
    function MM_reloadPage(init) {  //reloads the window if Nav4 resized
      if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
        document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
      else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);
     
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
     
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
     
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
     
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
     
    function P7_autoShowHide() { //v1.2 by PVII-www.projectseven.com
     var g,b,k,f,ag=arguments,a=parseInt(ag[0]);
     if(!document.p7setc){p7c=new Array();document.p7setc=true;for(var u=0;u<10;u++){
     p7c[u]=new Array();}}for(k=0;k<p7c[a].length;k++){if((g=MM_findObj(p7c[a][k]))!=null){
     b=(document.layers)?g:g.style;b.visibility="hidden";}}for(k=1;k<ag.length;k++){
     if((g=MM_findObj(ag[k]))!=null){b=(document.layers)?g:g.style;b.visibility="visible";
     f=false;for(var j=0;j<p7c[a].length;j++){if(ag[k]==p7c[a][j]){f=true;}}
     if(!f){p7c[a][p7c[a].length++]=ag[k];}}}
    }
     
    function P7_Snap() { //v2.67 by PVII
     var g,x,y,ox,bx,oy,p,tx,a,b,k,d,da,e,el,tw,q0,xx,yy,w1,pa='px',args=P7_Snap.arguments;a=parseInt(a);
     if(document.layers||window.opera){pa='';}for(k=0;k<(args.length);k+=4){
     if((g=MM_findObj(args[k]))!=null){if((el=MM_findObj(args[k+1]))!=null){
     a=parseInt(args[k+2]);b=parseInt(args[k+3]);x=0;y=0;ox=0;oy=0;p="";tx=1;
     da="document.all['"+args[k]+"']";if(document.getElementById){
     d="document.getElementsByName('"+args[k]+"')[0]";if(!eval(d)){
     d="document.getElementById('"+args[k]+"')";if(!eval(d)){d=da;}}
     }else if(document.all){d=da;}if(document.all||document.getElementById){while(tx==1){
     p+=".offsetParent";if(eval(d+p)){x+=parseInt(eval(d+p+".offsetLeft"));y+=parseInt(eval(d+p+".offsetTop"));
     }else{tx=0;}}ox=parseInt(g.offsetLeft);oy=parseInt(g.offsetTop);tw=x+ox+y+oy;
     if(tw==0||(navigator.appVersion.indexOf("MSIE 4")>-1&&navigator.appVersion.indexOf("Mac")>-1)){
      ox=0;oy=0;if(g.style.left){x=parseInt(g.style.left);y=parseInt(g.style.top);}else{
      w1=parseInt(el.style.width);bx=(a<0)?-5-w1:-10;a=(Math.abs(a)<1000)?0:a;b=(Math.abs(b)<1000)?0:b;
      x=document.body.scrollLeft+event.clientX+bx;y=document.body.scrollTop+event.clientY;}}
     }else if(document.layers){x=g.x;y=g.y;q0=document.layers,dd="";for(var s=0;s<q0.length;s++){
      dd='document.'+q0[s].name;if(eval(dd+'.document.'+args[k])){x+=eval(dd+'.left');y+=eval(dd+'.top');
      break;}}}e=(document.layers)?el:el.style;xx=parseInt(x+ox+a),yy=parseInt(y+oy+b);
     if(navigator.appVersion.indexOf("MSIE 5")>-1 && navigator.appVersion.indexOf("Mac")>-1){
      xx+=parseInt(document.body.leftMargin);yy+=parseInt(document.body.topMargin);}
     e.left=xx+pa;e.top=yy+pa;}}}
    }
     
    function P7_autoLayers() { //v1.4 by PVII
     var g,b,k,f,args=P7_autoLayers.arguments;a=parseInt(args[0]);if(isNaN(a))a=0;
     if(!document.p7setc){p7c=new Array();document.p7setc=true;for(var u=0;u<10;u++){
     p7c[u]=new Array();}}for(k=0;k<p7c[a].length;k++){if((g=MM_findObj(p7c[a][k]))!=null){
     b=(document.layers)?g:g.style;b.visibility="hidden";}}for(k=1;k<args.length;k++){
     if((g=MM_findObj(args[k]))!=null){b=(document.layers)?g:g.style;b.visibility="visible";f=false;
     for(var j=0;j<p7c[a].length;j++){if(args[k]==p7c[a][j]) {f=true;}}
     if(!f){p7c[a][p7c[a].length++]=args[k];}}}
    }
    //-->
    </script>
    <style type="text/css">
    <!--
    #Layer2 {position:absolute;
    	left:396px;
    	top:413px;
    	width:113px;
    	height:44px;
    	z-index:2;
    	visibility: hidden;
    }
    #Layer1 {position:absolute;
    	left:384px;
    	top:454px;
    	width:82px;
    	height:44px;
    	z-index:1;
    	visibility: hidden;
    }
    -->
    </style>
    </head>
     
    <body bgcolor="#FFFFFF" onLoad="MM_preloadImages('img/index/nav/homef.jpg','img/index/nav/prestationf.jpg','img/index/nav/membref.jpg','img/index/nav/formationf.jpg','img/index/nav/plateformef.jpg','img/index/nav/journalf.jpg','img/index/nav/agendaf.jpg','img/index/nav/liensf.jpg','img/index/nav/contactf.jpg','img/index/nav/bonasavoirf.jpg','img/index/nav/newsd.jpg','img/index/nav/prefessiond.jpg','img/index/nav/formationd.jpg','img/index/nav/examend.jpg','img/index/nav/news2d.jpg','img/index/nav/news3d.jpg','img/index/nav/salaired.jpg')">
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" class="liens">
      <tr>
        <td align="center" valign="top"><div id="Layer1">
          <table width="117" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td width="151" height="36"><a href="examens.asp"><img src="img/index/nav/examenh.jpg" name="Image5" width="117" height="36" border="0" id="Image5" onMouseOver="MM_swapImage('Image5','','img/index/nav/examend.jpg',1);P7_autoShowHide(0,'Layer1')" onMouseOut="MM_swapImgRestore();P7_autoShowHide(0)"></a></td>
            </tr>
            <tr>
              <td><a href="formationnews.asp"><img src="img/index/nav/news2h.jpg" name="Image6" width="117" height="37" border="0" id="Image6" onMouseOver="MM_swapImage('Image6','','img/index/nav/news2d.jpg',1);P7_autoShowHide(0,'Layer1')" onMouseOut="MM_swapImgRestore();P7_autoShowHide(0)"></a></td>
            </tr>
          </table>
        </div>
          <div id="Layer2">
            <table width="117" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td><a href="professionnews.asp"><img src="img/index/nav/news3h.jpg" width="117" height="36" border="0" id="Image7" onMouseOver="MM_swapImage('Image7','','img/index/nav/news3d.jpg',1);P7_autoShowHide(0,'Layer2')" onMouseOut="MM_swapImgRestore();P7_autoShowHide(0)"></a></td>
              </tr>
              <tr>
                <td><a href="mdpsalaire.asp"><img src="img/index/nav/salaireh.jpg" width="117" height="35" border="0" id="Image8" onMouseOver="MM_swapImage('Image8','','img/index/nav/salaired.jpg',1);P7_autoShowHide(0,'Layer2')" onMouseOut="MM_swapImgRestore();P7_autoShowHide(0)"></a></td>
              </tr>
            </table>
          </div>
          <table width="800" border="0" cellpadding="0" cellspacing="0">
            <tr> 
              <td><img src="img/index/titre.jpg" width="481" height="44"></td>
            </tr>
            <tr> 
              <td><img src="img/index/barphoto.jpg" width="800" height="87"></td>
            </tr>
            <tr> 
              <td><img src="img/giftrans.gif" width="1" height="27"></td>
            </tr>
            <tr>
              <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
                  <tr> 
                    <td width="14%" valign="top"><table width="112" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td><a href="index.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/home.jpg" name="boua" width="112" height="8" border="0" id="boua" onMouseOver="MM_swapImage('boua','','img/index/nav/homef.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="news.asp"><img src="img/index/nav/news.jpg" width="112" height="8" border="0" id="Image2" onMouseOver="MM_swapImage('Image2','','img/index/nav/newsd.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td><a href="prestation.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/prestation.jpg" name="boub" width="112" height="9" border="0" id="boub" onMouseOver="MM_swapImage('boub','','img/index/nav/prestationf.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="membres.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/membre.jpg" name="bouc" width="112" height="8" border="0" id="bouc" onMouseOver="MM_swapImage('bouc','','img/index/nav/membref.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="formation.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/formation.jpg" name="boud" width="112" height="9" border="0" id="boud" onMouseOver="MM_swapImage('boud','','img/index/nav/formationf.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="plateforme.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/plateforme.jpg" name="boue" width="112" height="12" border="0" id="boue" onMouseOver="MM_swapImage('boue','','img/index/nav/plateformef.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="journal.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/journal.jpg" name="bouf" width="112" height="8" border="0" id="bouf" onMouseOver="MM_swapImage('bouf','','img/index/nav/journalf.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="5"></td>
                      </tr>
                      <tr>
                        <td><a href="profession.asp"><img src="img/index/nav/prefession.jpg" name="Image3" width="112" height="25" border="0" id="Image3" onMouseOver="MM_swapImage('Image3','','img/index/nav/prefessiond.jpg',1);P7_Snap('Image3','Layer2',110,-6);P7_autoShowHide(0,'Layer2')" onMouseOut="MM_swapImgRestore();P7_autoShowHide(0)"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="4"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1" onMouseOver="P7_autoLayers(0)"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="5"></td>
                      </tr>
                      <tr>
                        <td><a href="formation2.asp" onMouseOver="MM_swapImage('Image4','','img/index/nav/formationd.jpg',1);P7_autoShowHide(0,'Layer1');P7_Snap('Image4','Layer1',110,-6)" onMouseOut="MM_swapImgRestore()"><img src="img/index/nav/formationh.jpg" name="Image4" width="112" height="25" border="0" id="Image4" onMouseOut="P7_autoShowHide(0)"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="4"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1" onMouseOver="P7_autoLayers(0)"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="mdpagenda.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/agenda.jpg" name="boug" width="112" height="11" border="0" id="boug" onMouseOver="MM_swapImage('boug','','img/index/nav/agendaf.jpg',1);P7_autoShowHide(0)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="bonasavoir.asp" onMouseOver="MM_swapImage('Image1','','img/index/nav/bonasavoirf.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="img/index/nav/bonasavoir.jpg" name="Image1" width="112" height="9" border="0" id="Image1"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="liens.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/liens.jpg" name="bouh" width="112" height="9" border="0" id="bouh" onMouseOver="MM_swapImage('bouh','','img/index/nav/liensf.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="contact.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/contact.jpg" name="boui" width="112" height="9" border="0" id="boui" onMouseOver="MM_swapImage('boui','','img/index/nav/contactf.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                    </table></td>
                    <td width="3%"><img src="img/giftrans.gif" width="25" height="1"></td>
                    <td width="83%" valign="top"> <table width="100%" border="0" cellpadding="0" cellspacing="0">
                        <tr>
                          <td><img src="img/index/titrenews.jpg" width="38" height="14"></td>
                        </tr>
                        <tr> 
                          <td>&nbsp;</td>
                        </tr>
                        <tr> 
                          <td class="texte"><% 
    While ((Repeat1__numRows <> 0) AND (NOT rs_news.EOF)) 
    %>
                              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                <tr>
                                  <td class="texte"><%=(rs_news.Fields.Item("texte").Value)%></td>
                                </tr>
                                <tr>
                                  <td>&nbsp;</td>
                                </tr>
                              </table>
                              <% 
      Repeat1__index=Repeat1__index+1
      Repeat1__numRows=Repeat1__numRows-1
      rs_news.MoveNext()
    Wend
    %></td>
                        </tr>
                        <tr> 
                          <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                              <tr> 
                                <td colspan="3">&nbsp;</td>
                              </tr>
                            </table></td>
                        </tr>
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="3">&nbsp;</td>
                  </tr>
                  <tr> 
                    <td colspan="3"><img src="img/index/bas.jpg" width="800" height="12" border="0" usemap="#Map"></td>
                  </tr>
                </table> </td>
            </tr>
          </table>
     
        </td>
      </tr>
    </table>
    <map name="Map">
      <area shape="rect" coords="606,1,745,12" href="http://www.isolated.ch" target="_blank">
    </map>
    </body>
    </html>
    <%
    rs_news.Close()
    Set rs_news = Nothing
    %>

  4. #4
    Modérateur
    Avatar de roro06
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    1 480
    Détails du profil
    Informations personnelles :
    Âge : 54
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 1 480
    Points : 1 978
    Points
    1 978
    Par défaut
    Le code est bon. de toute façon, ça marchait avant.... c'est à ton hébergeur de vérifier sa config (tout n'est pas bon, c'est pas vrai, puisque ça marche pas). En particulier, sais-tu de quelle version (et vers laquelle) de IIS tu as migré?


    N'oubliez pas de consulter les FAQ ASP et les cours et tutoriels ASP

    " La vie c'est quelque chose de très fort et de très beau.... La vie appartient a tous les vivants. It's both a dream and a feeling. C'est être ce que nous ne sommes pas sans le rester. La vie c'est mourir aussi....Et mourir c'est vraiment strong...c'est rester en vie au delà de la mort...Tous ceux qui sont morts n'ignorent pas de le savoir."
    (J.C. VanDamme, humoriste et philosophe belge . A moins que ce ne soit l'inverse ...)

    Chuck Norris comprend JC Van Damme.

  5. #5
    Futur Membre du Club
    Homme Profil pro
    Inscrit en
    Décembre 2009
    Messages
    60
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations forums :
    Inscription : Décembre 2009
    Messages : 60
    Points : 5
    Points
    5
    Par défaut
    Ce qui me parait bizarre, c'est que je leur ai demandé pourquoi ça ne fonctionnait pas, leur réponse, c'est qu'ils ont fait un test avec ce code et les informations demandées s'affiche sur un page blanche!
    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
    set cn = Server.CreateObject("ADODB.Connection")
    strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("\App_Data\aram.mdb")
    cn.Open strConn
     
    strSql = "SELECT * FROM caissiere"
     
    	Set objRs = CreateObject("AdoDB.RecordSet")
    	objRs.open strSql, cn, 3, 3
    	objRs.MoveFirst
    	Do Until objRs.EOF
    		response.write objRs("prenom_nom") & "<br>"
    		response.write objRs("adresse") & "<br>"
    		response.write objRs("tel_fax") & "<br>"
    		objRs.MoveNext
    	Loop
    %>
    non, je ne sais pas, j'ai chercher sur la gestion administrative de l'hébergeur ce que j'ai trouvé c'est ça (Pool d'applications IIS Utiliser un pool dédié) il y aune case à cocher que je ne peux pas cocher...

  6. #6
    Modérateur
    Avatar de roro06
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    1 480
    Détails du profil
    Informations personnelles :
    Âge : 54
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 1 480
    Points : 1 978
    Points
    1 978
    Par défaut
    En interrogeant l'url :http://www.aram-vd.ch/news.asp, on obtient bien des news ...
    est-ce la bonne adresse ?


    N'oubliez pas de consulter les FAQ ASP et les cours et tutoriels ASP

    " La vie c'est quelque chose de très fort et de très beau.... La vie appartient a tous les vivants. It's both a dream and a feeling. C'est être ce que nous ne sommes pas sans le rester. La vie c'est mourir aussi....Et mourir c'est vraiment strong...c'est rester en vie au delà de la mort...Tous ceux qui sont morts n'ignorent pas de le savoir."
    (J.C. VanDamme, humoriste et philosophe belge . A moins que ce ne soit l'inverse ...)

    Chuck Norris comprend JC Van Damme.

  7. #7
    Futur Membre du Club
    Homme Profil pro
    Inscrit en
    Décembre 2009
    Messages
    60
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations forums :
    Inscription : Décembre 2009
    Messages : 60
    Points : 5
    Points
    5
    Par défaut
    oui c'est la bonne adresse!

  8. #8
    Modérateur
    Avatar de roro06
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    1 480
    Détails du profil
    Informations personnelles :
    Âge : 54
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 1 480
    Points : 1 978
    Points
    1 978
    Par défaut
    En fait, l'info à retenir, c'était
    on obtient bien des news ...
    ce qui me laisse penser que l'accès à la BdD se fait bien. Me trompé-je?


    N'oubliez pas de consulter les FAQ ASP et les cours et tutoriels ASP

    " La vie c'est quelque chose de très fort et de très beau.... La vie appartient a tous les vivants. It's both a dream and a feeling. C'est être ce que nous ne sommes pas sans le rester. La vie c'est mourir aussi....Et mourir c'est vraiment strong...c'est rester en vie au delà de la mort...Tous ceux qui sont morts n'ignorent pas de le savoir."
    (J.C. VanDamme, humoriste et philosophe belge . A moins que ce ne soit l'inverse ...)

    Chuck Norris comprend JC Van Damme.

  9. #9
    Futur Membre du Club
    Homme Profil pro
    Inscrit en
    Décembre 2009
    Messages
    60
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations forums :
    Inscription : Décembre 2009
    Messages : 60
    Points : 5
    Points
    5
    Par défaut
    Apparemment oui, mais ou est le problème?

  10. #10
    Modérateur
    Avatar de roro06
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    1 480
    Détails du profil
    Informations personnelles :
    Âge : 54
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 1 480
    Points : 1 978
    Points
    1 978
    Par défaut
    Apparemment oui, mais ou est le problème?
    ben pour moi, il n'y en a pas... il me semble, vu d'ici, que l'accès à la base de données ne pose pas de problèmes...

    ... ou alors donne moi l'url d'une page avec un résultat innatendu, parce que là, tes news apparaissent bien ...


    N'oubliez pas de consulter les FAQ ASP et les cours et tutoriels ASP

    " La vie c'est quelque chose de très fort et de très beau.... La vie appartient a tous les vivants. It's both a dream and a feeling. C'est être ce que nous ne sommes pas sans le rester. La vie c'est mourir aussi....Et mourir c'est vraiment strong...c'est rester en vie au delà de la mort...Tous ceux qui sont morts n'ignorent pas de le savoir."
    (J.C. VanDamme, humoriste et philosophe belge . A moins que ce ne soit l'inverse ...)

    Chuck Norris comprend JC Van Damme.

  11. #11
    Futur Membre du Club
    Homme Profil pro
    Inscrit en
    Décembre 2009
    Messages
    60
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations forums :
    Inscription : Décembre 2009
    Messages : 60
    Points : 5
    Points
    5
    Par défaut
    Mais pas chez moi!
    http://www.aram-vd.ch/professionnews.asp

    Moi j'ai cette erreur qui s'affiche.

    Erreur 500
    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.

    Web Server at aram-vd.ch

  12. #12
    Modérateur
    Avatar de roro06
    Profil pro
    Inscrit en
    Avril 2007
    Messages
    1 480
    Détails du profil
    Informations personnelles :
    Âge : 54
    Localisation : France

    Informations forums :
    Inscription : Avril 2007
    Messages : 1 480
    Points : 1 978
    Points
    1 978
    Par défaut
    poste le code de la page professionnews.asp, parce que ça semble être la seule page qui pose problème, qui ne vient peut-être pas de la base de données ...


    N'oubliez pas de consulter les FAQ ASP et les cours et tutoriels ASP

    " La vie c'est quelque chose de très fort et de très beau.... La vie appartient a tous les vivants. It's both a dream and a feeling. C'est être ce que nous ne sommes pas sans le rester. La vie c'est mourir aussi....Et mourir c'est vraiment strong...c'est rester en vie au delà de la mort...Tous ceux qui sont morts n'ignorent pas de le savoir."
    (J.C. VanDamme, humoriste et philosophe belge . A moins que ce ne soit l'inverse ...)

    Chuck Norris comprend JC Van Damme.

  13. #13
    Futur Membre du Club
    Homme Profil pro
    Inscrit en
    Décembre 2009
    Messages
    60
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations forums :
    Inscription : Décembre 2009
    Messages : 60
    Points : 5
    Points
    5
    Par défaut
    non c'est toute les pages ou il y a connection avec la bdd, que j'ai ce problème!
    Quand tu m'as posé la question hier comme quoi tu avais interrogé http://www.aram-vd.ch/news.asp, j'ai cru que tu avais mis un code pour afficher les news et qu'elle s'affichait correctement, j'ai le même message sur toute les page avec la connection avec la bdd.
    je te mets quand même le code du lien que je t'ai envoyé hier.
    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
    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
    140
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    152
    153
    154
    155
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
    167
    168
    169
    170
    171
    172
    173
    174
    175
    176
    177
    178
    179
    180
    181
    182
    183
    184
    185
    186
    187
    188
    189
    190
    191
    192
    193
    194
    195
    196
    197
    198
    199
    200
    201
    202
    203
    204
    205
    206
    207
    208
    209
    210
    211
    212
    213
    214
    215
    216
    217
    218
    219
    220
    221
    222
    223
    224
    225
    226
    227
    228
    229
    230
    231
    232
    233
    234
    235
    236
    237
    238
    239
    240
    241
    242
    243
    244
    245
    246
    247
    248
    249
    250
    251
    252
    253
    254
    255
    256
    257
    258
    259
    260
    261
    262
    263
    264
    265
    266
    267
    268
    269
    270
    271
    272
    273
    274
    275
    276
    277
    278
    279
    280
    281
    282
    283
    284
    285
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
    297
    298
    299
    300
    301
    302
    303
    304
    305
    306
    307
    308
    309
    310
    311
    312
    313
    314
    315
    316
    317
    318
    319
    320
    321
    322
    323
    324
    325
    326
    327
    328
    329
    330
    331
    332
    333
    334
    335
    336
    337
    338
    339
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    351
    352
    353
    <%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
    <!--#include file="Connections/aram.asp" -->
    <%
    Dim rs_pronews
    Dim rs_pronews_cmd
    Dim rs_pronews_numRows
     
    Set rs_pronews_cmd = Server.CreateObject ("ADODB.Command")
    rs_pronews_cmd.ActiveConnection = MM_aram_STRING
    rs_pronews_cmd.CommandText = "SELECT * FROM news_profession" 
    rs_pronews_cmd.Prepared = true
     
    Set rs_pronews = rs_pronews_cmd.Execute
    rs_pronews_numRows = 0
    %> 
    <html>
    <head>
    <title>ARAM Association Romande des Assistantes M&eacute;dicales</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <link href="stylearam.css" rel="stylesheet" type="text/css">
    <script language="JavaScript" type="text/JavaScript">
    <!--
     
    function MM_reloadPage(init) {  //reloads the window if Nav4 resized
      if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
        document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
      else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
    }
    MM_reloadPage(true);
     
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
     
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
     
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
     
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
     
    function P7_Snap() { //v2.67 by PVII
     var g,x,y,ox,bx,oy,p,tx,a,b,k,d,da,e,el,tw,q0,xx,yy,w1,pa='px',args=P7_Snap.arguments;a=parseInt(a);
     if(document.layers||window.opera){pa='';}for(k=0;k<(args.length);k+=4){
     if((g=MM_findObj(args[k]))!=null){if((el=MM_findObj(args[k+1]))!=null){
     a=parseInt(args[k+2]);b=parseInt(args[k+3]);x=0;y=0;ox=0;oy=0;p="";tx=1;
     da="document.all['"+args[k]+"']";if(document.getElementById){
     d="document.getElementsByName('"+args[k]+"')[0]";if(!eval(d)){
     d="document.getElementById('"+args[k]+"')";if(!eval(d)){d=da;}}
     }else if(document.all){d=da;}if(document.all||document.getElementById){while(tx==1){
     p+=".offsetParent";if(eval(d+p)){x+=parseInt(eval(d+p+".offsetLeft"));y+=parseInt(eval(d+p+".offsetTop"));
     }else{tx=0;}}ox=parseInt(g.offsetLeft);oy=parseInt(g.offsetTop);tw=x+ox+y+oy;
     if(tw==0||(navigator.appVersion.indexOf("MSIE 4")>-1&&navigator.appVersion.indexOf("Mac")>-1)){
      ox=0;oy=0;if(g.style.left){x=parseInt(g.style.left);y=parseInt(g.style.top);}else{
      w1=parseInt(el.style.width);bx=(a<0)?-5-w1:-10;a=(Math.abs(a)<1000)?0:a;b=(Math.abs(b)<1000)?0:b;
      x=document.body.scrollLeft+event.clientX+bx;y=document.body.scrollTop+event.clientY;}}
     }else if(document.layers){x=g.x;y=g.y;q0=document.layers,dd="";for(var s=0;s<q0.length;s++){
      dd='document.'+q0[s].name;if(eval(dd+'.document.'+args[k])){x+=eval(dd+'.left');y+=eval(dd+'.top');
      break;}}}e=(document.layers)?el:el.style;xx=parseInt(x+ox+a),yy=parseInt(y+oy+b);
     if(navigator.appVersion.indexOf("MSIE 5")>-1 && navigator.appVersion.indexOf("Mac")>-1){
      xx+=parseInt(document.body.leftMargin);yy+=parseInt(document.body.topMargin);}
     e.left=xx+pa;e.top=yy+pa;}}}
    }
     
    function P7_autoShowHide() { //v1.2 by PVII-www.projectseven.com
     var g,b,k,f,ag=arguments,a=parseInt(ag[0]);
     if(!document.p7setc){p7c=new Array();document.p7setc=true;for(var u=0;u<10;u++){
     p7c[u]=new Array();}}for(k=0;k<p7c[a].length;k++){if((g=MM_findObj(p7c[a][k]))!=null){
     b=(document.layers)?g:g.style;b.visibility="hidden";}}for(k=1;k<ag.length;k++){
     if((g=MM_findObj(ag[k]))!=null){b=(document.layers)?g:g.style;b.visibility="visible";
     f=false;for(var j=0;j<p7c[a].length;j++){if(ag[k]==p7c[a][j]){f=true;}}
     if(!f){p7c[a][p7c[a].length++]=ag[k];}}}
    }
     
    function P7_autoLayers() { //v1.4 by PVII
     var g,b,k,f,args=P7_autoLayers.arguments;a=parseInt(args[0]);if(isNaN(a))a=0;
     if(!document.p7setc){p7c=new Array();document.p7setc=true;for(var u=0;u<10;u++){
     p7c[u]=new Array();}}for(k=0;k<p7c[a].length;k++){if((g=MM_findObj(p7c[a][k]))!=null){
     b=(document.layers)?g:g.style;b.visibility="hidden";}}for(k=1;k<args.length;k++){
     if((g=MM_findObj(args[k]))!=null){b=(document.layers)?g:g.style;b.visibility="visible";f=false;
     for(var j=0;j<p7c[a].length;j++){if(args[k]==p7c[a][j]) {f=true;}}
     if(!f){p7c[a][p7c[a].length++]=args[k];}}}
    }
    //-->
    </script>
    <style type="text/css">
    <!--
    #Layer1 {position:absolute;
    	left:384px;
    	top:454px;
    	width:82px;
    	height:44px;
    	z-index:1;
    	visibility: hidden;
    }
    #Layer2 {position:absolute;
    	left:396px;
    	top:413px;
    	width:113px;
    	height:44px;
    	z-index:2;
    	visibility: hidden;
    }
    -->
    </style>
    </head>
     
    <body bgcolor="#FFFFFF" onLoad="MM_preloadImages('img/index/nav/homef.jpg','img/index/nav/prestationf.jpg','img/index/nav/membref.jpg','img/index/nav/formationf.jpg','img/index/nav/plateformef.jpg','img/index/nav/journalf.jpg','img/index/nav/agendaf.jpg','img/index/nav/liensf.jpg','img/index/nav/contactf.jpg','img/index/nav/bonasavoirf.jpg','img/index/nav/newsd.jpg','img/index/nav/prefessiond.jpg','img/index/nav/formationd.jpg','img/index/nav/news3d.jpg','img/index/nav/salaired.jpg','img/index/nav/examend.jpg','img/index/nav/news2d.jpg')">
    <table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" class="liens">
      <tr>
        <td align="center" valign="top"><div id="Layer2">
          <table width="117" border="0" cellpadding="0" cellspacing="0">
            <tr>
              <td><a href="professionnews.asp"><img src="img/index/nav/news3h.jpg" width="117" height="36" border="0" id="Image7" onMouseOver="MM_swapImage('Image7','','img/index/nav/news3d.jpg',1);P7_autoShowHide(0,'Layer2')" onMouseOut="MM_swapImgRestore();P7_autoShowHide(0)"></a></td>
            </tr>
            <tr>
              <td><a href="mdpsalaire.asp"><img src="img/index/nav/salaireh.jpg" width="117" height="35" border="0" id="Image8" onMouseOver="MM_swapImage('Image8','','img/index/nav/salaired.jpg',1);P7_autoShowHide(0,'Layer2')" onMouseOut="MM_swapImgRestore();P7_autoShowHide(0)"></a></td>
            </tr>
          </table>
        </div>
          <div id="Layer1">
            <table width="117" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="151" height="36"><a href="examens.asp"><img src="img/index/nav/examenh.jpg" name="Image5" width="117" height="36" border="0" id="Image5" onMouseOver="MM_swapImage('Image5','','img/index/nav/examend.jpg',1);P7_autoShowHide(0,'Layer1')" onMouseOut="MM_swapImgRestore();P7_autoShowHide(0)"></a></td>
              </tr>
              <tr>
                <td><a href="formationnews.asp"><img src="img/index/nav/news2h.jpg" name="Image6" width="117" height="37" border="0" id="Image6" onMouseOver="MM_swapImage('Image6','','img/index/nav/news2d.jpg',1);P7_autoShowHide(0,'Layer1')" onMouseOut="MM_swapImgRestore();P7_autoShowHide(0)"></a></td>
              </tr>
            </table>
          </div>
          <table width="800" border="0" cellpadding="0" cellspacing="0">
            <tr> 
              <td><img src="img/index/titre.jpg" width="481" height="44"></td>
            </tr>
            <tr> 
              <td><img src="img/index/barphoto.jpg" width="800" height="87"></td>
            </tr>
            <tr> 
              <td><img src="img/giftrans.gif" width="1" height="27"></td>
            </tr>
            <tr>
              <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
                  <tr> 
                    <td width="14%" valign="top"><table width="112" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <td><a href="index.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/home.jpg" name="boua" width="112" height="8" border="0" id="boua" onMouseOver="MM_swapImage('boua','','img/index/nav/homef.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="news.asp"><img src="img/index/nav/news.jpg" width="112" height="8" border="0" id="Image2" onMouseOver="MM_swapImage('Image2','','img/index/nav/newsd.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                      <tr>
                        <td><a href="prestation.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/prestation.jpg" name="boub" width="112" height="9" border="0" id="boub" onMouseOver="MM_swapImage('boub','','img/index/nav/prestationf.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="membres.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/membre.jpg" name="bouc" width="112" height="8" border="0" id="bouc" onMouseOver="MM_swapImage('bouc','','img/index/nav/membref.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="formation.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/formation.jpg" name="boud" width="112" height="9" border="0" id="boud" onMouseOver="MM_swapImage('boud','','img/index/nav/formationf.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="plateforme.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/plateforme.jpg" name="boue" width="112" height="12" border="0" id="boue" onMouseOver="MM_swapImage('boue','','img/index/nav/plateformef.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="journal.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/journal.jpg" name="bouf" width="112" height="8" border="0" id="bouf" onMouseOver="MM_swapImage('bouf','','img/index/nav/journalf.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="5"></td>
                      </tr>
                      <tr>
                        <td><a href="profession.asp"><img src="img/index/nav/prefession.jpg" name="Image3" width="112" height="25" border="0" id="Image3" onMouseOver="MM_swapImage('Image3','','img/index/nav/prefessiond.jpg',1);P7_Snap('Image3','Layer2',110,-6);P7_autoShowHide(0,'Layer2')" onMouseOut="MM_swapImgRestore();P7_autoShowHide(0)"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="4"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1" onMouseOver="P7_autoLayers(0)"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="5"></td>
                      </tr>
                      <tr>
                        <td><a href="formation2.asp" onMouseOver="MM_swapImage('Image4','','img/index/nav/formationd.jpg',1);P7_autoShowHide(0,'Layer1');P7_Snap('Image4','Layer1',110,-6)" onMouseOut="MM_swapImgRestore()"><img src="img/index/nav/formationh.jpg" name="Image4" width="112" height="25" border="0" id="Image4" onMouseOut="P7_autoShowHide(0)"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="4"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1" onMouseOver="P7_autoLayers(0)"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="mdpagenda.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/agenda.jpg" name="boug" width="112" height="11" border="0" id="boug" onMouseOver="MM_swapImage('boug','','img/index/nav/agendaf.jpg',1);P7_autoShowHide(0)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="bonasavoir.asp" onMouseOver="MM_swapImage('Image1','','img/index/nav/bonasavoirf.jpg',1)" onMouseOut="MM_swapImgRestore()"><img src="img/index/nav/bonasavoir.jpg" name="Image1" width="112" height="9" border="0" id="Image1"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="liens.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/liens.jpg" name="bouh" width="112" height="9" border="0" id="bouh" onMouseOver="MM_swapImage('bouh','','img/index/nav/liensf.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="12"></td>
                      </tr>
                      <tr>
                        <td><a href="contact.asp" onFocus="if(this.blur)this.blur()"><img src="img/index/nav/contact.jpg" name="boui" width="112" height="9" border="0" id="boui" onMouseOver="MM_swapImage('boui','','img/index/nav/contactf.jpg',1)" onMouseOut="MM_swapImgRestore()"></a></td>
                      </tr>
                      <tr>
                        <td><img src="img/giftrans.gif" width="1" height="13"></td>
                      </tr>
                      <tr>
                        <td><img src="img/index/nav/lignenav.jpg" width="110" height="1"></td>
                      </tr>
                      <tr>
                        <td>&nbsp;</td>
                      </tr>
                    </table>
                    </td>
                    <td width="3%"><img src="img/giftrans.gif" width="25" height="1"></td>
                    <td width="83%" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr> 
                          <td colspan="4"><img src="img/index/titrepronews.jpg" width="122" height="14"></td>
                        </tr>
                        <tr> 
                          <td width="9%">&nbsp;</td>
                          <td width="2%">&nbsp;</td>
                          <td width="48%">&nbsp;</td>
                          <td width="41%">&nbsp;</td>
                        </tr>
                        <tr>
                          <td colspan="4" class="texte"><%=(rs_pronews.Fields.Item("texte").Value)%></td>
                        </tr>
     
                      </table></td>
                  </tr>
                  <tr>
                    <td colspan="3">&nbsp;</td>
                  </tr>
                  <tr> 
                    <td colspan="3"><img src="img/index/bas.jpg" width="800" height="12" border="0" usemap="#Map"></td>
                  </tr>
                </table> </td>
            </tr>
          </table>
     
        </td>
      </tr>
    </table>
    <map name="Map">
      <area shape="rect" coords="606,1,745,12" href="http://www.isolated.ch" target="_blank">
    </map>
    </body>
    </html>
    <%
    rs_pronews.Close()
    Set rs_pronews = Nothing
    %>

  14. #14
    Futur Membre du Club
    Homme Profil pro
    Inscrit en
    Décembre 2009
    Messages
    60
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations forums :
    Inscription : Décembre 2009
    Messages : 60
    Points : 5
    Points
    5
    Par défaut
    tu es là?
    Je suis désolé de te stresser mais c'est assez urgent!
    Je te remercie d'avance.
    Steve

  15. #15
    Membre extrêmement actif
    Profil pro
    Inscrit en
    Décembre 2003
    Messages
    1 616
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2003
    Messages : 1 616
    Points : 3 965
    Points
    3 965
    Par défaut
    Pour progresser il faudrait l'erreur exacte que tu as derrière cette erreur 500 http
    il faut que tu contrôles les logs du serveur http, tu dois pouvoir y retrouver le texte de l'erreur.

    Sinon insère un "on error" dans ton code pour intercepter cette erreur et l'afficher

    ton code a l'air clean sinon
    Émotion
    Infantilisation
    Culpabilisation

    Christophe Alévèque - 18 Mars 2021

  16. #16
    Futur Membre du Club
    Homme Profil pro
    Inscrit en
    Décembre 2009
    Messages
    60
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations forums :
    Inscription : Décembre 2009
    Messages : 60
    Points : 5
    Points
    5
    Par défaut
    ou je peux trouver les logs?

    Ou je mets et comment le "on error"?

  17. #17
    Futur Membre du Club
    Homme Profil pro
    Inscrit en
    Décembre 2009
    Messages
    60
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations forums :
    Inscription : Décembre 2009
    Messages : 60
    Points : 5
    Points
    5
    Par défaut
    J'ai trouvé un fichier log dis-moi si c'est bien ça que me disait?
    Fichiers attachés Fichiers attachés

  18. #18
    Membre extrêmement actif
    Profil pro
    Inscrit en
    Décembre 2003
    Messages
    1 616
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2003
    Messages : 1 616
    Points : 3 965
    Points
    3 965
    Par défaut
    A la 1ère question il n'y a que toi qui puisse répondre

    A la 2e, tu te dois de faire un minimum de recherches. ASP et vbscript sont très bien documentés.
    Émotion
    Infantilisation
    Culpabilisation

    Christophe Alévèque - 18 Mars 2021

  19. #19
    Membre extrêmement actif
    Profil pro
    Inscrit en
    Décembre 2003
    Messages
    1 616
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Décembre 2003
    Messages : 1 616
    Points : 3 965
    Points
    3 965
    Par défaut
    voici l'erreur que tu as partout :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    |8|800a0bb9|Arguments_are_of_the_wrong_type__are_out_of_acceptable_range__or_are_in_conflict_with_one_another.
    ligne 8 ou 9 de tes scripts en général

    sur le source que tu as posté, c'est cette ligne :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    rs_pronews_cmd.ActiveConnection = MM_aram_STRING
    et ton problème vient dès lors probablement de ce fichier :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <!--#include file="Connections/aram.asp" -->
    Montre nous le code de celui-ci
    Émotion
    Infantilisation
    Culpabilisation

    Christophe Alévèque - 18 Mars 2021

  20. #20
    Futur Membre du Club
    Homme Profil pro
    Inscrit en
    Décembre 2009
    Messages
    60
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Suisse

    Informations forums :
    Inscription : Décembre 2009
    Messages : 60
    Points : 5
    Points
    5
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    <%set cn = Server.CreateObject("ADODB.Connection")
    strConn = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("\App_Data\aram.mdb")
    cn.Open strConn%>

+ Répondre à la discussion
Cette discussion est résolue.
Page 1 sur 3 123 DernièreDernière

Discussions similaires

  1. Pool de connexion à une base de données en java
    Par ppaul127 dans le forum JDBC
    Réponses: 3
    Dernier message: 15/12/2005, 17h03
  2. Réponses: 1
    Dernier message: 25/09/2005, 16h18
  3. ERREUR DE CONNEXION à une base de donnée ACCESS protégée
    Par unionriton dans le forum Bases de données
    Réponses: 4
    Dernier message: 09/05/2005, 09h35
  4. Delphi Connexion à une base de donnée distante par TCP/IP
    Par viecel dans le forum Bases de données
    Réponses: 1
    Dernier message: 12/01/2005, 19h19
  5. Réponses: 3
    Dernier message: 29/03/2004, 18h02

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo