Foxit Corporation Forums  

Go Back   Foxit Corporation Forums > Portable Document Format (PDF) Tools > Foxit PDF IFilter

Foxit PDF IFilter Foxit IFilter helps users to index a large amount of PDF documents and then quickly find text within these documents.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old April 14th, 2008, 12:48 PM
absalom60 absalom60 is offline
Junior Member
 
Join Date: Apr 2008
Posts: 1
absalom60 is an unknown quantity at this point
Default Ifilter For Sql 2005

I am attempting to set up the IFILTER for SQL 2005 and according to the manual
you should be able to set up a web page via the code below. however I have not been able to get this to work correctly -- has anyone been successful in doing this?


using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using System.IO;
public void OnUpload(Object sender, EventArgs e)

{
//Create a byte[] from input file
int len = File1.PostedFile.ContentLength;
byte[] PdfText=new byte[len];
File1.PostedFile.InputStream.Read(PDFText, 0, len);
//Insert the Image and Comment into the database
SQLConnection connection = new
SQLConnection(@"server=xxxx;database=Sxxxx;uid=xx; pwd=xxxx");
try
{
connection.Open();
SQLCommand cmd = new SqlCommand("insert into pdf" + "(PdfText, PdfId, Ext) values (@PdfText, @PdfId, @Ext)",connection);
//insert values into three colums.
cmd.Parameters.Add("@PdfText", PdfText);
cmd.Parameters.Add("@Pdfid". 1);//Only upload 1 PDF at a time
cmd.Parameters.Add("@Ext", ".pdf");
cmd.ExecuteNonQuery();
}
finally
{
Connection.Close();
}
}
Reply With Quote
  #2  
Old April 15th, 2008, 11:03 PM
AmyLin AmyLin is offline
Moderator
 
Join Date: Feb 2007
Posts: 89
AmyLin is an unknown quantity at this point
Default

It just a method to test whether the Foxit PDF IFilter work fine in you SQL server 2005.
Reply With Quote
  #3  
Old June 1st, 2009, 02:01 AM
emily emily is offline
Moderator
 
Join Date: Aug 2008
Posts: 38
emily will become famous soon enough
Default

Hello Helma,
I think SQL Server 2005 Analysis Services Filter webpart is also support excel services. About your problem, please to contact Microsoft, you can get the better reply by this way.
Emily
Reply With Quote
  #4  
Old July 5th, 2009, 12:42 PM
Logityler Logityler is offline
Junior Member
 
Join Date: Jul 2009
Posts: 1
Logityler is an unknown quantity at this point
Default Ifilter For Sql 2005

An ability to execute scripts is put into MS SQL Server syntax. So you can just write a script through ; and execute it. This method can be used for all scripts except CREATE PROCEDURE - this query always must be the first in the script.

> detach and attach

Try to close a connection, change parameters and re-connect
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 06:15 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2005-2008 Foxit Corporation. All rights reserved.