Fixing Data Migration Assistant timeouts

Leave a comment

December 8, 2016 by Kenneth Fisher

I’ve been really excited about the new Data Migration Assistant (DMA) since I first heard about it. One of the things I like best about it is that unlike the old Upgrade Advisor it doesn’t have to be run on the server being upgraded. You can run it against any number of instances from a single workstation. The other day I was working from home and tried running the DMA against a couple of moderate size databases (about 1.25tb total) and I consistently got timeout errors.

Well, that’s a pain. It at least partially negates one of my favorite improvements. So I started asking around if anyone else had had the same problem, or maybe knew a solution. And I got one!

Which leads me to my next favorite thing about the DMA. It has a configuration file!

%ProgramFiles%\Microsoft Data Migration Assistant\dma.exe.config

The blog post gives instructions on a number of different configurations. How many databases to work with in parallel, how many rows before recommending stretch databases, command and connection timeouts and a few others. So now with a simple change to the config file to go from 15 seconds to 60 seconds:

<add key="ConnectionTimeout" value="60" />

I was easily able to pull the data I wanted.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Enter your email address to follow this blog and receive notifications of new posts by email.

Join 1,597 other followers

Follow me on Twitter

ToadWorld Pro of the Month November 2013
%d bloggers like this: