|
Dernière réponse | |
---|---|
Sujet : serveur IIS | |
B0nd | Ok le problème est résolu depuis le temps
J'avais omi de mettre l'utilisateur anonyme dans le serveur SQL et serveur Web On peut le classer comme "Solutionner" Yves |
Aperçu |
---|
Vue Rapide de la discussion |
---|
B0nd | Ok le problème est résolu depuis le temps
J'avais omi de mettre l'utilisateur anonyme dans le serveur SQL et serveur Web On peut le classer comme "Solutionner" Yves |
Badze | Ta une case a cocher pour ques les guests est accés en lecture |
B0nd | Personne pour venir en aide *
B0nd |
B0nd | Toujours personne pour me répondre, aider moi SVP
B0nd |
B0nd | ok j'ai réussit à faire fonctionner le serveur IIS, maintenant j'ai un autre problèm.
A chaque fois que je tape l'adresse IP du serveur,il demande un login et mot de passe, pour l'ouverture de la page. Merci d'avance pour vos réponse B0nd |
The Psychowizard | Quel est le port utilisé par ton site par défaut?
Est ce que 192.168.1.1 est bien l'adresse du serveur? Est ce qu'elle est renseignée dans le fichier host? |
lapin21 | Tu as essayé http://192.168.1.1:80/default.htm ? |
B0nd | Aider moi si vous plait Merci B0nd |
B0nd | y a t il quelqu'un pour m'aider ? SVP j'ai besoin de vous Merci à tous B0nd |
B0nd | Bon je reviens vers encore une fois !!!!
Avec ma direction a changé de stratégie, maintenant ils ont voulu que je met le tout sur une seul machine SQL + IIS version 6.0 Donc j'ai finalement installé IIS sur le serveur SQL 2000. J'ai paramètré IIS, mais je rencontre un problème qui est le suivant : - Je n'arrive à afficher la page default.htm que en tapant http://localhost/default.htm - Lorsque j'utilise une adresse IP, cela ne fonctionne pas : http://192.168.1.1/default.htm - Ainsi le problème est la même si j'utilise un autre poste et que je tape http://192.168.1.1/default.htm Pouvez-vous m'aider SVP, je ne connais pas du tout IIS et son fonctionnement Merci d'avance pour vos réponse Bond |
pkc |
|
B0nd | Personne pour venir à mpon aide ?????? |
B0nd | C:\Inetpub c'est bien
mais C:\Inetpub\wwwroot c'est encore mieux :) J'ai essayé les 2 systèmes mais le résultat est le même Merci pour vos réponses B0nd |
superkenny | C:\Inetpub c'est bien mais C:\Inetpub\wwwroot c'est encore mieux :) |
B0nd | Voici les scripts que tu m'a demandé Egalement j'ai bien un fichier default.htm + default.asp dont le contenu est indiqué ci-dessous. Par contre les logs je ne sais pas où trouver. Peux tu m'indiquer l'emplacement STP De mon coté j'ai cherché les logs (en faisant un recherche) et j'ai trouvé un log se nommant "iis6.log", mais les logs s'arrête au 07/06/2066. J'en profite pour te demande, si tu peux me citer les meilleurs forum concernant IIS Merci beaucoup B0nd |
B0nd | [#008d71]voici le script default.asp
<%@ LANGUAGE="VBSCRIPT" %> <% Response.Expires = -1 Session("Principio" )=True Dim str_fecini Dim str_horini Dim str_fecfin Dim str_horfin Dim correcto Dim inicio Dim fin Dim str_noticia(6) Const adOpenKeyset = 1 Const adLockOptimistic = 3 Set Mi_Conexion = Server.CreateObject ("ADODB.Connection" ) Mi_Conexion.ConnectionTimeout = 0 Mi_Conexion.CommandTimeout = 0 Mi_Conexion.Open Session("MITSUBISHI_ConnectionString" ), Session("MITSUBISHI_RuntimeUserName" ), Session("MITSUBISHI_RuntimePassword" ) On Error Resume Next linea1 = "Celui-ci est un Réseau interne propiété de <br> Toute utilisation, emploi ou modification par une personne non autorisée est strictement interdite.<br><br> Copyright © MMC Automóviles España,S.A" linea2 = "Version: IMFV001R002M002" linea3 = "Cet intranet a été créé par les Services informatique de et par <font color=red>ADP</font> Dealer Services España. " linea4 = "Configurez la résolution à 1024x768 pour une visulisation optimale" linea5 = "Au cours de la procédure dutilisation, vous saisissez un nom de compte et un mot de passe. Vous êtes seul responsable de la conservation du caractère confidentiel de votre compte et de votre mot de passe et de toutes actions qui pourront être faites sous votre compte et/ou avec votre mot de passe. " linea6 = "Vous vous engagez à informer immédiatement de toute utilisation non autorisée de votre compte et/ou de votre mot de passe, ainsi qu’à vous assurer que vous vous déconnectez à l’issue de chaque session." linea7 = " ne pourra être tenu responsable de toute perte ou dommage survenant en cas de manquement à ces obligations." linea8 = "Vous devez utiliser Microsoft Internet Explorer 6.0 ou supérieur" 'Recuperar mensajes Set Mi_RecordSet3 = Server.CreateObject("ADODB.Recordset" ) str_sql3 = "SELECT * FROM MGNOTICIA WHERE MGNOTICIA.ID <> 2 " Mi_RecordSet3.Open str_sql3 , Mi_Conexion, adOpenKeyset, adLockOptimistic If Err <> 0 Then Err.Clear Else If Not Mi_RecordSet3.EOF Then str_fechact = Mid(now(),1,10) Mi_RecordSet3.MoveFirst Do While Not Mi_RecordSet3.EOF correcto = true inicio = true fin = true str_noticia(Mi_RecordSet3("ID" )) = Mi_RecordSet3("NOTICIA" ) str_fecini = Mi_RecordSet3("FECINI" ) if Trim(str_fecini) = "" then str_fecini = "01/01/1900" str_horini = Mi_RecordSet3("HORINI" ) if Trim(str_horini) = "" then str_horini = "00:00" str_fecfin = Mi_RecordSet3("FECFIN" ) if Trim(str_fecfin) = "" then str_fecfin = "31/12/2050" str_horfin = Mi_RecordSet3("HORFIN" ) if Trim(str_horfin) = "" then str_horfin = "23:59" if cDate(str_fechact) >= cdate(str_fecini) and cdate(str_fechact) <= cDate(str_fecfin) then if Cdate(str_fechact) = cDate(str_fecini) then if Hour(now) >= hour(str_horini) then if Hour(now) = hour(str_horini) then if Minute(now) >= Minute(str_horini) then inicio = true else inicio = false end if else inicio = true end if else inicio = false end if else inicio = true end if if Cdate(str_fecact) = cDate(str_fecfin) then if Hour(now) <= hour(str_horfin) then if Hour(now) = hour(str_horfin) then if Minute(now) <= Minute(str_horfin) then fin = true else fin = false end if else fin = true end if else fin = false end if else fin = true end if if inicio and fin then correcto = true else correcto = false end if else correcto = false end if if not correcto or TRIM(str_noticia(Mi_RecordSet3("ID" ))) = "" then str_noticia(Mi_RecordSet3("ID" )) = " <br> <br> " Mi_RecordSet3.MoveNext Loop End if end if Mi_RecordSet3.Close %> <script language="javascript"><!-- function BubbaGump(B,BQ) { if (BQ==4){ B.style.color='black'; } if (BQ==3){ B.style.color='green'; } if (BQ==2){ B.style.color='red'; } if (BQ==1){ B.style.color='blue'; } if (BQ==0){ B.style.color='white'; } } --></script> <html> <head> <meta name="Creado" content=" POR ADP Dealer Services España."> <title>Accès à l'Application</title> <link rel="stylesheet" type="text/css" media="screen" href="../style/estilos.css"> <script language="JavaScript" src="../js/overlib.js"></script> </head> <script LANGUAGE="VBScript"><!-- Sub window_onLoad() Dim i_w Dim i_h i_w = window.screen.availWidth i_h = window.screen.availHeight call window.resizeTo(i_w, i_h) call window.moveTo(0, 0) call pantalla.USUARIO.focus() End Sub Function Redireccion(valor) Dim abre Select Case valor Case 1 abre = "http://helpdesk.mitsubishi-motors.fr" Case 2 abre = "http://intranet.mitsubishi-motors.fr" Case 3 abre = "https://tads.mitsubishi-motors.fr" Case 4 abre = "http://www.staci.com/WW70AWP/WW70AWP.EXE/CONNECT/Loginweb7?LNG=FR" End Select window.open(abre) End Function --></script> <BODY background="images/fondo_new.gif"> <form action="inicio.asp" method="POST" name="pantalla"> <div id=overDiv style="position: absolute; z-index: 1; width: 20px; height: 22px"></div> <table border="0" cellpadding="0" cellspacing="0" width="100%"> <tr> <td align="left" width="5%"><img border="0" src="../images/logo.jpg" border="0"></td> <td align="left" background="../images/bg_header.gif" valign="bottom" width="100%" colspan="2" > <table cellpadding="0" cellspacing="0" border="0" > <tr valign="top"> <td valign="top" width="40%"></td> <td valign="top" align="left"><img src="../images/distributor.gif" border="0" height="40"></td> </tr> <tr><td> </td></tr> <tr> <td width="100%" colspan="3"> <input TYPE="button" NAME="cmdAtras" VALUE="Sortir" onclick="window.close()" class="boton_cab" title="Cliquer pour sortir" width="10%" onmouseover="javascript:activa(this,1);" onmouseout="javascript:activa(this,2);"> </td> </tr> </table> </td> </tr> <tr> <td valign="top"> <br> <table class="login" width="90%" height="100%" align="center" border="0" cellpadding="0" cellspacing="0"> <tr> <td><font style="FONT-WEIGHT: bold;COLOR:white; CURSOR: default; FONT-FAMILY: Verdana"> Utilisateur</font></td> </tr> <tr> <td><input type="password" size="5" maxlength="8" name="USUARIO" value="" class="lstprincipal_login"></td> </tr> <tr> <td title="Code de Communications"><font style="FONT-WEIGHT: bold;COLOR:white; CURSOR: hand; FONT-FAMILY: Verdana">Password</font></td> </tr> <tR> <td><input type="password" size="5" maxlength="5" name="COMUNICACIONES" value="" class="lstprincipal_login_cort"><input type="submit" name="cmdAceptar" value="OK" class="boton_login"></td> </tr> </table> <br> <table class="login" width="90%" height="100%" align="left" border="0" cellpadding="0" cellspacing="0"> <tr> <td> <div align="center" onmouseover="this.style.cursor='hand';"> <font style="FONT-WEIGHT: bold;COLOR:white; CURSOR: default; FONT-FAMILY: Verdana"> <a onmouseout=nd(); onmouseover="overlib('<p align=right><div align=center><center><font class=OVERLIB><br><strong><%=linea1%> <br><br><%=linea2%><br><br><%=linea5%><br><br><%=linea6%><br><br><%=linea7%> <br><br><%=linea3%></strong></font></center><br><center><font class=OVERLIB size=2><strong><%=linea4%></strong><br><br><strong><%=linea8%></strong></font></center></div></p>', TEXTCOLOR ,'#000099', FGCOLOR ,'#FFFFDD')"><small><b>Copyright ®</b></small></a> </font> </div> </td> </tr> </table> <br> <table class="login" width="90%" height="100%" align="center" border="0" cellpadding="0" cellspacing="0"> <tr> <td title="Le site pour vos demandes informatiques" onclick="window.open('http://.fr');"><font size="4" style="FONT-WEIGHT: bold;COLOR:white; CURSOR: hand; FONT-FAMILY: Verdana"> HELPDESK</font></td> </tr> <tr> <td><font style="FONT-WEIGHT: bold;COLOR:white; CURSOR: default; FONT-FAMILY: Verdana">0800 566 500</font></td> </tr> <br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br> <TR><TD title="helpdesk@mitsubsihi-motors.fr" onclick="javascript:document.location.href='mailto:;"><font style="FONT-WEIGHT: bold;COLOR:white; CURSOR: hand; FONT-FAMILY: Verdana">EMAIL<FONT></td></tr> </table> </td> <td valign="top"> <table cellpading="0" cellspacing="0" border = "0" height="100%" > <tr> <table cellpading="0" cellspacing="0" border = "0" height="100%" > <tr> <td valign="top"> <table border="0" width="660" height="100%" class="PRESENTACION" align="center" > <tr> <td> <TABLE class="formname" border="0"> <tr><td> </td></tr> <tr> <td class="formname_presen" style="cursor:default;" height="75" title="Divers">General:</td> <td> </td> <td class="mensaje_presen" valign="top"><%=str_noticia(1)%></td> </tr> <tr><td> </td></tr> <tr> <td class="formname_presen" style="cursor:default;" height="75" width="20%" title="Véhicules" >Véhicule:</td> <td width="3%"> </td> <td class="mensaje_presen" valign="top"><%=str_noticia(3)%></td> </tr> <tr><td> </td></tr> <tr> <td class="formname_presen" style="cursor:default;" height="75" title="Pieces">Pièces:</td> <td> </td> <td class="mensaje_presen" valign="top"><%=str_noticia(4)%></td> </tr> <tr><td> </td></tr> <tr> <td class="formname_presen" style="cursor:default;" height="75" title="Garanties">Garanties:</td> <td> </td> <td class="mensaje_presen" valign="top"><%=str_noticia(5)%></td> </tr> <tr><td> </td></tr> <tr><td> </td></tr> <tr><td> </td></tr> <tr><td> </td></tr> <tr><td> </td></tr> <tr><td> </td></tr> <tr><td> </td></tr> </table> </td> </tr> </table> </td> <td align="left" valign="top" background="../images/bg_content_small.jpg"> <table border="0" width="190" height="580"> <tr><td colspan="2" height="15"> </td></tr> <tr > <td class="none" height="15" colspan="2"> <div class="contentBlock_cortplus" > <h1> Portal Area Links To: </h1> </div> </td> </tr> <tr> <td valign="top"> <table> <tr> <td width="15"> </td> <td class="formname_menu" onClick="Redireccion(1)" onMouseOver="BubbaGump(this,2)" onMouseOut="BubbaGump(this,4)" title="Le site pour vos demandes informatiques">Helpdesk MMF</td> </tr> <tr> <td> </td> <td class="formname_menu" onClick="Redireccion(2)" onMouseOver="BubbaGump(this,2)" onMouseOut="BubbaGump(this,4)" title="Accédez à l'Intranet">Intranet</td> </tr> <tr> <td> </td> <td class="formname_menu" onClick="Redireccion(3)" onMouseOver="BubbaGump(this,2)" onMouseOut="BubbaGump(this,4)" title="Accédez à MMF Test And Drive System pour gérer vos contacts et vos campagnes">TADS</td> </tr> <tr> <td> </td> <td class="formname_menu" onClick="Redireccion(4)" onMouseOver="BubbaGump(this,2)" onMouseOut="BubbaGump(this,4)" title="Accédez à Staci pour commander votre matériel publicitaire.">STACI</td> </tr> </table> </td> </tr> </table> </td> </tr> </td> </tr> </table> </FORM> <script language="JavaScript"> function activa(obj,valor) { if (valor ==1) { if (obj.disabled == false) { obj.style.color = "black"; obj.style.backgroundColor = "#FFC040"; } } else if (valor == 2) { obj.style.color = "white"; obj.style.backgroundColor = ""; } else { obj.style.color = "black"; obj.style.backgroundColor = ""; } } </script> <% If Not IsEmpty(Request("Codigo" )) Then If Request("Codigo" )=1 then Session("G_CONTACCESO" )= Session("G_CONTACCESO" )+1 'If Session("G_CONTACCESO" ) >= 3 Then %> <SCRIPT LANGUAGE="VBScript"><!-- ' top.location.href = "Sin_Salida.htm" --></SCRIPT> <%' End If %> <script LANGUAGE="VBScript"><!-- MsgBox "Accès refusé",,"¡¡ATTENTION!!" --></script> <% ElseIf Request("Codigo" )=2 then %> <script LANGUAGE="VBScript"><!-- MsgBox "ARRÊT DE CONTRÔLE",,"¡¡ATTENTION!!" --></script> <% ElseIf Request("Codigo" )=3 then %> <script LANGUAGE="VBScript"><!-- MsgBox "ACCÈS BLOQUÉ",,"¡¡ATTENTION!!" --></script> <% End If End If %> </body> </html> |
B0nd | Voici le script de default.htm
<html> <head> <meta name="Creado" content=" POR ADP Dealer Services España."> <title>Page Principale</title> <script LANGUAGE="JSCRIPT"> //<!-- function start() { var isMinNS4=(navigator.appName.indexOf("Netscape" )>=0&&parseFloat(navigator.appVersion)>=4)?1:0; var isMinIE4=(document.all)?1:0; var isMinIE5=(isMinIE4&&navigator.appVersion.indexOf("5." )>=0)?1:0; var isMinIE5_5=(isMinIE5&&navigator.appVersion.indexOf("5.5" )>=0)?1:0; var isMinIE6=(isMinIE5&&navigator.appVersion.indexOf("6." )>=0)?1:0; var navegador; navegador = navigator.appName; if (navegador == "Microsoft Internet Explorer" ) { if(!isMinIE6) { alert("On lui recommande d'utiliser la version 6.0 " ) } else { MAINWIN=open('default.asp', '', 'toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=yes,copyhistory=no,width=800,height=600') self.close () } } else { alert("Accédez non permis, vous devez utiliser Microsoft Internet Explorer 6.0 ou supérieur." ); } } window.setTimeout("start( )",1000); //--> </script> </head> <body background="images/fondo_estrella.gif"> <br><br><br> <center> <h2>Vous devez utiliser Microsoft Internet Explorer 6.0 ou supérieur</h2> </center> </body> </html> |
pkc |
|
B0nd | Jusqu'à maitenant, je n'ai jamais utilisé IIS, mais ma boite m'a demandé de mettre en place un environnement de test au siège
La demande de ma boite est que j'installe un serveur SQL (SQL serveur 2000 sous windows 2003) et un serveur Web (IIS sous Windows 2003) Je connais un peu SQL serveur 2000 et Windows 2003, mais par contre je ne connais pas du tout IIS 6.0 Les vrai serveurs se trouvent en Italie Les administrateur d'Italie m'ont fait une copie de de la base SQL et de toutes les fichier .asp De mon coté j'ai installé les 2 serveurs, puis j'ai restauré la base et j'ai copier l'ensemble des fichier .asp dans le répertoire C:\Inetpub J'ai lancé le test pour voir si cela fonctionne, mais non Lorsque je tape http://adresseIpMachine/default.htm, mais j'arrive bien sur ma page où se trouve le logo mais dernière il m'indique "page introuvable" et la fenetre se ferme automatique dernière Pouvez vous me dire de quoi il s'agit, d'où peut provenir ce problème ? Merci beaucoup pour vos réponses Pouvez vous me dire ou m'indiquer un site qui explique, le fonctionnement de IIS, des explications (par exemple à quoi sert les répertoire virtuel....) Merci de nouveau |