Posted on 2011-03-21
System.Runtime.InteropServices.COMException (ASP > ASP.NET - Windows Server 2003 Only)
Hello. I have an ASP Page (Works on WinXP / Win2003) and converted it to ASP.NET. The ASP.NET page views in WinXP and Win2003 but whenever I try to call a specific method, via a button, then I get the following Error:
The remote procedure call failed. (Exception from HRESULT: 0x800706BE) ON mySessonOb.myMethod(1, 1, 0);
This only occurs on Windows Server 2003 (The page and method call works perfectly in Windows XP). If I try again (without closing the browser first) I get "The RPC server is unavailable. (Exception from HRESULT: 0x800706BA)", but I dont' think this is relevant (since the 1st error is what always happens first).
Some notes: The site uses other COM objects that are working with both Win2003 and WinXP. Win2003 has "NETWORK SERVICE" permissions set on all the COM objects and WinXP has "ASPNET" permissions set. The only difference with this object is that its being set in the global.asax file by the following