AHH! I've pulled all my hair out now!
This script runs great on one web server, but not on the other. Both are Win2k Server and are configured the same (to the best of my knowledge). I've checked the error message :
This error seems to happen a lot with people who have MDAC 2.1, but we got 2.7 on the servers. I've read all the articles and haven't found anything
that relates to my problem.
Has anyone else had this problem before? What kind of info do you need?
The site that runs this scripts is running in low-process and is set to basic authenticiation and an Administrator is running it. I am hoping that rules
out any permission problems for now.
<EDIT>Looks like I needed <a target=new class=ftalternatingbarlinklarge href="http://www.microsoft.com/windows2000/downloads/servicepacks/sp3/supporttools.asp
">Microsoft Support Tools</a>, all is good now</EDIT>
<%
'Syncronizes Windows 2000 Domain Controllers
Set comDLL=CreateObject("IADsTools.DCFunctions")
Result=comDLL.ReplicaSync("DC1","dc=intranet,DC=domain,dc=ca","DC2")
If Result=0 Then
Response.Write("Windows 2000 Domain Controllers successfully syncronized.
")
Else
Response.Write("<FONT color=red>Windows 2000 Domain Controllers syncronization failed!!! </FONT>
")
End If
Set comDLL=Nothing
%>
This script runs great on one web server, but not on the other. Both are Win2k Server and are configured the same (to the best of my knowledge). I've checked the error message :
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object: 'IADsTools.DCFunctions'
/mucdev/sync.asp, line 4
This error seems to happen a lot with people who have MDAC 2.1, but we got 2.7 on the servers. I've read all the articles and haven't found anything
that relates to my problem.
Has anyone else had this problem before? What kind of info do you need?
The site that runs this scripts is running in low-process and is set to basic authenticiation and an Administrator is running it. I am hoping that rules
out any permission problems for now.
<EDIT>Looks like I needed <a target=new class=ftalternatingbarlinklarge href="http://www.microsoft.com/windows2000/downloads/servicepacks/sp3/supporttools.asp
">Microsoft Support Tools</a>, all is good now</EDIT>