WCS failed to retrieve metadata error
Hi there,
we're getting the below mentioned error in our WCS console.
Does anyone know what to do?
Failed to retrieve metadata :[FaultEvent fault=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL:
https://localhost/webacs/xmlReportsAction.do?graphId=WCSHomeClientCount&objectId=null&componentId=4244&retrieveMetadata=true&RandomNo=0.4257946787402034"] messageId="B9E003E7-E2B9-4A90-2BA4-A56B3826B3AD" type="fault" bubbles=false cancelable=true eventPhase=2]
ailed to retrieve metadata :[FaultEvent fault=[RPC Fault faultString="HTTP request error" faultCode="Server.Error.Request" faultDetail="Error: [IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 text="Error #2032"]. URL:
https://localhost/webacs/xmlReportsAction.do?graphId=WCSHomeClientCount&objectId=null&componentId=4244&retrieveMetadata=true&RandomNo=0.4257946787402034"] messageId="B9E003E7-E2B9-4A90-2BA4-A56B3826B3AD" type="fault" bubbles=false cancelable=true eventPhase=2]
Why does it say localhost for the url? Is this screenshot from the WCS server itself? I would check firewall settings on the server.
Also, does this happen in all browsers (firefox, chrome, etc) or just one type?
Similar Messages
-
Failed to retrieve metadata in bibeans
Hello,
When I try to define a database connection I'm getting the following message:
Successfully connected to the Oracle database but failed to retrieve metadata
Also I can't open any of my Catalogs under the BI Designer. I ran the bi Diagnostics and below is the report. Does anyone know how to fix this metadata inconsistency?
Thanks a lot for any help,
Ariela
BI Beans Diagnostics(v1.0.0.0) 1/10/03
===============================================================================
JDEV_ORACLE_HOME ............................. = c:\JDeveloper
JAVA_HOME .................................... = c:\JDeveloper\jdk
JDeveloper version ........................... = 9.0.3.1035 (Production)
BI Beans version ............................. = 9.0.3.4.0
BI Beans internal version .................... = 2.7.0.11.3
Connect to database .......................... = Successful
JDBC driver version .......................... = 9.2.0.1.0
JDBC JAR file location ....................... = c:\JDeveloper\jdbc\lib
Database version ............................. = 9.2.0.2.0
OLAP Catalog version ......................... = N/A
OLAP AW Engine version ....................... = N/A
OLAP API Server version ...................... = N/A
BI Beans Cata[i]Long postings are being truncated to ~1 kB at this time.the posting has been truncated:
BI Beans Diagnostics(v1.0.0.0) 1/10/03
===============================================================================
JDEV_ORACLE_HOME ............................. = c:\JDeveloper
JAVA_HOME .................................... = c:\JDeveloper\jdk
JDeveloper version ........................... = 9.0.3.1035 (Production)
BI Beans version ............................. = 9.0.3.4.0
BI Beans internal version .................... = 2.7.0.11.3
Connect to database .......................... = Successful
JDBC driver version .......................... = 9.2.0.1.0
JDBC JAR file location ....................... = c:\JDeveloper\jdbc\lib
Database version ............................. = 9.2.0.2.0
OLAP Catalog version ......................... = N/A
OLAP AW Engine version ....................... = N/A
OLAP API Server version ...................... = N/A
BI Beans Catalog version ..................... = N/A; not installed in adw
OLAP API JAR file version .................... = 9.2
OLAP API JAR file location ................... = c:\JDeveloper\jdev\lib\ext
Load OLAP API metadata ....................... = Unsuccessful
Error: An error occurred during olap API metadata retrieval. This is probably caused by[i]Long postings are being truncated to ~1 kB at this time. -
Unknown Database Connector Error Details: "Failed to retrieve SQL Error"
Hi
Getting "Failed to retrieve SQL Error" while trying to refresh the Crystal report.
Unable to create a new report also
This is my ERROR MESSAGE
"Unknown Database Connector Error Details: "Failed to retrieve SQL Error"
Previous Error: Query generated multiple SQL statements.However multiple SQL is not supported in crystal reports query panel"
Any Suggestion.Hi,
Please note that any query that generates multiple SQL statements is not supported in the Query Panel in Crystal Reports.
I guess this Universe is generating multiple SQLs and hence the error.
I found this option while I was searching for something else: Could you try turning off the "Multiple SQL statement for each measure" in the Universe parameters and see if it works?
Also, here's the Universe Support Guide, although old, it is still applicable:
http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/20984c2b-17f1-2b10-1091-d18977f7cd8f?QuickLink=index&overridelayout=true
-Abhilash -
Failed to retrieve metadata with BIBDEMO
Hi,
I also have problems with BIBEANS Metadata Catalog.
I tried to setup a new project along the BIBEANS Demo manual and see an error when I try to retrieve Metadata.
Message in detail: Successfully connected to the database but faild to retrieve metadata.
I have installed the OLAP Metadata Catalog and I also run the CWM2_OLAP_METADATA_REFRESH.MR_REFRESH.
But when I run the bi_checkconfig.bat following output is generated:
BI Beans Diagnostics(v1.0.0.0) 11/24/03
===============================================================================
JDEV_ORACLE_HOME ............................. = C:\Oracle\jdev9031
JAVA_HOME .................................... = C:\Java\j2sdk1.4.1_05
JDeveloper version ........................... = 9.0.3.1.1107
BI Beans version ............................. = 9.0.3.6.0A
BI Beans internal version .................... = 2.7.0.13.1
Connect to database .......................... = Successful
JDBC driver version .......................... = 9.2.0.3.0
JDBC JAR file location ....................... = C:\Oracle\jdev9031\jdbc\lib
Database version ............................. = 9.2.0.4.0
OLAP Catalog version ......................... = 9.2.0.4.0
OLAP AW Engine version ....................... = 9.2.0.4.0
OLAP API Server version ...................... = 9.2.0.4.0
BI Beans Catalog version ..................... = N/A; not installed in bibdemo
OLAP API JAR file version .................... = 9.2
OLAP API JAR file location ................... = C:\Oracle\jdev9031\jdev\lib\ext
Load OLAP API metadata ....................... = Unsuccessful
Error: An error occurred during olap API metadata retrieval. This is probably c
aused by inconsistent metadata.
See C:\Oracle\jdev9031\bibeans\bin\bi_error.log
To interpret this output, see the "Displaying Information about your Oracle9i Bu
siness Intelligence Beans Client Configuration" technical note, whose file name
is bi_checkconfig_tn.html
These diagnostics are captured in: C:\Oracle\jdev9031\bibeans\bin\bi_checkconfig
.xml
Help is highly appreciated.
Regards,
Bernd J�gleI patched with Oracle 9.2.0.4.1 OLAP Patch sucessfully.
Run the execute CWM2_OLAP_METADATA_REFRESH.MR_REFRESH again. But nothing changed.
When I run the bi_checkconfig.bat I receive the following output:
BI Beans Diagnostics(v1.0.0.0) 12/1/03
===============================================================================
JDEV_ORACLE_HOME ............................. = C:\Oracle\jdev9031
JAVA_HOME .................................... = C:\Java\j2sdk1.4.1_05
JDeveloper version ........................... = 9.0.3.1.1107
BI Beans version ............................. = 9.0.3.6.0A
BI Beans internal version .................... = 2.7.0.13.1
Connect to database .......................... = Successful
JDBC driver version .......................... = 9.2.0.3.0
JDBC JAR file location ....................... = C:\Oracle\jdev9031\jdbc\lib
Database version ............................. = 9.2.0.4.0
OLAP Catalog version ......................... = 9.2.0.4.0
OLAP AW Engine version ....................... = 9.2.0.4.0
OLAP API Server version ...................... = 9.2.0.4.0
BI Beans Catalog version ..................... = N/A; not installed in BIBDEMO
OLAP API JAR file version .................... = 9.2
OLAP API JAR file location ................... = C:\Oracle\jdev9031\jdev\lib\ext
Load OLAP API metadata ....................... = Unsuccessful
Error: An error occurred during olap API metadata retrieval. This is probably c
aused by inconsistent metadata.
See C:\Source\Oracle\bibeans9032\bi_checkconfig\bi_error.log
To interpret this output, see the "Displaying Information about your Oracle9i Bu
siness Intelligence Beans Client Configuration" technical note, whose file name
is bi_checkconfig_tn.html
These diagnostics are captured in: C:\Source\Oracle\bibeans9032\bi_checkconfig\b
i_checkconfig.xml
What else can I do?
Thanks for helping...
regards
Bernd -
Media Center Guide - Failed to retrieve EpgListings Error
When is Microsoft going to address this? This is a HUGE PROBLEM for people that use WMC. It couldnt be a bigger problem as it renders my ENTIRE media setup worthless. Below is a link to a workaround and a forum with tons of people having
the same problem.
http://www.thegreenbutton.tv/forums/viewtopic.php?p=80288&f=5#p80288
Re-running the TV setup works for a few weeks but then you start getting the same error. I have 2 TVs in the house that use WMC. Both have the problem. I did what this link suggested and it fixed TV1. I re-ran the setup again on TV2
and it worked, until tonight which is about 2 weeks since the last time I ran it. This is a temporary workaround NOT a solution!
This is a MICROSOFT PROBLEM and this is EXACTLY why ZERO people take WMC seriously. Can you imagine if you turned on your TV with dish, directv, comcast, whatever and you had no guide data and you had to jump through all sorts of technical hoops to
get your guide back? It would be chaos. WMC "could" be one of the best pieces of software from microsoft but with this sort of thing happening, it will never be anything but a snap-in.
I also find it amazing that there is no help on this MAJOR, SHOWSTOPPING, APPLICATION KILLING, bug/defect/issue within Microsoft's forums. I have customers that I have recommended and built WMC based HTPCs because of how "great" they are...I
mean were. This is embarrassing for me, my company, and it should be for Microsoft. I am completely done using WMC after this. We have better support from the open source solutions.On Mon, 27 Oct 2014 07:52:51 +0000, BmcD wrote:
WMC "could" be one of the best pieces of software from microsoft but with this sort of thing happening, it will never be anything but a snap-in.
Microsoft has discontinued all development for Windows Media Center. There is no
development team as those folks have all moved on to other groups or left
Microsoft. It's difficult to get MSFT to look at problems with EPG downloads. If
you post your issue at
http://connect.microsoft.com/site1145 (you may have to
sign in/create an account to see the feedback tab) and it is trending, they
might eventually look at the issue. There was an issue in the UK about 10 days
ago.
Please don't shoot the messenger.
-- Barb Bowman -
BIB - problem with retrieving metadata
Hi,
I've Oracle 9i 9.2.0.2 (Win) installed, Oracle JDeveloper 9.0.3 and the latest BI Java Beans.
When I'm trying to run sample bibdemo, I receive messages that connection to Olap Service was established but failed to retrieve metadata
Any suggestions?
SlawekSorry but with the limited information it is difficult to figure out the problem. However, my first question would be do you have the Windows 9.2.0.2.1 patch set installed correctly? A lot of users have failed to perform the Post Install steps from the readme such as running catpatch.sql. (Understandably so because the readme is HUGE!) Please take a look at my post on this OLAP forum with the title "9.2.0.2 Patch". There you will find abbreviated install instructions regarding the 9.2.0.2.1 patch set. Make sure you have actually completed the install process.
Also, the BI Beans have posted on OTN a client configuration diagnostic utility. The purpose of it is to gather information about your configuration that will help you and Oracle Support Services diagnose problems. You can find it at the following OTN link:
http://otn.oracle.com/products/bib/content.html
Hope this helps. -
Unable to install SQL Server Express 2008 R2 - Errors "Failed to retrieve data for this request"
As domain admin I am attempting to install "SQL Server 2008 R2 with SP2" but it keeps failing with "Failed to retrieve data for this request".
The installation never actually starts, it errors before then.
It displays the same error even if I run the System Configuration Checker.
The summary.txt for the install displays the following text:
Overall summary:
Final result: Failed: see details below
Exit code (Decimal): -1554760125
Exit facility code: 852
Exit error code: 15939
Exit message: Failed to retrieve data for this request.
Start time: 2014-08-15 16:49:52
End time: 2014-08-15 16:50:06
Requested action: RunRules
Machine Properties:
Machine name: servername
Machine processor count: 8
OS version: Windows Server 2008 R2
OS service pack: Service Pack 1
OS region: United States
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: Yes
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered
Package properties:
Description: SQL Server Database Services 2008 R2
ProductName: SQL Server 2008 R2
Type: RTM
Version: 10
SPLevel: 1
Installation location: c:\84122ef5b6d9cdcd3b2ac48cec\x64\setup\
Installation edition: EXPRESS
User Input Settings:
ACTION: RunRules
CONFIGURATIONFILE:
ENU: True
FARMACCOUNT: <empty>
FARMADMINPORT: 0
FARMPASSWORD: *****
FEATURES:
HELP: False
INDICATEPROGRESS: False
INSTANCENAME: <empty>
PASSPHRASE: *****
QUIET: False
QUIETSIMPLE: False
RULES: GLOBALRULES,SqlUnsupportedProductBlocker,PerfMonCounterNotCorruptedCheck,Bids2008InstalledCheck,BlockInstallSxS,AclPermissionsFacet,FacetDomainControllerCheck,SSMS_IsInternetConnected,FacetWOW64PlatformCheck,FacetPowerShellCheck
UIMODE: AutoAdvance
X86: False
Configuration file: C:\Program Files\Microsoft SQL Server\100\Setup Bootstrap\Log\20140815_164944\ConfigurationFile.ini
Detailed results:
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: The rule result report file is not available.
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
Message:
Failed to retrieve data for this request.
Data:
HelpLink.ProdName = Microsoft SQL Server
HelpLink.BaseHelpUrl = http://go.microsoft.com/fwlink
HelpLink.LinkId = 20476
DisableWatson = true
Stack:
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun)
Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
Message:
The network path was not found.
Data:
WatsonData = [email protected]rror
Stack:
at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.CreateBaseKey(ServiceContainer ctx, String machineName, IntPtr hKey, String keyName, RegistryAccess access, RegistryView
view)
at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocalMachine(ServiceContainer ctx, String machineName, RegistryAccess access, RegistryView view)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)Inner exception type: Microsoft.SqlServer.Configuration.Sco.SqlRegistryException
Message:
The network path was not found.
Data:
WatsonData = [email protected]rror
Above message says that your registry is not consistent and some of the parameters are missing from registry.Or
Account installing SQL server does not have permission to access this. I think case can be here that account with which you logged into your system to install SQL Server might not have certain privileges. Can you take help
of domain admin account add it as a local administrator in this machine always right click on setup file and select run as administrator. Before this make sure you remove all SQL Server components from add remove program
I strongly recommend you to have a good look at below thread
http://support.microsoft.com/kb/2000257/en-us
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it.
My TechNet Wiki Articles -
Explorer error "Failed to retrieve the Information Spaces list." from HANA
I am getting this dumb error "Failed to retrieve the Information Spaces list. // Request timed out" in Explorer's "Manage Spaces" area every time I click on the analytic view listed under my HANA sources of the Explorer. So, my HANA source is visible, and analytic views are visible in Explorer as well, but I cannot get any Information Space created because of the error, and I could not find the error and its causes in Explorer docs.
I already
- upgraded HANA db to Rev 18 (for some reasons I cannot u[grade this system to SPS3 yet) and BIP and Explorer 4.0 are on the latest Patch 8 of SP2.
- configured connection using IDT defined connection,
- restarted servers in CMS already 100s of times.
There is enough free space on the BO server's drive: 33GB. BO is a single server based on Win2008 R2 SP1 with 40GB RAM.
Any ideas what else I can do to get rid of this issue? It is a test server, so I cannot open customer msg to SAP Support.
Thanks,
-VitaliyTry increasing the timeout under
..\SAP BusinessObjects\Tomcat6\webapps\explorer\WEB-INF\classes\ default.settings.properties
from
request.timeout=60
to
request.timeout=600 -
Hi all,
Has anyone come across SQL Server 2012 SP1 CU8/9 failing to install with a “Failed to retrieve data for this request.” error.
The error is too generic for a useful search on web, for me at least anyway.
Had no problems patching a whole bunch of other servers in the same environment.
I’m no good at reading these error logs. For some reason the primary replica is referenced in the detailed log???
The CU8/9 patch has been run by both Domain Admins and local Admin with no luck.
We are trying to patch a secondary failover replica. (SharePoint 2013 is installed on this server.)
This is from the summary log:
Overall summary:
Final result: The patch installer has failed to update the shared features. To determine the reason for failure,
review the log files.
Exit code (Decimal): -2146233088
Exit facility code: 19
Exit error code: 5376
Exit message: Failed to retrieve data for this request.
Start time: 2014-04-10 11:51:11
End time: 2014-04-10 11:51:49
Requested action: Patch
Exception help link:
http://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=11.0.3412.0&EvtType=0xB2652E58%400xDC80C325&EvtType=0xB2652E58%400xDC80C325
Machine Properties:
Machine name: VMSPDB2
Machine processor count: 4
OS version: Future Windows Version
OS service pack:
OS region: Australia
OS language: English (United States)
OS architecture: x64
Process architecture: 64 Bit
OS clustered: Yes
Product features discovered:
Product Instance Instance ID
Feature Language
Edition Version Clustered Configured
SQL Server 2012 MSSQLSERVER MSSQL11.MSSQLSERVER Database
Engine Services 1033 Enterprise Edition
11.1.3000.0 No Yes
SQL Server 2012 MSSQLSERVER MSSQL11.MSSQLSERVER SQL Server
Replication 1033 Enterprise
Edition 11.1.3000.0 No Yes
SQL Server 2012 MSSQLSERVER MSSQL11.MSSQLSERVER Full-Text
and Semantic Extractions for Search 1033 Enterprise Edition 11.1.3000.0 No
Yes
SQL Server 2012 MSSQLSERVER MSSQL11.MSSQLSERVER Data
Quality Services 1033
Enterprise Edition 11.1.3000.0 No Yes
SQL Server 2012
Management Tools - Basic 1033
Enterprise Edition 11.1.3000.0 No Yes
SQL Server 2012
Management Tools - Complete 1033 Enterprise Edition
11.1.3000.0 No Yes
SQL Server 2012
Client Tools Connectivity 1033 Enterprise Edition
11.1.3000.0 No Yes
SQL Server 2012
SQL Server Data Tools 1033
Enterprise Edition 11.1.3000.0 No Yes
SQL Server 2012
Integration Services 1033
Enterprise Edition 11.1.3000.0 No Yes
Package properties:
Description: Microsoft SQL Server 2012 Service Pack 1
ProductName: SQL Server 2012
Type: RTM
Version: 11
SPLevel: 1
KBArticle: KB2931078
KBArticleHyperlink:
http://support.microsoft.com/?kbid=2931078
PatchType: QFE
AssociatedHotfixBuild: 0
Platform: x64
PatchLevel: 11.1.3412.0
ProductVersion: 11.1.3000.0
GDRReservedRange: 10.0.1000.0:10.0.1099.0;10.0.3000.0:10.0.3099.0
PackageName: SQLServer2012-KB2931078-x64.exe
Installation location: e:\90a192411a98d1f6dc\x64\setup\
User Input Settings:
ACTION: Patch
ALLINSTANCES: false
CLUSTERPASSIVE: false
CONFIGURATIONFILE:
ENU: false
HELP: false
IACCEPTSQLSERVERLICENSETERMS: false
INDICATEPROGRESS: false
INSTANCEID: <empty>
INSTANCENAME: <empty>
QUIET: false
QUIETSIMPLE: false
SQMREPORTING: false
UIMODE: Normal
X86: false
Rules with failures:
Global rules:
There are no scenario-specific rules.
Rules report file: The rule result report file is not available.
Exception summary:
The following is an exception stack listing the exceptions in outermost to innermost order
Inner exceptions are being indented
Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
Message:
Failed to retrieve data for this request.
HResult : 0x80131500
Data:
HelpLink.ProdName = Microsoft SQL Server
HelpLink.BaseHelpUrl =
http://go.microsoft.com/fwlink
HelpLink.LinkId = 20476
HelpLink.EvtType =
0xB2652E58@0xDC80C325
DisableWatson = true
Stack:
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer context)
Inner exception type: System.ComponentModel.Win32Exception
Message:
Not all privileges or groups referenced are assigned to the caller.
HResult : 0x80004005
Error : 1300
Stack:
at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean enable)
at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String privilege)
at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer ctx, String machineName, SqlRegistryKey
key)
at Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer ctx, String machineName, SqlRegistryKey
machineKey, String registryPath, RegistryView regView, String regPath, RegistryAccess registryAccess, Boolean& alreadyCached)
at Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer ctx, String machineName, RegistryView regView,
String regPath, RegistryAccess registryAccess)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
And the tail of the detailed log:
(01) 2014-04-10 11:51:29 Slp: Completed Action: InitializeMsiExtension, returned True
(01) 2014-04-10 11:51:30 Slp: ----------------------------------------------------------------------
(01) 2014-04-10 11:51:30 Slp: Running Action: AddPackageModifierSourcesAction
(01) 2014-04-10 11:51:30 Slp: Completed Action: AddPackageModifierSourcesAction, returned True
(01) 2014-04-10 11:51:30 Slp: ----------------------------------------------------------------------
(01) 2014-04-10 11:51:30 Slp: Running Action: InitializeConfigAction
(01) 2014-04-10 11:51:30 Slp: Completed Action: InitializeConfigAction, returned True
(01) 2014-04-10 11:51:30 Slp: ----------------------------------------------------------------------
(01) 2014-04-10 11:51:30 Slp: Running Action: RunRemoteDiscoveryAction
(01) 2014-04-10 11:51:31 Slp: Running discovery on local machine
(01) 2014-04-10 11:51:33 Slp: Discovery on local machine is complete
(01) 2014-04-10 11:51:33 Slp: Running discovery on remote machine: VMSPDB1
(01) 2014-04-10 11:51:35 Slp: Discovery on VMSPDB1 failed due to exception
(01) 2014-04-10 11:51:36 Slp: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException: Failed to retrieve data for this request. ---> System.ComponentModel.Win32Exception: Not all privileges or groups referenced are
assigned to the caller.
at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean enable)
at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String privilege)
at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer ctx, String machineName, SqlRegistryKey key)
at Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer ctx, String machineName, SqlRegistryKey machineKey, String registryPath, RegistryView regView, String regPath, RegistryAccess
registryAccess, Boolean& alreadyCached)
at Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer ctx, String machineName, RegistryView regView, String regPath, RegistryAccess registryAccess)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
--- End of inner exception stack trace ---
at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String machineName)
at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath, String clusterDiscoveryDocRootPath)
(01) 2014-04-10 11:51:36 Slp: Error: Action "Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction" threw an exception during execution.
(01) 2014-04-10 11:51:36 Slp: Microsoft.SqlServer.Setup.Chainer.Workflow.ActionExecutionException: Failed to retrieve data for this request. ---> Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException: Failed to
retrieve data for this request. ---> System.ComponentModel.Win32Exception: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean enable)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String privilege)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer ctx, String machineName, SqlRegistryKey key)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer ctx, String machineName, SqlRegistryKey machineKey, String registryPath, RegistryView
regView, String regPath, RegistryAccess registryAccess, Boolean& alreadyCached)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer ctx, String machineName, RegistryView regView, String regPath, RegistryAccess registryAccess)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String machineName, RegistryView regView)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
(01) 2014-04-10 11:51:36 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
(01) 2014-04-10 11:51:36 Slp: --- End of inner exception stack trace ---
(01) 2014-04-10 11:51:39 Slp: Received request to add the following file to Watson reporting: C:\Users\HS2\AppData\Local\Temp\tmp6614.tmp
(01) 2014-04-10 11:51:39 Slp: The following is an exception stack listing the exceptions in outermost to innermost order
(01) 2014-04-10 11:51:39 Slp: Inner exceptions are being indented
(01) 2014-04-10 11:51:39 Slp:
(01) 2014-04-10 11:51:39 Slp: Exception type: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException
(01) 2014-04-10 11:51:39 Slp: Message:
(01) 2014-04-10 11:51:39 Slp: Failed to retrieve data for this request.
(01) 2014-04-10 11:51:39 Slp: HResult : 0x80131500
(01) 2014-04-10 11:51:39 Slp: Data:
(01) 2014-04-10 11:51:39 Slp: HelpLink.ProdName = Microsoft SQL Server
(01) 2014-04-10 11:51:39 Slp: HelpLink.BaseHelpUrl =
http://go.microsoft.com/fwlink
(01) 2014-04-10 11:51:39 Slp: HelpLink.LinkId = 20476
(01) 2014-04-10 11:51:39 Slp: Stack:
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.ProcessDTbl(DataTable dt, Int32 level)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectSqlDiscoveryData(String machineName)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.CollectDiscoveryData(String machineName)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.SqlDiscoveryDatastoreInterface.LoadData(IEnumerable`1 machineNames, String discoveryDocRootPath,
String clusterDiscoveryDocRootPath)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Configuration.SetupExtension.RunDiscoveryAction.ExecuteAction(String actionId)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Chainer.Infrastructure.Action.Execute(String actionId, TextWriter errorStream)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Setup.Chainer.Workflow.ActionInvocation.ExecuteActionHelper(TextWriter statusStream, ISequencedAction actionToRun, ServiceContainer
context)
(01) 2014-04-10 11:51:39 Slp: Inner exception type: System.ComponentModel.Win32Exception
(01) 2014-04-10 11:51:39 Slp: Message:
(01) 2014-04-10 11:51:39 Slp: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:39 Slp:
(01) 2014-04-10 11:51:39 Slp: HResult : 0x80004005
(01) 2014-04-10 11:51:39 Slp: Error : 1300
(01) 2014-04-10 11:51:39 Slp: Stack:
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege(Boolean
enable)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege..ctor(String privilege)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Configuration.Sco.SqlRegistry.GetLocallyCachedLocalMachineSubKey(ServiceContainer
ctx, String machineName, SqlRegistryKey key)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Discovery.DiscoveryUtils.TryLocallyCacheRegistryKey(ServiceContainer ctx,
String machineName, SqlRegistryKey machineKey, String registryPath, RegistryView regView, String regPath, RegistryAccess registryAccess, Boolean& alreadyCached)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Discovery.DiscoveryUtils.GetLocalMachineSubKey(ServiceContainer
ctx, String machineName, RegistryView regView, String regPath, RegistryAccess registryAccess)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.GetSql2kMsiInstanceListInHive(String
machineName, RegistryView regView)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Discovery.DiscoveryEnumObject.LoadSql2kInstanceList(String machineName)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Discovery.Product.GetData(EnumResult erParent)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData()
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Environment.GetData(Request req, Object ci)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.GetData(Object connectionInfo, Request request)
(01) 2014-04-10 11:51:39 Slp: at Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process(Object connectionInfo, Request request)
(01) 2014-04-10 11:51:44 Slp: Watson Bucket 2
Original Parameter Values
(01) 2014-04-10 11:51:44 Slp: Parameter 0 : SQL Server
2012@RTM@KB2931078
(01) 2014-04-10 11:51:44 Slp: Parameter 1 : Microsoft.SqlServer.Management.Sdk.Sfc.Enumerator.Process
(01) 2014-04-10 11:51:44 Slp: Parameter 2 : Microsoft.SqlServer.Configuration.Sco.AdjustTokenPrivilege.SetPrivilege
(01) 2014-04-10 11:51:44 Slp: Parameter 3 :
Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException@-2146233088
(01) 2014-04-10 11:51:44 Slp: Parameter 4 :
System.ComponentModel.Win32Exception@-2147467259
(01) 2014-04-10 11:51:44 Slp: Parameter 5 : RunRemoteDiscoveryAction
(01) 2014-04-10 11:51:44 Slp: Parameter 8 : 1300
(01) 2014-04-10 11:51:44 Slp:
Final Parameter Values
(01) 2014-04-10 11:51:44 Slp: Parameter 0 : SQL Server
2012@RTM@KB2931078
(01) 2014-04-10 11:51:44 Slp: Parameter 1 : 0x6785B09D
(01) 2014-04-10 11:51:44 Slp: Parameter 2 : 0xB2652E58
(01) 2014-04-10 11:51:44 Slp: Parameter 3 : 0x74E34741
(01) 2014-04-10 11:51:44 Slp: Parameter 4 : 0xDC80C325
(01) 2014-04-10 11:51:44 Slp: Parameter 5 : RunRemoteDiscoveryAction
(01) 2014-04-10 11:51:44 Slp: Parameter 8 : 0xA05EFA62
(01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write hklm registry key Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Microsoft_Microsoft SQL
Server.reg_
(01) 2014-04-10 11:51:45 Slp: The following exception occurred while preparing registry logs during Watson failure processing: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write hklm registry key Uninstall to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Microsoft_Windows_CurrentVersion_Uninstall.reg_
(01) 2014-04-10 11:51:45 Slp: The following exception occurred while preparing registry logs during Watson failure processing: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write hklm registry key MSSQLServer to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Microsoft_MSSQLServer.reg_
(01) 2014-04-10 11:51:45 Slp: The following exception occurred while preparing registry logs during Watson failure processing: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write hklm registry key Microsoft SQL Server to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Wow6432Node_Microsoft_Microsoft
SQL Server.reg_
(01) 2014-04-10 11:51:45 Slp: The following exception occurred while preparing registry logs during Watson failure processing: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write hklm registry key Uninstall to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Wow6432Node_Microsoft_Windows_CurrentVersion_Uninstall.reg_
(01) 2014-04-10 11:51:45 Slp: The following exception occurred while preparing registry logs during Watson failure processing: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:45 Slp: Sco: Attempting to write hklm registry key MSSQLServer to file C:\Program Files\Microsoft SQL Server\110\Setup Bootstrap\Log\20140410_115053\Registry_SOFTWARE_Wow6432Node_Microsoft_MSSQLServer.reg_
(01) 2014-04-10 11:51:45 Slp: The following exception occurred while preparing registry logs during Watson failure processing: Not all privileges or groups referenced are assigned to the caller.
(01) 2014-04-10 11:51:46 Slp: Failed to retrieve data for this request.
(01) 2014-04-10 11:51:46 Slp: Watson bucket for exception based failure has been created
(01) 2014-04-10 11:51:46 Slp: Sco: Attempting to create base registry key HKEY_LOCAL_MACHINE, machine
(01) 2014-04-10 11:51:46 Slp: Sco: Attempting to open registry subkey Software\Microsoft\Microsoft SQL Server\110
(01) 2014-04-10 11:51:46 Slp: Sco: Attempting to get registry value EnableErrorReporting
(01) 2014-04-10 11:51:46 Slp: WER: Successfully read app consent from registry Software\Microsoft\Microsoft SQL Server\110\EnableErrorReporting=0.
(01) 2014-04-10 11:51:46 Slp: WER: Application level consent value '0' was mapped to consent status 'WerConsentDenied'
(01) 2014-04-10 11:51:46 Slp: WER: Result of the submission:: 'WerDisabled'
(01) 2014-04-10 11:51:46 Slp: WER: Submitted 1 of 1 failures to the Watson data repository
(01) 2014-04-10 11:51:46 Slp: Sco: File 'C:\Windows\system32\Cluster.exe' does not exist
(01) 2014-04-10 11:51:46 Slp: Failed to collect cluster logs, cannot find Cluster.exe under system directory.
(01) 2014-04-10 11:51:46 Slp: Dumping final cluster state.
(01) 2014-04-10 11:51:49 Slp: Completed dumping final cluster state.
(01) 2014-04-10 11:51:51 Slp:
(01) 2014-04-10 11:51:51 Slp: ----------------------------------------------------------------------
(01) 2014-04-10 11:51:51 Slp:
(01) 2014-04-10 11:51:51 Slp: Error result: -2146233088
(01) 2014-04-10 11:51:51 Slp: Result facility code: 19
(01) 2014-04-10 11:51:51 Slp: Result error code: 5376
(01) 2014-04-10 11:51:51 Slp: SQM Service: Sqm does not have active session.Hello SQL Ranger,
Thanks for posting the detailed log. I dont have exact solution for this but I can give you some hint what could be reason patch has failed below message points to fact that there is some issue with account which is used to install CU patch.Have alook at
below log.It says that when patch was trying to get details from other node in cluster it was not able to.
01) 2014-04-10 11:51:33 Slp: Discovery on local machine is complete
(01) 2014-04-10 11:51:33 Slp: Running discovery on remote machine: VMSPDB1
(01) 2014-04-10 11:51:35 Slp: Discovery on VMSPDB1 failed due to exception
(01) 2014-04-10 11:51:36 Slp: Microsoft.SqlServer.Management.Sdk.Sfc.EnumeratorException: Failed to retrieve data for this request. ---> System.ComponentModel.Win32Exception: Not all privileges or groups referenced are assigned to the caller.
IMO I strongly feel it is issue with the account. Microsoft has also documented about this for SQL Server 2008 .Have a look at following links
http://support.microsoft.com/default.aspx?scid=kb;en-US;2000257
Please also assign privilege mentioned in below link
http://www.bradg.co.za/?p=12
Hope this helps
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
Hello
When I try to start the SQl server service i get the following error:
Event id 17058
Could not open error log file ''. Operating system error = 5(failed to retrieve text for this error. Reason: 15105).
As a test I have made sure the errorlog file ,and the entire drive it is, has everyone full control permissions, but to no avail. Does anyone have any ideas to resolve this issue?
Thank youHi,
Try running:
SELECT SERVERPROPERTY('ErrorLogFileName')
Then verify that the account being used to run the SQL Server service account has access to the path output above. If possible, you could try logging onto the server with the same account used to run SQL Server then navigate to the errorlog folder.
Thanks,
Andrew Bainbridge
SQL Server DBA
Please click "Propose As Answer" if a post solves your problem, or "Vote As Helpful" if a post has been useful to you -
Failed to retrieve data from the database Error
I had some reports setup in Crystal XI based on a Sql server but recently we had an upgrade, the database has been moved to IBM Informix.
There is a certain table that seems to be causing the problem.
The error:
"Failed to retrieve data from the database
Details: 42000:[informix][informix ODBC Driver][informix]A syntax error has occured .[Database Vendor Code:-201]".
I run the same query in MS Access and it seems to run fine.
I even tried to do a simple dump of the table onto Crystal but no luck.
Any help is appreciated.
Thanks!
Achett13Hi,
It seems your ODBC Driver is not compatible, try to download a driver which supports Informix through CR XI. I think you may have to download Data Direct Drivers 5.1 version to access Informix data tables through CR XI.
You can google it for Data Direct Drivers 5.1
Thanks,
Sastry -
Crystal Reports 2008 - C-ISAM/ODBC Error 42000 Failed to retrieve data
I'm hoping someone out there has a solution to this problem.
I have a bunch of reports which I've converted from CR8.5 to CR2008 (SP2 + HotFixPack 2.7 Installed)
Our server is currently running SCO UNIX OpenServer 5.0.7 with a C-ISAM Database serving our accounting software.
Some of the more basic reports have converted with no problem (daily sales figures etc...), but some reports such as customised purchase orders, and complex sales histories etc... continue to have this problem.
Note, all my reports functioned perfectly under CR8.5.
This error occurs within seconds of executing the report.
FAILED TO RETRIEVE DATA FROM THE DATABASE
Details: 42000:ERROR Syntax Error - Database Vendor Code: -1
After which, the winsock comms need to be reset.
One example SQL query is as follows (on a report re-designing my purchase order for imported products.
SELECT purchase_order.po_order_no, purchase_order_line.stock_code, purchase_order.po_backorder_flag,
purchase_order_line.po_line_description, stock_master.stk_desc_line_3, stock_master.stk_description,
stock_master.stk_desc_line_2
FROM (purchase_order_line purchase_order_line INNER JOIN purchase_order purchase_order ON
(purchase_order_line.po_order_no=purchase_order.po_order_no) AND (purchase_order_line.po_backorder_flag=purchase_order.po_backorder_flag))
INNER JOIN stock_master stock_master ON purchase_order_line.stock_code=stock_master.stock_code
Does anyone have any idea??? Really driving me insane... Is it the order of my links, type of links, grouping??????
Strangely, some other similarly linked reports work perfectly.
Cheers in advance,
SteveHi Steve,
If you open the Report and then click on DataBase, Log on and connect first. Then open your report, then Database, Set Location and once it's done then Verify the Database. Fix any errors or warnings that may pop up.
Lots of changes between 8.5 and 2008. CR detects that the report is the old format and it then goes through an series of internal report upgrade routines to convert all functions to the current format.
Also, all of the database drivers were re-written to take advantage of the updated functionality and Client enhancements. As well as we removed any "custom hacks" that we did back then to fix "issues" int he DB client drivers at the time. All of those "fixes" were removed, to much work to maintain them all, now if there are issues it's usually due to the DB Client not following ANSII 92 Standards.
One issue that does show up from time to time is that the order you inserted the tables can have an affect on how CR generates the SQL, may not be the case for your issue though, just something to watch for.
What happens if you create a new report and use that same SQL, save it, close all, re-open the report and run it. Do you get the same errors?
Also note: you did not say if you also updated the ODBC driver? As of CR 9 we are UNICODE compliant, may be your client needs to be updated also. Also verify it's using ODBC 3 and not ODBC 2 standards.
Thank you
Don
Edited by: Don Williams on May 6, 2010 7:21 AM -
Report error "Failed to retrieve data from the database."
Post Author: tknorst
CA Forum: .NET
I have an application using CR XI R2, and on certain users computers when they try to run a report they get the following error:
Failed to retrieve data from the database.Details: [Database Vendor Code: 229]Failed to retrieve data from the database.Error in File C:\DOCUME1\turkj\LOCALS1\Temp\WhseEmpJobAndActivityByUserAndDate {22DA2F53-4391-4307-9F2A-0E3C3EBE2198A}.rpt
The report uses SQLOLEDB (ADO) and integrated authentication - it runs fine on the development machine.
I found very little info on this error on the web (google) - so I hope someone here has an idea.You need to make sure that those systems can get conneted to the database that is supposed to return data. To check that create a udl in clients machine.
Also do not change the schema of he report. -
Failed to retrieve data from the database error message
Hello,
I have a fairly simple report that correctly retrieves the data from the database providing that there are no selection formula.
However, as soon as I add the record selection formula:
{fireService.serviceDate} >= DateTime (2009, 10, 3, 0 ,0 ,0)
I get the following errors:
Failed to retrieve data from the database
Cannot determine the queries necessary to get data for this report. Details: An invalid range operator has been encountered.
However, when I use the Database / Show SQL Query option and copy the query directly into the sql query analyser it works perfectly.
Any ideas?I am using a table to select the records from.
In fact it is a series of joined tables.
The SQL Query generated is:
SELECT "fire"."unitNumber", "configLocation"."location", "configFireEquipmentType"."type", "configFireEquipmentSize"."size", "configFireEquipmentRating"."rating", "fire"."yearManufactured", "fire"."LPT", "configFireServiceLevel"."Level", "configTest"."test", "fireService"."serviceRepairs", "customer"."name", "customer"."customerGUID", "customer"."address1", "customer"."address2", "fireService"."serviceDate", "fireService"."comment"
FROM (((((((("SAFE2"."dbo"."fire" "fire" INNER JOIN "SAFE2"."dbo"."customer" "customer" ON "fire"."customerGUID"="customer"."customerGUID") INNER JOIN "SAFE2"."dbo"."fireService" "fireService" ON "fire"."fireGUID"="fireService"."fireGUID") LEFT OUTER JOIN "SAFE2"."dbo"."configLocation" "configLocation" ON "fire"."locationGUID"="configLocation"."locationGUID") INNER JOIN "SAFE2"."dbo"."fireEquipment" "fireEquipment" ON "fire"."fireEquipmentGUID"="fireEquipment"."fireEquipmentGUID") LEFT OUTER JOIN "SAFE2"."dbo"."configFireEquipmentRating" "configFireEquipmentRating" ON "fireEquipment"."ratingGUID"="configFireEquipmentRating"."fireEquipmentRatingGUID") LEFT OUTER JOIN "SAFE2"."dbo"."configFireEquipmentSize" "configFireEquipmentSize" ON "fireEquipment"."sizeGUID"="configFireEquipmentSize"."fireEquipmentSizeGUID") LEFT OUTER JOIN "SAFE2"."dbo"."configFireEquipmentType" "configFireEquipmentType" ON "fireEquipment"."typeGUID"="configFireEquipmentType"."fireEquipmentTypeGUID") LEFT OUTER JOIN "SAFE2"."dbo"."configFireServiceLevel" "configFireServiceLevel" ON "fireService"."serviceLevelID"="configFireServiceLevel"."levelID") LEFT OUTER JOIN "SAFE2"."dbo"."configTest" "configTest" ON "fireService"."testID"="configTest"."testID"
WHERE "fireService"."serviceDate">={ts '2009-10-03 00:00:00'}
ORDER BY "customer"."name", "customer"."customerGUID"
It looks complext but is not. Most of these joins reference lookup tables. -
Failed to retrieve data from the database.---- Error code:-2147482925
Hi,
I am getting random error while generating a PDF report in Crystal Report XI R2.
The error details are
com.crystaldecisions.sdk.occa.report.lib.ReportSDKServerException: Impossibile r
Error in File C:\WINDOWS\TEMP\{11834722-3B8E-4DFF-B7B6-B3D52DF904C1}.rpt:
Failed to retrieve data from the database.---- Error code:-2147482925 Error code
name:failed
at com.crystaldecisions.sdk.occa.report.application.PrintOutputControlle
r.export(Unknown Source)
at ps_emxCrystalReportUtil_mxJPOZsBymAAAAAEAAAAD.getReport(ps_emxCrystal
ReportUtil_mxJPOZsBymAAAAAEAAAAD.java:488)
at ps_emxCrystalReportUtil_mxJPOZsBymAAAAAEAAAAD.ps_storeReportWithoutCh
eckin(ps_emxCrystalReportUtil_mxJPOZsBymAAAAAEAAAAD.java:183)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
Please help me.
Thanks in advance
-AbhiNot enough info.
The exception just states there were problems retrieving data from your data source.
Sincerely,
Ted Ueda
Maybe you are looking for
-
Function module for getting all changes to BPs Business Partners for today
Can any body knows function module to find out all changed documents to the BPs depending upon the date. Requirement is i have to find out the all BPs changed today in transaction FPP3.how can i find all those changed documents . Is there any FM to f
-
Importing photos with Info on them
Basically my mom and I have macbooks. On her iphoto I spent a lot of time organizing her library... I thought this is nice i will just share this library with mine and mine will be organized.... Unfortunately when I imported pictures from her mac I f
-
Its all the little things I don't like about firefox 4 mainly the layout and the search.I thought my browser would get an upgrade, this is complete downgrade ,I never went with firefox for speed .I went with firefox because i hate toolbars and I love
-
In Acrobat Pro version 8 I could generate a PDF from a Word (2007) document that contained numbered headings such that the PDF bookmarks were created with the same numbering system and hierarchy. I find that in Acrobat 9 Pro I cannot generate the num
-
Fetch the records based on number
Hi experts, I have a req like if user give input as 5..it should fetch 5 records from database. for example database values are SERNR MATNR 101 A 102