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

New Message on BDOTNET

-----------------------------------------------------------
From: Wolverine
Message 1 in Discussion


                hi,
                Im working in an ASP.NET app. When i am trying to load an
assembly through AppDomain,
                i am getting the following error:

                "Request for the permission of type
System.Security.Permissions.SecurityPermission, mscorlib,
Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
failed."

                when i trying to just load the assembly, using LoadFrom
method of Assembly class, it is working fine. But when i try to load the
same assembly using Load method of AppDomain, it is giving the above error.
                The only reason i want to use through AppDomain is, that
particular assembly which i am trying to load is using one config file and i
am not able to set that to Assembly directly for the current AppDomain. If i
create separate AppDomain, then i can set configuration file path to
AppDomain set up. 

                any help regarding this will be of great use to me.... 

                AJ
>  
> 
____________________________________________
Confidential:  This electronic message and all contents contain information
from Syntel, Inc. which may be privileged, confidential or otherwise
protected from disclosure. The information is intended to be for the
addressee only. If you are not the addressee, any disclosure, copy,
distribution or use of the contents of this message is prohibited.  If you
have received this electronic message in error, please notify the sender
immediately and destroy the original message and all copies.


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

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