Jump to content

Facing an error in ASP.NET

- - - - -

  • Please log in to reply
6 replies to this topic

#1
qasimbilal

qasimbilal

    Newbie

  • Members
  • PipPip
  • 10 posts
Hi,
i am creating a pdf using asp.net c#. I am using iTextSharp library but facing a security error.
System.Security.SecurityException: That assembly does not allow partially trusted callers.
please guide
thanks

#2
chandru8

chandru8

    Newbie

  • Members
  • Pip
  • 4 posts
Host the dll into bin(use gacutil) and try it,if you need any help check netprogramminghelp.com,contains two good articles,
1.How to export a image into pdf using iTextsharp
2.How to export a dataset into pdf using iTextsharp

#3
qasimbilal

qasimbilal

    Newbie

  • Members
  • PipPip
  • 10 posts
thanks
You have solved my problem.

#4
dmaxcreative

dmaxcreative

    Newbie

  • Members
  • Pip
  • 3 posts
hi, Difference between ASP & ASP.NET...? Is both are same or not....?

#5
WingedPanther

WingedPanther

    A spammer's worst nightmare

  • Moderators
  • 16,822 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others
They are completely different.
Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

#6
gokuajmes

gokuajmes

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 518 posts
Well ASP.NET is based on codebehind methodology where the user writes codes for events on buttons,image,and others.Also a lot of improvements security wise .ASP is just a Spaghetti code you write Html and C#,VB.NET or other .NET enabled code on the same file.

#7
questionspoint

questionspoint

    Newbie

  • Members
  • PipPip
  • 15 posts
I was getting the same problem and i got it solved when i gave permissions to Asp_net machine account.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users