.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
 
Sign In
Register
 
Win Surprise Gifts!!!
Congratulations!!!


Top 5 Contributors of the Month
david stephan

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Dll Error

Posted By: Jayakumar     Posted Date: February 23, 2011    Points:2   Category :ASP.Net
hi

I have using dll in my bin folder i am hosted to server following
error comes how to rectify this any one solve this step by step

System.Security.SecurityException: That assembly does not allow partially trusted callers.




Responses
Author: Manas Patnaik             
Posted Date: February 23, 2011     Points: 5   

I guess you are trying to deploy on Shared hosting ?

Let us know does your Host Provider support Middle/Partial Trust Asp Hosting .

And Is the DLL is a 3rd party assembly or yours ?

Manas Patnaik
http://manaspatnaik.com/blog
Author: Jayakumar             
Posted Date: February 23, 2011     Points: 5   

hi

yes i am Publish my web include 3 party dll when i hosted this error comes
how to find assembly name corresponding dll what is the solution this bug



Regards
Name : R.Jayakumar(JK)
Email Id : kumaraspcode2009@gmail.com
Author: Manas Patnaik             
Posted Date: February 23, 2011     Points: 5   

Change the Webconfig file to show complete detail of error

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

It can be series of DLLs ? if you know the Exact DLL then check with its properties and let us know the Name ,Version and Built.

Manas Patnaik
http://manaspatnaik.com/blog
Author: Jayakumar             
Posted Date: February 24, 2011     Points: 5   

hi

how to error show from server below code

customErrors mode="Off"

already security error comes how to solve


Regards
Name : R.Jayakumar(JK)
Email Id : kumaraspcode2009@gmail.com
Author: Manas Patnaik             
Posted Date: February 24, 2011     Points: 5   

Sorry ,Didnot get you.

Can you please post the exact error (Do Copy and Paste) you are getting ?

Manas Patnaik
http://manaspatnaik.com/blog
Author: Jayakumar             
Posted Date: February 24, 2011     Points: 5   

hi

Manas Patnaik
thanks Your Reply

did not support here attachment .zip file


can u help me

Regards
Name : R.Jayakumar(JK)
Email Id : kumaraspcode2009@gmail.com
Author: Manas Patnaik             
Posted Date: February 24, 2011     Points: 5   

No need to upload the DLL .Mention the assembly name and its properties .

Also Copy and paste the exact error you are getting from the app.

Thanks.

Manas Patnaik
http://manaspatnaik.com/blog
Author: Jayakumar             
Posted Date: February 24, 2011     Points: 5   

hi

Manas Patnaik
thanks Your Reply
here did not able attachment file
can i know Your Email id I will send You this requirement most urgent for me
can you help me.



Regards
Name : R.Jayakumar(JK)
Email Id : kumaraspcode2009@gmail.com
Author: Manas Patnaik             
Posted Date: February 24, 2011     Points: 5   

No Problem , mine is manas002002 AT gmail.com

But i will not be able to access gmail until 8.00 in the eve :(.

So it will be better if you can continue here with Error Description .

Thanks.

Manas Patnaik
http://manaspatnaik.com/blog


Post Reply

You must Sign In To post reply
 
 
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend