Thanks for the info Paulo!  I am using itextsharp 5.1.0.  The server is
running on my local machine so I assume I can add a tag in my web.config
like
<securityPolicy>

  <trustLevel name="Full" policyFile="internal"/>

</securityPolicy>


I will give it a try.


On Tue, Jun 7, 2011 at 9:15 AM, <
itext-questions-requ...@lists.sourceforge.net> wrote:

> Send iText-questions mailing list submissions to
>        itext-questions@lists.sourceforge.net
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        https://lists.sourceforge.net/lists/listinfo/itext-questions
> or, via email, send a message with subject or body 'help' to
>        itext-questions-requ...@lists.sourceforge.net
>
> You can reach the person managing the list at
>        itext-questions-ow...@lists.sourceforge.net
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of iText-questions digest..."
>
>
> Today's Topics:
>
>   1. IIS 7.5 and iTextSharp (Robert F)
>   2. Re: Do I need an iText-License (Siegfried Raab)
>   3. Re: IIS 7.5 and iTextSharp (Paulo Soares)
>   4. Re: XML for rotated Cell Text (AllenD)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 6 Jun 2011 14:12:31 -0400
> From: Robert F <robfri...@gmail.com>
> Subject: [iText-questions] IIS 7.5 and iTextSharp
> To: itext-questions@lists.sourceforge.net
> Message-ID: <BANLkTinE3b67yyLV8CmcHhcJSepsD2S_=a...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All,
>
> I am pulling my hair out here searching for an answer.  I have developed a
> web app (ASP.NET VB.NET) with MS Visual Web Developer 2010 Express.  When
> I
> preview the code using the included Development Server, with the .dll in
> the
> bin dir, it works perfectly.  However, when I publish it to my IIS7.5
> server, I get an error:
>
> BC30002: Type 'Document' is not defined.
>
> in this line...
>
> Dim document As New Document(PageSize.A4)
>
> Is this a security problem, or do I have to modify my server configuration?
>
> Thanks! McF
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: Mon, 6 Jun 2011 21:26:14 +0200
> From: "Siegfried Raab" <s...@dvhaus.de>
> Subject: Re: [iText-questions] Do I need an iText-License
> To: "'Post all your questions about iText here'"
>        <itext-questions@lists.sourceforge.net>
> Message-ID: <001201cc247f$9a2c9000$ce85b000$@de>
> Content-Type: text/plain; charset="utf-8"
>
> Hi alexis,
>
> Thanks for answering and although You aren?t a lawyer You helped me.
>
> Cheers,
>
> siegfried
>
>
>
> Von: Alexis Pigeon [mailto:pigeon.ale...@gmail.com]
> Gesendet: Montag, 6. Juni 2011 16:29
> An: Post all your questions about iText here
> Betreff: Re: [iText-questions] Do I need an iText-License
>
>
>
> Hi siegfried,
>
> On 6 June 2011 16:00, Siegfried Raab <s...@dvhaus.de> wrote:
>
> Hallo,
>
> I am wondering if I need a iText license in the following case:
>
> I would like to use iText 5 within a non-open-source software and to ship
> iText wthin this non-open-source software, but only the translated code of
> iText, not the sources. In this case, do I need a iText license or have I to
> make my code open source?
>
>
> It's up to you. You either publish your software under a compatible
> opensource license, or you buy a commercial license.
>
>
> Could somebody answer me this question bindingly?
>
>
> IANAL, nor affiliated in any way to the different iText companies, so don't
> take my answer for granted.
> Their sales dept might get in touch with you, if they have not done it
> already.
>
>
> Cheers,
> alexis
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 3
> Date: Tue, 7 Jun 2011 10:40:13 +0100
> From: Paulo Soares <psoa...@glintt.com>
> Subject: Re: [iText-questions] IIS 7.5 and iTextSharp
> To: Post all your questions about iText here
>        <itext-questions@lists.sourceforge.net>
> Message-ID:
>        <9ebdede8f2a6cb46b40cca75cf4726d504dadc9...@glinttmail.glintt.com>
> Content-Type: text/plain; charset="us-ascii"
>
> iTextSharp needs full trust (it may work in partial trust but needs to be
> slightly changed and recompiled). What iTextSharp version are you using?
>
> Paulo
>
> ________________________________
> From: Robert F [mailto:robfri...@gmail.com]
> Sent: Monday, June 06, 2011 7:13 PM
> To: itext-questions@lists.sourceforge.net
> Subject: [iText-questions] IIS 7.5 and iTextSharp
>
> Hi All,
>
> I am pulling my hair out here searching for an answer.  I have developed a
> web app (ASP.NET<http://ASP.NET> VB.NET<http://VB.NET>) with MS Visual Web
> Developer 2010 Express.  When I preview the code using the included
> Development Server, with the .dll in the bin dir, it works perfectly.
>  However, when I publish it to my IIS7.5 server, I get an error:
>
> BC30002: Type 'Document' is not defined.
>
> in this line...
>
> Dim document As New Document(PageSize.A4)
>
> Is this a security problem, or do I have to modify my server configuration?
>
> Thanks! McF
>
>
> Aviso Legal:
> Esta mensagem é destinada exclusivamente ao destinatário. Pode conter
> informação confidencial ou legalmente protegida. A incorrecta transmissão
> desta mensagem não significa a perca de confidencialidade. Se esta mensagem
> for recebida por engano, por favor envie-a de volta para o remetente e
> apague-a do seu sistema de imediato. É proibido a qualquer pessoa que não o
> destinatário de usar, revelar ou distribuir qualquer parte desta mensagem.
>
> Disclaimer:
> This message is destined exclusively to the intended receiver. It may
> contain confidential or legally protected information. The incorrect
> transmission of this message does not mean the loss of its confidentiality.
> If this message is received by mistake, please send it back to the sender
> and delete it from your system immediately. It is forbidden to any person
> who is not the intended receiver to use, distribute or copy any part of this
> message.
>
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 4
> Date: Tue, 7 Jun 2011 06:15:12 -0700 (PDT)
> From: AllenD <adem...@massmutual.com>
> Subject: Re: [iText-questions] XML for rotated Cell Text
> To: itext-questions@lists.sourceforge.net
> Message-ID: <1307452512060-3579554.p...@n4.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> I have an old copy f the iText.dtd (see below).  It may be unofficial but
> it
> had the basic building blocks to make the XML required by iText to process
> into a PDF.  It is old and does not illustrate the attributes and
> parameters
> for Cell rotation that I have seen is programmatically possible:
>
>  cell.setRotation(90);
>
> I guess what I am asking is what is the XML generated/affected by the
> cell.rotation call?
>
> Allen
>
>
>
>
> &lt;!ENTITY % chunk.content &quot;#PCDATA | newline | newpage | entity |
> ignore&quot;&gt;
> &lt;!ENTITY % phrase.content &quot;chunk | anchor | phrase | list | table |
> annotation&quot;&gt;
>
> &lt;!ENTITY % color.attributes
> &quot;red      CDATA   #IMPLIED
>  green    CDATA   #IMPLIED
>  blue     CDATA   #IMPLIED&quot;
> &gt;
> &lt;!ENTITY % font.attributes
> &quot;font     CDATA   #IMPLIED
>  size     CDATA   #IMPLIED
>  style    CDATA   #IMPLIED
>  color    CDATA   #IMPLIED
>  %color.attributes;&quot;
> &gt;
> &lt;!ENTITY % phrase.attributes
> &quot;leading  CDATA   #IMPLIED&quot;
> &gt;
> &lt;!ENTITY % paragraph.attributes
> &quot;align    CDATA   #IMPLIED&quot;
> &gt;
> &lt;!ENTITY % indentation.attributes
> &quot;indentationleft    CDATA   #IMPLIED
>  indentationright   CDATA   #IMPLIED&quot;
> &gt;
> &lt;!ENTITY % section.attributes
> &quot;depth              CDATA   #IMPLIED
>  numberdepth        CDATA   #IMPLIED
>  indent             CDATA   #IMPLIED&quot;
> &gt;
> &lt;!ENTITY % rectangle.attributes
> &quot;bgred              CDATA   #IMPLIED
>  bggreen            CDATA   #IMPLIED
>  bgblue             CDATA   #IMPLIED
>  width              CDATA   #IMPLIED
>  bordercolor        CDATA   #IMPLIED
>  backgroundcolor    CDATA   #IMPLIED
>  left               CDATA   #IMPLIED
>  right              CDATA   #IMPLIED
>  top                CDATA   #IMPLIED
>  bottom             CDATA   #IMPLIED
>  borderwidth        CDATA   #IMPLIED
>  grayfill           CDATA   #IMPLIED&quot;
> &gt;
>
> &lt;!ELEMENT itext (%chunk.content; | %phrase.content; | chapter |
> paragraph)*&gt;
> &lt;!ATTLIST itext
>        title           CDATA   #IMPLIED
>        subject         CDATA   #IMPLIED
>        keywords        CDATA   #IMPLIED
>        author          CDATA   #IMPLIED
> &gt;
>
> &lt;!ELEMENT symbol EMPTY&gt;
> &lt;!ATTLIST symbol
>    id      CDATA #REQUIRED
> &gt;
>
> &lt;!ELEMENT chunk (%chunk.content;)*&gt;
> &lt;!ATTLIST chunk
>    %font.attributes;
>    subsupscript        CDATA   #IMPLIED
>    localgoto           CDATA   #IMPLIED
>    localdestination    CDATA   #IMPLIED
>    generictag          CDATA   #IMPLIED
> &gt;
>
> &lt;!ELEMENT phrase (%chunk.content; | %phrase.content;)*&gt;
> &lt;!ATTLIST phrase
>    %font.attributes;
>    %phrase.attributes;
> &gt;
>
> &lt;!ELEMENT anchor (%chunk.content; | %phrase.content;)*&gt;
> &lt;!ATTLIST anchor
> %font.attributes;
>    %phrase.attributes;
>    name       CDATA   #IMPLIED
>    reference  CDATA   #IMPLIED
> &gt;
>
> &lt;!ELEMENT paragraph (%chunk.content; | %phrase.content; | image)*&gt;
> &lt;!ATTLIST paragraph
>    %font.attributes;
>    %phrase.attributes;
>    %indentation.attributes;
>    %paragraph.attributes;
> &gt;
>
> &lt;!ELEMENT list (listitem | ignore)*&gt;
> &lt;!ATTLIST list
>    %font.attributes;
>    %indentation.attributes;
>    numbered       CDATA   #IMPLIED
>    symbolindent   CDATA   #IMPLIED
>    first          CDATA   #IMPLIED
>    listsymbol     CDATA   #IMPLIED
> &gt;
>
> &lt;!ELEMENT listitem (%chunk.content; | %phrase.content; | image)*&gt;
> &lt;!ATTLIST listitem
>    %font.attributes;
>    %phrase.attributes;
>    %indentation.attributes;
>    %paragraph.attributes;
> &gt;
>
> &lt;!ELEMENT chapter (title?, sectioncontent) &gt;
> &lt;!ATTLIST chapter
>    %section.attributes;
>    %indentation.attributes;
> &gt;
>
> &lt;!ELEMENT section (title?, sectioncontent) &gt;
> &lt;!ATTLIST section
>    %section.attributes;
>    %indentation.attributes;
> &gt;
>
> &lt;!ELEMENT title (%chunk.content; | phrase | chunk | annotation)*&gt;
> &lt;!ATTLIST title
>    %font.attributes;
>    %phrase.attributes;
>    %indentation.attributes;
>    %paragraph.attributes;
> &gt;
>
> &lt;!ELEMENT sectioncontent (%chunk.content; | %phrase.content; | section |
> paragraph | image)*&gt;
>
> &lt;!ELEMENT table (cell*)&gt;
> &lt;!ATTLIST table
>    %color.attributes;
>    %paragraph.attributes;
>    %rectangle.attributes;
>    columns        CDATA   #IMPLIED
>    lastHeaderRow  CDATA   #IMPLIED
>    cellpadding    CDATA   #IMPLIED
>    cellspacing    CDATA   #IMPLIED
>    widths         CDATA   #IMPLIED
> &gt;
>
> &lt;!ELEMENT row (cell*)&gt;
> &lt;!ELEMENT cell (%chunk.content; | %phrase.content; | paragraph |
> image)*&gt;
> &lt;!ATTLIST cell
>    %color.attributes;
>    %phrase.attributes;
>    %indentation.attributes;
>    %rectangle.attributes;
>    colspan    CDATA   #IMPLIED
>    rowspan    CDATA   #IMPLIED
>    header     CDATA   #IMPLIED
>    nowrap     CDATA   #IMPLIED
> &gt;
>
> &lt;!ELEMENT image EMPTY&gt;
> &lt;!ATTLIST image
>    url             CDATA   #REQUIRED
>    align           CDATA   #IMPLIED
>    underlying      CDATA   #IMPLIED
>    textwrap        CDATA   #IMPLIED
>    alt             CDATA   #IMPLIED
>    absolutex       CDATA   #IMPLIED
>    absolutey       CDATA   #IMPLIED
>    plainwidth      CDATA   #IMPLIED
>    plainheight     CDATA   #IMPLIED
>    rotation        CDATA   #IMPLIED
> &gt;
>
> &lt;!ELEMENT annotation EMPTY&gt;
> &lt;!ATTLIST annotation
>    title       CDATA   #IMPLIED
>    content     CDATA   #IMPLIED
> &gt;
>
> &lt;!ELEMENT newpage EMPTY&gt;
> &lt;!ELEMENT newline EMPTY&gt;
> &lt;!ELEMENT entity EMPTY&gt;
> &lt;!ATTLIST entity
>    id CDATA #IMPLIED
> &gt;
> &lt;!ELEMENT ignore EMPTY&gt;
>
>
> Balder wrote:
> >
> > On 23/05/2011 17:56, AllenD wrote:
> >> <NewGuyAlert>
> >> I am taking data from an API call and translating it with XSLT.  I have
> >> seen
> >> in other posts that you can programmaticly rotate text in a cell 90
> >> degrees.
> >> Does anyone have a sample of what that cell with text in it at 90
> degrees
> >> would look like?  Or a link to the newest DTD for the itext XML?
> > I'm sorry, could be me, but what are you talking about? DTD iText XML ?
> >>   The DTD
> >> version I have seems to be too old to support this function...
> >> </NewGuyAlert>
> >>
> >> Best Regards,
> >> Allen
> >>
> >>
> >> --
> >> View this message in context:
> >>
> http://itext-general.2136553.n4.nabble.com/XML-for-rotated-Cell-Text-tp3544508p3544508.html
> >> Sent from the iText - General mailing list archive at Nabble.com.
> >>
> >>
> ------------------------------------------------------------------------------
> >> What Every C/C++ and Fortran developer Should Know!
> >> Read this article and learn how Intel has extended the reach of its
> >> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> >> developers boost performance applications - including clusters.
> >> http://p.sf.net/sfu/intel-dev2devmay
> >> _______________________________________________
> >> iText-questions mailing list
> >> iText-questions@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/itext-questions
> >>
> >> iText(R) is a registered trademark of 1T3XT BVBA.
> >> Many questions posted to this list can (and will) be answered with a
> >> reference to the iText book: http://www.itextpdf.com/book/
> >> Please check the keywords list before you ask for examples:
> >> http://itextpdf.com/themes/keywords.php
> >
> > --
> > @redlabbe &lt;http://twitter.com/redlabbe&gt;
> > redlab-log &lt;http://www.redlab.be/blog&gt;
> >
> >
> ------------------------------------------------------------------------------
> > vRanger cuts backup time in half-while increasing security.
> > With the market-leading solution for virtual backup and recovery,
> > you get blazing-fast, flexible, and affordable data protection.
> > Download your free trial now.
> > http://p.sf.net/sfu/quest-d2dcopy1
> > _______________________________________________
> > iText-questions mailing list
> > iText-questions@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/itext-questions
> >
> > iText(R) is a registered trademark of 1T3XT BVBA.
> > Many questions posted to this list can (and will) be answered with a
> > reference to the iText book: http://www.itextpdf.com/book/
> > Please check the keywords list before you ask for examples:
> > http://itextpdf.com/themes/keywords.php
> >
>
>
> --
> View this message in context:
> http://itext-general.2136553.n4.nabble.com/XML-for-rotated-Cell-Text-tp3544508p3579554.html
> Sent from the iText - General mailing list archive at Nabble.com.
>
>
>
> ------------------------------
>
>
> ------------------------------------------------------------------------------
> EditLive Enterprise is the world's most technically advanced content
> authoring tool. Experience the power of Track Changes, Inline Image
> Editing and ensure content is compliant with Accessibility Checking.
> http://p.sf.net/sfu/ephox-dev2dev
>
> ------------------------------
>
> _______________________________________________
> iText-questions mailing list
> iText-questions@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/itext-questions
>
> iText(R) is a registered trademark of 1T3XT BVBA
>
> End of iText-questions Digest, Vol 61, Issue 8
> **********************************************
>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to