Windows error 0x000006BA, 1722

Detailed Error Information

HRESULT analysis[1]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[1][2]
DescriptionThe default facility code.[1][2]
Error Code1722 (0x06ba)

Questions

7votes
1answer

Matlab Shared C/C++ lib in VS10/12 throws a lot exceptions

i got a run time problem with my matlab c/c++ shared lib. The library exports and the application is compiled and linked correctly. But on run-time the script seems to have a lot of errors. There is no error displayed in the console window (displaying the matlab output) of my [...] read more
c++
matlab
exception
shared-libraries
7votes
1answer

Windows Server 2012 member server reports - there is a time or date difference between your computer and the remote computer

PROBLEM Domain member service reports the following when attempting to RDP from any Windows 10 workstation on the same domain or any Windows client from an external source: * > Remote Desktop cannot verify the identity of the remote computer because there is a time or date difference between your [...] read more
windows-server-2012-r2
domain
rdp
internal-dns
rpc
6votes
0answers

Visual Studio C# zoneidentifier.cxx The system cannot find the file specified && Rejecting native image because native image dependency

Visual Studio 2017 Console Output shows me > onecoreuap\inetcore\urlmon\zones\zoneidentifier.cxx(359)\urlmon.dll!6F1D6037: (caller: 6F1D6F68) ReturnHr(1) tid(24e0) 80070002 cannot find the file specified. -------------------------------------------------------------------------------- > onecoreuap\inetcore\urlmon\zones\zoneidentifier.cxx(359)\urlmon.dll!6F1D6037: (caller: 6F1D6F68) ReturnHr(2) tid(24e0) 80070002 cannot find the file specified. -------------------------------------------------------------------------------- > CLR:(C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll) Rejecting native image because native image dependency C:\WINDOWS\Microsoft.Net\assembly\GAC_32\mscorlib\v4.0_4.0.0.0__b77a5c561934e089\mscorlib.dll had a different identity than expected -------------------------------------------------------------------------------- [...] read more
c#
.net
winforms
visual-studio
5votes
1answer

Exchange 2010 Outlook Anywhere not working - RPC Proxy, Address Book?

Ugh. We built a greenfield AD and Exchange 2010 environment a few months back for a large client. Outlook Anywhere isn't working. Outlook clients just never connect, doesn't seem to be an error or timeout. This was a migration. Originally we had a cert mismatch for Outlook Anywhere so I'm [...] read more
exchange-2010
outlook-anywhere
4votes
1answer

Why am I getting a RPC server error using a SaveFileDialogue in a WinForms app?

I'm getting an error when I try to use the SaveFileDialogue in a WinForms app. I must be missing something as the error makes no sense (to me!)! The error is: "First-chance exception at 0x000007fefc99cacd in TestProject.exe: 0x000006BA: The RPC server is unavailable." The error occurs when this line runs: [...] read more
c#
winforms
c#-4.0
savefiledialog
first-chance-exception
4votes
2answers

Why am I getting an exception whenever I use the CFileDialog?

Whenever I run my application under the debugger, I get the following exception when using CFileDialog to browse for a file to open First-chance exception at 0x769db9bc in MyApp.exe: 0x000006BA: The RPC server is unavailable. First-chance exception at 0x74e8cd99 in MyApp.exe: 0xC0020043: An internal error occurred in RPC. MyApp.exe has [...] read more
c++
exception
mfc
3votes
1answer

VirtualChannelInit stucks

I'm developing an rdp virtual channel application. I've registered client side dll in registry and trying to understand, that client dll is loaded. But I'm getting stuck when calling pVirtualChannelInit from pEntryPoints. It just doesn't return any result, debugger goes to disassemled code on this function. But if do not [...] read more
c++
windows
rdp
virtual-channel
3votes
2answers

How to generate pdb files for parallel builds?

We are seeking ideas on resolving a problem with linking/pdb generation when running multiple devenv.com using Visual Studio 2005. We are getting the following intermittently errors when doing parallel builds using devenv.com. I.e. when the following get run at the same time on the same build server: devenv.com master.sln /build [...] read more
visual-studio-2005
visual-c++
multiprocessing
devenv
3votes
0answers

App Startup Page exception

For my WP8 app i need a startup page to be shown before the actual home screen, in order to take user preferences that affect the behaviour of the app. For this I'm currently using this code sample in the OnLaunched method of App.xaml.cpp Windows::Storage::ApplicationDataContainer^ localSettings = ApplicationData::Current->LocalSettings; // in [...] read more
xaml
windows-phone-8
c++-cx
3votes
0answers

Windows Server 2008 DNS Server Down

On a Windows Server 2008 machine while trying to start the DNS Management window DNSMGMT.MSC fails with the error: "The server <Server Name> could not be contacted." “Access is denied. Would you like to add it anyway” (YES | NO) The problem I am using user Administrator to login and [...] read more
windows-server-2008
domain-name-system
1vote
1answer

How can I output all the output of a called command in Powershell script

I have adapted an existing Powershell script to query a list of servers for logged in (or disconnected) user sessions using quser /server:{servername} and output the results into a CSV file. It does output any logged in users but what it doesn't capture is servers that had 0 users or [...] read more
powershell
csv
output
1vote
3answers

"First-chance exception" meaning in MFC Appliction?

When i run my Windows Application(MFC) i get Two Warnings. First-chance exception at 0x01046a44 in XXX.exe: 0xC0000005: Access violation reading location 0x00000048. First-chance exception at 0x75fdb9bc (KernelBase.dll) in XXX.exe: 0x000006BA: The RPC server is unavailable. May i know what they mean? Thank You read more
visual-c++
windows-7
mfc
media-player
dialogbasedapp
1vote
2answers

Troubleshooting the sense of this asm x86 code

First of all, here is the assembler code: / 0x000006a0 55 push rbp | 0x000006a1 4889e5 mov rbp, rsp | 0x000006a4 4883ec10 sub rsp, 0x10 | 0x000006a8 488d05b50000. lea rax, str.AAAA ; 0x764 | 0x000006af 488945f8 mov qword [local_8h], rax | 0x000006b3 488b45f8 mov rax, qword [local_8h] | 0x000006b7 4889c6 [...] read more
c
assembly
x86
instructions
1vote
2answers

Visual Studio 2015 debugger becomes unstable after using OpenFileDialog

I am using Visual Studio Community 2015 and have recently begun to experience a problem when using the OpenFileDialog control. I can run a debugging session on my program two or three times and use OpenFileDialog without problems. After that, whenever I close the main form, the debugger does not [...] read more
vb.net
1vote
1answer

First-chance exception: The RPC server is unavailable

At some point while developing my C# application, the following started to appear in the VS Output pane whenever I create an OpenFileDialog: First-chance exception at 0x75A6C42D (KernelBase.dll) in (myapp).exe: 0x000006BA: The RPC server is unavailable. I've been maintaining this application for years, and definitely never saw this before, so [...] read more
c#
visual-studio
exception
rpc
1vote
1answer

CFileDialog posts "First-chance exception" in debugger window

My Windows application employs the following piece of C++/MFC code that is used to open a file: CFileDialog fd(TRUE, NULL, NULL, OFN_HIDEREADONLY | OFN_OVERWRITEPROMPT | OFN_EXPLORER, NULL, hParentWnd ? CWnd::FromHandle(hParentWnd) : NULL); fd.m_pOFN->Flags &= ~(OFN_FILEMUSTEXIST | OFN_ALLOWMULTISELECT | OFN_NODEREFERENCELINKS); fd.m_pOFN->Flags |= OFN_FILEMUSTEXIST; INT_PTR nRes = fd.DoModal(); //This call causes the [...] read more
c++
windows
winapi
mfc
fileopendialog
1vote
3answers

First-chance exception at <addr> in <myapp>: 0x000006BA: The RPC server is unavailable

What does it mean: "First-chance exception at in : 0x000006BA: The RPC server is unavailable" ? this debug message appears in Debug output of visual studio debugger when I using socket connection, but I don't know what operation initiates this message... read more
exception
sockets
1vote
0answers

What ports need to be open for dnscmd.exe to operate?

I'm currently working with the Microsoft DNS command line utility dnscmd.exe to automate DNS record deletion in our datacenter. To complete this automation I need to be able to access a domain controller on another network to delete records from it, but I am unsure what ports I need to [...] read more
domain-name-system
1vote
1answer

Troubleshooting DTCPing Errors

So I am running DTC ping between 2 machines on our network and am getting the following error ++++++++++++++++++++++++++++++++++++++++++++++ DTCping 1.9 Report for WEB2 ++++++++++++++++++++++++++++++++++++++++++++++ RPC server is ready ++++++++++++Validating Remote Computer Name++++++++++++ 03-03, 13:39:45.099-->Start DTC connection test Name Resolution: internal-->10.20.3.236-->internal.something 03-03, 13:39:45.114-->Start RPC test (WEB2-->internal) Problem:fail to invoke remote [...] read more
windows-server-2003
rpc
msdtc
outlook-anywhere
1vote
0answers

Unable to Mange DNS via MMC

When trying to access the DNS service on Microsoft Windows Server 2003 (Build 3790) domain controller/schema master via the MMC DNS snap in or locally via the DNS MMC from Administrative tools I'm getting a red "X" through the icon for the DNS Server. The inability to access DNS management [...] read more
windows-server-2003
domain-name-system
active-directory
1vote
2answers

Scripting a Windows 2008 Cluster from Windows 2003

Our current environment is all Windows 2003. When we migrate a new version of our service to the cluster, we first stop the service with a command like: cluster.exe <clusterName> resource "<serviceName>" /offline We do similarly after the migrate to bring the service back online. Now, we are upgrading our [...] read more
windows-server-2003
windows-server-2008
command-line-interface
cluster
failover
0votes
1answer

SFC /SCANNOW: RPC server is unavailable

Not sure what's happened, but an old machine that we use for accounts has worked for years. There's no real updates for Windows XP anymore, so nothing should have changed. We don't use it for anything else, so in theory it should be fine, but it's gone weird: It will [...] read more
windows
networking
windows-xp
sfc
0votes
0answers

How to query logged in users across domains?

I am working from a Windows 7 Professional PC on DOMAIN1, but I would like to be able to query the users currently logged in to a Windows 7 Professional PC on DOMAIN2. My DOMAIN1\username is a local admin on the DOMAIN2 PC and admin on my DOMAIN1 PC. I've [...] read more
windows-7
0votes
0answers

IFileSaveDialog - The RPC server is unavailable

I use interface IFileSaveDialog from MS COM C++. I used example, but with minor changes: int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, PWSTR pCmdLine, int nCmdShow) { HRESULT hr = CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE); if (SUCCEEDED(hr)) { IFileOpenDialog* pFileOpen; hr = CoCreateInstance(CLSID_FileOpenDialog, NULL, CLSCTX_ALL, IID_IFileOpenDialog, reinterpret_cast<void**>(&pFileOpen)); if (SUCCEEDED(hr)) { hr = pFileOpen->Show(NULL); [...] read more
c++
winapi
com
0votes
0answers

CFileDialog's DoModal fills debug window

CStringW strFilter; strFilter.LoadStringW(IDS_IMGFILEFILTER); //Image Files (*.bmp;*.gif;*.jpg;*.png;*.tif)*.bmp;*.gif;*.jpg;*.png;*.tif|All Files (*.*)|*.*|| CFileDialog dlgFile(TRUE, NULL, NULL, OFN_ALLOWMULTISELECT | OFN_DONTADDTORECENT | OFN_FILEMUSTEXIST, strFilter, AfxGetMainWnd()); if (dlgFile.DoModal() != IDOK) return; Using Windows 10, 64bit Errors appear immediately after DoModal called, before any interaction with dialog. Output window: > mincore\com\oleaut32\dispatch\ups.cpp(2125)\OLEAUT32.dll!00007FF9F66E2CA6: (caller: 00007FF9F66E2DCA) ReturnHr(1) tid(2cac) 8002801D Library not [...] read more
c++
winapi
mfc
0votes
2answers

Cocos2d background sound not playing a second time C++/Win10 UWP

I'm using cocoss2d with c++ on windows 10 and I'm trying to play background music. It works the first time I debug the game but on the second time I hit run it throws these exceptions Exception thrown at 0x765F3E28 (KernelBase.dll) in MiniGolf.exe: 0x000006BA: The RPC server is unavailable. Exception [...] read more
c++11
cocos2d-x
windows-10
0votes
0answers

Visual studio 2010 first chance exception KernelBase.dll : 0x000006BA: Win32 exception

I am getting this on a build right after the line that says this: Loaded 'c:\Windows\SysWOW64\msimg32.dll', Symbols loaded (source information striped). That is the last thing I see when the program DOES NOT open in debug. When it DOES open in debug I get the following after that line: First-chance [...] read more
visual-studio-2010
0votes
0answers

what does “First-chance exception ” mean in vc++ mfc application?

> Possible Duplicate: what does this mfc appliction “First-chance exception” exception mean? First-chance exception at 0x75fdb9bc (KernelBase.dll) in Media.exe: 0x000006BA: The RPC server is unavailable. read more
visual-c++
mfc
0votes
1answer

.NET WinForms Application and T-SQL

I tried to start my winforms application without the debugger and attach Visual studio debugger to the process afterwards. At this point my application process shows up as "T-SQL and 4.0 x86". Searching on google I see that T-SQL is regarding Microsoft SQL Server. I use a third party dll [...] read more
.net
winforms
tsql
debugging

Comments

Leave a comment

(plain text only)

Sources

  1. https://msdn.microsoft.com/en-us/library/cc231198.aspx
  2. winerror.h from Windows SDK 10.0.14393.0

User contributions licensed under CC BY-SA 3.0