Full Text Search in PDF file Not Working in SQL Server 2012

OS: Windows Server 2012 @ Azure
DB: SQL Server 2012 SP 1 with Cum Update 6
Filter: OfficeFilter installed, PDFFilter64 11 installed (actually I tried 9 too)
I have done the following steps:-
1. Configure SQL Server Instance to enable FILESTREAM for Transaction-SQL Access (IO Access and Allow Remote Client Access to FileStream data) and restart the instance service.
2. Set Stream Access Level to Full Access and  
3. Create Database with file stream folder and set the created database Properties.Options: FileStreamDirectorName = fileContainer and FileStream Non-Transaction Access = Full.
4. Create a FileTable with file director
5. Execute the following scripts to ensure all installed components working. PDF is listed as one of the supported filter.
EXEC sp_fulltext_service @action='load_os_resources', @value=1;
EXEC sp_fulltext_service 'verify_signature', 0 -- don't verify signatures
EXEC sp_fulltext_service 'update_languages'; -- update language list
EXEC sp_fulltext_service 'restart_all_fdhosts';
EXEC sp_help_fulltext_system_components 'filter'
reconfigure with override
6. Copy a few PPTX, DOCX, PDF file into the file director.
7. Search the data by following command. I can PPTX and DOCX files can return right result but PDF is not returned although it contains the searching contents.
SELECT *
FROM dbo.Course
WHERE CONTAINS(file_stream, 'Counsellor');
Any expert advise?
Ant in SG

Are you seeing any errors in the SQL Server Error Log, the Windows Application or System logs?  How about in the Full-text crawl logging?
Troubleshooting Errors in a Full-Text Population (Crawl)
If your server has a mix of multi-threaded iFilters and single-threaded iFilters, this can cause serious problems with building the full text index.  (How do I know this?  Well, let's just say that I have suffered as well. And I was shocked!) 
The efficiency was greatly increased by this article: 
Troubleshooting: Slow Full-Text Indexing Performance Due to Filtering Process
This means changing the threading model for the multi-threaded (e.g. Microsoft Office) filters to be Apartment Threaded.  Or perhaps if you are full text indexing PDF files, abandoning the free single-threaded Adobe IFilter and purchasing the FoxIt
(or some other) multi-threaded PDF iFilter would benefit you.
RLF

Similar Messages

  • Full text search of .pdf files in a file table.

    I have installed the Adobe iFilter 11 64 bit and set the path to the bin folder. I still cannot find any text from the pdf files. I suspect I am missing something trivial because I don't find much when I Bing for this so it must not be a common problem.
    Here is the code.
    -- Adobe iFilter 11 64 bit is installed
    -- The Path variable is set to the bin folder for the Adobe iFilter.
    -- SQL Developer version 64 bit on both Windows 7 and Windows 8.
    USE master;
    GO
    DROP DATABASE FileTableStudy;
    GO
    CREATE DATABASE FileTableStudy
    ON PRIMARY
    ( NAME = N'FileTableStudy'
    ,FILENAME = N'E:\SQLServerData\SQL2012\Engine\FileTableStudy.mdf'
    ,SIZE = 4096KB
    ,FILEGROWTH = 1024KB
    ,FILEGROUP FileTableStudyFileTable CONTAINS FILESTREAM
    ( NAME = FileTableStudyFileTable
    ,FILENAME = 'E:\SQLServerData\FileTableStudy'
    LOG ON
    ( NAME = N'FileTableStudy_log'
    ,FILENAME = N'D:\SQLServerLogs\SQL2012\FileTableStudy_log.ldf'
    WITH FILESTREAM
    ( NON_TRANSACTED_ACCESS = FULL
    ,DIRECTORY_NAME = N'FileTableStudyFiles'
    GO
    USE FileTableStudy;
    GO
    DROP TABLE dbo.Magazine;
    GO
    CREATE TABLE dbo.Magazine AS FILETABLE
    WITH ( FileTable_Directory = 'MagazineStore'
    ,FileTable_Collate_Filename = database_default
    GO
    CREATE FULLTEXT CATALOG MagazineFullTextCatablog AS DEFAULT;
    GO
    --EXEC sp_fulltext_service 'load_os_resources', 1;
    --EXEC sp_fulltext_service 'verify_signature', 0;
    --EXEC sp_fulltext_service 'restart_all_fdhosts';
    --EXEC sp_fulltext_service 'update_languages';
    --EXEC sp_help_fulltext_system_components 'filter';
    --RECONFIGURE WITH OVERRIDE;
    SELECT document_type
    ,path
    FROM sys.fulltext_document_types
    WHERE document_type = '.pdf';
    SELECT *
    FROM sys.fulltext_document_types
    ORDER BY document_type;
    DROP FULLTEXT INDEX ON dbo.Magazine;
    GO
    SELECT TOP 1 indexes.name IndexName
    FROM sys.indexes
    JOIN sys.tables ON indexes.object_id = tables.object_id
    AND tables.name = 'Magazine'
    JOIN sys.schemas ON tables.schema_id = schemas.schema_id
    AND schemas.name = 'dbo'
    WHERE indexes.is_unique = 1
    AND indexes.name LIKE 'PK__%';
    GO
    -- Drag documents to folder.
    CREATE FULLTEXT INDEX ON dbo.Magazine
    ( file_stream TYPE COLUMN file_type)
    KEY INDEX [PK__Magazine__5A5B77D541728F3E];
    GO
    -- Wait for index to build
    SELECT DATEDIFF(ss, crawl_start_date, crawl_end_date) IndexBuildSeconds
    FROM sys.fulltext_indexes
    --ALTER FULLTEXT INDEX ON dbo.Magazine START UPDATE POPULATION;
    SELECT *
    FROM dbo.Magazine
    WHERE file_type = 'pdf';
    SELECT *
    FROM dbo.Magazine
    WHERE FREETEXT(*,'new core licensing')
    AND file_type = 'pdf';
    SELECT *
    FROM dbo.Magazine
    WHERE CONTAINS(*, N'"Microsoft"')
    AND file_type = 'pdf';
    SELECT *
    FROM sys.fulltext_catalogs;
    SELECT *
    FROM sys.fulltext_indexes;
    SELECT *
    FROM sys.fulltext_index_columns;
    SELECT *
    FROM sys.fulltext_index_catalog_usages;
    Thanks for any help.
    Tom G.

    Hello,
    We believe we have figured this out.  It looks like it has to do with the length of the default folder location for the Adobe iFilter.
    I was able to reproduce the issue and the following resolved it for me.  See if this resolves it for you all as well.
    Here is how to get Adobe Version 11 PDF filter to work.
     1 . If you haven’t already, run the following in SQL Server:
    Sp_fulltext_service ‘Load_os_resources’, 1
    Go
    --you might also need to run:  sp_fulltext_service ‘Verify_signature’,0  --This is used to validate trusted iFilters. 0 disables it. So use with caution.
    --go
    2. Stop SQL Server.  (Make sure FDHost.exe stops)
    3.  
    Uninstall the Adobe ifilter (because it defaulted to having spaces or the folder name is too long).
    4.  
    Reinstall the Adobe iFilter and when it prompts for where to install it, change it to: C:\Program Files\Adobe\PDFiFilter
    5.  Once the installation finishes, go the computer’s Environment variables. Add the following to the PATH.
    C:\Program Files\Adobe\PDFiFilter\BIN
    NOTE: it must include the BIN folder
    NOTE: If you had the OLD location that included spaces, remove it from the path environment variable.
    6. Start SQL Server
    7.  IF you had an existing Full-text index on PDFs, drop the full-text index and recreate it.
    8. You should now get results when you run sys.dm_fts_index_keywords('db','tblname')  --Note: Change db to be the actual database name and tblname to be the actual table name.
     Give this a try and see if this fixes yours. 
    Sincerely,
    Rob Beene, MSFT

  • Transaction Log Truncate not working on Sql Server 2012 High Availability Groups

    Hi Everyone
    Firstly I have tried to search the forum for similar issues but can't seem to find any that match our situation.
    We have a SQL Server 2012 High Availability Group with 2 Nodes
    Node 1 = Primary
    Node 2 = Secondary
    Backup Schedule as follows
    Full Database Backup @ 00:00
    Transaction Log Backup every 30 minutes from 00:30:00 till 23:59:59.
    These backups are run by Maintenance Jobs, but we have also tried doing direct backups in SSMS using Backup Database and Backup Log commands.
    Before we configured the High Availability group the transaction log backups worked fine.
    After we configured the High Availability group we performed a Full Backup and the T-Log schedule did the T-Log backup. The 1st T-log backup truncated the log (Used space Decreased) as expected.
    However subsequent T-Log backups do not truncate the T-Log.
    This happens both in our acceptance and Live environments. This also happens when running the backups as a Backup operator and sysadmin, this does not seem to be a permissions issue at all.
    We have tried running the Backup on the Primary and Secondary Replica.
    What about High Availability groups could stop Transaction Log Backups from not truncating the log?
    Thanks
    James

    Hi Sean
    Thank you for your reply, please see the output of the sys.databases query below, and some others which you may find usefull.
    Query: select database_id,recovery_model_desc, log_reuse_wait, log_reuse_wait_desc from sys.databases
    where database_id = 5
    Result: database_id    recovery_model_desc    log_reuse_wait    log_reuse_wait_desc
                     5                               
    FULL                             0                           
    NOTHING
    I also ran the following
    select database_id, truncation_lsn, last_received_lsn, last_commit_lsn, last_hardened_lsn, last_redone_lsn,*
    from sys.dm_hadr_database_replica_states
    go
    database_id
    truncation_lsn
    last_received_lsn
    last_commit_lsn
    last_hardened_lsn
    last_redone_lsn
    database_id
    group_id
    replica_id
    group_database_id
    is_local
    synchronization_state
    synchronization_state_desc
    is_commit_participant
    synchronization_health
    synchronization_health_desc
    database_state
    database_state_desc
    is_suspended
    suspend_reason
    suspend_reason_desc
    recovery_lsn
    truncation_lsn
    last_sent_lsn
    last_sent_time
    last_received_lsn
    last_received_time
    last_hardened_lsn
    last_hardened_time
    last_redone_lsn
    last_redone_time
    log_send_queue_size
    log_send_rate
    redo_queue_size
    redo_rate
    filestream_send_rate
    end_of_log_lsn
    last_commit_lsn
    last_commit_time
    low_water_mark_for_ghosts
    5
    1231833000417170000000
    1231833000418880000000
    1231833000418880000000
    1231833000418890000000
    1231833000418880000000
    5
    1391A499-3F9A-47D5-BCE0-70BC204E2A5B
    7E8BFC2E-363F-4C48-86F0-C276D3E0C8D9
    0581E17A-6B7B-4B8F-9288-BF765BFBCE77
    0
    2
    SYNCHRONIZED
    1
    2
    HEALTHY
    NULL
    NULL
    0
    NULL
    NULL
    4294967295429490000000000
    1231833000417170000000
    1
    41863
    1231833000418880000000
    41863
    1231833000418890000000
    41863
    1231833000418880000000
    41863
    0
    25541
    0
    84404
    75304
    1231833000418880000000
    1231833000418880000000
    41863
    441019861
    5
    1231833000417170000000
    NULL
    1231833000418880000000
    1231833000418890000000
    NULL
    5
    1391A499-3F9A-47D5-BCE0-70BC204E2A5B
    83B9F00E-D63F-4AC0-98FC-35E48FFA2C6F
    0581E17A-6B7B-4B8F-9288-BF765BFBCE77
    1
    2
    SYNCHRONIZED
    1
    2
    HEALTHY
    0
    ONLINE
    0
    NULL
    NULL
    4294967295429490000000000
    1231833000417170000000
    NULL
    NULL
    NULL
    NULL
    1231833000418890000000
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    NULL
    1231833000418880000000
    1231833000418880000000
    41863
    441019861
    And
    dbcc loginfo
    go
    RecoveryUnitId
    FileId
    FileSize
    StartOffset
    FSeqNo
    Status
    Parity
    CreateLSN
    0
    2
    458752
    8192
    1231828
    0
    128
    0
    0
    2
    458752
    466944
    1231829
    0
    128
    0
    0
    2
    458752
    925696
    1231830
    0
    128
    0
    0
    2
    712704
    1384448
    1231831
    0
    128
    0
    0
    2
    19398656
    2097152
    1231832
    0
    128
    1229654000000040000000
    0
    2
    10199171072
    21495808
    1231833
    2
    128
    1229656000000010000000
    0
    2
    10199171072
    10220666880
    0
    0
    64
    1229656000000010000000
    0
    2
    10199171072
    20419837952
    1231827
    0
    64
    1229656000000010000000
    0
    2
    10199171072
    30619009024
    0
    0
    128
    1229656000000010000000
    0
    2
    10199171072
    40818180096
    0
    0
    128
    1229656000000010000000
    0
    2
    10199171072
    51017351168
    0
    0
    128
    1229656000000010000000
    0
    2
    10199171072
    61216522240
    0
    0
    128
    1229656000000010000000
    0
    2
    10199171072
    71415693312
    0
    0
    128
    1229656000000010000000
    0
    2
    10199171072
    81614864384
    0
    0
    128
    1229656000000010000000
    0
    2
    536870912
    91814035456
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    92350906368
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    92887777280
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    93424648192
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    93961519104
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    94498390016
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    95035260928
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    95572131840
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    96109002752
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    96645873664
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    97182744576
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    97719615488
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    98256486400
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    98793357312
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    99330228224
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    99867099136
    0
    0
    64
    1229989001661260000000
    0
    2
    536870912
    100403970048
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    100940840960
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    101477711872
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    102014582784
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    102551453696
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    103088324608
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    103625195520
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    104162066432
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    104698937344
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    105235808256
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    105772679168
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    106309550080
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    106846420992
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    107383291904
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    107920162816
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    108457033728
    0
    0
    64
    1229995000058520000000
    0
    2
    536870912
    108993904640
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    109530775552
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    110067646464
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    110604517376
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    111141388288
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    111678259200
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    112215130112
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    112752001024
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    113288871936
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    113825742848
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    114362613760
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    114899484672
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    115436355584
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    115973226496
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    116510097408
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    117046968320
    0
    0
    64
    1230004000028400000000
    0
    2
    536870912
    117583839232
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    118120710144
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    118657581056
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    119194451968
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    119731322880
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    120268193792
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    120805064704
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    121341935616
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    121878806528
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    122415677440
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    122952548352
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    123489419264
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    124026290176
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    124563161088
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    125100032000
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    125636902912
    0
    0
    64
    1230012000103140000000
    0
    2
    536870912
    126173773824
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    126710644736
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    127247515648
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    127784386560
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    128321257472
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    128858128384
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    129394999296
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    129931870208
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    130468741120
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    131005612032
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    131542482944
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    132079353856
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    132616224768
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    133153095680
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    133689966592
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    134226837504
    0
    0
    128
    1230338000973820000000
    0
    2
    536870912
    134763708416
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    135300579328
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    135837450240
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    136374321152
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    136911192064
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    137448062976
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    137984933888
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    138521804800
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    139058675712
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    139595546624
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    140132417536
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    140669288448
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    141206159360
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    141743030272
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    142279901184
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    142816772096
    0
    0
    128
    1230338001901440000000
    0
    2
    536870912
    143353643008
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    143890513920
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    144427384832
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    144964255744
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    145501126656
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    146037997568
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    146574868480
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    147111739392
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    147648610304
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    148185481216
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    148722352128
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    149259223040
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    149796093952
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    150332964864
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    150869835776
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    151406706688
    0
    0
    128
    1230346000103040000000
    0
    2
    536870912
    151943577600
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    152480448512
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    153017319424
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    153554190336
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    154091061248
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    154627932160
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    155164803072
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    155701673984
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    156238544896
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    156775415808
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    157312286720
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    157849157632
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    158386028544
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    158922899456
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    159459770368
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    159996641280
    0
    0
    128
    1230355000086930000000
    0
    2
    536870912
    160533512192
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    161070383104
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    161607254016
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    162144124928
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    162680995840
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    163217866752
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    163754737664
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    164291608576
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    164828479488
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    165365350400
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    165902221312
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    166439092224
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    166975963136
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    167512834048
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    168049704960
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    168586575872
    0
    0
    128
    1230364000070870000000
    0
    2
    536870912
    169123446784
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    169660317696
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    170197188608
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    170734059520
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    171270930432
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    171807801344
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    172344672256
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    172881543168
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    173418414080
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    173955284992
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    174492155904
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    175029026816
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    175565897728
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    176102768640
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    176639639552
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    177176510464
    0
    0
    128
    1230373000054750000000
    0
    2
    536870912
    177713381376
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    178250252288
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    178787123200
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    179323994112
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    179860865024
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    180397735936
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    180934606848
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    181471477760
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    182008348672
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    182545219584
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    183082090496
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    183618961408
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    184155832320
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    184692703232
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    185229574144
    0
    0
    128
    1230382000038660000000
    0
    2
    536870912
    185766445056
    0
    0
    128
    1230382000038660000000
    The create LSN column seems to have been truncated so here is is again, sorry for the bulky reply.
    CreateLSN
    0
    0
    0
    0
    1229654000000041600001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229656000000012000001
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229989001661260800316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1229995000058525600316
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230004000028405600295
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230012000103148800147
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338000973824800555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230338001901449600555
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230346000103044000554
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230355000086934400510
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230364000070872800554
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230373000054757600431
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    1230382000038664800234
    Thanks
    James

  • The -W switch is not working in SQL Server 2012.

    Installed SQL Server 2012.   The -W switch doesn't work on SQLCMD.   Any ideas why or what to do?

    Could you please explain little more?
    Balmukund Lakhani
    Please mark solved if I've answered your question, vote for it as helpful to help other users find a solution quicker
    This posting is provided "AS IS" with no warranties, and confers no rights.
    My Blog |
    Team Blog | @Twitter
    | Facebook
    Author: SQL Server 2012 AlwaysOn -
    Paperback, Kindle

  • How does full-text search for pdf files work?

    Hi there,
    Basically I can see my pdf file in the content server.. inside the pdf there's a piece of test that says: "Test's Sample" but when I do a search with that string the file gets filtered from the results.
    I think it has to do with the ' (single quote) being there because other text in the pdf works fine.. so I was wondering how does VDK store this full text? where? I'd like to see how it gets translated IF that's how it works with pdf files....
    Following advice from Re: Parse error with search query I tried doing the search by:
    Test\'s Sample
    Test`s Sample
    "Test's Sample"
    The database is db2 if that helps.. how can I fix this problem?

    Nevermind, I fixed it by changing the VDK filters (in case someone is looking for a solution too).
    Cheers,

  • SSIS Package developed in SQL Server 2008 R2 Using BIDS 2008 is not working in SQL Server 2012

    I am working in a Product based company.
    We have given a Pre-requisites to our customers like SQL Server version should be 2008 or later.
    I have developed and deployed my SSIS package in SQL Server 2008 R2 with BIDS 2008.
    I have used "Script Component" in my package.
    We will take only DTSX package file to the customer places and run using SQL Agent Job daily. 
    Who are all(Customer Environments) using SQL 2008 or R2 my package is running fine.
    Who are all(Customer Environments) using SQL 2012, I am facing the below issue 
    The component metadata for “Script Component, clsid {874F7595-FB5F-4OFF-9BAF-FBFF825OE3EF}” could not be upgraded to the newer version of the component. The PerformUpgrade method failed.
    Still the same package is running fine for some of the customers having SQL 2012.
    I am getting the above error only for few customers.
    Can someone please guide me how to proceed on this. Is there any solution to go without upgrading the package to SQL 2012. Because we need to maintain only one package for all customers

    Hi Katherine,
    I am just using the script component only for generating Identity column purpose. I will get the maximum count from the table and using this count value as Input (JurisCount in my below code) for script component and increment the counter for new records.
    Finally I am mapping the Script component output value (JurisKey in my below code) to Key column of the table. That's all I am doing with Script Component.
    Here is my Simple .net code
    /* Microsoft SQL Server Integration Services Script Component
    *  Write scripts using Microsoft Visual C# 2008.
    *  ScriptMain is the entry point class of the script.*/
    using System;
    using System.Data;
    using Microsoft.SqlServer.Dts.Pipeline.Wrapper;
    using Microsoft.SqlServer.Dts.Runtime.Wrapper;
    [Microsoft.SqlServer.Dts.Pipeline.SSISScriptComponentEntryPointAttribute]
    public class ScriptMain : UserComponent
        public override void PreExecute()
            base.PreExecute();
              Add your code here for preprocessing or remove if not needed
        public override void PostExecute()
            base.PostExecute();
              Add your code here for postprocessing or remove if not needed
              You can set read/write variables here, for example:
              Variables.MyIntVar = 100
        int counter = 0;
        public override void Input0_ProcessInputRow(Input0Buffer Row)
            if (counter == 0)
                counter = Convert.ToInt32(Row.JurisCount);
            Row.JurisKey = counter;
            counter = counter + 1;
    PAVAN MSBI

  • Full text search in BLOB columns NOT Working

    Hi, I am using Oracle 9i.
    Presently I use following code to create index.
    begin
    Ctx_Ddl.Drop_Preference ('text_only');
    end;
    begin
    Ctx_Ddl.Create_Preference ( 'text_only', 'basic_lexer');
    Ctx_Ddl.Set_Attribute ( 'text_only', 'index_text', 'true' );
    Ctx_Ddl.Set_Attribute ( 'text_only', 'index_themes', 'false' );
    end;
    CREATE TABLE MY_XML_DOCS(
    XML_RES_ID NUMBER (16) NOT NULL,
    XML_RES BLOB NOT NULL,
    XML_RES_PATH VARCHAR2 (128),
    XML_DOCS_CREATED_BY VARCHAR2 (16) NOT NULL,
    XML_DOCS_CREATED_DT DATE NOT NULL,
    XML_DOCS_MODIFIED_BY VARCHAR2 (16),
    XML_DOCS_MODIFIED_DT DATE ) ;
    drop index FULL_TEXT_INDEX ;
    create INDEX FULL_TEXT_INDEX ON MY_XML_DOCS(XML_RES)
    INDEXTYPE IS ctxsys.CONTEXT
    parameters ('lexer text_only stoplist ctxsys.empty_stoplist');
    BEGIN
    CTX_DDL.sync_index('FULL_TEXT_INDEX ','10M');
    END;
    And I've some XML documents stored in blob columns in the above table. But my query with 'contains' param does not return expected results.(it presently returns no results). Do I miss anything? Do I need to specify any thing else while I create the Index? Kindly advice.

    I would agree the CLOB storage would be preferable for XML. If you are using BLOB storage, by default the documents are going to be FILTERed by the INSO_FILTERS. A BLOB column will give you reduced storage in a unicode environment though.
    If you wish to store your data in a BLOB though, you should specify the NULL_FILTER in your create index statement to avoid having the INSO_FILTERS invoked.
    Further, you may also require a CHARSET column in your table specifying the character set of your data for each row if it can vary. The Column should then also be specified in the 'PARAMETERS' clause of the create index statement, this way Oracle knows the correct character set to use when converting the binary data to character data.
    My guess that you are not getting any query results because none of the documents are actually being indexed. Be sure to query the ctx_user_index_errors view to determine if you are getting errors at indexing time.

  • Embedding Full-text Index into PDF File

    Hello Everyone,
    I've tried to create and embed full-text index into PDF file, but with no luck. I've followed steps described at http://help.adobe.com/en_US/Acrobat/9.0/Standard/WSC28D4DBB-6A78-4027-9E04-F50FE411CFB9.w. html - there can be seen progress of collecting of data and at the end the button Update index is enabled. This is signal for me that Index was created. After clicking on Ok button, saving document as new one and then reopening "new created" document, there is info that no Index is embedded in the Manage Embedded Index dialog. Is there any other step necessary to do? Or is it bug? Adobe Acrobat Pro 9.1 on Windows Vista 32bit is used.
    Jan
    PS: Interesting is also comment at the bottom of above mentioned help page...

    Thanks for the response. It is true that if I make changes and look at the embedded index status, it shows that it needs updating
    However the problem I can't get around after extensive testing is that sometimes for no apparent reason the index is dropped on save. This can happen if I check the status of the index to make sure it is valid, save the file, and reopen it.
    I've concluded that this must be a bug and am using other indexing options for the time being.

  • Database Mail not working with SQL Server Agent

    I'm running SQL Server 2005 Standard edition 64 bit with SP2 on a 64 bit machine. 
    Database mail does not work with SQL Server Agent.  When I configure SQL Server Agent to use database mail the test email button is greyed out and inactive therefore I cannot send emails using operators or for jub success failure etc. 
    I've read that there was supposed to be a fix for this with SP1 but I have SP2 and still receive the same problem.  Please can somebody help as I do not wish to use SQL Mail as a work around due to this becomming redundant in future versions of SQL Server.
    Kind Regards

    The problems solved
    steps:
    1)we create a mail profile at at Managment->Database Mail ,of SQL Managment
    2)we set this account as "default" at Managment->Database Mail -> Configure Database Mail -> Manage profile security
    3)At tab "Alert System" of SQL Server Agent properties , we check the "Enable mail profile" , Mail System=Database Mail, Mail profile = "the profile we already create"
    4)we create a new operator at "Operators" of sql agent, where at "notification options" -> "Email name" we put the mail where we want to sent the agent the mails at failured job
    5)We go at a specific job, at tab "Notifications" ,we check the "email" check box and then we choose the operator we just create, at the text box next to check box.
    I hope not to forget something
    Thank You all for the help

  • EXEC SP_EXECUTESQL not working in sql server 2014

    EXEC SP_EXECUTESQL not working in sql server 2014

    EXEC SP_EXECUTESQL not working in sql server 2014
    Hi Amar,
    What's the error when executing this stored procedure?
    I have tested it on my local environment, we can run this SP without any problems.
    Please provide us more information, so that we can make further analysis.
    Regards,
    Charlie Liao
    TechNet Community Support

  • What are all the features not supported in SQL Server 2012 trial version?

    What are all the features not supported in SQL Server 2012 trial version?

    The evaluation edition supports all features and expires after 180 days.
    https://msdn.microsoft.com/en-us/library/cc645993.aspx?f=255&MSPPError=-2147217396

  • Cannot do a full text search on pdf or Microsoft office Documents.

    I am using Oracle Content Server 10gR3
    Apart from the standard components and other components, I have InBound refinery Support and Oracle text Search Components enabled.
    I get the following error when I check in a pdf or a Microsoft office document.
    Text Conversion of the file '<repo_home>/.pdf' failed.*
    Content has been indexed with Info only. Resubmit should only be performed if the problem has been resolved.
    I am able to perform a full text search on *.txt and *.htm files.

    Here are some more errors from Console output log
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     Request Audit Report over the last 120 Seconds****
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     -Num Requests 349 Errors 345 Reqs/sec. 2.911 Avg. Latency (secs)0.309 Max Thread Count 2
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     1     Service DOC_INFO     Total Elapsed Time (secs) 106.944     Num requests 345     Num errors 345     Avg. Latency (secs) 0.31
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     2     Service COLLECTION_GET_REFERENCE     Total Elapsed Time (secs) 0.701     Num requests 2     Num errors 0     Avg. Latency (secs) 0.35
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     3     Service COLLECTION_DISPLAY     Total Elapsed Time (secs) 0.211     Num requests 1     Num errors 0     Avg. Latency (secs) 0.211
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     4     Service COLLECTION_GET_INFO     Total Elapsed Time (secs) 0.02     Num requests 1     Num errors 0     Avg. Latency (secs) 0.02
    requestaudit     10.28 12:20:00.011     Audit Request Monitor     ****End Audit Report*****

  • Full text search in Chinese Language not finding results

    We are translating one of our Webhelp projects into
    simplified chinese, and everything is working fine except full text
    search. We can type chinese characters into the search box but no
    results appear even though we have already translated a lot of the
    webhelp into chinese. Note that we have breadcrumbs, TOC and Index
    functioning correctly in chinese.
    The FAQ for Robohelp claims that FTS is supported in other
    languages but I am stuck - I can't figure out how to make it work.
    Any help would be greatly appreciated.

    There was some language stuff in those patches that I hoped
    would fix your problem, obviously not.
    I am not familiar with working with languages. Have you tried
    changing the language in Project Settings? Have you tried importing
    a couple of topics into a new project?
    Beyond that, hopefully someone with more relevant knowledge
    can help you.

  • MFA not working on Windows Server 2012 R2

    Been using MFA since PF days.  Deployed it successfully many times but for some reason it's not working with Windows Auth, Terminal Services on a Win 2012 R2 DataCenter box?  The machine was successfully added to my domain PhoneFactor group, I
    can see and add the machine on the master MFA.  Services are running but when I remote in I go right through without MFA stopping me?  Any ideas?
    TIA

    6.3.0 has just been released and 2012 R2 is *still* not supported. What the hell?!?
    "Version 6.3.0 of the Azure Multi-Factor Authentication Server adds the
      following additional functionality:
    * Added one-way SMS functionality for AD FS, RADIUS and User Portal
    * Added .csv file import for OATH tokens
    * Added support to parse phone numbers in E.164 format during import
      From the directory
    * Fixed problem preventing slave servers from performing MFA if the
      master server was unavailable. This problem was found to exist in
      all 6.2.x builds. All customers running 6.2.x should upgrade to 6.3.
    * Fixed directory sync issue for recursive security groups
    * Added additional logging to AD FS adapter
    * Other minor bug fixes and security improvements
    Known Issues:
    * Windows Authentication for Terminal Services is still not supported for
      Windows Server 2012 R2"
    So they added a whole stack of other functionality, but still didn't get around to taking a look at this bug. I'm stunned. Is there any sort of timeline on fixing this, or is 2012 R2 just going to remain unsupported forever?

  • Distributed transaction using linked server not working in SQL Server 2008 64 bit

    Hi. I have had an issue trying to get distributed transactions to work in SQL Server 2008 using a linked server. The error message I get is
    OLE DB provider "SQLNCLI10" for linked server "pod1" returned message "No transaction is active.".
    Msg 7391, Level 16, State 2, Line 3
    The operation could not be performed because OLE DB provider "SQLNCLI10" for linked server "pod1" was unable to begin a distributed transaction.
    My Environment:
    Windows Server 2008 Enterprise 64 bit, SQL Server 2008 Enterprise 64 bit
    Problem occurs with multiple different builds of SQL Server 2008 - I have been able to reproduce the problem with 10.0.1600.0, 10.0.1779.0 (CU 2), as well as 10.0.2531 (SP1)
    I am aware that other people have had this issue and have reviewed all existing posts. I have verified that the MSDTC is configured correctly on both machines. I have also used DTCTester to verify that DTC is working correctly on all machines in question.
    None of the mentioned resolutions has solved this problem for me.
    I am not seeing this problem occur on my 32 bit test machines - it is only occurring if at least one of the two machines is 64 bit.

    Hi All,
    I realise that this topic may be a little bit out-of-date but if someone gets here from some search engine trying to find a solution for DTC problems, this MAY be useful.
    So... I recently had the same issue, tried all the approaches described in KB and other articles, but it didn't help. Because my task to solve this was not of the highest priority I forgot about it for some time.
    Today I was troubleshooting some other issue and, by accident discovered source of that first problem:
    In the EventViewer I found Error entry logged by MSDTC saying:
    "The local MS DTC detected that the MS DTC on vm-server1 (other machine name that also runs DTC - my comment) has the same unique identity as the local MS DTC. This means that the two MS DTC will not be able to communicate
    with each other. This problem typically occurs if one of the systems were cloned using unsupported cloning tools. MS DTC requires that the systems be cloned using supported cloning tools such as SYSPREP. Running 'msdtc -uninstall' and then 'msdtc -install'
    from the command prompt will fix the problem. Note: Running 'msdtc -uninstall' will result in the system losing all MS DTC configuration information."
    So I followed suggestion and run:
    msdtc -uninstall
    msdtc -install
    This solved my problems with DTC. Hope it will help someone.
    Piotr

Maybe you are looking for

  • Oracle XML / XDK has nightmarishly bad performance

    Just wanted to share the results of some testing I've done recently. Thought you would all enjoy this information. [JAVA_HOME is JDK1.4.2_04] Oracle XML & XSLT Java library (would not run with -Xmx256m, OutOfMemory) [xdk_version_10.1.0.3.0_production

  • How to set default folder view to "list"

    Hi guys, This is regarding Tiger. I poked around in the Finder forum to no avail. Have any of you come up with anything that would force the default folder view to "list" view? Um, folders, they are found in the gui. Thanks for any thoughts, scripts,

  • Can some body help me to develop labview code for generating pulse to drive ac servo motor

    can some body help me to develop labview code for generating pulse to drive ac servo motor... i am using NI 9401 card ....tnx

  • Finding Enhancments in ECC 6 using SMOD.

    HI all, I want to know an easy method of finding enhancments in ECC 6. In 4.6 there was a button 'SAP Applicaitons' through which we can see enhancments available in module wise. This is not present in ECC 6. How can i find all enhancments for a modu

  • Total Server Memory and Target server memory

    Hi All, SQL server 2005 Installed Memory 63gb SQL server maximum memory is restricted to 32 gb                                              Target Server Memory (KB) 33554432 Total Server Memory (KB) 33554432 SQL Server Buffer Manager Counter Value B