Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
|
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 7th, 2011, 07:06 AM
Registered User
 
Join Date: Feb 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation Error ' ASP 0106: 80020005 ', not corresponding types

Hello ,
it's my first post in this forum
Here we are, I use the class FDPF to generate a pdf which contains a message to be shown in Arabic.
Here is the code of the page test.asp:
Code:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="65001"%>
 
 
<!-- #include file="fpdf.asp " -->
<%
   Set pdf=CreateJsObject("FPDF")
   set objInformations = server.createobject("ADODB.RECORDSET")
   pdf.CreatePDF()
   pdf.SetPath("fpdf/")
   pdf.Open()
   pdf.AddPage()
  
 
    '----------------------------------------------------------------------
    ' Entête du document
    '----------------------------------------------------------------------
    pdf.AddFont "amien"
    'pdf.SetFont "amien", "",6
    pdf.SetTextColor 0,0,0
    pdf.Cell 0,5, "الاتحاد المغربي" ,"",1,"L"
    pdf.Cell 0,5,"","",1,"C"
    pdf.Close()
    
    
    pdf.Output()
%>
and here what i get :

<p>Objet Response</font> <font face="Arial" size=2>error 'ASP 0106 : 80020005'</font>
<p>
<font face="Arial" size=2>not corresponding types</font>
<p>
<font face="Arial" size=2>/ing2010/ing_scripts/fr/pdf/fpdf.asp </font><font face="Arial" size=2>, line 892</font>


in the line 892 i have this :
Code:
Response.BinaryWrite(outB.Read())
fpdf is here :http://www.mediafire.com/?krut876p02r388p
any ideas please ?
 
Old February 7th, 2011, 12:01 PM
Registered User
 
Join Date: Feb 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default where are you my friends???

come on guys please ,
i really need your help , if anything is not clear enough , ask me and
i 'll be pleased to answer
 
Old February 15th, 2011, 02:19 AM
Friend of Wrox
 
Join Date: Oct 2004
Posts: 198
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via MSN to itHighway
Default

Quote missing in line - pdf.Cell 0,5, "الاتحاد المغربي" ,"",1,"L"
 
Old February 19th, 2011, 06:10 AM
Registered User
 
Join Date: Feb 2011
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by itHighway View Post
Quote missing in line - pdf.Cell 0,5, "الاتحاد المغربي"
,"",1,"L"
accually , it is not the reason , the paste was wrong ,
but the problem is that fpdf doesn't treat right to left langage , so my problem is not going to work , one solution left and it's with asp.Net
good luck for everyone and thank you for answering me ;)





Similar Threads
Thread Thread Starter Forum Replies Last Post
New operation types scott.nortman BOOK: Professional Microsoft Robotics Studio ISBN: 978-0-470-14107-6 1 June 30th, 2008 05:14 AM
as,in and reference types error msg..... raykaash C# 2005 2 January 8th, 2008 07:14 AM
Filter File Types in ASP.NET File Upload ramuis78 ASP.NET 2.0 Basics 2 May 31st, 2007 10:50 AM
Types DARSIN Oracle 2 February 5th, 2005 12:14 AM
Dim Types in ASP? rmwalters2000 Classic ASP Basics 2 August 11th, 2004 12:28 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.