Linked server error from sql server to oracle

Hi
Please help i am getting below error
Problem Description: OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLE10G" returned message "ORA-01403: no data found".
Msg 7346, Level 16, State 2, Line 1
Cannot get the data of the row from the OLE DB provider "OraOLEDB.Oracle" for linked server "ORACLE10G".
Platform details
SQl server end
=====================
SQl server version :2005
Oracle client version :10.2.0.1.0
sql server Platform:widow server 2003 standard edition 32 bit
===========================
oracle server end
* DB Server = 10.2.0.4
* Platform = IBM AIX
AIX version=5.3
Regards

Hi,
This forum is for connecting to non-Oracle databases from Oracle.
There is a specific forum for Oracle Provider for OLE DB so it would be better to ask the question in that forum -
Oracle Provider for OLE DB
Regards,
Mike

Similar Messages

  • SQL Server 2K "Linked Server" to Oracle 9i Release 2 via "Oracle Provider

    Hi,
    I'm trying to set up a SQL Server 2000 "Linked Server" to Oracle 9i Release 2 via "Oracle Provider for OLE DB". I have downloaded and installed "Oracle Provider for OLE DB Release 9.2.0.2.0"
    My SQL*Net alias/datasource in tnsnames.ora works (It passes the test in "Net 9i Configuration Assistant", I can connect from SQL*Plus, and I can get a Linked server going with the "Microsoft OLE DB Provider for Oracle").
    When I set up my Linked Server with Oracle Provider for OLE DB, I need to supply the following three fields (with description from the read-only field at the bottom of the "Linked Server Properties)
    Product name: (The product name is the OLE DB data source to add as a linked server.)
    Data source: (The data source is usually the name of the server or filename.)
    Provider string: (This is the entire provider string.)
    Here is my tnsnames.ora entry that works as described above (names may have been changed to protect the innocent)...
    PROD9I.XYZ.LOCAL =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = nn.nn.nn.nn)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = PROD.ora2.xyz.mno.com)
    With every combination of values I have tried for these fields, when I try to use the Linked Server I get this error message...
    Could not create an instance of OLE DB provider 'OraOLEDB.Oracle'.
    OLE DB error trace [Non-interface error:  CoCreate of DSO for OraOLEDB.Oracle returned 0x80040154].
    Any help would be greatly appreciated
    Thank you,
    Daniel Jameson

    Thanks Norman.
    Well, I've made it a step closer. I uninstalled everything Oracle from my machine and reinstalled the 9i stuff, including the Oracle OLE DB Provider. Now, after I set up the linked server, and I try to view the Tables or Views under the Linked Servers, I get this error message...
    Error 7399: OLE DB provider 'OraOLEDB.Oracle' reported an error.
    OLE DB error trace [OLE/DB Provider 'OraOLEDB.Oracle' IDBINitialize::Initialize returned 0x80004005:   ].
    Does anyone have any idea what this is about? My other Linked Server using the same Oracle SQL*Net alias, but using the Microsoft OLE DB Provider, works fine.

  • Trigger problem on Sql Server with linked server to Oracle

    Hi All,
    I have a simple insert trigger on Sql Server 2005, it uses linked server to Oracle.
    like that ;
    USE [YTM08]
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    ANSI_NULLS ON
    go
    ANSI_WARNINGS ON
    CEATE TRIGGER [dbo].[YTM_TBLSTSABIT_I]
    ON [dbo].[TBLSTSABIT] FOR INSERT
    AS
    BEGIN
    INSERT INTO YTM_ORACLE..SECTOR.STOCKS
    stock_name,
    stock_code,
    insert_date
    SELECT
    SBT.STOCKNAME,
    SBT.STOCKCODE,
    GETDATE()
    FROM INSERTED SBT
    END
    The YTM_ORACLE is a linked server and it's provider is OraOLEDB.Oracle.
    Trigger does not works for that linked server but other triggers for local
    sql server works fine...
    I get this error from sql server
    'Heterogeneous queries require the ANSI_NULLS and
    ANSI_WARNINGS options to be set for the connection. This ensures consistent query semantics. Enable these options and then reissue your query.'
    Does someone know how to solve this issue the right way?
    Thanks in advance.
    Thanks !
    Adam

    Hi Lars,
      Thanks for the data. I've already read this note and configure all this parameters. But when I'm executing the Create Source System in the BI system the process dies.
      If I look into the logs I see this:
    M  call semaphore clean-up function ...
    M  ***LOG Q0E=> DpSigGenHandler, Exception (c06d007e) [dpnttool.c   432]
      That's the reason why I start guessing about other possible problem.
    Regards

  • SQL Server linked server to Oracle

    We have a SQL Server instance with a linked server to Oracle 9i.  When doing a select * (from Oracle) into some_table everything works as expected.
    There is a project to move the SQL Instance to a new clustered server.  We confirmed that the OS, SQL and Oracle Driver versions are the same.  The problem is that when we run the exact same statement the table is being created with unicode columns.
    For Example:
    Oracle
    Col1 Varchar2(20),
    Col2 Varchar2(100)
    Select into on current SQL Instance creates
    Col1 Varchar(20),
    Col2 Varchar(100)
    Select into on new SQL Instance creates
    Col1 NVarchar(20),
    Col2 NVarchar(100)
    Any help to identify how to resolve this issue?
    Thank You,
    Michael

    Hi Michael,
    The varchar2 data type in Oracle database and nvarchar data type in SQL Server is mapped to DT_WSTR data type in SSIS, while the varchar data type in SQL Server is mapped to DT_STR in SSIS. In your case, when loading the Oracle data to nvarchar columns SQL
    Server table, you can extract Oracle data using a source adapter and directly load the data to the SQL Server table. When loading the Oracle data to varchar columns SQL Server table, you need to convert the DT_WSTR data type columns to DT_STR data type columns
    before inserting into SQL Server table. To do the data conversion, you can use a Data Conversion Transform.
    If you want to do it by using T-SQL rather than SSIS, please ask a new question in the T-SQL forum where you can get dedicated support.
    Regards,
    Mike Yin
    If you have any feedback on our support, please click
    here
    Mike Yin
    TechNet Community Support

  • Error mapping, OGG from SQL 2008 to Oracle 11g

    Hi Experts
    Please I hoppe you can help me, I am using OGG to replicate from SQL 2008 to Oracle 11g R2, I can insert rows and replicate without problems, but when I update or delete on the Source the replicat stop working.
    This is the mesage:
    2012-06-11 09:51:57 ERROR OGG-01296 Oracle GoldenGate Delivery for Oracle, msrep.prm: Error mapping from FACTURA.EMP to GOLDENGATE.EMP.
    2012-06-11 09:51:57 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, msrep.prm: PROCESS ABENDING.
    --- Discard FIle
    Key column FIRST_NAME (1) is missing from delete on table GOLDENGATE.EMP
    Key column LAST_NAME (2) is missing from delete on table GOLDENGATE.EMP
    Missing 2 key columns in delete for table GOLDENGATE.EMP.
    Current time: 2012-06-11 09:51:57
    Discarded record from action ABEND on error 0
    Aborting transaction on /u01/app/goldenGate/dirdat/ms beginning at seqno 0 rba 13729
    error at seqno 0 rba 13729
    Problem replicating FACTURA.EMP to GOLDENGATE.EMP
    Mapping problem with delete record (target format)...
    ID = 121
    Process Abending : 2012-06-11 09:51:57
    ------ SOURCE TABLE
    create table [factura].[emp] (
    [id] [smallint] not null,
    [first_name] varchar(50) not null,
    [last_name] varchar(50) not null,
    constraint [emp_pk] primary key clustered (
    [id] asc
    ) with (pad_index = off, statistics_norecompute=off, ignore_dup_key=off, allow_row_locks=on, allow_page_locks=on) on [primary]
    ) on [primary]
    ------ TARGET TABLE
    CREATE TABLE GOLDENGATE.EMP
    ID NUMBER,
    FIRST_NAME VARCHAR2(50 BYTE),
    LAST_NAME VARCHAR2(50 BYTE)
    Thank you
    J.A.

    Hi
    I altered the table in Oracle, I add the primary key:
    alter table emp add constraint
    pk_emp primary key (ID );
    Now GG replicate insert, delete and update.
    J.A.

  • MS SQL 2005 x64 Linked Server to Oracle 10g 32bit

    I need to connect to a 10.2.0.4 Oracle DB from a SQL Server 2005 x64 on W2003.
    The Instant Client installed is 10.2.0.1 with ODP 10.2.0.3, which is used to connect to another Oracle DB.
    I get de error ORA-12154 while doing the linked server query.
    Do I really need to update de Instant Client?
    Thankx and some more info.
    I can reach it with TOAD from my laptop which has Instant Client 11.1.0.7.
    I followed several how-tos while configuring the linked server.
    The other linked server supposely works but I'm not sure and don't know the Oracle version.

    Hi sanjay,
    but why sysdate is giving me the today's date and when i use getdate ...it does not give me anything..
    i am using openquery tooracle data base..usually i have to use Oracle command..
    Mo..

  • SQL 2005 Linked server to Oracle append

    Hi Oracle Exprets,
    i am using an SQl 2005 linked server too pull data from specific table in Oracle data base.
    the thing is i have to pull data daily and append this data to the exsisting table.
    here is my code :
    EXEC sp_tables_ex @table_server ='LINKED_ORA',@table_schema='Myschema'
    INSERT INTO dbo.ARS20091
    SELECT * FROM OPENQUERY(LINKED_ORA,
    'SELECT
    TROUBLEID,
    CREATE_DATE,
    DATE ''1970-01-01'' + CREATE_DATE / 24 / 60 / 60
    CREATEDATE
    FROM CLIENT_TROUBLE
    WHERE CREATE_DATE between ''1230768001'' AND ''1239043005''');
    GO
    this code works but i have to change the date daily and do a complete insert in a new table.
    Is there a way to append data daily ?
    thanks

    Hi sanjay,
    but why sysdate is giving me the today's date and when i use getdate ...it does not give me anything..
    i am using openquery tooracle data base..usually i have to use Oracle command..
    Mo..

  • Different Results from SQL-Query in Oracle 10.2 and  Oracle 11.2

    Look at the following example:
    CREATE TABLE GZP_PLAN (GZP_ID
    NUMBER(9) NOT NULL, PARENT_GZP_ID NUMBER(9),
    CONSTRAINT GZP_PLAN_PK1 PRIMARY KEY(GZP_ID)
    USING INDEX
    TABLESPACE USERS
    TABLESPACE USERS;
    insert into GZP_PLAN values(1,NULL);
    CREATE TABLE GZP_WB (OBJECTID NUMBER
    NOT NULL, GZP_ID NUMBER(10),
    CONSTRAINT GZP_WB_PK1_1 PRIMARY KEY(OBJECTID)
    USING INDEX
    TABLESPACE USERS
    TABLESPACE USERS;
    insert into GZP_WB values(1,1);
    CREATE OR REPLACE VIEW VW_GZP (GZP_ID1) AS
    SELECT xxx.gzp_id
    FROM gzp_plan xxx
    WHERE gzp_id IN (
    SELECT MAX (z.gzp_id) zzz
    FROM gzp_plan z
    START WITH z.gzp_id = xxx.gzp_id
    CONNECT BY PRIOR gzp_id = parent_gzp_id);
    -- query
    select a.* from GZP_WB a where gzp_id in (select gzp_id1 from vw_gzp);
    Result in Oracle 10.2. (Windows Server 2003 32-bit, Oracle 10.2.0.2 or Oracle 10.2.0.5, Enterprise Edition)
    OBJECTID     GZP_ID
    *1 1*
    Result in Oracle 11.2 (Windows Server 2008 64-bit, Oralcle 11.2.0.2, Enterprise Edition or Standard Edition One)
    no rows selected
    The result of the following queries are identical in Oracle 10.2 and 11.2
    SQL> select * from GZP_WB where to_char(gzp_id) in
    2 (select to_char(gzp_id1) from vw_gzp);
    OBJECTID GZP_ID
    1 1
    SQL>
    SQL> select a.* from GZP_WB a, vw_gzp b where a.gzp_id=b.gzp_id1;
    OBJECTID GZP_ID
    1 1

    The solution is Oracle 11.2.0.3 - patchset released 11th November.

  • How to script out linked in servers from sql 7.0

    Can someone help me with the syntax of scripting out the linked server. Thanks

    Hi Suresh,
    In addition to other post, you can use the detailed T-SQL scripts below to script out all linked and remote servers on SQL 7.0.
    --Script to script out all linked/remote servers
    --Works on 7.0 and 2000 servers
    --remote password decrypt only works on 7.0
    declare
    @status smallint, -- server status
    @server sysname, -- server name
    @srvid smallint, -- server id
    @srvproduct nvarchar(128), -- product name (dflt to ss)
    @allsetopt int, --sum of all settable options
    @provider nvarchar(128), -- oledb provider name
    @datasrc nvarchar(4000), -- oledb datasource property
    @location nvarchar(4000), -- oledb location property
    @provstr nvarchar(4000), -- oledb provider-string property
    @catalog sysname, -- oledb catalog property
    @netname varchar(30), -- Server net name
    @srvoption varchar(30), -- server options
    @loclogin varchar(30), -- Local user
    @rmtlogin varchar(30), -- Remote user
    @selfstatus smallint, -- linked server login status
    @rmtpass varbinary(256), -- linked server login password
    @pwdtext nvarchar(128), -- linked server decrypted password
    @i int, -- linked server pswd decrypt var
    @lsb tinyint, -- linked server pswd decrypt var
    @msb tinyint, -- linked server pswd decrypt var
    @tmp varbinary(256) -- linked server pswd decrypt var
    select @allsetopt=number from master.dbo.spt_values
    where type = 'A' and name = 'ALL SETTABLE OPTIONS' -- Only 7.0 else use 4063
    declare d cursor for SELECT srvid,srvstatus, srvname, srvproduct, providername, datasource,
    location, providerstring, catalog, srvnetname
    from master..sysservers
    where srvid > 0 -- Local Server
    open d
    fetch next from d into @srvid, @status, @server, @srvproduct, @provider, @datasrc,
    @location, @provstr, @catalog, @netname
    SET NOCOUNT ON
    while (@@FETCH_STATUS<>-1) begin
    PRINT '--------------------------------'
    Print '-- ' + @server
    PRINT '--------------------------------'
    If @status in (64,65) --Remote Server
    Begin
    Print 'sp_addserver'
    Print ' @server = '''+ @server + ''''
    Print ' GO'
    If @status = 64
    Begin
    Print 'sp_serveroption'
    Print ' @server = '''+ @server + ''','
    Print ' @optname = ''rpc'','
    Print ' @optvalue = ''false'''
    Print ' GO'
    End
    exec ('declare r cursor for
    select l.name, r.remoteusername from
    sysremotelogins r join sysservers s on
    r.remoteserverid = s.srvid
    join syslogins l on
    r.sid = l.sid
    where s.srvname = '''+ @server + '''')
    open r
    fetch next from r into @loclogin, @rmtlogin
    while (@@FETCH_STATUS<>-1)
    begin
    Print 'sp_addremotelogin'
    Print ' @remoteserver = '''+ @server + ''','
    Print ' @loginame = '''+ @loclogin + ''','
    Print ' @remotename = '''+ @rmtlogin + ''''
    Print ' GO'
    fetch next from r into @loclogin, @rmtlogin
    end
    close r
    deallocate r
    End
    Else --Linked server
    Begin
    If exists (select * from tempdb..sysobjects where name like '#tmpsrvoption%')
    Begin
    drop table #tmpsrvoption
    End
    Create Table #tmpsrvoption
    srvoption varchar(30)
    insert #tmpsrvoption
    select v.name
    from master.dbo.spt_values v, master.dbo.sysservers s
    where srvid = @srvid
    and (v.number & s.srvstatus)=v.number
    and (v.number & isnull(@allsetopt,4063)) <> 0
    and v.number not in (-1, isnull(@allsetopt,4063))
    and v.type = 'A'
    PRINT 'sp_addlinkedserver'
    Print ' @server = '''+ @server + ''''
    Print ', @srvproduct = ''' + @srvproduct + ''''
    If @srvproduct <> 'SQL Server' --Cannot specify additional info for SQL Server Product
    Begin
    Print ', @provider = ''' + @provider + ''''
    Print ', @datasrc = ''' + @datasrc + ''''
    Print ', @location = ''' + @location + ''''
    Print ', @provstr = ''' + @provstr + ''''
    Print ', @catalog = ''' + @catalog + ''''
    End
    Print ' GO'
    -- Set all servers options to false, then reset correct server options
    Print 'sp_serveroption'
    Print ' @server = '''+ @server + ''','
    Print ' @optname = ''rpc'','
    Print ' @optvalue = ''false'''
    Print ' GO'
    Print 'sp_serveroption'
    Print ' @server = '''+ @server + ''','
    Print ' @optname = ''rpc out'','
    Print ' @optvalue = ''false'''
    Print ' GO'
    Print 'sp_serveroption'
    Print ' @server = '''+ @server + ''','
    Print ' @optname = ''data access'','
    Print ' @optvalue = ''false'''
    Print ' GO'
    declare s cursor for SELECT srvoption
    from #tmpsrvoption
    open s
    fetch next from s into @srvoption
    while (@@FETCH_STATUS<>-1)
    begin
    Print 'sp_serveroption'
    Print ' @server = '''+ @server + ''','
    Print ' @optname = '''+ @srvoption + ''','
    Print ' @optvalue = ''true'''
    Print ' GO'
    fetch next from s into @srvoption
    End
    close s
    deallocate s
    --Script linked server logins
    If exists (select * from tempdb..sysobjects where name like '#tmplink%')
    Begin
    drop table #tmplink
    End
    create table #tmplink
    rmtserver sysname,
    loclogin sysname null,
    selfstatus smallint,
    rmtlogin sysname null
    insert #tmplink
    exec ('sp_helplinkedsrvlogin '''+ @server + '''')
    declare ll cursor for
    select loclogin, selfstatus, rmtlogin from #tmplink order by rmtlogin
    open ll
    fetch next from ll into @loclogin, @selfstatus, @rmtlogin
    while (@@FETCH_STATUS<>-1)
    begin
    -- Use self no remote user/password
    If (@selfstatus = 1 and @loclogin is null)
    Begin
    Print 'sp_addlinkedsrvlogin'
    Print ' @rmtsrvname = '''+ @server + ''','
    Print ' @useself = ''true'''
    Print ' GO'
    End
    Else
    If (@selfstatus = 1 and @loclogin is not null) Begin
    Print 'sp_addlinkedsrvlogin'
    Print ' @rmtsrvname = '''+ @server + ''','
    Print ' @useself = ''true'','
    Print ' @locallogin = '''+ @loclogin + ''','
    Print ' @rmtuser = NULL,'
    Print ' @rmtpassword = NULL'
    Print ' GO'
    End
    Else
    If (@selfstatus = 0 and @rmtlogin is null) Begin
    Print 'sp_addlinkedsrvlogin'
    Print ' @rmtsrvname = '''+ @server + ''','
    Print ' @useself = ''false'','
    Print ' @locallogin = NULL,'
    Print ' @rmtuser = NULL,'
    Print ' @rmtpassword = NULL'
    Print ' GO'
    End
    Else
    If (@selfstatus = 0) Begin -- Check for Use self mappings
    exec ('declare pwd cursor for
    select l.password from master..sysservers s
    join master..sysxlogins l on s.srvid = l.srvid --where l.sid is not null
    where s.srvname = '''+ @server + ''' and l.name = '''+ @rmtlogin + '''')
    -- Decrypt passwords
    -- Only works for 7.0 server
    -- Encrypt algorithm changed in 2000
    open pwd
    fetch next from pwd into @rmtpass
    while @@fetch_status = 0
    begin
    set @i = 0
    set @pwdtext = N''
    while @i < datalength(@rmtpass)
    begin
    set @tmp = encrypt(@pwdtext + nchar(0))
    set @lsb = convert(tinyint, substring(@tmp, @i + 1, 1))
    ^ convert(tinyint, substring(@rmtpass, @i + 1, 1))
    set @i = @i + 1
    set @tmp = encrypt(@pwdtext + nchar(@lsb))
    set @msb = convert(tinyint, substring(@tmp, @i + 1, 1))
    ^ convert(tinyint, substring(@rmtpass, @i + 1, 1))
    set @i = @i + 1
    set @pwdtext = @pwdtext + nchar(convert(smallint, @lsb)
    + 256 * convert(smallint, @msb))
    end
    Print 'sp_addlinkedsrvlogin'
    Print ' @rmtsrvname = '''+ @server + ''','
    Print ' @useself = ''false'','
    If (@loclogin is null)
    Begin
    Print ' @locallogin = NULL,'
    End
    Else
    Begin
    Print ' @locallogin = '''+ @loclogin + ''','
    End
    If (@rmtlogin is null)
    Begin
    Print ' @rmtuser = NULL,'
    End
    Else
    Begin
    Print ' @rmtuser = '''+ @rmtlogin + ''','
    End
    If (@pwdtext is null)
    Begin
    Print ' @rmtpassword = NULL'
    End
    Else
    Begin
    print ' @rmtpassword = '''+ @pwdtext + ''''
    End
    Print ' GO'
    fetch next from pwd into @rmtpass
    end
    close pwd
    deallocate pwd
    End
    fetch next from ll into @loclogin, @selfstatus, @rmtlogin
    End
    close ll
    deallocate ll
    End
    If @netname <> @server -- If the srvnetname.sysservers is different from srvname.sysservers
    Begin
    Print 'sp_setnetname'
    Print ' @server = '''+ @server + ''','
    Print ' @network_name = '''+ @netname + ''''
    End
    fetch next from d into @srvid,@status, @server, @srvproduct, @provider, @datasrc,
    @location, @provstr, @catalog, @netname
    End
    close d
    deallocate d
    Reference:
    http://www.sqlservercentral.com/scripts/Miscellaneous/30620/
    Thanks,
    Lydia Zhang
    Lydia Zhang
    TechNet Community Support

  • Get error from SQL AGENT: The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D024

    I am running SQL Agent that executes an SSIS process from sql server1. The SSIS process executes its SQL/tables/sp’s  against another sql server2.
    I get an error after adding data flow tasks with transaction supported within a sequence with transaction required. The error, “The SSIS Runtime has failed to enlist the OLE DB connection in a distributed transaction with error 0x8004D024 "The transaction
    manager has disabled its support for remote/network transactions"
    Prior to adding this sequence everything was working from sql agent, and there were other sequences with oledb destinations.
    Everything works when running within SSIS Package.
    I see this article on similar issue,
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/0bfa2569-8849-4884-8f68-8edf98a9b4fe/problem-to-execute-a-package-and-tasks-with-a-certain-transactionoption-property-i-need-help?forum=sqlintegrationservices
    “I had similar issue and solved by setting the following on both the machines. Allow Remote Clients, Allow Remote Administration,
    Allow Inbound Clients, Allow Outbound Clients, and TIP are enabled in Component Services/My Computer/Properties/MSDTC/Security Configuration.”
    I don’t want to remove transaction required for the “Remove Duplicates from Staging” sequence.
    Anyone seen this?
    Greg Hanson

    DTC was running on remote computer. The problem was it was no longer accepting transactions from remote servers. This was in SSIS so I had to turn to "Transaction Supported" for all Data Flow Transactions.
    Greg Hanson

  • Moving system repository from SQL DB to Oracle DB

    We are looking at moving the backend of DRM to Oracle DB from SQL. Does anyone know if there is a migration tool for this or is it a export/import thing?

    "My prediction, pain!" - Clubber Lang from the movie Rocky III.
    Seriously though, if you're handy with ODI you can drop contraints in the target database, truncate tables and then push the records through one table at a time and then enable constraints. Even with an ETL tool this is a fair bit of work.

  • Migration from SQL Reports to Oracle Reports

    Hello everybody,
    We have a requirement where we need to convert various SQL
    reports in .SQL format to Oracle reports ie rdf format. Is there
    a quick solution for this? Is there a tool available? Or is the
    straight forward approach of starting an entirely new report the
    only option available.
    Awaiting your replies,
    regs,
    pramodh

    [Oracle Migration Workbench|http://www.oracle.com/technology/tech/migration/workbench/index.html]
    You can post your questions Database and Application Migrations
    Edited by: Anantha R on Sep 10, 2009 2:56 PM
    Edited by: Anantha R on Sep 10, 2009 2:57 PM

  • Excel 2007 Download Error from SQL Server 2012

    Thank you for your help/comments in advance
    We are running SQL Server 2012, downloading SSRS reports into Excel 2007.
    The report renders to the monitor just fine.
    Most downloads are fine but we get an error with the largest downloads (common denominator) but can be hit or miss.  Usually a second try it will download.  Today we tried numerous times and kept getting the error.
    I saw a link to a service pack fix ...https://msdn.microsoft.com/en-us/library/dd255234(v=sql.110).aspx which somewhat fits my issue.
    The Report Server Log (O:\MSRS11.MSSQLSERVER\Reporting Services\LogFiles\ReportServerService__04_01_2015.log) gives the following error message:
    library!ReportServer_0-2!29bc!04/01/2015-15:02:01:: e ERROR: Throwing Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: Invalid offset for item.  ReferenceID: fffffffffffffffe, Offset: -2, Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException:
    An internal error occurred on the report server. See the error log for more details.;
    library!ReportServer_0-2!29bc!04/01/2015-15:02:12:: i INFO: Dump result: External dump process return code 0x20000001.
    External dump process returned no errors.
    processing!ReportServer_0-2!29bc!04/01/2015-15:02:12:: e ERROR: Throwing Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: , Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException:
    An internal error occurred on the report server. See the error log for more details.;
    library!ReportServer_0-2!29bc!04/01/2015-15:02:12:: w WARN: Microsoft.ReportingServices.Diagnostics.Utilities.RSException: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See
    the error log for more details. ---> Microsoft.ReportingServices.ReportProcessing.ReportProcessingException: Microsoft.ReportingServices.Diagnostics.Utilities.InternalCatalogException: An internal error occurred on the report server. See the error log for
    more details.
       at Microsoft.ReportingServices.RdlExpressions.ReportRuntime.RegisterRuntimeErrorInExpression(VariantResult& result, Exception e, IErrorContext iErrorContext, Boolean isError)
       at Microsoft.ReportingServices.RdlExpressions.ReportRuntime.EvaluateTextRunValueExpression(TextRun textRun)
       at Microsoft.ReportingServices.ReportProcessing.OnDemandReportObjectModel.TextRunImpl.GetResult(IReportScopeInstance romInstance)
       at Microsoft.ReportingServices.OnDemandReportRendering.InternalTextRunInstance.EvaluateOriginalValue()
       at Microsoft.ReportingServices.OnDemandReportRendering.InternalTextRunInstance.get_ProcessedWithError()
       at Microsoft.ReportingServices.Rendering.SPBProcessing.TextBox.WriteCustomNonSharedItemProps(RPLElementProps nonSharedProps, RPLWriter rplWriter, PageContext pageContext)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.PageItem.WriteNonSharedItemProps(RPLElementProps elemProps, RPLWriter rplWriter, PageContext pageContext)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.TextBox.WriteItemToStream(RPLWriter rplWriter, PageContext pageContext)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.TextBox.CalculatePage(RPLWriter rplWriter, PageItemHelper lastPageInfo, PageContext pageContext, PageItem[] siblings, RepeatWithItem[] repeatWithItems, Double parentTopInPage, Double&
    parentPageHeight, Interactivity interactivity)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.Rectangle.CalculatePage(RPLWriter rplWriter, PageItemHelper lastPageInfo, PageContext pageContext, PageItem[] siblings, RepeatWithItem[] repeatWithItems, Double parentTopInPage, Double&
    parentPageHeight, Interactivity interactivity)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.Tablix.TablixContext.AddRowMemberContent(TablixMember rowMember, Int32 rowIndex, Int32 colIndex, Int32 rowSpan, Int32 colSpan, Byte memberState, Int32 defTreeLevel, LevelInfo childLevelInfo,
    Double updateWidth)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.Tablix.TablixContext.AddRowMember(TablixMember rowMember, Int32 rowIndex, Int32 colIndex, Int32 rowSpan, Int32 colSpan, Byte memberState, Int32 defTreeLevel, LevelInfo childLevelInfo)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.Tablix.CreateRowMemberChildren(Tablix tablix, TablixMember rowMemberParent, InnerToggleState parentToggleState, Int32 defTreeLevel, Boolean parentBorderHeader, Int32 parentRowIndex,
    Int32 parentColIndex, Int32 level, TablixContext context, Boolean& advanceRow, LevelInfo& parentLevelInfo, List`1& ignoreTotals, Boolean keepTogether)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.Tablix.CreateTablixItems(Tablix tablix, TablixContext context)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.Tablix.CalculatePage(RPLWriter rplWriter, PageItemHelper lastPageInfo, PageContext pageContext, PageItem[] siblings, RepeatWithItem[] repeatWithItems, Double parentTopInPage, Double&
    parentPageHeight, Interactivity interactivity)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.ReportBody.CalculatePage(RPLWriter rplWriter, PageItemHelper lastPageInfo, PageContext pageContext, PageItem[] siblings, RepeatWithItem[] repeatWithItems, Double parentTopInPage, Double&
    parentPageHeight, Interactivity interactivity)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.ReportSection.CalculatePage(RPLWriter rplWriter, Int32 page, Int32 totalPages, Int32 regionPageNumber, Int32 regionTotalPages, Boolean firstSectionOnPage, Boolean lastSection, Interactivity
    interactivity, Double heightToBeUsed, PageItemHelper& lastBodyInfo, Boolean& delayedHeader, Boolean& delayedFooter, Boolean& lastSectionOnPage)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.Report.NextPage(RPLWriter rplWriter, ReportSectionHelper& lastPageInfo, Int32 page, Int32 totalPages, Interactivity interactivity, Boolean hasPaginationChunk)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.SPBProcessing.GetReportNextPage(Stream& stream, Boolean collectPageBookmarks)
       at Microsoft.ReportingServices.Rendering.SPBProcessing.SPBProcessing.GetNextPage(RPLReport& rplReport, Boolean collectPageBookmarks)
       at Microsoft.ReportingServices.Rendering.ExcelRenderer.ExcelRenderer.Render(Report report, NameValueCollection reportServerParameters, NameValueCollection deviceInfo, NameValueCollection clientCapabilities, Hashtable& renderProperties,
    CreateAndRegisterStream createAndRegisterStream)
       --- End of inner exception stack trace ---
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.HandleRenderingException(ReportRenderingException rex)
       at Microsoft.ReportingServices.ReportProcessing.Execution.RenderReport.Execute(IRenderingExtension newRenderer)
       at Microsoft.ReportingServices.ReportProcessing.ReportProcessing.RenderSnapshot(RenderingContext rc, ProcessingContext pc)
       at Microsoft.ReportingServices.Library.RenderFromSnapshot.DoRendering(ProcessingContext pc, RenderingContext rc)
       at Microsoft.ReportingServices.Library.RenderFromSnapshot.CallProcessingAndRendering(ProcessingContext pc, RenderingContext rc, OnDemandProcessingResult& result)
       at Microsoft.ReportingServices.Library.RenderStrategyBase.ExecuteStrategy(OnDemandProcessingResult& processingResult)
    The user sees the following on her monitor when downloading ...

    Hi Mark,
    As you know this is an known issue in the SSRS 2012 and the fix for this issue was first released in Cumulative Update 3 for SQL Server 2012. For more information about this cumulative update package, click the following article number to view the article
    in the Microsoft Knowledge Base:
    2723749Cumulative update package 3 for SQL Server 2012
    More details information in below article:
    http://support.microsoft.com/en-us/kb/2707015
    As I have tested on my loacal environment and can't reproduce the issue and you have also mentioned that that you didn't meet the issue now. If you got the issue next time, please feel free to let us know if the hotfix will work or not.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • Migration from SQL 2000 to Oracle 10g

    Hi every one,
    This is the first i am posting to this forum.
    I have a problem in migration of Sql Server database to Oracle 10g.
    We use Microsoft Navision Axapta 3.0 SP4 as front end.
    and Sql Server 2000.
    All table and indexes are created in sql server by Navison only.
    My Database size is 300 GB and now we face thousands of Problem with SQL server so we decided to make a intelligent move to oracle 10g.
    As we have 1200+ users.
    The problem i am facing when i tranfer all the table to my Oracle Database it gives a error out of buffer.
    some time it gives me error about the index as few of our developer have create two indexex on one field.
    So oracle identifies that there are two indexes on one field.
    So pls help how can i solve this problem.
    I have 1234 tables.
    from
    Mohd Sufian

    Can you post the exact Oracle error you are getting? The ORA-xxxxx part is the most important for us to identify what particular problem(s) you're having.
    Is your front-end certified to use an Oracle database? Particularly if the front end is creating database objects, it needs to know how to work with whatever database it is connecting to.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • DB Link not working from SQL Developer

    Hi All,
    I Have two databases say A and B. My DBA has created a DB link and when he logs in to sqlplus directly on the server and he can get the values from the other database. When I'm to get the values from the other database through SQL Developer from my client machine, it is giving me ORA-12154: TNS :could not resolve the connection identifier specified.
    I can access both the databases without any problem and i have the entries for bath in my TNSNAMES.ORA file.
    Thanks in advance.
    SK

    Check the dblink ddl. your tnsnames.ora should have exact same word as dblink_authentication as below.
    create public dblink dblink_name connect to username identified by password dblink_authentication;

Maybe you are looking for

  • Adding Sound FX...???

    Is there a way to add sounds NOT LOOPS but sound effects like for me, I have some WHOOSH sounds I would like to incorporate into a song. I am not sure how to go about importing that file into ST then using it in a song.

  • How can I create a negative from image in iPhoto

    I wish to create a negative from an image in iPhoto so I can print as if the negative. Is it possible to do this in iPhoto?

  • Bad SQL for filter expression

    Using Kodo JDO 2.5.3, I am attempting to do queries of the following form: select * from dschannel as c where not exists (select pk from channelsegment as s where c.pk = s.channel and c.supporting = ? and (s.validForEnd > ? or s.validForStart < ?));

  • I have a pdf that i can not get to print and I can only open it with Adobe Reader.

    I have a pdf that will only open in Adobe Reader.  I need to print it but when I try, I keep getting the message "Before you can preform .....you must install a printer."  I have several printers networked to this machine.  They all have up to date d

  • How to create tool tip in indesign skd?

    hi, Anyone suggest me, how to create tool tip in indesign skd? thanks, vijay