Link to home
Start Free TrialLog in
Avatar of LesleyS243
LesleyS243

asked on

Replisapi.dll?diag Downloads?

I am trying to set up replication.  I followed the sets in this article http://msdn.microsoft.com/en-us/library/ff714039.aspx.  When I enter the address/replisapi.dll?diag, replisapi.dll tries to download.  What am I doing wrong?
Avatar of Dave_Dietz
Dave_Dietz
Flag of United States of America image

Did you follow the directions in step 6?

6.Configure IIS to enable replisapi.dll to execute.
a.
In Internet Information Services (IIS) Manager, click Default Web Site.

b.
In the center pane, click Handler Mappings.

c.
In the Actions pane, click Add Module Mapping.

d.
For Request Path, enter replisapi.dll.

e.
From the Module drop-down list, select IsapiModule.

f.
For Executable, enter <drive>:\Inetpub\SQLReplication\replisapi.dll.

g.
For Name, enter Replisapi.

h.
Click the Request Restrictions button, click the Access tab, and then click Execute.

i.
Click OK to close the Request Restrictions dialog box, and then click OK again to close the Add Module Mapping dialog box. When you are prompted to allow the ISAPI extension, click Yes to add the extension.

j.
Verify that Replisapi.dll is listed under the Enabled handler mappings. If it is in the Disabled list, right-click the Replisapi entry and then click Edit Feature Permissions. Check the Execute box, and then click OK.
Avatar of LesleyS243
LesleyS243

ASKER

Yes I have done this. Any idea what would cause it to try to download?
The only reason it would try to download would be if the ISAPI wasn't configured to be executable.  If the server isn't told to execute that file it will try to send it to the client.

Can you check the Request Restrictions for the Replisapi handler and verify that it is set to 'Execute' on the Access tab?
Sorry it took me so long to get back to you.  I just checked.  The request restrictions shows that it is set to execute.  Any other thoughts?
Not off the top of my head.  Can you post a copy of the web.config for the site?
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
    <system.webServer>
        <directoryBrowse enabled="false" />
      <handlers accessPolicy="Read, Execute, Script">
            <remove name="ISAPI-dll" />
            <remove name="Replisapi" />
            <add name="Replisapi" path="ReplIsapi.dll" verb="*" modules="IsapiModule" scriptProcessor="C:\inetpub\SQLReplication2\replisapi.dll" resourceType="Unspecified" requireAccess="Execute" preCondition="bitness64" />
           
        </handlers>
    </system.webServer>
</configuration>
ASKER CERTIFIED SOLUTION
Avatar of Dave_Dietz
Dave_Dietz
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I changed to Bitness32. Now error code is 0x800700c1.
Thank you for your help!