History | Log In     View a printable version of the current page.  
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
Component/s: None
Affects Version/s: 0.9.8_beta1, 0.9.8 Final, 0.9.8_Patch
Fix Version/s: 1.0.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File logaFor the Exception.txt (2 kb)

Issue Links:
Relationship
This issue Relates to:
WET-171 Create the Browser DOM Wrapper direct... Critical Closed
 


 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)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINNT/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
wet_script_assistant
    Assembly Version: 0.9.8.0
    Win32 Version: 0.9.8.0
    CodeBase: file:///C:/Qantom/WET/bin/wet_script_assistant.exe
----------------------------------------
log4net
    Assembly Version: 1.2.10.0
    Win32 Version: 1.2.10.0
    CodeBase: file:///C:/Qantom/WET/bin/log4net.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINNT/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
CookComputing.XmlRpcV2
    Assembly Version: 0.0.0.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Qantom/WET/bin/CookComputing.XmlRpcV2.DLL
----------------------------------------
XmlRpcProxy1b69b713-78d7-4100-8ebc-29d33f315c43
    Assembly Version: 0.9.8.0
    Win32 Version: 0.0.0.0
    CodeBase: file:///C:/Qantom/WET/bin/CookComputing.XmlRpcV2.dll
----------------------------------------
Interop.SHDocVw
    Assembly Version: 1.1.0.0
    Win32 Version: 1.1.0.0
    CodeBase: file:///C:/Qantom/WET/bin/Interop.SHDocVw.DLL
----------------------------------------
Microsoft.mshtml
    Assembly Version: 7.0.3300.0
    Win32 Version: 7.0.3300.0
    CodeBase: file:///C:/Qantom/WET/bin/Microsoft.mshtml.DLL
----------------------------------------
CustomMarshalers
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: file:///C:/WINNT/assembly/GAC_32/CustomMarshalers/2.0.0.0__b03f5f7f11d50a3a/CustomMarshalers.dll
----------------------------------------
HtmlEditor
    Assembly Version: 1.0.2424.22428
    Win32 Version: 1.0.2424.22428
    CodeBase: file:///C:/Qantom/WET/bin/HtmlEditor.DLL
----------------------------------------

************** 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.





 All   Comments   Work Log   Change History      Sort Order:
Suma - 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 - 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 - 23/Mar/07 03:47 AM
Cannot reproduce

Raghu Venkataramana - 02/Apr/07 11:10 PM
Close all RPC server issues due to C# dom layer implementation. Will open fresh issues when required.