RD Web Access Issues - ASP.NET Error 3005/1309
this morning ran issue rd web access site displaying ugly runtime error after user tried log on.
server error in '/rdweb/pages' application.
http://i53.tinypic.com/280qctx.jpg
runtime error
last night patched session host servers not web access server. the current configuration web access server has "one or more remoteapp sources" chosen , session hosts listed there. we performed iis reset on web access server , error went away users had no remoteapps. i went list shs in configuration tab , saying not connect server , make sure web servers in ts web access group on sh. they because has been working fine weeks. i had restart web access server icons come back. in event log, found this:
log name: application
source: asp.net 2.0.50727.0
date: 1/28/2011 9:42:56 am
event id: 1334
task category: none
level: error
keywords: classic
user: n/a
computer: rdwa.domain.com
description:
an unhandled exception occurred , process terminated.
application id: /lm/w3svc/1/root/rdweb/pages
process id: 2908
exception: system.runtime.interopservices.comexception
message: object invoked has disconnected clients. (exception hresult: 0x80010108 (rpc_e_disconnected))
stacktrace: at system.runtime.interopservices.marshal.throwexceptionforhrinternal(int32 errorcode, intptr errorinfo)
@ system.management.sinkforeventquery.cancel()
@ system.management.managementeventwatcher.stop()
@ system.management.managementeventwatcher.finalize()
before error, there bunch of warnings saw error page:
log name: application
source: asp.net 2.0.50727.0
date: 1/28/2011 8:58:18 am
event id: 1309
task category: web event
level: warning
keywords: classic
user: n/a
computer: rdwa.domain.com
description:
event code: 3005
event message: unhandled exception has occurred.
event time: 1/28/2011 8:58:18 am
event time (utc): 1/28/2011 1:58:18 pm
event id: e9162089c2544dc29534696031106242
event sequence: 4862
event occurrence: 177
event detail code: 0
application information:
application domain: /lm/w3svc/1/root/rdweb/pages-1-129373314399437216
trust level: full
application virtual path: /rdweb/pages
application path: c:\windows\web\rdweb\pages\
machine name: rdwa
process information:
process id: 2908
process name: w3wp.exe
account name: iis apppool\rdwebaccess
exception information:
exception type: comexception
exception message: rpc server unavailable. (exception hresult: 0x800706ba)
request information:
request url: http://rdwa.domain.com/rdweb/pages/en-us/default.aspx
request path: /rdweb/pages/en-us/default.aspx
user host address: 192.168.111.92
user: user123
is authenticated: true
authentication type: forms
thread account name: iis apppool\rdwebaccess
thread information:
thread id: 6
thread account name: iis apppool\rdwebaccess
is impersonating: false
stack trace: at system.runtime.interopservices.marshal.throwexceptionforhrinternal(int32 errorcode, intptr errorinfo)
@ system.management.sinkforeventquery.cancel()
@ system.management.managementeventwatcher.stop()
@ microsoft.terminalservices.publishing.portal.rwsterminalserveraccessor.getfreshapplications()
@ microsoft.terminalservices.publishing.portal.rwsterminalserveraccessor.getapplications(string strsid)
@ microsoft.terminalservices.publishing.portal.rapwebservice.getremoteapps(string strsid)
@ microsoft.terminalservices.publishing.portal.remoteapps.getremoteappsfromwebservice()
@ microsoft.terminalservices.publishing.portal.remoteapps.writeremoteapptoclient(htmltextwriter writer)
@ microsoft.terminalservices.publishing.portal.remoteapps.rendercontents(htmltextwriter writer)
@ system.web.ui.webcontrols.webcontrol.render(htmltextwriter writer)
@ microsoft.terminalservices.publishing.portal.tsportalwebpart.renderapps(htmltextwriter writer)
@ microsoft.terminalservices.publishing.portal.tsportalwebpart.rendercontents(htmltextwriter writer)
@ system.web.ui.webcontrols.webcontrol.render(htmltextwriter writer)
@ system.web.ui.webcontrols.webparts.webpartchrome.renderwebpart(htmltextwriter writer, webpart webpart)
@ system.web.ui.webcontrols.webparts.webpartzonebase.renderbody(htmltextwriter writer)
@ system.web.ui.webcontrols.webparts.webzone.rendercontents(htmltextwriter writer)
@ system.web.ui.webcontrols.compositecontrol.render(htmltextwriter writer)
@ system.web.ui.webcontrols.webparts.webpartzonebase.render(htmltextwriter writer)
@ asp.en_us_default_aspx.__renderform1(htmltextwriter __w, control parametercontainer) in c:\windows\web\rdweb\pages\en-us\default.aspx:line 387
@ system.web.ui.control.renderchildreninternal(htmltextwriter writer, icollection children)
@ system.web.ui.htmlcontrols.htmlform.renderchildren(htmltextwriter writer)
@ system.web.ui.htmlcontrols.htmlform.render(htmltextwriter output)
@ system.web.ui.htmlcontrols.htmlform.rendercontrol(htmltextwriter writer)
@ asp.en_us_default_aspx.__render__control1(htmltextwriter __w, control parametercontainer) in c:\windows\web\rdweb\pages\en-us\default.aspx:line 237
@ system.web.ui.control.renderchildreninternal(htmltextwriter writer, icollection children)
@ system.web.ui.page.render(htmltextwriter writer)
@ system.web.ui.page.processrequestmain(boolean includestagesbeforeasyncpoint, boolean includestagesafterasyncpoint)
custom event details:
hi tim,
when configured point 1 or more rdsh servers, rdwa communicates rdsh servers via wmi. sounds me when patched rdsh servers, somehow interrupted communications in way caused exception in wmi client code on rdwa machine. because error saw com exception, , under covers wmi implemented using com.
it sounds issue stopped occuring once rebooted rdwa server, fits theory: whatever issue was, resolved when forced rdwa create new wmi connection rdsh. have been accomplished iisreset or (i think) recycling app pool.
i interested know patches installed on rdsh servers triggered issue.
travis howe | rds blog: http://blogs.msdn.com/rds/default.aspx
Windows Server > Remote Desktop Services (Terminal Services)
Comments
Post a Comment