O:\Adam\CODE>CreateClose.exe
1
Unhandled Exception: System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.SecurityPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
at Microsoft.VisualBasic.Interaction.CreateObject(String ProgId, String ServerName)
at ConsoleApplication1.Module1.Main()
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions.SecurityPermission
The first permission that failed was:
The demand was for:
The granted set of the failing assembly was:
The assembly or AppDomain that failed was:
CreateClose, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
The method that caused the failure was:
Void Main()
The Zone of the assembly that failed was:
Internet
The Url of the assembly that failed was:
file:///O:/Adam/CODE/CreateClose.exe
O:\Adam\CODE>