Replisapi.dll?diag Downloads?

Posted on 2014-01-04
Last Modified: 2014-01-11
I am trying to set up replication.  I followed the sets in this article  When I enter the address/replisapi.dll?diag, replisapi.dll tries to download.  What am I doing wrong?
Question by:LesleyS243
  • 5
  • 4
LVL 34

Expert Comment

ID: 39757791
Did you follow the directions in step 6?

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

In the center pane, click Handler Mappings.

In the Actions pane, click Add Module Mapping.

For Request Path, enter replisapi.dll.

From the Module drop-down list, select IsapiModule.

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

For Name, enter Replisapi.

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

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.

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.

Author Comment

ID: 39757841
Yes I have done this. Any idea what would cause it to try to download?
LVL 34

Expert Comment

ID: 39757884
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?
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.


Author Comment

ID: 39759270
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?
LVL 34

Expert Comment

ID: 39759375
Not off the top of my head.  Can you post a copy of the web.config for the site?

Author Comment

ID: 39759383
<?xml version="1.0" encoding="UTF-8"?>
        <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" />
LVL 34

Accepted Solution

Dave_Dietz earned 500 total points
ID: 39759476
Is your application pool running in 64 or 32 bit?

Author Comment

ID: 39759502
I changed to Bitness32. Now error code is 0x800700c1.

Author Closing Comment

ID: 39773919
Thank you for your help!

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Domain Name E-mail Address & Outlook Integration 3 43
JKS to store upstart data 2 118
AWS New EC2 Instance and EBS Storage 2 94
Systems talking to each other 5 147
In our day to day coding, how many times have we come across a necessity to check whether a URL is a broken link or not? For those of you that answered countless and are using ColdFusion like myself, then this article is for you.  It will show yo…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question