Solved

SQL 2008 snapshot replication error: The system cannot find the file specified.  The step failed.

Posted on 2014-11-07
12
348 Views
Last Modified: 2014-11-21
I'm trying to set up snapshot replication on SQL Server 2008 32-bit but am receiving an error on the agent stating The system cannot find the file specified.  The step failed..

The system is on Windows 2003 R2 and I've ensured all Windows updates have been applied.  I have disabled publishing and distribution on the server and then re-installed it without any change.

 I am using the default folder C:\Program Files\Microsoft SQL Server\MSSQL10.MSSQLSERVER\MSSQL\repldata and set the permissions so that everyone has full control over it to ensure security is not the issue.  I have also shared the folder and tried installing distribution using \\SERVER_NAME\repldata but again no difference.

Replication has never been set up on this machine previously.
0
Comment
Question by:canuckconsulting
  • 6
  • 3
  • 3
12 Comments
 
LVL 26

Expert Comment

by:Zberteoc
ID: 40430213
0
 

Author Comment

by:canuckconsulting
ID: 40430529
I've set up replication on other machines successfully using but am getting the File not found error on this machine.  Any insight into that would be greatly appreciated.
0
 
LVL 26

Expert Comment

by:Zberteoc
ID: 40431191
What is the error exactly?
0
VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

 

Author Comment

by:canuckconsulting
ID: 40431196
The system cannot find the file specified. The step failed.
0
 
LVL 26

Expert Comment

by:Zberteoc
ID: 40431252
What file?
0
 

Author Comment

by:canuckconsulting
ID: 40432407
The file is not specified.  Here are screen grabs of the snapshot agent and associated event:

Agent
Event Log
0
 
LVL 48

Expert Comment

by:Vitor Montalvão
ID: 40432616
If you already set another replication just verify if there's any replication file missing (snapshot.exe, distrib.exe, logread.exe, *.dll, ...). You may need to fix it manually (copy from another installation) or reinstall the files.
0
 

Author Comment

by:canuckconsulting
ID: 40432637
Oh I see...I hadn't thought it was an executable issue.

This is a 32-bit installation while my other servers are 64-bit.  Is there a way for me to re-install the replication feature from the installation media?  I can not see any option to do this via the normal installation user interface.
0
 
LVL 48

Expert Comment

by:Vitor Montalvão
ID: 40432659
Yes. Choose the repair option and check only the Replication feature so it won't touch the engine.
0
 

Author Comment

by:canuckconsulting
ID: 40455988
Vitor I'm sorry for the very late reply.

I tried the repair option but there was no option to check on the replication option.  When I did  a full repair it was unable to update the SQL Engine without affecting the production databases so that was skipped.  As  a result nothing has changed.

An interesting development is that I opened a ticket with the MS Partners forum and received the attached advice which advised me to check the paths of agent_exe  in the [msdb].[dbo].[syssubsystems] system table.  Sure enough the paths given do not point to the correct locations.  In fact the file Snapshot.exe  is completely missing which I expect it the issue.  Any thoughts on how I might get that installed?
0
 
LVL 48

Accepted Solution

by:
Vitor Montalvão earned 500 total points
ID: 40456775
If you have another SQL Server instance that has the same version then copy the file from there.
0
 

Author Closing Comment

by:canuckconsulting
ID: 40457051
Perfect...thank you!  The only other SQL 2008 server I had was 64-bit but that did not seem to be an issue.  I copied the files across and everything is working great.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Via a live example, show how to setup several different housekeeping processes for a SQL Server.

861 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