Quantcast
Channel: SQL Server Replication forum
Viewing all articles
Browse latest Browse all 4054

Configuring Replication for IIS 8

$
0
0

I am setting up merge replication for SQL 2012 and SSCE via IIS. The IIS boxes are Windows 2012 with a role of web server. I followed the instructions from IIS 7 as I could not find any for IIS 8.  

I did the following:

  1. Install data connectivity tools
  2. copied replisapi.dll and registered it
  3. setup a virtual directory under the default web server
  4. setup handler
  5. setup security for basic auth
  6. created a new user and added it to the iis_iusr group and gave it permissions to the folder where replisapi.dll was copied
  7. create a new app pool and used the new user from above as the identity
  8. add the new app pool as the virtual directories app pool and verified that it logins in via test settings. Identity is valid per test settings.

When I tried to test using server/sync/replisapi.dll?diag I get a 503. In the event log an error say the credentials are bad or login is missing batch_login (see below). Yet even making the user an admin it fails. Stumped any ideas?

The identity of application pool Sync is invalid. The user name or password that is specified for the identity may be incorrect, or the user may not have batch logon rights. If the identity is not corrected, the application pool will be disabled when the application pool receives its first request.  If batch logon rights are causing the problem, the identity in the IIS configuration store must be changed after rights have been granted before Windows Process Activation Service (WAS) can retry the logon. If the identity remains invalid after the first request for the application pool is processed, the application pool will be disabled. The data field contains the error number.

Thanks


Viewing all articles
Browse latest Browse all 4054

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>