Windows error 0x800706BE, -2147023170

Detailed Error Information

HRESULT analysis[1]

FlagsSeverityFailure
Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode7 (0x007)
NameFACILITY_WIN32[1][2]
DescriptionThis region is reserved to map undecorated error codes into HRESULTs.[1][2]
Error Code1726 (0x06be)

This is a Win32 error which has been mapped into an HRESULT. More information may be available in error 0x000006be.

Questions

26votes
6answers

SQL Server Agent gives- Remote procedure call failed (0x800706be)

Does Anyone knows the solution to this problem m not being able to run the SQL Server Services. enter image description here [https://i.stack.imgur.com/fxp0E.jpg] read more
sql-server-2008-r2
18votes
7answers

virtual box stuck at "starting virtual machine" 0%

After upgrading to virtualbox 4.2.16 all of my VMs get stuck at launch. I tried downgrading to 4.1.26, but I still get the same problem. Screenshots: [window 1]() [https://i.stack.imgur.com/ovkvl.png] [window 2] [https://i.stack.imgur.com/djajz.png] (not enough rep to post images) When I kill the stuck process I get the error "no error [...] read more
ubuntu
virtualbox
virtual-machine
7votes
2answers

BUG: Word 2013 VSTO Cannot Handle Image in Header Formatted Behind or In Front of Text

I am cross-posting this question from Microsoft Community because I haven't gotten any response there, and maybe someone here can shed some light on this. I have noticed an issue that is specific to Word 2013 when using VSTO to process a document. The document contains an image in the [...] read more
c#
ms-word
vsto
com-interop
word-2013
6votes
1answer

WMI query returning incomplete results

I'm working on a perl script that is used to check whether a number of services are running. To achieve this, we are using WMI to query remote Windows servers: my $WMI_locator = Win32::OLE->new('WbemScripting.SWbemLocator'); $WMI_locator->{Security_}->{AuthentificationLevel} = 6; my $computer = $WMI_locator->ConnectServer($server, 'root\cimv2', $adminuser, $adminpasswd); my $services = $computer->ExecQuery('SELECT * FROM [...] read more
perl
wmi
5votes
0answers

System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed

When I try to open an Excel document I have this error > System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure > call failed. I built an application for my company, it works fine on every computer but on my boss computer it stopped working when he the app has to open an [...] read more
c#
excel
5votes
1answer

`DoVerb(ovInplaceActivate)` crashes with various error messages when a document's data is extracted from TOleContainer

One customer experiences some strange behaviour with our software when working with Office documents via OLE. The code crashes when an instance of some derived TOleContainer class tries to activate the OLE object via DoVerb(ovInPlaceActivate) call. There are various error messages, including: * (0x80030002) %1 could not be found. * [...] read more
excel
delphi
excel-2010
ole
4votes
2answers

Excel interop - remote procedure call failed or RPC_E_SERVERFAULT

We have a C# application that internally invokes excel. It does so using Microsoft.Office.Interop.Excel.dll. The application works on most computers with Excel, but not on mine. Originally, the application was failing with HRESULT 0x800706BE (The remote procedure call failed). I'd tried almost every advice found on the web, but without [...] read more
microsoft-excel
microsoft-office
automation
rpc
4votes
3answers

System.Runtime.InteropServices.COMException (0x800706BE) when getting contact.LastName

Some of our users are getting this exception sometimes (not for every contact): System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE) at Microsoft.Office.Interop.Outlook._ContactItem.get_LastName() This happens when we're trying to get the last name of a contact (of the ContactItem type). Does anybody know what the problem is? [...] read more
c#
.net
outlook
mapi
comexception
4votes
1answer

How to set up SQL server Agent? not showing in Sql Server Management

I am trying to set up the SQL Server Agent on our test server running with windows Small Business Server 2011 Standard and SQL Server 2008 R2 RTM. The Sql Server Agent node is not displayed in Sql management studio. Here is what I know according to forums I read: [...] read more
sql
sql-server
sql-server-2008
ssms
sql-server-agent
3votes
4answers

Recurring crash: "An unhandled win32 exception occurred in mscorsvw.exe". How to diagnose/fix?

I recently got a new PC at work and had to reinstall development tools, etc. The PC runs Windows XP (blech), and I've got Visual Studio 2010 and .NET Frameworks 2.0, 3.5, and 4.0 installed, each with all current service packs and patches. Windows XP itself is also up-to-date (if [...] read more
windows-xp
crash
.net-framework
debug
ngen
3votes
2answers

The remote procedure call failed Excel inside IIS

When I try to download an Excel file using asp.net I get this Error > The remote procedure call failed. (Exception from HRESULT: 0x800706BE) > Description: An unhandled exception occurred during the execution of the > current web request. Please review the stack trace for more information about > the [...] read more
asp.net
.net
vb.net
excel
iis
3votes
2answers

Open Excel 2016 file failed with HRESULT: 0x800706BE

The simple VB.NET code for opening up an existing Excel file consistently failed at open command with the following error: The remote procedure call failed. (Exception from HRESULT: 0x800706BE) I've searched Stack Overflow and Microsoft sites for this error, it looks like no one has a definitive answer. But one [...] read more
excel
vb.net
64-bit
hresult
3votes
4answers

Exporting Excel file to PDF - getting stuck trying to close Excel file

I have a function that takes a url to an Excel file, and then exports it as a pdf: public static void ExportFromExcel(string url) { // Create COM Objects Application excelApplication = new Application(); Workbook excelWorkbook = excelApplication.Workbooks.Open(HttpContext.Current.Server.MapPath(url)); try { // Call Excel's native export function excelWorkbook.ExportAsFixedFormat( XlFixedFormatType.xlTypePDF, HttpContext.Current.Server.MapPath(url.Replace(".xlsx", ".pdf"))); [...] read more
c#
asp.net
file-io
com-interop
office-interop
3votes
3answers

Unable to publish OneNote document as PDF programmatically

I am attempting to convert a Microsoft OneNote document to a PDF file: Microsoft.Office.Interop.OneNote.Application oneNote; oneNote = new Microsoft.Office.Interop.OneNote.Application(); string noteBookXML; oneNote.GetHierarchy(null, HierarchyScope.hsNotebooks, out noteBookXML); XDocument doc = XDocument.Parse(noteBookXML); XNamespace ns = doc.Root.Name.Namespace; foreach (var noteBookNode in from node in doc.Descendants(ns + "Notebook") select node) { string id = noteBookNode.Attribute("ID").Value; [...] read more
c#
onenote
3votes
2answers

Using a 32 bit unmanaged COM server in a 64 bit .NET application

I need to use a 32 bit unmanaged COM server in a 64 bit .NET application. I did some research and it seemed that I found a suitable solution: hosting the COM server in a COM+ server application. So the component is activated in a dedicated (32 bit) process and [...] read more
.net
com
64-bit
com-interop
unmanaged
3votes
1answer

Custom Lync Client fails on startup

I'm writing a custom light-weight in/out board (AKA Status, Presence, etc.) application using the Microsoft Lync 2010 API. It needs to run after startup/login but I've ran into a problem when I login after I start/restart the machine. I get the following error from the LyncClient.GetClient method > System.Runtime.InteropServices.COMException (0x800706BE): [...] read more
windows
startup
comexception
lync-2010
lync
2votes
1answer

Application using Microsoft.Office.Interop.Excel to open excel file conflict with RDP sessions on the server

I have a strange behavior started occurring recently on Windows Server 2016/2019. I performed tests using different versions of Excel (2016, 2019, 365) and the issue happened randomly when a remote desktop session is opened on the server (some RDP initiated from some machines do not cause any issue while [...] read more
c#
excel-interop
windows-server-2016
windows-server-2019
excel-automation
2votes
3answers

Error ActivateApplication in my Windows Cordova application

I want to get the blank app working on the windows platform. I did the following: ionic start myApp blank cd .\myApp\ ionic platform add windows ionic emulate windows them I'm getting the following exception: Starting application... ActivateApplication: com.ionicframework.myappmework.myapp781 Ausnahme beim Aufrufen von "ActivateApplication" mit 4 Argument(en): "Der Remoteprozeduraufruf ist [...] read more
windows
cordova
ionic-framework
2votes
0answers

Why does using Excel com in powershell non-interactivly fail when user IS logged in?

I have this powershell function that converts XLS to CSV using the excel com object. Ignore MS_logoutput thats just a custom output formatter function. The convert function is called within a script by a automated scheduler. The scheduler is running on Domain\HOST1 and it starts the powershell process as Domain\User1. [...] read more
excel
powershell
com
2votes
2answers

different behaviour of azure devops agents on hosted vm when different computer access the vm

Edit : After a lots of testing, we managed to find a comon point between the machines which, when connected using RDP to our environment, breaked the excecution of excel funtionnalities called from a powershell script launched by an azure devops agent : All these machines have a touchscreen, machines [...] read more
excel
powershell
azure-devops
remote-desktop
2votes
0answers

Remote procedure call fails on OneNote.Application.CloseNotebook

Trying to end a OneNote Notebook using Powershell, to later open it under a new path, I get the below exception : Ausnahme beim Aufrufen von "CloseNotebook" mit 1 Argument(en): "Der Remoteprozeduraufruf ist fehlgeschlagen. (Ausnahme von HRESULT: 0x800706BE)" In Zeile:1 Zeichen:1 + $OneNote.CloseNotebook("{434555E5-54FC-4B61-98FB-158DFBB34B9F}{1}{B0} ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : NotSpecified: [...] read more
powershell
onenote
2votes
0answers

The remote procedure call failed. (Exception from HRESULT: 0x800706BE) . visio crashes when accessing it using IIS7.5

I am new to .net & I am facing an unusual issue with my application. I am developing an application which opens up a visio file with certain shapes from a .net application. I am doing my development work in a Windows7 home premium 64 bit PC. I am using [...] read more
iis-7.5
2votes
0answers

Authentication_UI_failed exception while performing Authentication using Azure Active Directory

I am working on windows phone 8.1 application and want to Authenticate users accessing the back end web Api with Azure Active Directory Authentication. I have referred to Git Hub sample (https://github.com/Azure-Samples/active-directory-dotnet-windowsphone-8.1) , the sample works fine to me when the following code is written on a onclick event of [...] read more
c#
azure
authentication
active-directory
windows-phone-8.1
2votes
1answer

Authentication failed with Azure Active Directory in Windows Phone

I am follow the window phone authentication tutorial with Add authentication to your Mobile Services app. And I choose using Azure Active Directory way to make authentication. But the question is: it always fails and shows The remote procedure call failed. (Exception from HRESULT: 0x800706BE) at the following code protected [...] read more
windows
azure
windows-phone-8
azure-active-directory
2votes
1answer

Exception when using WebAuthenticationBroker.AuthenticateAndContinue in OnNavigatedTo event

When using WebAuthenticationBroker.AuthenticateAndContinue in the OnNavigatedTo event of my MainPage I get the following exception: > The remote procedure call failed. (Exception from HRESULT: 0x800706BE) However, if I create a button with a click event which does exactly the same function call, I don't get the exception. I think the [...] read more
c#
windows-phone-8.1
2votes
0answers

SQL Server 2008 R2 - Can't open a connection

I can't connect to the server once I stop it. I have no idea why it does this. I uninstalled it and reinstalled it which resolved the issue but now, after stopping it again I can't restart it. There are 2 issues I'm having, one in the SQL Server Management [...] read more
sql-server
2votes
1answer

Adding picture to powerpoint slides via C# throws The remote procedure call failed. (Exception from HRESULT: 0x800706BE)

Hie guys, I have a block of code here: System.Net.WebClient wc = new System.Net.WebClient(); byte[] data = wc.DownloadData(xmlTempNode.Attributes["imageurl"].Value.ToString()); MemoryStream ms = new MemoryStream(data); System.Drawing.Image img = System.Drawing.Image.FromStream(ms); string strImagePath = pptdirectoryPath + "\\" + currentSlide + "_" + shape.Id + ".png"; img.Save(strImagePath); tempSlide.Shapes.AddPicture(strImagePath, Microsoft.Office.Core.MsoTriState.msoFalse, Microsoft.Office.Core.MsoTriState.msoTrue, shape.Left, shape.Top, Convert.ToInt32(xmlTempNode.Attributes["imgwidth"].Value), Convert.ToInt32(xmlTempNode.Attributes["imgheight"].Value)); shape.Delete(); [...] read more
c#
powerpoint
office-interop
office-automation
2votes
1answer

Visual Studio 2012 Debugger suddenly stops while debugging Azure project

When I'm debugging my Azure project (1 Web + 1 Worker Role instance) locally, the debugger often just stops and the role instances are restarting. I have no clue why this is happening, there are no uncaught exceptions and if I run the project without setting breakpoint everything works just [...] read more
visual-studio
debugging
azure
visual-studio-2012
visual-studio-debugging
2votes
1answer

Issues with porting COM+ applications from Windows 2003 to Windows 2008 Server

We are migrating our applications from Windows Server 2003 to Windows Server 2008 R2. I am facing some issues with the migration. I have deployed many COM+ components (32 bit) and DCOM components (32 bit) in the Windows Server 2008 R2. These COM+ and DCOM components are VC++ code. I [...] read more
com
windows-server-2008
1vote
0answers

Windows 10: cannot run WSL (Ubuntu, Alpine, Docker)

On my laptop (Dell Latitude 5590, Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz[Cores 4] [Logical processors 8], BIOS v 1.16.0), running Windows 10 (10.0.19042), I cannot start Ubuntu any more, nor start Docker (Docker Desktop 3.2.2). WSL version is 5.4.72. Launching Ubuntu, I get: Installing, this may take a few minutes... [...] read more
windows
ubuntu
docker
windows-subsystem-for-linux
1vote
1answer

volume shadow copy always fails

Starting from last December, I cannot make any shadow copies. Everything which uses shadow copies, including Windows backup, System Restore and online disk check fails. My system is running Windows 8 Pro upgraded from Windows 7 Home Premium, and my system drive previously had BitLocker on but recently turned off. [...] read more
windows
shadow-copy
1vote
1answer

server 2008 r2 stuck on installing updates

I have 2008 r2 64bit server that is stuck on installing updates. It shows message "Please do not power off or unplug your machine. Installing 57 of 61.." This message is shown for 3 hours now. I was trying to connect to this server using mmc. runas /user:AdministratorAccountName@ComputerName "mmc %windir%\system32\compmgmt.msc" [...] read more
windows-server-2008-r2
windows-update
1vote
1answer

Windows Server 2008 R2 RODC shows no installed updates, won't install updates, won't run DCPROMO to allow demotion

I have a Windoer 2008 R2 RODC. It runs AD DS and DNS and that's it. The install is less than a day old. Windows update hangs at "downloading updates" indefinitely, Server Manager errors on refresh with "The Remote Procedure Call failed. (Exception from HRESULT:0x800706BE)", the Windows System Update Rediness [...] read more
windows-server-2008-r2
rpc
rodc
1vote
1answer

SQL Server 2008 Express + Reporting Services on Windows 7

I'm trying to install SQL Server Express 2008 and Reporting Services on a x64 Windows 7 Machine for development purposes. I've installed SQL Server 2008 Express with the Microsoft Web Platform Installer I had to manually enable the SQL Server Browser in the Sql Server Configuration Manager and tried to [...] read more
sql-server
windows-7
ssrs
microsoft-web-platform
1vote
1answer

Clipboard.SetContent() The remote procedure call failed

In my UWP Application When I am trying to set the content in the Clipboard I am getting the below exception. Targeted SDK version: Windows 10 SDK, version 1903 > System.Exception: The remote procedure call failed. (Exception from HRESULT: > 0x800706BE) at > Windows.ApplicationModel.DataTransfer.Clipboard.SetContent(DataPackage > content) public static void CopyTextToClipboard(string [...] read more
uwp
clipboard
procedure
1vote
0answers

Microsoft project open files using powershell

I'm having problem opening project file from Project Online (server). I want to save all online files locally. If I open project first through Desktop client and try to open that file using function FileOpenEx it works (maybe because it opens draft?) Also I've tried full URL $Project.FileOpenEx(".../pwa/_api/projectdata/Projects/$name",$true) But it [...] read more
powershell
ms-project
comobject
1vote
1answer

The remote procedure call failed, cannot call a method on a null-valued expression - works on restart

I have a PowerShell script that also calls on a VBA script in my Access database. When I try to run the PowerShell script, it does not work and invokes the following errors: The remote procedure call failed. (Exception from HRESULT: 0x800706BE) At Z:\Report\Run\RUN.ps1:18 char:1 + $wb_con1 = $excel.Workbooks.Open($FilePath_con1) + [...] read more
vba
powershell
ms-access
1vote
1answer

Excel crash after opening it into vb.net using introp

Excel crash after opening it into vb.net using introp Followig is my code which i used for importing the data from excel Dim misValue As System.Reflection.Missing Dim tbl As New System.Data.DataTable Dim xlApp As nExcel.Application Dim xlWorkBook As nExcel.Workbook Dim xlWorkSheet As nExcel.Worksheet xlApp = New nExcel.Application Try xlWorkbook = [...] read more
excel
vb.net
1vote
1answer

Office Interop 12 fails on MailMerge.OpenDataSource

I have a c# project which makes mail merge between dotx file and xls files with Office.Interop version 12 and office 2013. It works in production but not in development, the same code runs with Interop version 14 and Office 2016 but I can't change server version. The error shows [...] read more
c#
com
office-interop
1vote
0answers

Error occurring randomly when performing Office 365 automation with Microsoft.Office.Interop library

I am experiencing a strange behavior these past days with Excel server automation using Microsoft.Office.Interop.Excel library. The problem happened with different versions of Excel(2016, 2019, 365) and it is random on the same file (sometimes it works sometimes it is not). The application was working properly for years without any [...] read more
c#
excel
automation
1vote
0answers

How to fix error "The remote procedure call failed" in C# - connecting to scanner

I’m trying to scan a paper with scanner and store it. I’m using C# , WIA , Kodak scaner i1310. I get The remote procedure call failed(0x800706be) error when this line executes : var imageFile = (ImageFile)scannerItem.Transfer(FormatID.wiaFormatJPEG); and here is my code : private void btnScan1_Click(object sender, EventArgs e) { [...] read more
c#
scanning
1vote
2answers

C# error when read Excel file, this is a strange error

When I read (*.xls) file in C# I get an error. I see lots of topic about "DCOM Access Denied Problem" and configuration of related problem in SO, but non of them solved my problem. all permission and administrator account was checked. this is image of error: Update: this is [...] read more
c#
.net
excel
winforms
office-interop
1vote
0answers

What do I need to look into to fix this printing issue

The problem I am facing is that my code works when I run as me but doesn't work when I run as a domain account. I'm opening an .mht file from a file location and tring to print it. Opening the file works and it displays the page fine but [...] read more
vb.net
printing
webbrowser-control
1vote
0answers

Cordova run windows this error - Exception calling "ActivateApplication" with "4" argument(s):

Cordova run Windows throws the following error: > Success: Your app was successfully installed. Starting application... > ActivateApplication: com.xyz.abc Exception calling "ActivateApplication" with > "4" argument(s): "The remote procedure call failed. (Exception from HRESULT: > 0x800706BE)" NOTE: I have installed Windows 10 SDK (Standalone) and also from VS2015. I have [...] read more
cordova
1vote
1answer

Excel Interop Workbooks.Open inconsistencies

I have a process that is opening multiple workbooks var exApp = new Excel.Application(); Excel.Workbook ONE; Excel.Workbook TWO; Excel.Workbook THREE; ONE = exApp.Workbooks.Open(ONELocation); TWO = exApp.Workbooks.Open(TWOLocation); THREE = exApp.Workbooks.Open(THREELocation); Console.WriteLine("All Excel workbooks opened successfully\n"); Sometimes it runs with no issues. Sometimes though I get the following exception on crash > [...] read more
c#
excel
excel-interop
1vote
1answer

Importing Appliances (Hortanworks Sandbox) into Virtual box showing up ERROR: Callee RC: NS_ERROR_CALL_FAILED (0x800706BE)

Trying to import Hortonworks Sand box into my virtual box on Mac machine. Upon importing I am getting Callee RC: NS_ERROR_CALL_FAILED (0x800706BE) error message do know how to resolve this read more
macos
virtual-machine
virtualbox
sandbox
hortonworks-sandbox
1vote
1answer

C# - Having trouble with Excel/InteropServices Replace Method

So searching has returned some results on how to use the Replace method, but I haven't gotten any to work. Hoping you guys can help point me in the right direction! Here's what I have. I get an error when I call the Replace method. I suspect I'm doing something [...] read more
c#
asp.net
excel
excel-interop
1vote
1answer

remote procedure call failed after deleting account

Someone retired and we deleted an account associated with them on our Microsoft SQL Server 2008. We are getting "remote procedure call failed 0x800706be" and the Administrator login is not working. (And every thing else isn't working too) It seems like somehow that account was a key for the whole [...] read more
sql-server
sql-server-2008
1vote
0answers

To Resolve - HRESULT : 800706BE exception

Error: Remote Procedural call failed. (Exception from HRESULT:0x800706BE) Occurs when my task/programming opens Excel file often during the process. The accessed Excel file type is macro enabled and is loaded with conditions of macro over the workbook. Purpose: in my task when I open excel file multiple times, at a [...] read more
excel
error-handling
runtime-error
hresult
vba
1vote
1answer

ECONNRESET on node.js RabbitMQ consumer in Azure

I've been looking into this problem for a number of days now and it's had me totally stumped. We have a node.js based rabbitmq consumer that has been running on premise for over a year without any problems. Recently we deployed our app to Azure with the node.js component deployed [...] read more
node.js
azure
tcp
rabbitmq
amqp
1vote
1answer

The remote procedure call failed

This is my first post, so please be easy on me :) I am doing a tutorial for Facebook SDK, and I am trying to login to the facebook service from a Windows Phone XAML application. It works fine when I follow the steps of the tutorial, and hit the [...] read more
c#
facebook
windows-phone-8.1
1vote
1answer

Driver, COMException errors

I am using the following code to scan documents: Dim manager = New DeviceManager Dim deviceinfo = manager.DeviceInfos.Cast(Of DeviceInfo)().FirstOrDefault(Function(di) di.Properties("Name").Value = deviceName) If deviceinfo Is Nothing Then Exit Sub Dim device As Device = deviceinfo.Connect Dim dlg = New CommonDialog Dim Item As Item = device.Items(1) Item.Properties("Bits Per Pixel").Value = [...] read more
vb.net
wia
1vote
0answers

(provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)

Trying to access asp.net configuration and get this '(provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified)' already tried these solutions: http://forums.asp.net/t/1396682.aspx?Could+not+establish+a+connection+to+the+database+for+asp+net+configuration+ http://forums.iis.net/t/1163032.aspx? Provider+Management+error+of+asp+net+configaration+in+asp+net Asp.Net membership via ASP.NET Website Administrator Tool UPDATE: I took a look in the SQL Server Configuration Manager and selected SQL server Service and [...] read more
c#
asp.net
sql
1vote
2answers

COM Invoke failed: Error 0x800706BE

All, I have a COM Server Component (a .Dll) which is developed by someone. When I invoke (using invoke()) a function in that COM Server, it throws the error 0x800706BE -The remote procedure call failed. Interestingly it throws this error only few times!!. it works fine for the rest of [...] read more
com
invoke
1vote
1answer

Running "ngen install EntityFramework.dll" fails with error 0x800706BE and 0x80131F06

As advised by the Entity Framework Team I've tried to create a native image of EntityFramework.dll with this command: ngen install packages\EntityFramework.6.1.0-beta1\lib\net40\EntityFramework.dll this results in the error 0x80131F06 (no native image for mscorlib.dll). When I now try to run ngen install mscorlib.dll I get the error 0x800706BE (RPC_S_CALL_FAILED - The [...] read more
entity-framework
windows-8
ngen
1vote
1answer

COM Word.Application in PHP

I am creating a word document from a template using a web app I wrote in PHP (Yii Framework) using COM and I receive an error when I try to release the object $word = new COM("Word.Application") or die("Unable to instantiate Word"); .... $word->Quit(); $word->Release(); $word = null; When I [...] read more
php
com
ms-word
1vote
1answer

A network-related or instance-specific error while trying to connect to SQL Azure from SSMS

I get the following error when I am trying to connect to SQL Azure account from My SQLServer Management studio. I use "SQL Server 2008 R2" on Windows 7 32-bit machine. > A network-related or instance-specific error occurred while establishing a > connection to SQL Server. The server was not [...] read more
sql-server
sql-server-2008
azure-sql-database
1vote
2answers

Start Sql Server Agent

I just got SQL Server 2008 Enterprise edition, but I can't start the Agent XPS service. I looked over surface area configuration and tried to change the service start mode from Disabled to Automatic (in the SQL Server configuration manager) and there I generated an error message: > The remote [...] read more
sql-server
1vote
0answers

Unable to call COM DLLs from C#

I am trying to call C++ and C# DLLs using COM from a C#(4.0) service. The DLLs have be registered on the same server (win2003) and are currently being called from a C++ service using COM without issue (over 100k times). The DLLs expose an interface "ExecuteTransaction" which takes two [...] read more
c#
c++
com
invoke
1vote
2answers

Error on COM+ System.InvalidCastException.

We have an issue that occurs from time to time. We have a web server and an application server. Our application server houses our Business Logic code which is installed as COM+ Server and Library applications. We then put a proxy on the web server to force all calls from [...] read more
c#
asp.net
com+
1vote
3answers

Create MS-Word 2003 in WCF Error?

I built WCF solution about reporting by using MS-Word 2003 API(Microsoft.Office.Interop.Word) but I got this error : 2010-09-17 16:31:39,218 [21] ERROR ERROR [(null)] - Error : Generate 0900000a80395799 System.Runtime.InteropServices.COMException (0x800706BA): The RPC server is unavailable. (Exception from HRESULT: 0x800706BA) at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo) at System.Runtime.InteropServices.CustomMarshalers.EnumeratorViewOfEnumVariant.MoveNext() at FactoryService.Generator.Generate(Task& task, IDfSession& [...] read more
c#
wcf
winapi
ms-word
rpc
0votes
0answers

Windows OS not showing up in msconfig boot options

I have a refurbished Dell Precision 7510, running Windows 10 Pro (Build 19042.867). Two days ago, Windows Update started failing at updating my OS and displayed the typical message "We couldn't update windows, undoing changes" at start. I checked Windows Update options and I got a 0x800706be error. A quick [...] read more
windows
boot
windows-update
msconfig
0votes
0answers

The remote procedure call failed. (Exception from HRESULT: 0x800706BE) in Windows Server 2016 and Office 365

I have a C# application in server 2016. It was running fine before installing Office 365. We recently installed Office 365 in the server. Application is failing with an exception > "The remote procedure call failed. (Exception from HRESULT: 0x800706BE) at > Microsoft.Office.Interop.Excel.Workbooks.OpenText(String Filename, Object > Origin, Object StartRow, Object [...] read more
microsoft-excel
microsoft-office
0votes
1answer

VirtualBox vdi not growing over 32 GB, NS_ERROR_CALL_FAILED when trying to delete snapshot

I am running VirtualBox 5.2.0 on Ubuntu 16.04 64-bit. The quest system is Win 10 64-bit. At some point guest went jammed because vdi disk of dynamic size 100GB refused to grow over 32GB. I have googled that it may happen when snapshots exist. Not sure if this is true, [...] read more
ubuntu
virtualbox
snapshot
0votes
0answers

Dism Restore Image Health fails with Error 1910

I am trying to restore online image health using Dism command, however I seem not to be successful. This error is persisting. C:\WINDOWS\system32>DISM /Online /Cleanup-Image /RestoreHealth /Source:G:\Sources\install.esd\Install.esd Deployment Image Servicing and Management tool Version: 10.0.14393.0 Image Version: 10.0.14393.0 Error: 1910 The object exporter specified was not found. The DISM log [...] read more
command-line
dism
error-logging
0votes
1answer

SQLServer 2008 services broken after Visual Studio 2015 installation (sqlcmd shows nothing)

This is my SQL Server. MSSQL 2008 (not R2): > Sql Server 2008 MSSQLSERVER MSSQL10.MSSQLSERVER Database Engine Services 1033 > 10.0.1600.22 After installing Visual Studio 2015 with SQL tools. The result was something went seriously wrong (I think because of lack of admin permissions on the computer). sqlcmd -L shows [...] read more
sql-server
sql-server-2008
visual-studio
0votes
2answers

Windows Server 2012 Failover Clustering and Remote procedure call failed (800706BE)

When i want to validate cluster configuration i get this error message: The Remote procedure call failed.(Exception from HRESULT:0X800706be) I disabled the Firewall and Anti-Virus but the problem still exists. RPC Service is running and all ports like 135 are open. In windows server 2012 Remote Registry service start up [...] read more
windows-server-2012
failovercluster
0votes
0answers

System.Runtime.InteropServices.COMException: 'The remote procedure call failed. (Exception from HRESULT: 0x800706BE)' when using ChartObject.Add()

I want to add charts in my excel and for that I am using Microsoft.Office.Interop.Excel. First I am doing some excel data modifications using System.Data.OleDb. So there are two cases in my situation 1. I am not using System.Data.OleDb operations and the charts get added to excel. 2. I am [...] read more
c#
excel
oledb
office-interop
0votes
1answer

VB.Net Service doesn't seem to be able to use Excel Interop to export files

I have a service that data logs devices and records the info to a SQL Server. Each night at a random time after midnight I export out multiple excel documents to temp files then upload them to SharePoint. If I run the service code normally (by copying and pasting it [...] read more
vb.net
service
excel-interop
0votes
0answers

The print filter pipeline process was terminated. Error information: 0x800706BE

I'm getting below error while printing PDF, A fatal error occurred while printing job print.pdf, id 3 on the print queue PrinterName. The print filter pipeline process was terminated. Error information: 0x800706BE. Thanks read more
printing
event-log
printers
0votes
1answer

Remote Procedure Call (RPC) errors only thrown when a user is connected via Remote Desktop

I'm trying to resolve the following Remote Procedure Call (RPC) error that occurs when an unattended Windows Service application attempts to create a new Excel file via Interop. Exception: System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE) at Microsoft.Office.Interop.Excel.Workbooks.Add(Object Template) Here's the code throwing the exception. For [...] read more
excel
vb.net
excel-interop
0votes
0answers

Excel Interop - How to change PivotTable SourceData

I've got a similar problem as mentioned in the following question, however the accepted answer works only partially: How to update PivotTable data source using C#? When I follow this answer, I see that my PivotTable gets updated correctly, but a second later Excel crashes and throws an 'RPC failed' [...] read more
c#
excel
vb.net
excel-interop
0votes
1answer

Error while trying to write on table cells in C#

I'm trying to create a custom Word document with a table inside and some text with the help of Visual Studio C# Here is my code. object oMissing = System.Reflection.Missing.Value; object oEndOfDoc = "\\endofdoc"; /* \endofdoc is a predefined bookmark */ //Start Word and create a new document. Word._Application oWord; [...] read more
c#
word
word-interop
0votes
0answers

Long running Quartz job + Topshelf - restart the service if job fails multiple times

I have a series of triggers associated to a job in a Quartz + TopShelf implementation. The job is long running, some triggers run for ~ 2 hrs. The hot spot of the job is the job that uses Excel Automation to process .xls files. This is the point where, [...] read more
c#
service
quartz.net
topshelf
0votes
1answer

Why am I getting 'The remote procedure call failed' error after stopping excel process?

I have the following code that converts an excel sheets to csv files. If the csv files do not exist/or exist already but not in use (e.g. opened in excel), the script generates the csv files successfully (overwriting them if they exist already)! However, if the csv file is opened [...] read more
excel
csv
powershell-5.0
0votes
1answer

Create in-memory Excel file and open it in Excel without using COM Interop

I'm currently using COM Interop in .NET to export the contents of a DataTable to Excel. It's a method I've been using for years, but the problem is that COM is sketchy and throws random, intermittent, untraceable exceptions. This hasn't been a huge issue, since it's always just been code [...] read more
c#
excel
vb.net
openxml
com-interop
0votes
0answers

Add hyperlink to smartart node with interop-excel in c#

I have an c# console application which create an excel worksheet containing a smartart object with the hiearchy layout(OrgChart). I would like to add hyperlinks to the nodes within the org chart, but somehow i can't. In the picture below, i would like to add a hyperlink to "Node 1"(1) [...] read more
c#
.net
excel
office-interop
excel-interop
0votes
1answer

Error when opening excel file for certain user - 'The remote procedure call failed..."

I have a windows application written in vb.NET that pulls details from a big excel workbook and uses them to create site specific documents, depending on what site a user of the application has been assigned. The application then opens up the excel workbook it creates, and populates certain cells [...] read more
excel
vb.net
0votes
0answers

Translate NT format (NetBIOS) Domain name to Distinguished Name (DNS Domain Name)

I'm currently using the below code to convert NT format (NetBIOS) domain names to Distinguished name (DNS Domain name). NameTranslate object works great in my code... until I try to use the same code over my work VPN... resulting in an exception > The remote procedure call failed. (HRESULT: 0x800706BE) [...] read more
powershell
dns
netbios
0votes
1answer

Add-Computer adds VM to domain then WMI fails

I am currently trying to add a Windows Server 2016 Vm to our domain using the following command. Add-Computer -ComputerName $ServerName -NewName $ServerName -LocalCredential $localCreds -Credential $adcreds -DomainName mydomain.net -OUPath $ou -Force The command creates the AD computer object and renames the server pending its reboot. However, the cmdlet runs [...] read more
powershell
active-directory
0votes
3answers

Cannot connect to SQL Server instance from web application but can from SSMS

I've got SQL Sever 2008 R2 Express installed and am able to connect to it with SSMS using (local) and Windows Authentication. However, when attempt to connect to it from an MVC Web Application running in Visual Studio 2012, I'm getting a network related exception when I try to open [...] read more
database
sql-server-2008
sql-server-2008-r2
database-connection
0votes
3answers

Open Excel file usint Interop using C#

I have this code in C# y used to open a Excel file. Excel.Application oXL = new Excel.Application(); Excel._Workbook oWB; String filename = "C:\\plantilla2.xlsx"; oWB = oXL.Workbooks.Open(filename, 0, true, 5, "", "", true, Excel.XlPlatform.xlWindows, "\t", false, false, 0, true, 1, 0); MessageBox.Show("FIN"); This code worked fine two days ago. I [...] read more
c#
excel
0votes
1answer

Exception thrown when calling Workbook.SaveAs() in Excel.Interop and C#

We are experiencing a production issue whereby we call an Excel Workbook's SaveAs method with a password. The exception thrown is: The remote procedure call failed. (Exception from HRESULT: 0x800706BE) The call is done as follows, where _ExcelPassword is the workbook's generated password and ExcelOutputPath is the location on disk [...] read more
c#
excel
office-interop
office-automation
0votes
1answer

ProtectKeyWithTPM method of the Win32_EncryptableVolume class causes exception

I want to try encrypt a logical disk volume containing the OS's installation using the encrypt method of the Win32_EncryptableVolume class. Before I use this method, I have to create a key to protect this volume and for this I have several options, but if I want to encrypt the [...] read more
c#
encryption
bitlocker
0votes
0answers

What does RPC call failed mean when executing Documents.Open thru Word interop

We are getting error reports from our customers with a > COMException 0x800706BE The remote procedure call failed The code generating this exception is the following one: Microsoft.Office.Interop.Word.Documents.Open(Object& FileName, Object& ConfirmConversions, Object& ReadOnly, Object& AddToRecentFiles, Object& PasswordDocument, Object& PasswordTemplate, Object& Revert, Object& WritePasswordDocument, Object& WritePasswordTemplate, Object& Format, Object& Encoding, Object& [...] read more
c#
.net
com
ms-office
comexception
0votes
0answers

Getting an exception-" The remote procedure call failed. (Exception from HRESULT: 0x800706BE)"

While executing the below code I am getting the exception: > The remote procedure call failed. (Exception from HRESULT: 0x800706BE) List<string> List_Items = new List<string>(); List_Items = Retail_Team_Id.Get_Retail_Team_Id(Incident_Path, List_Retail); for (int i = 0; i < List_Items.Count(); i++) { MySheet.Cells[(i+2), 40] = List_Items[i];//Here getting the exception } read more
c#
asp.net
excel
0votes
1answer

Excel workbook.saveas inside IIS

I have a problem when I published web application in IIS sometimes the WorkBook.SaveAs method works fine, sometimes not. > Description: An unhandled exception occurred during the execution of the > current web request. Please review the stack trace for more information about > the error and where it originated [...] read more
asp.net
vb.net
excel
iis-8.5
vba
0votes
2answers

Error while moving messages in Outlook using Powershell

I am trying to use Powershell to automate a task in Outlook. I want to output specific messages to a textfile, then move those selected messages to a new directory. Below is my concept code for this: Add-type -assembly "Microsoft.Office.Interop.outlook" | out-null $olfolders = "Microsoft.Office.Interop.Outlook.olDefaultFolders" -as [type] $outlook = New-Object [...] read more
email
powershell
outlook
move
0votes
1answer

Keep Getting InteropServices.COMException when running Word from ASP MVC Controller

I get the error the remote procedure call failed HRESULT: 0x800706BE exception when running Microsoft.Interop.Word from a controller in my ASP .NET MVC application. The strange thing is that if I debug the application and run it step by step, no exception is thrown. I haven't been able to understand [...] read more
c#
asp.net-mvc
asp.net-mvc-4
com
office-interop
0votes
1answer

GooglePlus Authentication in Windows Phone 8.1

I am writing a Windows Phone 8.1 App (WINRT). How to do GooglePlus Authentication (SignIn via GooglePlus) in Windows Phone 8.1 App** without using MVVM/MVC**? I used Web Authentication via Webbrowser control in Windows Phone 8.0 App but Windows Phone 8.1 WebView Control does not have Navigating event. Can anyone [...] read more
c#
windows-runtime
windows-phone-8.1
google-oauth
google-plus-signin
0votes
2answers

Running Classic ASP on IIS 7.5 in STA

Trying to for a Classic ASP webapp on IIS 7.5 to run in STA mode by enabling AspCompat. This is a hard requirement due to a COM Object being instantiated that is not thread safe. <%@ Page Language="VBScript" AspCompat="true" Debug="false" %> Although the settings is forced through AspCompat, the behaviour [...] read more
iis
asp-classic
com
iis-7.5
visual-foxpro
0votes
0answers

Error while querying "Win32_Product" WMI class - COMException (0x800706BE)

I'm trying to collect all installed SW on each of our servers locally, and I'm using the Win32_Product WMI class for this, but on some of our servers (with Win server 2003 or 2008 R2) I can't query this class. here is the output from PowerShell: C:\Users\e****l> Get-WmiObject -Query "SELECT [...] read more
c#
events
powershell
wmi
windows-server-2008
0votes
2answers

Sql Server 2008 Error 0x800706be

I encounter this error: "The remote procedure call faile. [0x800706be]" try to search for a soln but I haven't seen one that solve my problem. enter image description here [https://i.stack.imgur.com/0CSgT.png] read more
sql-server
sql-server-2008
0votes
3answers

Sql server issue after installing VS 2012 - SQL Server Agent gives- Remote procedure call failed (0x800706be)

I have recently installed VS 2012, after installing i am not able to see SQL serve services under configuration manager- it is giving error message - Remote procedure call failed (0x800706be). I tried googling for solution but didn't get any proper answer or workaround for this issue. My OS is [...] read more
visual-studio-2012
sql-server-2008-r2
installation
0votes
0answers

C# Office Word not opening in remote server

My code is intended to open and edit an Office Word Document in remote server. When i tested it in localhost, it works fine. But when i tested it in the remote server, i get following error: ( More specifically when it executes Documents.Open ) The remote procedure call failed. [...] read more
c#
asp.net
web
office-interop
0votes
0answers

Starting/using SQL Server Management Studio from Visual Studio

I have Visual Studio 2012 installed on a Win7 x64 machine. I know it has a SQL Server Management Express version installed on it. I am unsuccessfully trying to install SQL Server Management Studio 2012 Developer Edition since 2 weeks (tried like 20 times, with all the option, full install, [...] read more
sql-server
visual-studio-2012
installation
0votes
1answer

SQL Server 2008 R2 Installation Error "Trust Relationship Failed"?

When I install SQL Server 2008 R2, the Database Engine Services feature don't install due to the error "The Trust Relationship between the primary domain and the trusted domain failed." For context, I'm trying to get into ASP.NET MVC3 and when I try to add/browse a database in Visual Studio [...] read more
asp.net-mvc-3
visual-studio-2010
installation
sql-server-2008-r2
0votes
1answer

Coypu/SpecFlow acceptance tests hang when run via Jenkins job

I'm running acceptance tests on a project via SpecFlow, NUnit and Coypu (for browser automation, using the WatiN driver). The running of the tests are invoked via a powershell/psake script. If I run these tests on my local box, they run fine. However, we have a build server on which [...] read more
nunit
jenkins
watin
specflow
0votes
1answer

Added a new method to a COM object that gets exception when called

I have a method I have added to my COM class and everytime it gets called I get the following exception: Exception : System.Runtime.InteropServices.COMException (0x800706BE): The remote procedure call failed. (Exception from HRESULT: 0x800706BE) at System.EnterpriseServices.IRemoteDispatch.RemoteDispatchNotAutoDone(String s) There are other methods in this COM class that get called all the [...] read more
c#
com
0votes
1answer

T-SQL Stored Procedure failing w/ message Msg 7321

I'm having some issues with a stored procedure I've written in my SQL2000 database to query an Oracle database via OpenQuery(). The procedure 1) creates a cursor from a table (Job) on my SQL2000 database, 2) then iterates through that cursor one at a time, passing the cursor value (JobID) [...] read more
sql-server
tsql
sql-server-2000
0votes
1answer

What VC++ compiler/linker does when building a C++ project with Managed Extension

The initial problem is that I tried to rebuild a C++ project with debug symbols and copied it to test machine, The output of the project is external COM server(.exe file). When calling the COM interface function, there's a RPC call failre: COMException(0x800706BE): The remote procedure call failed. According to [...] read more
c++-cli

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