问一个asp启动SQLServer的问题
asp启动SQLServer======================================
<%@ language=vbscript %>
<%
Dim oSQL
SET oSQL=Server.CreateObject( "SQLDMO.SQLServer ")
oSQL.LoginTimeout=-1
oSQL.LoginSecure=False
'oSQL.Connect "(Local) ", "SA ", "epms "
oSQL.Start True, "(Local) ", "SA ", "epms "
SET oSQL=Nothing
%>
页面返回=======================================
Microsoft VBScript 编译器错误 错误 '800a03f6 '
缺少 'End '
/iisHelp/common/500-100.asp,行242
Microsoft SQL-DMO 错误 '800a0005 '
[SQL-DMO]服务控制错误: 拒绝访问。
/start.asp,行10
===================================================
请高手解答该如何做?
[解决办法]
oSQL.Connect ". ", "SA ", "epms "
试试