Re: Error using Db Engine Tuning Advisor



I'm experiencing the same problem. See my answers below.

"Maciek Sarnowicz [MSFT]" <macies@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:OnFxcW0$FHA.2392@xxxxxxxxxxxxxxxxxxxxxxx
> We are looking at the issue currently. It has been reported by a few other
> people. Please gi ve us some more detail:
>
> - does this happen immiediately after you start DTA UI or after you
> connect to the server and the connection dialog goes away?

It happens after I connect to the server and the connection dialog goes
away.


> - if this is the second case (error after connecting) does the problem
> occur if you simply Cancel the connection dialog?

The problem does not occur if I press the Cancel button at the connection
dialog. But the problem does occur if I thereafter attempt to connect from
within the DTA.


> - have you tried command-line DTA to see if it work? Run 'dta.exe /?' to
> see the options if you have not seen it yet.

I tried using the command-line and had the same problem.


> - does the error message contain any more information?

It's a very vague message. Similar to Todd, I get the following:

Microsoft Visual C++ Runtime Library
Runtime Error!
Program: C:\Progr...
R6031 Attempt to initialize the CRT more than once. This indicates a bug in
your application.


> - can you check if at the time you see the error there is a
> dtaengine90.exe process running on your system?

Yes, both dtaengine90.exe and DTASHELL.EXE are loaded. My only recourse is
to kill both processes.

Chris


>
> Thanks,
> Maciek
>
>
> "Todd C" <ToddC@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
> news:438AAABC-1BA2-4677-B272-5D7766BEF9E2@xxxxxxxxxxxxxxxx
>>I am running SQL 2005 Standard, obtained from a recent Launch event.
>>
>> I got the Database Engine Tuning Advisor to run only once. Everytime
>> after
>> that I get a runtime error: "R6031 Attempt to initialize the CRT more
>> than
>> once. This indicates a bug in your application."
>>
>> I had the same problem with the Sept. CTP release. Re-booting the machine
>> does not solve this problem. Basicaly, this is a useless tool if I need
>> to
>> un-install and re-install it everytime I need to use it. I have tried
>> deleting all the sessions and creating a new one, re-booting.
>>
>> Any ideas how to solve this? Do I need to wait for a Service Pack?
>
>


.


Loading