RPC server is unavailable. (Exception from HRESULT: 0x800706BA) Lync Server 2013 Mirroring Configuration
Hi,
I am trying to Configure Mirroring in Lync server 2013, when in am selecting Install Database in Topology builder im able to install the Database in Principal but failing while installing the Mirroring following the detail.
▼ Install-CsMirrorDatabase Failed
└ Connection: Data Source=BPDBLSQWMV01.domain.com\IMPRINCIPAL;Failover Partner=BPDBLSQWMV02.domain.com\IMMIRROR;Initial Catalog=xds;Integrated Security=True 23-01-2014 22:53:34
└ ▼ InstallMirrorDatabaseCmdlet.StartMirroring 23-01-2014 22:53:34 Failed
└ Error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
▼ Details
└ Type: COMException
└ ▼ Stack Trace
└ at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at Microsoft.Rtc.Management.Deployment.MirrorUtils.GetSqlServerAccount(String server, String instanceName)
at Microsoft.Rtc.Management.Deployment.TopologyParser.PopulateDatabasesForSqlInstance(ISqlInstance sqlInstance)
at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForMachine(IMachine machine)
at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForFqdn()
at Microsoft.Rtc.Management.Deployment.TopologyParser.GetDbListToMirror()
at Microsoft.Rtc.Management.Deployment.TopologyParser.get_DbInfoList()
at Microsoft.Rtc.Management.Deployment.InstallMirrorDatabaseCmdlet.StartMirroring()
at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action)
23-01-2014 22:54:16 Error
└ Error: An error occurred: "System.Runtime.InteropServices.COMException" "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)" 23-01-2014 22:54:16 Error
Firewall is turned off and can able to configure Mirroring Manually in SQL Server by creating a test database.
▼ Install-CsMirrorDatabase Failed
└ Connection: Data Source=BPDBLSQWMV01.domain.com\IMPRINCIPAL;Failover Partner=BPDBLSQWMV02.domain.com\IMMIRROR;Initial Catalog=xds;Integrated Security=True 23-01-2014 22:53:34
└ ▼ InstallMirrorDatabaseCmdlet.StartMirroring 23-01-2014 22:53:34 Failed
└ Error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
▼ Details
└ Type: COMException
└ ▼ Stack Trace
└ at System.Runtime.InteropServices.Marshal.ThrowExceptionForHRInternal(Int32 errorCode, IntPtr errorInfo)
at System.Management.ManagementScope.InitializeGuts(Object o)
at System.Management.ManagementScope.Initialize()
at Microsoft.Rtc.Management.Deployment.MirrorUtils.GetSqlServerAccount(String server, String instanceName)
at Microsoft.Rtc.Management.Deployment.TopologyParser.PopulateDatabasesForSqlInstance(ISqlInstance sqlInstance)
at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForMachine(IMachine machine)
at Microsoft.Rtc.Management.Deployment.TopologyParser.FindDatabasesForFqdn()
at Microsoft.Rtc.Management.Deployment.TopologyParser.GetDbListToMirror()
at Microsoft.Rtc.Management.Deployment.TopologyParser.get_DbInfoList()
at Microsoft.Rtc.Management.Deployment.InstallMirrorDatabaseCmdlet.StartMirroring()
at Microsoft.Rtc.Management.Internal.Utilities.LogWriter.InvokeAndLog(Action action)
23-01-2014 22:54:16 Error
└ Error: An error occurred: "System.Runtime.InteropServices.COMException" "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)" 23-01-2014 22:54:16 Error
"The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)" error may occurs.There can be a few reasons for this error:
It was an issue with RPC ports, verify Firewall opened the full range and Try to run setup completed.
The remote computer is blocked by the firewall.
Solution: Open the Group Policy Object Editor snap-in (gpedit.msc) to edit the Group Policy object (GPO) that is used to manage Windows Firewall settings in your organization. Open
Computer Configuration, open Administrative Templates, open
Network, open Network Connections, open Windows Firewall, and then open either
Domain Profile or Standard Profile, depending on which profile you want to configure. Enable the following exception: "Allow Remote Administration Exception" and "Allow File and Printer Sharing Exception".
Host name or IP address is wrong or the remote computer is shutdown.
Solution: Verify correct host name or IP address.
The "TCP/IP NetBIOS Helper" service isn't running.
Solution: Verity that "TCP/IP NetBIOS Helper" is running and set to auto start after restart.
The "Remote Procedure Call (RPC)" service is not running on the remote computer.
Solution: Verity that "Remote Procedure Call (RPC)" is running and set to auto start after restart and.
The "Windows Management Instrumentation" service is not running on the remote computer.
Solution: Verity that "Windows Management Instrumentation" is running and set to auto start after restart.
Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
Similar Messages
-
While Integrating Reporting Services with SharePoint 2010 getting below error:
An unexpected error has occurred. Details: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
Thank,
Said Al Balushi.1- Clicked web service URL, getting the fallowing
Reporting Services Error
The configuration parameter SharePointIntegrated is set to True but Share Point Object Model cannot be loaded. The error was: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' at Microsoft.ReportingServices.SharePoint.Objects.RSSPImpSecurity.set_StaticCatchAccessDeniedException(Boolean
value) at Microsoft.ReportingServices.SharePoint.Server.SharePointServiceHelper..ctor() at Microsoft.ReportingServices.SharePoint.Server.SharePointServiceHelperFactory.get_ServiceHelper() WRN: Assembly binding logging is turned OFF. To enable assembly bind
failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
. (rsSharePointObjectModelNotInstalled) Get Online Help
2- Port 135 is open from WFE (App and WEF is same server) to Reporting server
3- I am using default instance
Thanks,
Said Al Balushi -
The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)
hi.
i am getting above error i am running my code in server 64 bit
in my addon simply i am doing one requirement
ie.
just browse the file from the system desktop and take the path copy to the matrix.
i had developed code in my system it is working
i can sure it is working fine.
but today i am checking in client server system
i am getting above error
exactly the below line i am getting the error.
i checked in net
it is telling that go to services.msc and
start rpc remote should be start
i checked in all scenarios but
still it is not working
giving the same error.
If MyTest.ShowDialog() = DialogResult.OK Then
Exactly above line b1 is closing and then the source code is running..
after than windows privacy statement is opening..
Public Sub ShowFolderBrowser()
Try
Dim MyTest As New OpenFileDialog
Dim MyProcs() As Process
Dim filename As String
MyProcs = Process.GetProcessesByName("SAP Business One")
If MyProcs.Length <> 0 Then
For i As Integer = 0 To MyProcs.Length - 1
Dim MyWindow As New WindowWrapper(MyProcs(i).MainWindowHandle)
MyTest.Filter = "Excel files (*.xls)|*.xls|Document files (*.doc)|*.doc"
MyTest.InitialDirectory = "C:\"
'Exit Sub
If MyTest.ShowDialog() = DialogResult.OK Then
'if(openFileDialog1.ShowDialog() == DialogResult.OK)
'Dim ret As DialogResult = MyTest.ShowDialog(MyWindow)
'If ret = DialogResult.OK Then
filename = MyTest.FileName
Dim f As New System.IO.FileInfo(filename)
If (oMatAttach.VisualRowCount > 0) Then
If (oMatAttach.Columns.Item("V_1").Cells.Item(oMatAttach.VisualRowCount).Specific.value <> "") Then
oMatAttach.AddRow()
End If
Else
oMatAttach.AddRow()
End If
'oMatAttach.AddRow()
oMatAttach.FlushToDataSource()
oDBs_Attach.Offset = oDBs_Attach.Size - 1
oDBs_Attach.SetValue("LineId", oDBs_Attach.Offset, oMatAttach.VisualRowCount)
oDBs_Attach.SetValue("U_path", oDBs_Attach.Offset, f.DirectoryName)
oDBs_Attach.SetValue("U_fname", oDBs_Attach.Offset, f.Name)
oDBs_Attach.SetValue("U_atdate", oDBs_Attach.Offset, DateTime.Today.ToString("yyyyMMdd"))
oMatAttach.SetLineData(oDBs_Attach.Size)
frmContractOrder.Items.Item("40").Enabled = True
frmContractOrder.Items.Item("118").Enabled = True
System.Windows.Forms.Application.ExitThread()
Else
System.Windows.Forms.Application.ExitThread()
End If
Next
Else
Console.WriteLine("No SBO instances found.")
End If
Catch ex As Exception
oApplication.StatusBar.SetText("ShowFolderBrowser Method Failed" & ex.Message, SAPbouiCOM.BoMessageTime.bmt_Medium, SAPbouiCOM.BoStatusBarMessageType.smt_Warning)
Finally
End Try
End Sub
Sub xlwrdclose()
Try
If xlapp.Visible = True Then
xlapp.Quit()
ElseIf wrapp.Visible = True Then
wrapp.Quit()
End If
Catch ex As Exception
oApplication.StatusBar.SetText("XLWRDClose Method Failed" & ex.Message, SAPbouiCOM.BoMessageTime.bmt_Medium, SAPbouiCOM.BoStatusBarMessageType.smt_Warning)
Finally
End Try
End SubHi,
You have to make the OpenFileDialog run in a new thread. I use the attached code to allow the user to select a file and then set grid cell to bare filename. I hope this helps.
It would be really nice if the SDK gave us a file dialog.
David -
Hi,
Here I want to known one thing clearly, that is I was developed one application in C# with Acrobat SDK.
In my application I am using Acrobat AxAcroPDFLib.AxAcroPDF and also some other acrobat class.
In my development system i am using Acrobat 7.0.
When my application installed in my client system I am faced different types of problem.
System 1
System Configuration
OS : XP
Acrobat 7.0
Result : Success
System 2
System Configuration
OS : XP
Acrobat 5.0
Acrobat 7.0
Result : Fail
Error : Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)
System 3
System Configuration
OS : XP
Acrobat 7.0
Adobe Reader 9
Result : Success
Note:
But I having problem when I am use my application while Adobe Reader 9 is open.
What is problem?
Error is related to ActiveX COM fail like
Error HRESULT E_FAIL has been returned from a call to a COM component.
Retrieving the COM class factory for component with CLSID {FF76CB60-2E68-2E68-101B-B02E-04021C009402} failed due to the following error: 80080005
System 4
System Configuration
OS : XP
Acrobat 7.0
Result : Success
Problem:
At the time of tool installation the system configuration will be as mention above, after by mistake they installed Adobe Reader 5.0. I faced the problem to use my application ActiveX COM failed
So I was un installed Adobe Reader 5, and tried but I got the following error,
System.Runtime.InteropServices.COMException (0x80040154): Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG))
at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)
at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)
at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)
at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)
at System.Windows.Forms.AxHost.CreateInstance()
at System.Windows.Forms.AxHost.GetOcxCreate()
at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)
at System.Windows.Forms.AxHost.CreateHandle()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.AxHost.EndInit()
at Greenleaf_MetaData.ArticleMetaData_Jnl.InitializeComponent()
at Greenleaf_MetaData.ArticleMetaData_Jnl..ctor()
at Greenleaf_MetaData.MainForm.btn_Process_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
So, I am advised my System Admin team to Re-Install the Acrobat 7.0, after the Re-Installation of Acrobat 7.0, all the problem get solved.
But I want to known what is problem?
And also what is the Adobe COM connection between Acrobat ActiveX and my Application(C#, VB, etc…).
So Please give clear information and guidance...
Thanks & Regard
Thirusanguraja VenkatesanA simple google can get:
Common problems such as Windows Error Code 0x80040154 can be resolved with without too much difficulty. In this article we will go through solving the problem and how to prevent it in the future.
What happens
If you are registering an ATL server, you may see this error code. In the case of DLLs, regsvr32.exe will generate this error. In the case of EXEs, calling _Module::RegisterServer (CComModule::RegisterServer) in _tWinMain() will generate this error.
For detail: http://www.error.info/windows/registry-0x80040154.html
Cheers,
andy -
Hi All,
we are calling sharepoint webservice from our web application but we are getting below error while calling webservice.
Server was unable to process request. ---> Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))
Our code is as below.
We used below 2 options but we got same error for both scenario,
1)
ListService.Lists objLists = new ListService.Lists();
NetworkCredential objNetworkCredential = new NetworkCredential("username", "password");
objLists.Credentials = objNetworkCredential;
System.Xml.XmlNode objXmlNode = objLists.GetListItems("Tasks", null, null, null, null, null, null);
2) ListService.Lists objLists = new ListService.Lists();
objLists.Proxy = new WebProxy("proxyaddress",true);
NetworkCredential objNetworkCredential = new NetworkCredential("username", "password");
objLists.Credentials = objNetworkCredential;
System.Xml.XmlNode objXmlNode = objLists.GetListItems("Tasks", null, null, null, null, null, null);
Please help me what is the problem while calling this service.
Thanks in advance.
Regards,
Kaivan ShahHi ,
Here is a similar case ,you can have a look at this .
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)) -Accessing the sharepoint site:
http://social.msdn.microsoft.com/Forums/en-NZ/sharepointworkflow/thread/5eab2116-7d7c-4bf3-bfa1-48bd8992dded
Thanks,
Entan Ming -
An internal error occurred on the report server. See the error log for more details. (rsInternalError) Get Online Help The profile for the user is a temporary profile. (Exception from HRESULT: 0x80090024)
while proview the report i will get this error am using sql server 2008R2,
can u plesae hlep me out for this
<Header>
<Product>Microsoft SQL Server Reporting Services Version 2009.0100.1600.01 ((KJ_RTM).100402-1539 )</Product>
<Locale>English (United States)</Locale>
<TimeZone>W. Europe Standard Time</TimeZone>
<Path>C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVEREPORT\Reporting Services\Logfiles\ReportServerService__01_30_2015_03_09_32.log</Path>
<SystemName>WEGDACM1</SystemName>
<OSName>Microsoft Windows NT 6.1.7601 Service Pack 1</OSName>
<OSVersion>6.1.7601</OSVersion>
<ProcessID>4880</ProcessID>
<Virtualization>Hypervisor</Virtualization>
</Header>
rshost!rshost!5e4!01/30/2015-03:09:32:: i INFO: Currently registered url http://+:80/ReportServer_MSSQLSERVEREPORT/ on endpoint 2
rshost!rshost!5e4!01/30/2015-03:09:32:: e ERROR: Failed to register url=http://+:80/Reports/ for endpoint 3, error=b7.
rshost!rshost!5e4!01/30/2015-03:09:32:: w WARN: Endpoint 3 is enabled but no url is registered for vdir=/Reports, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVEREPORT\Reporting Services\ReportManager.
servicecontroller!DefaultDomain!1e30!01/30/2015-03:09:32:: e ERROR: Error creating HTTP endpoint. System.Runtime.InteropServices.COMException (0x800700B7): Cannot create a file when that file already exists. (Exception from HRESULT: 0x800700B7)
at Microsoft.ReportingServices.HostingInterfaces.IRsUnmanagedCallback.CreateHttpEndpoint(RsAppDomainType application, String[] urlPrefixes, Int32 cPrefixes, String[] hosts, Int32 cHosts, Boolean wildCardPresent, String virtualDirectory, String
filePath, Int32 authType, Int32 logonMethod, String authDomain, String authRealm, Boolean authPersist, Int32 extendedProtectionLevel, Int32 extendedProtectionScenario, Boolean enabled)
at Microsoft.ReportingServices.Library.ServiceAppDomainController.SetWebConfiguration(RunningApplication rsApplication, Boolean enabled, String folder)
rshost!rshost!65c!01/30/2015-03:09:32:: i INFO: Endpoint 4 is disabled and no url is registered vdir=/ReportServer_MSSQLSERVEREPORT/ReportBuilder, pdir=C:\Program Files\Microsoft SQL Server\MSRS10_50.MSSQLSERVEREPORT\Reporting Services\ReportServer\ReportBuilder.
rshost!rshost!1e30!01/30/2015-03:09:32:: i INFO: Derived memory configuration based on physical memory as 16776696 KB
servicecontroller!DefaultDomain!1e30!01/30/2015-03:09:32:: i INFO: Recycling the service from the default domain
rshost!rshost!1e30!01/30/2015-03:09:46:: i INFO: Application domain type WindowsService statistics: created: 7, unloaded: 7, failed: 0, timed out: 0.
appdomainmanager!DefaultDomain!1e30!01/30/2015-03:09:46:: i INFO: Appdomain:11 WindowsService_7 started.
library!WindowsService_7!1e30!01/30/2015-03:09:46:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
servicecontroller!WindowsService_7!1e30!01/30/2015-03:09:46:: e ERROR: Error initializing configuration from the database: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration
error.
resourceutilities!WindowsService_7!1e30!01/30/2015-03:09:47:: i INFO: Reporting Services starting SKU: Enterprise
servicecontroller!WindowsService_6!1e30!01/30/2015-03:09:47:: i INFO: Service controller exiting.
appdomainmanager!DefaultDomain!1e30!01/30/2015-03:09:47:: i INFO: Appdomain:10 unregistered.
appdomainmanager!DefaultDomain!1e30!01/30/2015-03:09:47:: i INFO: Appdomain:10 WindowsService_6 unloading.
appdomainmanager!DefaultDomain!1f40!01/30/2015-03:09:47:: i INFO: AppDomain:10 0 pending unload(s)
library!WindowsService_7!2410!01/30/2015-03:09:47:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
library!WindowsService_7!2410!01/30/2015-03:09:47:: e ERROR: ServiceStartThread: Exception caught while starting service. Error: Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: The report server has encountered a configuration
error.
library!WindowsService_7!2410!01/30/2015-03:09:47:: e ERROR: ServiceStartThread: Attempting to start service again...
library!DefaultDomain!202c!01/30/2015-08:04:43:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
library!DefaultDomain!202c!01/30/2015-08:25:26:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
library!DefaultDomain!202c!01/30/2015-08:26:16:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException: No DSN present in configuration file, Microsoft.ReportingServices.Diagnostics.Utilities.ServerConfigurationErrorException:
The report server has encountered a configuration error. ;
The above is my log file pls find it resolve my problem,am trying to add the encryption key to my configuration seetings it will through the error like The profile you were used is temporary profile. -
I am getting
The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) When i try to open any file using Adobe
Private Template As String = "C:\temp\test.pdf"
Dim gApp As New AcroApp()
Dim gPdDoc As New AcroPDDoc()
Dim gAvDoc As New AcroAVDoc()
try
' open the PDF
gAvDoc.Open(Template, "") 'This is the line where the exception is thrown
' do something
Catch ex As Exception
End Try
Can anyone please help me..Is there anything wrong with the acrobat Installation..It's the reinstall that fixed the issue. Turning off Automatic Updates has nothing to do with it, since when you reinstall after making that change it will reset that preference anyways.
If for some reason your COM objects are no longer registered with Windows, I would suggest a repair instead of a reinstall. From Acrobat, choose Help > Repair. -
Hi Experts,
I have created some tables & fields in my Addon. When i am running the code in SAP B1 8.8, some tables & fields are creating and some are not creating. it's throwing exception "The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))". yet i hv added the reference of 8.0.
When i am running in 2007 version its working fine and creating all the tables & Fields.
Please help me out.
Thanking all
Vishwajit KumarHi Vishwajit Kumar,
The data structure has been changed between versions. If your table has relationship with system table, you must review them all one by one.
Thanks,
Gordon -
I am working in SharePoint Server 2001 to extract its contents. My code was working fine. But it is now throwing exception
COMException: The server threw an exception. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT)) from the following code
var _xmlHttp = new XMLHTTP60Class();
var xmldoc = new DOMDocument60Class();
_xmlHttp.open("SEARCH", "http://sanz/merosite/",false, "sanz","sanz"); // throws exception
I have checked it in google but couldn't found any relevant solution. I am using
Interop.MSXML2 and Interop.PKMCDO dlls in my project. Please ! suggestor you can try this from SAP Note :1235603
This issue results from using the following code:
SAPbobsCOM.Field f = oPOrders.Lines.UserFields.Fields.Item("U_test")
Instead of the above syntax, you should use the following:
SAPbobsCOM.ProductionOrders_Lines f1 = oPOrders.Lines
SAPbobsCOM.Field f = f1.UserFields.Fields.Item("U_test")
Using the suggested syntax lets you perform the operation correctly. The issue does not happen with a regular connection.
The cause for this error in the behavior of the .NET Garbage Collector.
When the Garbage Collector is activated, it decided which memory to release and which not. In the example above, the parent object is release, while the child object (Field in our case) remains which causes the exception.
The Garbage Collectors activation is controlled by .NET. The DI cannot control its activation.
Thanks,
Neetu -
Hi,
I have installed FIM CM Client on one machine and FIM CM update service on another machine. Both are windows server 2008 r2 machines.
When i try to enroll a permanent smart card for a user, its shows me the following error:-
The version of OLE on the client and server machines does not match. (Exception from HRESULT: 0x80010110)
Also there is no logging done for the particular event.
I am able to change my smart card pin and view my smart card info. through the FIM CM client.
Is there a compatibility issue of FIM CM 2010 with Windows server 2008 r2?
ThanksHi,
Sorry for the delay in reply.
Please try the following steps first:
Open Powershell as Administrator
Go to Start--> Run and type wbemtest.exe.
•Click Connect.
•In the namespace text box type "root" (without quotes).
•Click Connect.
•Click Enum Instances…
•In the Class Info dialog box enter Superclass Name as "__ProviderHostQuotaConfiguration" (without quotes) and press OK. Note: the Superclass name includes a double underscore at the front.
•In the Query Result window, double-click "__ProviderHostQuotaConfiguration=@"
•In the Object Editor window, double-click HandlesPerHost.
•In the Value dialog, type in 8192
•Click Save Property.
•Click Save Object.
Under properties find the property "MemoryPerHost" or any other ones you need to modify and double click it
Change the value from 512 MB which is 536870912 to 1GB which is 1073741824
Click Save Property
Click Save Object.
•Close Wbemtest.
•Restart the computer.
And if all nodes are Windows server 2012, install the following update rollup as well:
Windows RT, Windows 8, and Windows Server 2012 update rollup: August 2013
http://support.microsoft.com/KB/2862768
If you have any feedback on our support, please send to [email protected] -
Hello,<o:p></o:p>
We have
been using the Calendar Printing assistant for a while an in the last 2 weeks
we have been receiving the following error on some of our shared calendars.<o:p></o:p>
There was a
problem accessing events for folder "User Name". Original Microsoft
Office Outlook 2007 error message: The RPC server is unavailable. (Exception from HRESULT: 0x80010105 (RPC_E_SERVERFAULT))<o:p></o:p>
Our current
configuration is:<o:p></o:p>
Server
Side:
Exchange 2010 on Windows Server 2008 R2 Standard SP1<o:p></o:p>
Desktop
Side:
Windows 7 Pro 64bit SP1
Office 2010 32bit <o:p></o:p>
I came
across a similar issue someone posted on http://answers.microsoft.com/en-us/office/forum/office_2010-outlook/office-2010-32bit-windows-7-64-bit-calendar/14b8bd09-ea6a-4302-96b4-16d09c3c0391
and was redirect to this site due to it possibly being an exchange issue.
Any help would be appreciated.<o:p></o:p>
Thanks,
AC<o:p></o:p>Hi,
Exchange server does not provide Calendar Printing assistant feature.
Is it an outlook add-ins?
Please check whether shared calendars can work properly in OWA. If there is no issue in OWA, the issue should not be related to Exchange server.
If the issue happens in OWA, please collect details of errors and post them here for more troubleshooting.
Thanks,
Winnie Liang
TechNet Community Support -
Hi,
I have a asp.net web application running on windows server 2008 with oracle server 10g installed.
now we are planning to run application on another server with same server as database server. but when the deployed on new server the login page comes up and after login System.DllNotFoundException: Unable to load DLL 'OraOps10.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E) exception is thrown. any help would highly be appreciated.Did you run the ODAC installer, OUI or xcopy, or did you just copy over Oracle.DataAccess.dll to the new machine? If the latter, then you need to run the installer to put in all the necessary Oracle DLLs ODP.NET references.
-
I have a 8 node cluster with Hyper-V, which will be 10 nodes when it's finally done.
Recently I've been try to add nodes and though that went fine, after about a week I could not open the Failover Cluster Manager anymore.
After some checking I found out that the latest added node was giving problems.
VM's on the node still run and function properly, but most Powershell commands result in a "The requested object does not exist. (Exception from HRESULT: 0x80010114)".
I can suspend the node with Suspend-ClusterNode, but draining roles was unsuccesful in one case.
In the other there were no VM's on the node so suspending went fine.
What I did find out was that when I tried to ping the node from another, proper functioning node, it took a while before the pinging started. It felt like the interface had to come back online on the problem node.
After that, I could add the cluster to the Failover Cluster Manager. However, Powershell commands still give a 0x80010114 error or a CIM error for when I use Get-NetAdapter.
A reboot resolves the problem, but only for about a week.
I know there is a topic with the same title already, but the wbemtest en rollup update "answer" is totally unclear to me why I should change something with wbemtest, or why to install updates that to me have nothing to do with this problem.
Before I did the ping test from a functioning node I pinged my DC and another node from the problem node just fine.
No waiting at all.
The cluster has three networks. Management (host only), Live Migration and iSCSI (also a VMSwitch for certain VM's).
I have no idea where to look. Evenviewer doesn't give me anything I can work with that I can find...Hi,
Are you using the HP servers? It seems is the HP Nic team service was causing the issue, please try to
disabled the HP NIC team service from services and restarted the WMI service.
The related third party information:
Advisory: (Revision) HP ProLiant Servers - Systems Running Microsoft Windows Server 2012 or 2012 R2 May Experience a Memory Leak Up To 5 Mb/ Hour for Some NIC Teaming Configurations
http://h20566.www2.hp.com/portal/site/hpsc/template.PAGE/public/kb/docDisplay/?javax.portlet.begCacheTok=com.vignette.cachetoken&javax.portlet.endCacheTok=com.vignette.cachetoken&javax.portlet.prp_ba847bafb2a2d782fcbb0710b053ce01=wsrp-navigationalState%3DdocId%253Demr_na-c04209163-2%257CdocLocale%253D%257CcalledBy%253D&javax.portlet.tpst=ba847bafb2a2d782fcbb0710b053ce01&ac.admitted=1401176219136.876444892.199480143
Hope this helps.
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
I've Main Report + 5 sub report. All of this in a 1 file named _rptBorang.rpt.
This _rptBorang.rpt consists of
1. Main Report
2. _spupimSPMBorang.rpt
3. _spupimSTPMBorang.rpt
4. _spupimSijilDiploma.rpt
5. _spupimKoQ.rpt
6. _spupimPilihanProg.rpt
When I preview the report, the Enter values dialog box ask 7 parameters. It's
1. idx
2. tbl_MST_Pemohon_idx
3. tbl_MST_Pemohon_idx(_spupimSPMBorang.rpt)
4. tbl_MST_Pemohon_idx(_spupimSTPMBorang.rpt)
5. tbl_MST_Pemohon_idx(_spupimSijilDiploma.rpt)
6. tbl_MST_Pemohon_idx(_spupimKoQ.rpt)
7. tbl_MST_Pemohon_idx(_spupimPilihanProg.rpt)
My ASP.NET code as following,
<%@ Page Language="VB" AutoEventWireup="false" CodeFile="_cetakBorang.aspx.vb" Inherits="_cetakBorang" title="SPUPIM" %>
<%@ Register assembly="CrystalDecisions.Web, Version=13.0.2000.0, Culture=neutral, PublicKeyToken=692fbea5521e1304" namespace="CrystalDecisions.Web" tagprefix="CR" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1n" runat="server">
<div align="center">
<asp:Label ID="lblMsg" runat="server" ForeColor="Red"></asp:Label>
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server"
AutoDataBind="true" />
</div>
</form>
</body>
</html>
Imports System.configuration
Imports System.Data.SqlClient
Imports System.Web.Security
Imports CrystalDecisions.Shared
Imports CrystalDecisions.CrystalReports.Engine
Partial Class _cetakBorang
Inherits System.Web.UI.Page
Private Const PARAMETER_FIELD_NAME1 As String = "idx"
Private Const PARAMETER_FIELD_NAME2 As String = "tbl_MST_Pemohon_idx"
Private Const PARAMETER_FIELD_NAME3 As String = "tbl_MST_Pemohon_idx(_spupimSPMBorang.rpt)"
Private Const PARAMETER_FIELD_NAME4 As String = "tbl_MST_Pemohon_idx(_spupimSTPMBorang.rpt)"
Private Const PARAMETER_FIELD_NAME5 As String = "tbl_MST_Pemohon_idx(_spupimSijilDiploma.rpt)"
Private Const PARAMETER_FIELD_NAME6 As String = "tbl_MST_Pemohon_idx(_spupimKoQ.rpt)"
Private Const PARAMETER_FIELD_NAME7 As String = "tbl_MST_Pemohon_idx(_spupimPilihanProg.rpt)"
Dim myReport As New ReportDocument
'rpt connection
Public rptSvrNme As String = ConfigurationManager.AppSettings("rptSvrNme").ToString()
Public rptUsr As String = ConfigurationManager.AppSettings("rptUsr").ToString()
Public rptPwd As String = ConfigurationManager.AppSettings("rptPwd").ToString()
Public rptDB As String = ConfigurationManager.AppSettings("rptDB").ToString()
Private Sub SetCurrentValuesForParameterField(ByVal reportDocument As ReportDocument, ByVal arrayList As ArrayList, ByVal paramFieldName As String)
Dim currentParameterValues As New ParameterValues()
For Each submittedValue As Object In arrayList
Dim parameterDiscreteValue As New ParameterDiscreteValue()
parameterDiscreteValue.Value = submittedValue.ToString()
currentParameterValues.Add(parameterDiscreteValue)
Next
Dim parameterFieldDefinitions As ParameterFieldDefinitions = reportDocument.DataDefinition.ParameterFields
Dim parameterFieldDefinition As ParameterFieldDefinition = parameterFieldDefinitions(paramFieldName)
parameterFieldDefinition.ApplyCurrentValues(currentParameterValues)
End Sub
Private Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
If Not IsPostBack Then
publishReport(Convert.ToInt32(Session("applicantIdx")), Convert.ToInt32(Session("applicantIdx")))
End If
End Sub
Private Sub publishReport(ByVal idx As Integer, ByVal tbl_MST_Pemohon_idx As Integer)
Try
Dim reportPath As String = String.Empty
reportPath = Server.MapPath("_rptBorang.rpt")
myReport.Load(reportPath)
myReport.SetDatabaseLogon(rptUsr, rptPwd, rptSvrNme, rptDB)
Dim arrayList1 As New ArrayList()
arrayList1.Add(idx)
SetCurrentValuesForParameterField(myReport, arrayList1, PARAMETER_FIELD_NAME1)
Dim arrayList2 As New ArrayList()
arrayList2.Add(tbl_MST_Pemohon_idx)
SetCurrentValuesForParameterField(myReport, arrayList2, PARAMETER_FIELD_NAME2)
Dim arrayList3 As New ArrayList()
arrayList3.Add(tbl_MST_Pemohon_idx)
SetCurrentValuesForParameterField(myReport, arrayList3, PARAMETER_FIELD_NAME3)
Dim arrayList4 As New ArrayList()
arrayList4.Add(tbl_MST_Pemohon_idx)
SetCurrentValuesForParameterField(myReport, arrayList4, PARAMETER_FIELD_NAME4)
Dim arrayList5 As New ArrayList()
arrayList5.Add(tbl_MST_Pemohon_idx)
SetCurrentValuesForParameterField(myReport, arrayList5, PARAMETER_FIELD_NAME5)
Dim arrayList6 As New ArrayList()
arrayList6.Add(tbl_MST_Pemohon_idx)
SetCurrentValuesForParameterField(myReport, arrayList6, PARAMETER_FIELD_NAME6)
Dim arrayList7 As New ArrayList()
arrayList7.Add(tbl_MST_Pemohon_idx)
SetCurrentValuesForParameterField(myReport, arrayList7, PARAMETER_FIELD_NAME7)
Dim parameterFields As ParameterFields = CrystalReportViewer1.ParameterFieldInfo
CrystalReportViewer1.ReportSource = myReport
Catch ex As Exception
lblMsg.Text = ex.Message
End Try
End Sub
Protected Sub Page_Unload(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Unload
myReport.Close()
End Sub
End Class
The result was, my ASP.NET return error --- > Invalid index. (Exception from HRESULT: 0x8002000B (DISP_E_BADINDEX))
I'm stuck
Really need help
Edited by: WKM1925 on Feb 22, 2012 11:49 AMFirst off, it would really be nice to have the version of CR you are using. Then
1) does this report work the CR designer?
2) What CR SDK are you using?
3) If .NET, what version?
4) Web or Win app?
5) What OS?
Then, please re-read your post and see if it actually makes any sense. To me, it's just gibberish...
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup
Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports] -
Hello,
I am creating an app using NAPA tool in Office 365. I am trying to "Add an attachment" to a custom list item using SPServices. When I am using my code (jquery code) in content editor web part on a page, its working fine, but when I am adding
the same code in an app, its giving me error : "The system cannot find the file specified. (Exception from HRESULT:
0x80070002)" - 500 Internal Server error.
(function () {
// This code runs when the DOM is ready and creates a context object which is
// needed to use the SharePoint object model
$(document).ready(function () {
//alert('In doc ready');
$('.attachmentButton').change(function(event){
var listName = 'UploadTest',
itemId = 2;
handleFileChange(listName,itemId,event.target.files);
function handleFileChange(listName,itemId,files){
alert('In handleFileChange :=' + listName + "" + itemId + "" + files[0]);
alert('files.length :=' + files.length);
var filereader = {},
file = {},
i=0;
//loop over each file selected
for(i = 0; i < files.length; i++) {
alert('In for loop');
file = files[i];
filereader = new FileReader();
filereader.filename = file.name;
alert('filereader.filename :=' + filereader.filename);
filereader.onload = function() {
var data = this.result;
var n=data.indexOf(";base64,") + 8;
//alert('n :=' + n);
//removing the first part of the dataurl give us the base64 bytes we need to feed to sharepoint
data= data.substring(n);
//alert('data :=' + data);
alert('Above SPServices this.filename :=' + this.filename);
$().SPServices({
operation: "AddAttachment",
listName: listName,
asynch: false,
listItemID:itemId,
fileName: this.filename,
attachment: data,
completefunc: function (xData, Status) {
console.log('attachment upload complete',xData,status);
alert('Status :=' + Status);
if (Status.toLowerCase() == "error"){
alert(xData.responseText);
alert(xData.status);
alert(xData.statusText);
filereader.onabort = function() {
alert("The upload was aborted.");
filereader.onerror = function() {
alert("An error occured while reading the file.");
//fire the onload function giving it the dataurl
filereader.readAsDataURL(file);
alert(xData.responseText); - gives error - " "The system cannot find the file specified. (Exception from HRESULT: 0x80070002)""
alert(xData.status); - gives error - "500"
alert(xData.statusText); - gives error - "Internal server error"
Server Publishing infrastructure and Server publishing features are activated on site collection and site respectively.
Any suggestions, why I am getting this error in NAPA ?Hi,
According to your post, my understanding is that you have an issue about adding attachments to list items in app.
To add attachment to list item in the host web, we should first get the list and the list items from the host web, then add the attachments to the list items.
There are two articles about retrieve the list and list items in the host web, you can refer to them.
http://www.dotnetcurry.com/showarticle.aspx?ID=1028
http://www.c-sharpcorner.com/UploadFile/93cb27/retrieve-sharepoint-app-host-web-list-items-in-sharepoint-ho/
What’s more, we can also use the REST API to achieve the same scenario.
http://www.c-sharpcorner.com/UploadFile/472cc1/add-attachments-to-list-items-in-sharepoint-2013-using-rest/
Thanks & Regards,
Jason
Jason Guo
TechNet Community Support
Maybe you are looking for
-
2 iPods, 2 User Accounts, One computer
Would I be correct in that each user on an XP based computer will have his own iTunes library, and when the iTunes is synced to the iPod, it would sync to the library of the account that is associated with that user. Is it that simple?? (the Natalie
-
ITunes is not fixing itself need help
I cannot use iTunes on my PC using windows vista home, I cannot remove it or try to do another install. I cannot reinstall using the disk or updates to install, remove, or repair it: Whenever I install via the download from Apple.com, the install sto
-
How to Import Member Aliases during Dimension build.
HI All , I have to build dimensions in Essbase using load rule files. I can create dimensions and its respected members. But problem is that i also want to assign aliases with member names in Essbase hierarchy. so How i can assign aliases (In source
-
hi, I saw sample application. In that application do_init method have following code. method do_init . Create an instance of the search model query ?= me->create_model( class_name = 'ZCL_MODEL' model_id = 'query' ). endmethod. Can anyone explain why
-
The e-license already fulfilled by another user
I bought some books using a PC but I didn't downloaded them right away: few days later I lost the PC: it was out of order! I'm working now with a notebook by which I'm able to buy and download other books but not the older ones. I can't download the