Issue Details (XML | Word | Printable)

Key: WET-263
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Unassigned
Reporter: Suma
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
WET

Getting the exception saying that RPC server is unavailable.

Created: 11/Oct/06 05:27 AM   Updated: 02/Apr/07 11:10 PM   Resolved: 23/Mar/07 03:47 AM
Component/s: None
Affects Version/s: 0.9.8_beta1, 0.9.8 Final, 0.9.8_Patch
Fix Version/s: 1.0.0

File Attachments: 1. Text File logaFor the Exception.txt (2 kB) 11/Oct/06 05:31 AM - Suma

Issue Links:
Relationship
 


 Description  « Hide

This seems a known issue...
But hitting with this exception frequently.
Suddenly a pop window came up with the following exception:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

                            • Exception Text **************
                              System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'mshtml.IHTMLElement'. This operation failed because

the QueryInterface call on the COM component for the interface with IID '{3050F1FF-98B5-11CF-BB82-00AA00BDCE0B}' failed due to the following error:

The RPC server is unavailable. (Exception from HRESULT: 0x800706BA).
at Script_assistant.MsHtmlView.MapElements(HTMLDocument mDoc, String parUid) in C:\svn_wet\main\openqa\src\MsHtmlView.cs:line 187
at Script_assistant.MsHtmlView.SyncBrowserView(Int32 windowHandle) in C:\svn_wet\main\openqa\src\MsHtmlView.cs:line 172
at Script_assistant.MsHtmlView.SyncWithBrowser(Int32 windowHandle) in C:\svn_wet\main\openqa\src\MsHtmlView.cs:line 66
at Script_assistant.MsHtmlView.SyncWithBrowser() in C:\svn_wet\main\openqa\src\MsHtmlView.cs:line 61
at Script_assistant.MsHtmlView.RefreshBrowser() in C:\svn_wet\main\openqa\src\MsHtmlView.cs:line 338
at Script_assistant.MsHtmlView.timer1_Tick(Object sender, EventArgs e) in C:\svn_wet\main\openqa\src\MsHtmlView.cs:line 528
at System.Windows.Forms.Timer.OnTick(EventArgs e)
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

                            • JIT Debugging **************
                              To enable just-in-time (JIT) debugging, the .config file for this
                              application or computer (machine.config) must have the
                              jitDebugging value set in the system.windows.forms section.
                              The application must also be compiled with debugging
                              enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



Sort Order: Ascending order - Click to sort in descending order
Suma added a comment - 11/Oct/06 05:31 AM

Work Aound:

Whenever I run into this issue , I continued working by restarting all the applications.

Attaching the log file


Raghu Venkataramana added a comment - 13/Oct/06 12:11 PM

This problem is actually beginning to bog users - quite often we are seeing users run into this. May be it is another reason why WET-171 should be considered for fixing in 1.0 again?


Raghu Venkataramana added a comment - 23/Mar/07 03:47 AM

Cannot reproduce


Raghu Venkataramana added a comment - 02/Apr/07 11:10 PM

Close all RPC server issues due to C# dom layer implementation. Will open fresh issues when required.