Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Process-crash with the message "RPC server is unavailable" on opening a save file dialog?

Tags:

c++

windows-7

qt

On Windows 7 64-bit, I use Qt 4.5.3 to call QFileDialog::getSaveFileName. Immediately on calling this function, my process crashes with the message "The RPC server is unavailable".

I found this, but it doesn't solve my problem: "The RPC server is unavailable"

Any ideas?

like image 802
Pieter Avatar asked Jun 17 '11 13:06

Pieter


People also ask

What does it mean when RPC server is unavailable?

If the RPC server does not answer the client, then the requested process cannot be executed. This generates the “RPC server is unavailable” error message. The most common causes are problems with the network itself, or the blocking of data traffic by a firewall.

How do I fix the RPC server is unavailable 0x800706ba?

Type cmd and press key. In command prompt window type netsh advfirewall firewall set rule group="Windows Management Instrumentation (WMI)" new enable=yes. Press key. In the command prompt type netsh advfirewall firewall set rule group="remote administration" new enable=yes.


1 Answers

I'm having exactly the same problem, but with Qt 4.7.0. Windows 7, 64-bit. Calling QFileDialog::getOpenFileName or QFileDialog::getSaveFileName crash my process with the following message: "First-chance exception at 0x7486b9bc in SoundManager.exe: 0x000006BA: The RPC server is unavailable."

The RPC Server is running in my services list.

The only way that i found (not clean) to bypass this bug is to add the Win32 exception 0x6BA in the exception list of Visual Studio (CTRL+ALT+E) and disable it. The Exception is not thrown and my program still work after a call of these functions. I have to do this manipulation on each computer that we are using for software development.

All Windows 7 64 bit here are having the same behavior.

like image 71
Rémi Avatar answered Oct 19 '22 07:10

Rémi