-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Rajeshtirur
Message 1 in Discussion

Hi, I am facing some Securiy permission issues in my windows application. My 
win form application execute on one system where i have installed VS 2005. But 
the exe is not running on other system where i have installed .net framework 
2.0. It is giving following exeption. If any one cud direct me, it will be 
grateful.    
See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box. 
************** Exception Text **************
System.Security.SecurityExcepti<WBR>on: Request for the permission of type 
'System.Security.Permissions<WBR>.FileIOPermission, mscorlib, Version=2.0.0.0 , 
Culture=neutral, PublicKeyToken=b77a5c561934e089<WBR>' failed.
   at System.Security.CodeAccessSecur<WBR>ityEngine.Check(Object demand, 
StackCrawlMark& stackMark, Boolean isPermSet)
   at System.Security.CodeAccessPermi<WBR>ssion.Demand ()
   at System.Windows.Forms.IntSecurit<WBR>y.DemandFileIO(FileIOPermissionAccess 
access, String fileName)
   at System.Windows.Forms.FileDialog<WBR>.get_FileName()
   at UIlayer.frmEmailBlaster<WBR>.bOpenDB_Click(Object sender, EventArgs e) 
   at System.Windows.Forms.Control<WBR>.OnClick(EventArgs e)
   at System.Windows.Forms.Button<WBR>.OnClick(EventArgs e)
   at System.Windows.Forms.Button<WBR>.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control<WBR>.WmMouseUp (Message& m, MouseButtons 
button, Int32 clicks)
   at System.Windows.Forms.Control<WBR>.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase<WBR>.WndProc(Message& m)
   at System.Windows.Forms.Button<WBR>.WndProc (Message& m)
   at System.Windows.Forms.Control<WBR>.ControlNativeWindow.OnMessage(Message& 
m)
   at System.Windows.Forms.Control<WBR>.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWind<WBR>ow.Callback (IntPtr hWnd, Int32 msg, 
IntPtr wparam, IntPtr lparam)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Security.Permissions<WBR>.FileIOPermission
The Zone of the assembly that failed was: ></SCRIPT>  
Intranet 

************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: 
file:///C:/WINNT/Microsoft.NET<WBR>/Framework/v2.0.50727/mscorlib<WBR>.dll
------------------------------<WBR>----------
EmailBlaster
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file://rajesh/Email_Manager<WBR>/EmailBlaster.exe
------------------------------<WBR>----------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: 
file:///C:/WINNT/assembly/GAC<WBR>_MSIL/System.Windows.Forms/2.0<WBR>.0.0__b77a5c561934e089/System<WBR>.Windows.Forms.dll
------------------------------<WBR>----------
System
    Assembly Version: 2.0.0.0 
    Win32 Version: 2.0.50727.42 (RTM.050727-4200)
    CodeBase: 
file:///C:/WINNT/assembly/GAC<WBR>_MSIL/System/2.0.0.0__b77a5c561<WBR>934e089/System.dll
 
------------------------------<WBR>----------
System.Drawing >

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member 
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you 
received this message by mistake, please click the "Remove" link below. On the 
pre-addressed e-mail message that opens, simply click "Send". Your e-mail 
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to