Welcome Guest Search | Active Topics | Sign In | Register

Where to find some critical docs Options
Simflex
Posted: Thursday, July 12, 2012 11:19:14 AM
Rank: Newbie
Groups: Member

Joined: 7/12/2012
Posts: 7
Greetings Experts.

This is my FIRST time here and I am completely new to eopdf product.

So, please take it easy on me.

First, I am trying out some of the sample codes on your documentations and I am running into some serious issues.

First, I have this tag:

<eo:aspxtopdf runat="server" ID="ASPXToPDF1" />

Then I got this error: Unknown server tag 'eo:ASPXToPDF'.

I am thinking that I need to register some dll or something that allows to for the tag to be recognized as being legal. I have already registered both the web.eo.dll and the regul eo.dll.

Problem persists.

Also, I am getting following error:

Then the following sub is also generating an error:
Code: Visual Basic.NET
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs)
        'Render the current page to PDF
        ASPXToPDF1.RenderAsPDF()
    End Sub


Error: ASPXToPDF1 is not declared

Is there some ASPXToPDF1.vb that I need to place in app_code folder or something?

I need some serious help. All my web searches so far have produced nothing.

Thanks a lot in advance.
eo_support
Posted: Thursday, July 12, 2012 11:29:46 AM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

You need to have a %Register directive at the top of your page to register the "eo" prefix. You can copy it directly from our sample page if you do not know what it is. If you wish to know more about it, you can search ASP.NET documentations. That's standard ASP.NET syntax.

Thanks!
Simflex
Posted: Thursday, July 12, 2012 11:45:21 AM
Rank: Newbie
Groups: Member

Joined: 7/12/2012
Posts: 7
Hi,

Thanks a lot for the prompt response.

Yes, you are right; the @directive is a standard asp.net syntax and I know how to use it; I just didn't where it was until your response.

BTW: We are a licensed customer of your product. We bought it thinking it was plug and play. It is not; so please bear with me as I will frequent here for some help in getting the pieces put together.
Simflex
Posted: Thursday, July 12, 2012 1:01:58 PM
Rank: Newbie
Groups: Member

Joined: 7/12/2012
Posts: 7
Hello, again;

I'm using the AspxtoPdf control on my aspx markup page. On codebehind, I have:
Code: Visual Basic.NET
Protected Sub Button1_Click(ByVal sender As Object, ByVal e As EventArgs)

EO.Pdf.Runtime.AddLicense( _LicenceNumber_)

        'Render the current page to PDF
        ASPXToPDF1.RenderAsPDF()
    End Sub


When I run this, it displays Created with EO.Pdf for .NET. http://www.essentialobjects.com.

Isn't this supposed to go away with license?

I am curious - no malice intended.

Thank you very much.


eo_support
Posted: Thursday, July 12, 2012 1:28:47 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Hi,

Please PM us your license id so that we can verify your license first.

As to the license code, try to call it inside your Global class's Application_Start handler.

As to web service, that again has nothing to do with us. You should seek other channels for such questions.

Thanks!
Simflex
Posted: Thursday, July 12, 2012 1:44:54 PM
Rank: Newbie
Groups: Member

Joined: 7/12/2012
Posts: 7
I just sent the license. I don't know if it is your standard practice but pls keep strickly btw you guys and ME.
eo_support
Posted: Thursday, July 12, 2012 1:59:09 PM
Rank: Administration
Groups: Administration

Joined: 5/27/2007
Posts: 24,195
Simflex wrote:
I don't know if it is your standard practice but pls keep strickly btw you guys and ME.


We have no problem with that unless we feel it's necessary to verify with the purchaser to make sure that you are authorized to use the product. Your license seems fine so far so we have no issue with it.

Thanks!
Simflex
Posted: Thursday, July 12, 2012 2:01:30 PM
Rank: Newbie
Groups: Member

Joined: 7/12/2012
Posts: 7
I was able to put code in global.asx and the issue is solved.

I guess I need to work out the web service thing somewhere else.

Thanks


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.