我正在尝试解决公司网站上的问题。涉及的页面是http://www.srbc.com/SiteMap.asp。当我尝试调用全局选项文件时,出现以下错误:
该错误引用了/_Includes/Callout_Global.asp文件中的以下行:Microsoft VBScript runtime error '800a01a8' Object required: '' /_Includes/Callout_Global.asp, line 40
rs_main.open "Select TeamID, FirstName + ' ' + LastName as FullName from team where Category = 'Attorney' and IsActive = '1' Order by OrderNum"
这段代码控制下拉框,应该包含律师姓名列表。
这段代码在网站的其他页面上运行良好(例如,请参见http://www.srbc.com/Careers/Default.asp)。
我不是编程人员,只是想清理一下这个网站。这是相当古老的代码,但如果您有任何建议可以修复它,那将不胜感激。
在 SiteMap.asp 页面中调用此函数周围的编码如下:
<td width="210" valign="top" class="hideforprint">
<!--#include virtual="/_Includes/Callout_Global.asp" -->
</td>
<td width="20"> </td>
</tr>
</table>
<table width="726" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="25"></td>
</tr>
</table>
</td>
<td width="22" valign="top" background="/Images/CommonImages/rightborder.gif"> </td>
</tr>
</table>
<!--#include virtual="/_Includes/Footer.asp" -->
</body>
</html>
谢谢!