Re: [WiX-users] That assembly does not allow partially trusted callers
And here is the message I am receiving at the moment Y:\CustomSolutions\STC_ISMS\system\Windows\Wix\candle.exe ServerLibs.wxs candle.exe : error CNDL0001 : Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Exception Type: System.Security.SecurityException Stack Trace: at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.DirectoryInfo..ctor(String path) at Microsoft.Tools.WindowsInstallerXml.Common.GetFiles(String searchPath, String fileType) at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.ParseCommandLine(String[] args) dave_c wrote: Hi everyone, It has been a while since I last worked on this stuff and am getting the security warning again. Unfortunately my pc has hadto be replaced so any settings I had have now been lost. I have Wix installed on a network share in the following location Y:\Wix Could someone tell me what I need to put in the Membership Permissions window please as when I put in file://\\Y\Wix I still see the same error. -- View this message in context: http://www.nabble.com/That-assembly-does-not-allow-partially-trusted-callers-tf3308114.html#a11140949 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] That assembly does not allow partially trusted callers
Hi everyone, It has been a while since I last worked on this stuff and am getting the security warning again. Unfortunately my pc has hadto be replaced so any settings I had have now been lost. I have Wix installed on a network share in the following location Y:\Wix Could someone tell me what I need to put in the Membership Permissions window please as when I put in file://\\Y\Wix I still see the same error. -- View this message in context: http://www.nabble.com/That-assembly-does-not-allow-partially-trusted-callers-tf3308114.html#a11140665 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] That assembly does not allow partially trusted callers
Try: caspol -ag 1 -url file://Y:\Wix FullTrust From: [EMAIL PROTECTED] on behalf of dave_c Sent: Fri 6/15/2007 16:41 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] That assembly does not allow partially trusted callers And here is the message I am receiving at the moment Y:\CustomSolutions\STC_ISMS\system\Windows\Wix\candle.exe ServerLibs.wxs candle.exe : error CNDL0001 : Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Exception Type: System.Security.SecurityException Stack Trace: at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.DirectoryInfo..ctor(String path) at Microsoft.Tools.WindowsInstallerXml.Common.GetFiles(String searchPath, String fileType) at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.ParseCommandLine(String[] args) dave_c wrote: Hi everyone, It has been a while since I last worked on this stuff and am getting the security warning again. Unfortunately my pc has hadto be replaced so any settings I had have now been lost. I have Wix installed on a network share in the following location Y:\Wix Could someone tell me what I need to put in the Membership Permissions window please as when I put in file://\\Y\Wix file://Y/Wix I still see the same error. -- View this message in context: http://www.nabble.com/That-assembly-does-not-allow-partially-trusted-callers-tf3308114.html#a11140949 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] That assembly does not allow partially trusted callers
Recommended: don't place WiX on a network drive. Copy the tools to your local file system. They have not been tested with any form of Code Access Security. If you wanted, you could add the WiX public key to the Full Trust level. To do this, open .NET Framework 2.0 Configuration (or 1.1, but in your case it looks like you don't have 1.1 installed so it's using 2.0) from Administrative Tools. Click 'Configure Code Access Security Policy'. Click 'Increase Assembly Trust'. In the wizard, decide whether to alter the machine policy or only that for your current user. Enter the path to candle.exe. Click Next. On the next page, select 'All assemblies with the same assembly public key token'. Untick 'Include version number' unless you want to repeat this every time you upgrade WiX. Click Next. Crank the slider all the way up to 'Full Trust'. Click through the wizard to finish and apply the setting. Untested, use at your own risk, but should work. -- Mike Dimmick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dave_c Sent: 15 June 2007 15:41 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] That assembly does not allow partially trusted callers And here is the message I am receiving at the moment Y:\CustomSolutions\STC_ISMS\system\Windows\Wix\candle.exe ServerLibs.wxs candle.exe : error CNDL0001 : Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. Exception Type: System.Security.SecurityException Stack Trace: at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.DirectoryInfo..ctor(String path) at Microsoft.Tools.WindowsInstallerXml.Common.GetFiles(String searchPath, String fileType) at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.ParseCommandLine(String[] args) dave_c wrote: Hi everyone, It has been a while since I last worked on this stuff and am getting the security warning again. Unfortunately my pc has hadto be replaced so any settings I had have now been lost. I have Wix installed on a network share in the following location Y:\Wix Could someone tell me what I need to put in the Membership Permissions window please as when I put in file://\\Y\Wix I still see the same error. -- View this message in context: http://www.nabble.com/That-assembly-does-not-allow-partially-trusted-callers -tf3308114.html#a11140949 Sent from the wix-users mailing list archive at Nabble.com. - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] That assembly does not allow partially trusted callers
I want to store the Wix compiler code in a central location under source control within our organisation so that everyone that ends up using Wix uses a standard build. When I added to source control and tried to bruild a single file I get the following error message. Does anyone know what is causing it? All files have read and execute on them except for directories which have read, write and execute. The files are store on a unix system, mounted onto Windows using source control system called Clearcase. W:\Wixcandle.exe ..\..\..\wirelessDashboard\InstallDir\Installer\ServerGraphics .wxs Unhandled Exception: System.Security.SecurityException: That assembly does not a llow partially trusted callers. at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly a sm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, Secur ityAction action, Object demand, IPermission permThatFailed) at Microsoft.Tools.WindowsInstallerXml.Tools.Candle..ctor() at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Main(String[] args) The action that failed was: LinkDemand The assembly or AppDomain that failed was: candle, Version=2.0.4820.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad The Zone of the assembly that failed was: Intranet The Url of the assembly that failed was: file:///W:/Wix/candle.exe W:\Wix -- View this message in context: http://www.nabble.com/That-assembly-does-not-allow-partially-trusted-callers-tf3308114.html#a9201781 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] That assembly does not allow partially trusted callers
http://www.georgewesolowski.com/blog/PermaLink,guid,4cc5fcdf-cc68-4cf0-a083-b22a8bdc92d6.aspx On 2/28/07, dave_c [EMAIL PROTECTED] wrote: I want to store the Wix compiler code in a central location under source control within our organisation so that everyone that ends up using Wix uses a standard build. When I added to source control and tried to bruild a single file I get the following error message. Does anyone know what is causing it? All files have read and execute on them except for directories which have read, write and execute. The files are store on a unix system, mounted onto Windows using source control system called Clearcase. W:\Wixcandle.exe ..\..\..\wirelessDashboard\InstallDir\Installer\ServerGraphics .wxs Unhandled Exception: System.Security.SecurityException: That assembly does not a llow partially trusted callers. at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly a sm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, Secur ityAction action, Object demand, IPermission permThatFailed) at Microsoft.Tools.WindowsInstallerXml.Tools.Candle..ctor() at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Main(String[] args) The action that failed was: LinkDemand The assembly or AppDomain that failed was: candle, Version=2.0.4820.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad The Zone of the assembly that failed was: Intranet The Url of the assembly that failed was: file:///W:/Wix/candle.exe W:\Wix -- View this message in context: http://www.nabble.com/That-assembly-does-not-allow-partially-trusted-callers-tf3308114.html#a9201781 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] That assembly does not allow partially trusted callers
Thanks for that. Following the instructions in the blog fixed the problem. Regards Dave C. Simon Dahlbacka wrote: http://www.georgewesolowski.com/blog/PermaLink,guid,4cc5fcdf-cc68-4cf0-a083-b22a8bdc92d6.aspx On 2/28/07, dave_c [EMAIL PROTECTED] wrote: I want to store the Wix compiler code in a central location under source control within our organisation so that everyone that ends up using Wix uses a standard build. When I added to source control and tried to bruild a single file I get the following error message. Does anyone know what is causing it? All files have read and execute on them except for directories which have read, write and execute. The files are store on a unix system, mounted onto Windows using source control system called Clearcase. W:\Wixcandle.exe ..\..\..\wirelessDashboard\InstallDir\Installer\ServerGraphics .wxs Unhandled Exception: System.Security.SecurityException: That assembly does not a llow partially trusted callers. at System.Security.CodeAccessSecurityEngine.ThrowSecurityException(Assembly a sm, PermissionSet granted, PermissionSet refused, RuntimeMethodHandle rmh, Secur ityAction action, Object demand, IPermission permThatFailed) at Microsoft.Tools.WindowsInstallerXml.Tools.Candle..ctor() at Microsoft.Tools.WindowsInstallerXml.Tools.Candle.Main(String[] args) The action that failed was: LinkDemand The assembly or AppDomain that failed was: candle, Version=2.0.4820.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad The Zone of the assembly that failed was: Intranet The Url of the assembly that failed was: file:///W:/Wix/candle.exe W:\Wix -- View this message in context: http://www.nabble.com/That-assembly-does-not-allow-partially-trusted-callers-tf3308114.html#a9201781 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- View this message in context: http://www.nabble.com/That-assembly-does-not-allow-partially-trusted-callers-tf3308114.html#a9203415 Sent from the wix-users mailing list archive at Nabble.com. - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users