Linked Object to SQL-View to Oracle Table through MSDAORA

wakestar
Member Posts: 207
Following situation:
SQL-Server 2000
Linked Server to Oracle through MS OLE DB Provider for Oracle
SQL-Server throws an Error when trying to show records in SQL Enterprise Manager:
'IRowset::GetNextRows' returned 0x80004005...
The sql view looked like:
SELECT Fieldname, Fieldname2
FROM ORACLESERVER..NAVISION.SOMETABLE
After changing the sql view to
SELECT *
FROM OPENQUERY(ORACLESERVER, 'SELECT Fieldname, Fieldname2 from NAVISION.SOMETABLE')
the error message disappeared and the Enterprise Manager now shows the records.
The funny thing is that
- the first view worked before and *suddenly* stopped working ..( at least that's what the client says)
- this error only appears when the oracle table is empty (both sql views work correctly when records exist on the oracle side)
Any explanations?
My guess is: buggy msdaora
SQL-Server 2000
Linked Server to Oracle through MS OLE DB Provider for Oracle
SQL-Server throws an Error when trying to show records in SQL Enterprise Manager:
'IRowset::GetNextRows' returned 0x80004005...
The sql view looked like:
SELECT Fieldname, Fieldname2
FROM ORACLESERVER..NAVISION.SOMETABLE
After changing the sql view to
SELECT *
FROM OPENQUERY(ORACLESERVER, 'SELECT Fieldname, Fieldname2 from NAVISION.SOMETABLE')
the error message disappeared and the Enterprise Manager now shows the records.
The funny thing is that
- the first view worked before and *suddenly* stopped working ..( at least that's what the client says)
- this error only appears when the oracle table is empty (both sql views work correctly when records exist on the oracle side)
Any explanations?
My guess is: buggy msdaora
0
Comments
-
Could it be because of a .NET upgrade?
http://demiliani.com/blog/archive/2009/06/22/6558.aspxRegards
Peter0 -
Microsoft .NET Framework 3.5 SP1 - Update "KB963707" was installed... 1st of july :-k :-k :-k
Now i'm getting a new error since I have switched to OPENQUERY:
'MSDAORA' IRowsetChange::SetData returned 0x80004005
SQL:
UPDATE NAVISION.SOMETABLE WITH (REPEATABLEREAD) SET .....
When the users tries to modify the table from navision0 -
Is there a way to get rid of the 'REPEATABLEREAD' and replace with something similar which Oracle accepts?
I can't modify the oracle data at all.. (with or without OPENQUERY)0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions