Hello all,
I am in the process of developing a Windows Forms application that is
distributed via zero-touch. Unfortunately I have come across an obstacle! A
3rd party control that I am using seems to dynamically create an assembly.
When I run the .EXE locally on the development PC it is fine, if I also copy
all the files to the test PC it runs fine. But when I run it via
http://myIIS/ztd/app/ztd.exe from the test pc it fails and the cordbg
displays the following:
Microsoft (R) Common Language Runtime Test Debugger Shell Version 1.0.3705.0
Copyright (C) Microsoft Corporation 1998-2001. All rights reserved.
(cordbg) a 0x4d0
Process 1232/0x4d0 created.
Warning: couldn't load symbols for
c:\winnt\micros oft.net\framewo rk\v1.1.4322\ms
corlib.dll
Warning: couldn't load symbols for
C:\WINNT\Micros oft.NET\Framewo rk\v1.1.4322\IE
Exec.exe
Warning: couldn't load symbols for
c:\winnt\assemb ly\gac\ieexecre mote\1.0.5000.0
__b03f5f7f11d50 a3a\ieexecremot e.dll
Warning: couldn't load symbols for
c:\winnt\assemb ly\gac\system\1 .0.5000.0__b77a
5c561934e089\sy stem.dll
Warning: couldn't load symbols for
c:\winnt\assemb ly\gac\system.d rawing\1.0.5000
..0__b03f5f7f11 d50a3a\system.d rawing.dll
Warning: couldn't load symbols for
c:\winnt\micros oft.net\framewo rk\v1.1.4322\ms
corlib.dll
Warning: couldn't load symbols for
c:\winnt\assemb ly\gac\system\1 .0.5000.0__b77a
5c561934e089\sy stem.dll
Warning: couldn't load symbols for
c:\winnt\assemb ly\gac\system.d rawing\1.0.5000
..0__b03f5f7f11 d50a3a\system.d rawing.dll
Warning: couldn't load symbols for
c:\winnt\assemb ly\gac\ieexecre mote\1.0.5000.0
__b03f5f7f11d50 a3a\ieexecremot e.dll
Warning: couldn't load symbols for c:\documents and settings\swadmi n\local
setti
ngs\application
data\assembly\d l2\djzlwazx.1tk \x1r91ey8.dqq\b c19fa57\00171d2 b_d6
4ac401\ztdlaunc her.exe
Warning: couldn't load symbols for c:\documents and settings\swadmi n\local
setti
ngs\application
data\assembly\d l2\djzlwazx.1tk \x1r91ey8.dqq\9 0c3c914\00171d2 b_d6
4ac401\ztd2.dll
Warning: couldn't load symbols for
c:\winnt\assemb ly\gac\system.w indows.forms\1.
0.5000.0__b77a5 c561934e089\sys tem.windows.for ms.dll
[thread 0x480] Thread created.
Unable to determine existence of prolog, if any
[thread 0x48c] Thread created.
[thread 0x358] Thread created.
[thread 0x480] Unhandled exception generated: (0x04aac748)
<System.Securit y.Secu
rityException>
permissionType= <null>
permissionState =(0x04ab7af8) "<IPermissi on
class="System.S ecurity.Permiss ions.
SecurityPermiss ion, mscorlib, Version=1.0.500 0.0, Culture=neutral ,
PublicKeyToke
n=b77a5c561934e 089"
version="1"
Flags="ControlA ppDomain"/>
"
grantedSet=<nul l>
refusedSet=<nul l>
_className=(0x0 4aad6ec) "System.Securit y.SecurityExcep tion"
_exceptionMetho d=<null>
_exceptionMetho dString=(0x04ab 479c) "8 CheckTokenBased SetHelper mscorlib,
Vers
ion=1.0.5000.0, Culture=neutral , PublicKeyToken= b77a5c561934e08 9
System.Security
..CodeAccessSec urityEngine Void CheckTokenBased SetHelper(Boole an,
System.Security
..Util.TokenBas edSet, System.Security .Util.TokenBase dSet,
System.Security .Util.To
kenBasedSet)"
_message=(0x04a aeac0) "Request for the permission of type
System.Security .Perm
issions.Securit yPermission, mscorlib, Version=1.0.500 0.0, Culture=neutral ,
Publi
cKeyToken=b77a5 c561934e089 failed."
_innerException =<null>
_helpURL=<null>
_stackTrace=(0x 04ab8a3c) array with dims=[12]
_stackTraceStri ng=<null>
_remoteStackTra ceString=<null>
_remoteStackInd ex=0x00000000
_HResult=0x8013 150a
_source=(0x04ab 6804) "mscorlib"
_xptrs=0x000000 00
_xcode=0x000000 00
[05f5] int 3
(cordbg)
I hope someone can help!
Regards,
Alan Seunarayan