微软VBScript Erro'800a03f6'

微软VBScript Erro'800a03f6',vbscript,Vbscript,错误Microsoft VBScript编译错误“800a03f6” 预期“结束” 我找不到错误的解释,我看到了所有的if和end if,一切都正常 <%@LANGUAGE="VBSCRIPT"%> <!--#include virtual="/Sigmacontents/includes/inicio.asp" --> <html> <head> <title><%=back_name%></title>

错误Microsoft VBScript编译错误“800a03f6”

预期“结束”

我找不到错误的解释,我看到了所有的if和end if,一切都正常

<%@LANGUAGE="VBSCRIPT"%>
<!--#include virtual="/Sigmacontents/includes/inicio.asp" -->    
<html>
<head>
<title><%=back_name%></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/Sigmacontents/css/backoffice.css" type="text/css">
<link rel="stylesheet" href="/Sigmacontents/Css/standard.css" type="text/css">
</head>
<body>
<table border="0" cellspacing="2" cellpadding="0" align="center">
  <tr> 
    <td colspan="2"> 
      <!--#include virtual="/Sigmacontents/includes/topo.asp" -->    </td>
  </tr>
  <tr>
    <td width="190" valign="top" class="td_white"><!--#include virtual="/Sigmacontents/includes/menu_esq.asp" --></td>
    <td width="808" valign="top" class="td_white"><div align="center">
    <table width="98%%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="35" class="f_topo_TABELAS"><strong>:: NOT&Iacute;CIAS </strong> </td>
        </tr>
      </table>
      <%if request.querystring("idn")="" then%>
          <iframe id=seccao name="seccao" src="/Sigmacontents/noticias/lista_noticias.asp" width="97%" height="700" frameborder="0" marginwidth="0" marginheight="0" ></iframe>
          <%else%>
          <iframe id=seccao name="seccao" src="/Sigmacontents/noticias/ver_noticia.asp?idn=<%=request.querystring("idn")%>" width="97%" height="700" frameborder="0" marginwidth="0" marginheight="0" ></iframe>

           <%end if%>

    </div>      </td>
  </tr>
  <tr> 
    <td class="f_laranja" colspan="2"> 
      <div align="center"> 
        <!--#include virtual="/Sigmacontents/includes/footer.asp" -->
    </div>    </td>
  </tr>
</table>
</body>
</html>

除了您在帖子中显示的if/then之外,该错误还可能出现在任何asp包含文件中。我建议仔细检查那些文件。例如,确保Sigmacontents/includes/inicio.asp没有任何打开的if或else语句。哪一行引发错误?问题已解决。问题是如果包含文件中没有结束引号。