Linking a PDF to a SQL Server
Is there a way to filling, ie customer information fields, using a SQL server using a PDF? I am trying to create a document that allows the company I work for to create a Invoice using the information they already have on their server.
You can do it with XFA forms in LiveCycle Designer, but not with PDF forms in Acrobat.
Similar Messages
-
Urgent:db link from oracle 10g to sql server 2000
Hi
I have a db link 10g from oracle to sql server 2000. This was created a couple of years ago. This is working.
I have now created another db link from same oracle server to the same sql server but it is not working.
But I am getting ORA-28500 and IM002 error
.Please advise.
I am unable to understand what is wrong because I have followed the hs odbc set up on this db link in the same way as I had done 2 yrs ago.
Thanks
ShailajaJust sorted the problem.
Basically I am using HSODBC to communicate from Oracle (on windows 2003 64 bit) to SQL Server.
To do this, I need to create a ODBC connection from Oracle to SQL Server.
HSODBC is a 32 bit application and hence we have to use the ODBC 32 bit driver when we create the ODBC connection.
When I created the ODBC connection from Oracle to SQL Server, I was using the ODBC 64 bit driver and hence the system was unable to find the data source name.
I have now created ODBC connection from Oracle to SQL Server using the ODBC 32 bit driver and everything works fine now.
No offence to anyone but as you all work using Oracle software , I was hoping a better response than some of the above responses. You can just say that you didnt understand the question or you dont know the reason why that happened.
I just listed how the problem was sorted so that any one in future having the same problem can benefit. -
Linking Siebel Sample DB and SQL Server
Hi Gurus,
I have installed siebel in my laptop for learning purposes and i want to query the Sample DB in the process. Can anyone tell me how to link the sample DB and SQL Server 2008, so that i can query the sample db in the similar the way i query a normal siebel database server.
I already tried to create a linked server in SQL Server 2008 using Microsoft OLE DB Provider for ODBC drivers, but its throwing errors. Is it possible to create a linked server for sample DB.
Please let me know if there is any other way to query the sample DBIn the BIN directory you can find dbisqlc.exe.
Fill in the login credentials (SADMIN/SADMIN), don't set the ODBC, but go to the next tab and browse to the sample db.
It could be that you don't see it until you set the file filter to all files. -
How to print pdf file in SQL Server Reporting services report using command prompt?
Is there a way to automatically print a SQL Server Reporting services report on command prompt? For eg: We can save a pdf file using rs.exe utility. I want to print a pdf using rs.exe utility. Is it possible? I don't want to install any 3rd party software.
Thanks Simon for replying to my question.
In oracle form, there is oracle command to print the report from command prompt with the help of rwrun.exe
e.g: rwrun.exe REPORT="D:\Test\REP_25\MLA.REP" DESNAME="testprinter" DESTYPE="PRINTER" P_FORMNAME="MLA.FMX" P_SPRACHE="E" P_SPRACHE_NR2="1" P_WHERE_BEDINGUNG="order by land_nr" USERID="test/test.world" PSV_NAME="PSV_DEMO" PSV_JOB_ID="PS$9583" RECURSIVE_LOAD="NO"
BATCH="YES" NONBLOCKSQL="NO" ARRAYSIZE="1" PARAMFORM="NO" ERRFILE="c:\temp\psv16.tmp"<
and to save the report we just need to change DESNAME="c:\temp\OC_100001349.pdf" DESTYPE="FILE" in above command instead of DESNAME="testprinter" DESTYPE="PRINTER".
DESNAME and DESTYPE are the input parameters of the respective report.
In SSRS, we can run the file from the command prompt and save it.
rs -i "C:\Users\pujarswa\Documents\reports\new\LoadReport.rss" -s ww2004760:80/ReportServer_MSSQL -v fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf"
-v reportPath="/TipsReport/LoadListTabular" -t -v format="PDF" -v LandNr=4 -u ap\swati -p test@# -e Exec2005
But we cannot use same command for printing as you said we need to create another script for printing files.
I have gone through the links but I dont want to use Adobe Acrobat Reader exe for printing because client it may not have Adobe Acrobat Reader on their machine.
Also I want to pass a input parameter as type="Printer" to my report which will print directly for me and same I can acheive in command prompt passing type="Printer" fileName="C:\Users\pujarswa\Desktop\TipsReportLoad.pdf" -
Adobe PDF iFilter 9 for 64-bit platforms does not index my PDF files in SQL server database
hi all
I need your help
i have this asp.net site which works with sql server
it searches a specific word in the database with full text search
in my database i have a column of type image that holds a PDF file
i want my SP to search for given word in my file
so i installed the Adobe Ifilter
configured it and every thing worked fine
but after i moved to production Server and installed every thing the same way ...it did not create the index for the pdf files
i can search for doc and docx and even for xml but not pdf
i know i installed it correctly since it is working great in the testing environment
i used this link for the configuration
http://www.adobe.com/special/acrobat/configuring_pdf_ifilter_for_ms_sql_server_2005.pdf
the only difference i see between my Testing environment and my Production environment is that
my testing has
windows sever 2003 sp2 with Sql server 2005 64 bit std sp2 -- works fine
my production has
windows sever 2003 R2sp2 with Sql server 2005 64 bit ent sp3 --does not work, does not index my pdf files
can you tell me if there are problems with some environments ?
are there any known problems with this Ifilter ?
what should i do ..Thank you
I opened it in the Acrobat Windows forum
http://forums.adobe.com/message/2557155#2557155
meidad Evyoni -
How to connect a PDF form to SQL server database through web service?
Hi,
I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
I really appreciate your help and advice.Hi,
I'm new to LiveCycle designer. I have designed a PDF form in LC designer ES2, which suppose to take a personnel number and retrieve the personnel information from a SQL server database. Currently its working fine with XML data and a search button, but I need to securly connect to a database through web service. I know how to connect to a wsdl file through designer. What I need is a wsdl file to connect the form to database. For this purpose, is there any WSDL code to use as the web service?
I really appreciate your help and advice. -
LiveCycle PDF form and SQL Server connection
I'd really like to move from a server-scripted event registration form to a LiveCycle online PDF form, submitted by email and redirecting the user to a Webpage.
The only obstacle I can see is a dropdown list of users, where a user selects his/her name and then proceeds to choose an event, date, and time. On my
Webpage form now (scripted in ColdFusion), I use a CFSELECT, which works perfectly. But in looking at LiveCycle, I see that it supports an OLEDB but probably
not a connection to SQL Server or Oracle. Am I correct? Or is there some workaround that will populate my dropdown list?Hello!
Download jTDS - SQL Server and Sybase JDBC driver from http://sourceforge.net/project/showfiles.php?group_id=33291
In Oracle SQL Developer open Tools -> Preferences
Database -> Third Party JDBC Drivers
Add Entry
Browse the unzipped driver and add the jtds-1.2.jar file
emeriqus -
How to store and retrieve a PDF form to SQL Server from LiveCycle?
My intention is to save a complete PDF form into a database and then later on retrieve this form from DB.
To do this, SQL Server has got two datatypes, image or Varbinary(max). I am able to store a PDF using "Execute SQL Statement"(I have written an Insert statement). Some value is being written into DB as well.
But when I try to retrieve this record using "Query Single Row"(I store the result to a doc variable), the retrieved PDF is of an unknown type and cannot be opened by Adobe Reader.
I am not sure if my approach is correct. Is it possible to store/retrieve a PDF form to/from a DB through LiveCycle?
If yes, please give me some guidance.hi
am not sure
but u can use the same concept as storing image in db and retrieve..
create a blob column
parse that pdf and store into that column.
again u retrieve the content and via file io make the same name with pdf extension.. -
Which version of crystal reports can link to Windev 14 and SQL server 2008 applications
I am developing an application with windev 14 and sql server 2008, i would like to know which version of crystal report can i use?
Hi GS,
Move to .NET SDK forum.
I don't know how CR for Visual Studio will integrate into WinDev but to get the installer for VS 2010/2012/2013 go to this page:
SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
It's the runtime for CR 2011 or 2013 now.
As for SQL 2008 you need to install the Client tools and when creating reports use the SQLNCLI10.dll as the client DB driver for ODBC or OLE DB.
Don -
Data type error when linking Salesforce field to MS SQL Server field?
Hello. I'm using CR XI R2 SP4 with the Salesforce 3.0 driver. I have MS SQL 2000 SP4. I want to create a standard report that links the Salesforce Contacts table with a table in my local SQL 2000 database - the table also contains a column with the contact ID values. When I try to link using the Contact ID field, Crystal gives me an error "Data types are not compatible."
The ID column data type in my SQL database is CHAR(18). Is there a type I should use to make it work with Salesforce?
Thanks
DavidThanks for your reply. In Salesforce, ID is a special data type - I don't know what it would match in SQL. I'll have to open a case with them to see if they can tell me.
-
Linking Documaker Studio to database (SQL server 2005)
Hi,
How can we link DAP 11.5 to my database and do a check-in and check-out of forms ?813614 wrote:
Hi,
How can we link DAP 11.5 to my database and do a check-in and check-out of forms ?See page 331 of the Documaker Studio user guide. You may not be using Studio with 11.5, but the INI options are listed in this document. Here's a link to the document itself.
http://download.oracle.com/docs/cd/E16256_01/dmstudioguide.pdf
Enjoy!
Andy -
Full-Text search is not working with PDF files - SQL Server 2012 64 bit
Hi,
We are in the process of storing PDF files in SQL Server 2012 with Full-Text search capability.
I followed the steps as below and it works fine with word document but not for PDF files. I tried with PDF ifiler 11 & 9 and both are unsuccessful.
Server/DB Level Settings:
1)
Enable FileStream
2)
Install Full-Text
then restart
3)
Use [specific db]
alter
database [db name]
add
filegroup Files
contains filestream;
alter
database [db name]
add
file (
name = N'Files',
filename =
N'D:\SQL\DATA') to
filegroup [Files];
3)
Database level
Settings:
FileStream:
FileStream
Directory name:
[Set the name]
FileStream
non-transacted
Access: [set Appropriate]
3a)
Add a
datafile to DB
with filestreamdata
filetype.
4)
Share D:\SQL\DATA
directory and
add specific accounts
with read/write
access
5)
Give bulkadmin
access to those
specific accounts
at server
level
6)
From the
page (link)
download and
install the *.pdf
IFilter for
FTS. Link:
http://www.adobe.com/support/downloads/detail.jsp?ftpID=5542
7)
To the
PATH global system
variable add
path to the
catalog,
where you installed
the plugin.
Default for
this version is:
C:\Program
Files\Adobe\Adobe
PDF iFilter 9
for 64-bit
platforms\bin
8)
From the
page (link)
download a
FilterPackx64.exe
and install
it. Link:
http://www.microsoft.com/en-us/download/confirmation.aspx?id=20109
9)
Now from
SSMS execute the following
procedures:
-sp_fulltext_service
'load_os_resources',1
-sp_fulltext_service
'verify_signature', 0
EXEC
sp_fulltext_service
'update_languages';
-- update language list
EXEC
sp_fulltext_service
'restart_all_fdhosts';
-- restart daemon
reconfigure
with override;
10)
Restart the
server
11)
select document_type,
path from
sys.fulltext_document_types
where document_type
= '.pdf'
-select
document_type,
path from sys.fulltext_document_types
where document_type
= '.docx'
12) Results are OK.
Following is my Table /Index/ catalog script:
CREATE
TABLE dbo.DocumentFilesTest
DocumentId INT
IDENTITY(1,1)
NOT NULL
PRIMARY KEY,
AddDate datetime
NOT NULL,
Name nvarchar(50)
NOT NULL,
Extension nvarchar(10)
NOT NULL,
Description nvarchar(1000)
NULL,
FileStream_Id UNIQUEIDENTIFIER
ROWGUIDCOL NOT
NULL UNIQUE DEFAULT
NEWSEQUENTIALID(),
FileSource varbinary(MAX)
FILESTREAM DEFAULT(0x)
go
--Add default add date for document
ALTER
TABLE dbo.DocumentFilesTest
ADD CONSTRAINT
DF_DocumentFilesTest_AddDate
DEFAULT sysdatetime()
FOR AddDate
EXEC
sp_fulltext_database
'enable'
GO
IF
NOT EXISTS
(SELECT
TOP 1 1 FROM sys.fulltext_catalogs
WHERE name
= 'Ducuments_Catalog_test')
BEGIN
EXEC sp_fulltext_catalog
'Ducuments_Catalog_test',
'create',
'D:\SQL\PDFBlob';
END
--EXEC sp_fulltext_catalog 'Ducuments_Catalog_test', 'drop'
DECLARE
@indexName nvarchar(255)
= (SELECT
Top 1 i.Name
from sys.indexes
i
Join sys.tables
t on
i.object_id
= t.object_id
WHERE t.Name
= 'DocumentFilesTest'
AND i.type_desc
= 'CLUSTERED')
PRINT @indexName
EXEC
sp_fulltext_table
'DocumentFilesTest',
'create',
'Ducuments_Catalog_test',
@indexName
EXEC
sp_fulltext_column
'DocumentFilesTest',
'FileSource',
'add', 0,
'Extension'
EXEC
sp_fulltext_table
'DocumentFilesTest',
'activate'
EXEC
sp_fulltext_catalog
'Ducuments_Catalog_test',
'start_full'
ALTER
FULLTEXT INDEX
ON [dbo].[DocumentFilesTest]
ENABLE
ALTER
FULLTEXT INDEX
ON [dbo].[DocumentFilesTest]
SET CHANGE_TRACKING
= AUTO
ALTER
FULLTEXT CATALOG
Ducuments_Catalog_test REBUILD
WITH ACCENT_SENSITIVITY=OFF;
INSERT
INTO DocumentFilesTest(Extension,
Name,
FileSource)
SELECT
'pdf'
'BOL12006553.pdf'
* FROM
OPENROWSET(BULK
'd:\SQL\PDFBlob\BOL12006553.pdf',
SINGLE_BLOB)
AS BLOB;
GO
INSERT
INTO DocumentFilesTest(Extension,
Name,
FileSource)
SELECT
'docx'
'test.docx'
* FROM
OPENROWSET(BULK
'd:\SQL\PDFBlob\test.docx',
SINGLE_BLOB)
AS Document;
GO
SELECT
d.*
FROM dbo.DocumentFilesTest
d WHERE
Contains(d.FileSource,
'BILL')
Returns nothing. it should come from PDF file
SELECT
d.*
FROM dbo.DocumentFilesTest
d WHERE
Contains(d.FileSource,
'TEST')
Returns from word document as follows:
2 2014-06-04 10:11:41.393 test.docx docx
NULL [BINARY Value] [Binary Value]
Any help is appreciated. Its been a long wait.
Thanks,
Vel
Vel ThavasiHello,
Did you check the fulltext log files for more details about the errors. If the filter isn’t working, there should be errors in the error log file.
The following thread is about similar issue, please refer to:
http://social.msdn.microsoft.com/forums/sqlserver/en-US/69535dbc-c7ef-402d-a347-d3d3e4860d72/sql-server-2008-64bit-fulltext-indexing-pdf-not-working-cant-find-ifilter
Regards,
Fanny Liu
If you have any feedback on our support, please click here.
Fanny Liu
TechNet Community Support -
How to link Excel 2010 .XLSX file to SQL server 2008R2 - a method that actually works?
I have been trying unsuccessfully to link my excel file to SQL server like I used to with SQL 2005.
In SQL 2008R2 I have installed the 64-bit data access components from Office 2010 to get the provider 'Microsoft.ACE.OLEDB.12.0' avilable.
When I try this command:
SELECT
FROM
OPENDATASOURCE(
'Microsoft.ACE.OLEDB.12.0',
'Data Source="E:\ADUpdates\Employee List1.xlsx"; Extended properties=Excel 12.0')...[Sheet1$]
I get this error:
Msg 7399, Level 16, State 1, Line 1
The OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)" reported an error. Access denied.
Msg 7301, Level 16, State 2, Line 1
Cannot obtain the required interface ("IID_IDBCreateCommand") from OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "(null)".
The Access Denied error seems to be form the worksheet and not the file itself. Evidence is that if I enter a bogus sheet name it tells me the sheet doesn't exist and after this error the file is locked open and can't be saved again from Excel until the
query windows is closed. The sheet is not protected in Excel so I don't know how access to it can be denied.
Does anyone actually have this working in SQL 2008R2?Some minor progress on this issue by running SQL Server service under a domain account with Administrator priv on the SQL server.
This query now works in a query window:
SELECT * FROM OPENDATASOURCE( 'Microsoft.ACE.OLEDB.12.0', 'Data Source="E:\ADUpdates\Employee List.xlsx"; Extended properties=Excel 12.0')...[EmployeeData];
However, creating a Linked server object for the same spreadsheet still does not work:
EXEC master.dbo.sp_addlinkedserver @server = N'TEST', @srvproduct=N'Excel 12.0', @provider=N'Microsoft.ACE.OLEDB.12.0', @datasrc=N'E:\ADUpdates\Employee List.xlsx'
The test connection to the linked server failed.
Cannot initialize the data source object of OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "TEST".
OLE DB provider "Microsoft.ACE.OLEDB.12.0" for linked server "TEST" returned message "Unrecognized database format 'E:\ADUpdates\Employee List.xlsx'.". (Microsoft SQL Server, Error: 7303)
For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=10.50.1600&EvtSrc=MSSQLServer&EvtID=7303&LinkId=20476
Naturally, the help link provided only confirms the contempt microsoft holds for their customers by not providing any information at all.
(appologies for the weird colour and fonts, this is a microsoft product, just have to live with obvious defects). -
How can i get data from another database SQL Server use database link from
I have a database link from Oracle connect to SQL Server database with user cdit connect default database NorthWind.How can I get data from another database(this database in this SQL Server use this database link)?
hi,
u should see following documentation:
Oracle9i Heterogeneous Connectivity Administrator's Guide
Release 1 (9.0.1)
Part Number A88789_01
in it u just go to chapter no. 4 (using the gateway),,u'll find ur answer there.
regards
umar -
Wht abobe package do i need to install to enable SQL Server to read .pdf files?
Need to open pdf files with sql server.
If you are wanting to extract data from PDF forms, you would not do it from the PDF but from a data file like FDF. Adobe has the FDF Toolkit to help on working with FDF files and sending the information to a database.
Maybe you are looking for
-
How to use Key Board Key In oracle forms to perform a specific task
Hello Experts, I am new In Oracle forms.I am using weblogic server 10.3.5 with oracle forms 11g at windows 7.I have a procedure(say check) under program unit.I have a data block.Now I have need to access Check procedure when I press The
-
What does clearing cookies and data from iPad 4 mean?
What does clearing cookies and data from iPad 4 mean?
-
Remove arrow from selection screen
Hallow I have a arrow in my selection screen (for multiefile selection) and I wont to <b>remove</b> It from my selection screen how can I do that? (i remove x from set_mode but its not working) SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text
-
YTD and and previous year to date as variables
HI All, If your cube doesn't have YTD and and previous year to date as variables to use - can these be created? Regards J
-
Active Screen Corner Customization with added hot keys fails
Active Screen Corner Customization with added hot keys fails upon restart. So, if my lower left corner is set to activate the screen saver it works. If I add the command key to that operation it works unit I restart the machine than the hot key requi