Connect by + date + to_char('DAY'); to_char('D')
Why do these two statements create different results?
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
SELECT closing_day,day_of_week,num_of_week
FROM (
SELECT
TO_DATE('01-01-2010', 'DD-MM-YYYY') + LEVEL AS closing_day,
TO_CHAR(TO_DATE('01-01-2010', 'DD-MM-YYYY') + LEVEL, 'D', 'NLS_DATE_LANGUAGE=AMERICAN') AS "NUM_OF_WEEK",
TO_CHAR(TO_DATE('01-01-2010', 'DD-MM-YYYY') + LEVEL, 'DAY', 'NLS_DATE_LANGUAGE=AMERICAN') AS "DAY_OF_WEEK"
FROM
dual
CONNECT BY
LEVEL < SYSDATE - TO_DATE('01-01-2010', 'DD-MM-YYYY')
) WHERE num_OF_WEEK NOT IN ('6','7');
SELECT closing_day,day_of_week,num_of_week
FROM (
SELECT
TO_DATE('01-01-2010', 'DD-MM-YYYY') + LEVEL AS closing_day,
TO_CHAR(TO_DATE('01-01-2010', 'DD-MM-YYYY') + LEVEL, 'D', 'NLS_DATE_LANGUAGE=AMERICAN') AS "NUM_OF_WEEK",
TO_CHAR(TO_DATE('01-01-2010', 'DD-MM-YYYY') + LEVEL, 'DAY', 'NLS_DATE_LANGUAGE=AMERICAN') AS "DAY_OF_WEEK"
FROM
dual
CONNECT BY
LEVEL < SYSDATE - TO_DATE('01-01-2010', 'DD-MM-YYYY')
) WHERE day_OF_WEEK NOT IN ('SATURDAY','SUNDAY');
It's because using the format element 'D' means you depend on your NLS_TERRITORY settings. For example in my region of the world 6 = Friday and 7 = Saturday (week starts on Sunday here).
SQL> ALTER SESSION SET NLS_TERRITORY='GERMANY';
Session altered.
SQL> SELECT TO_CHAR(TO_DATE('11/04/2011','MM/DD/YYYY'),'D') FROM DUAL;
T
5
1 row selected.
SQL> ALTER SESSION SET NLS_TERRITORY='AMERICA';
Session altered.
SQL> SELECT TO_CHAR(TO_DATE('11/04/2011','MM/DD/YYYY'),'D') FROM DUAL;
T
6
1 row selected.
Similar Messages
-
Current date, first day of month, last day of month, current week, current
Hi All,
may be the question will sounds basic for your guys, I am connecting via MDX a cognos reportnet on a BW 3.0B..due to loads of limitations on filtering via MDX on 'business date/time functions' , I would need to create in the infoqueries that are my data sources, the following additionnal objects:
- current date
- first day of current month
- last day of current month
- current week
- current year
I do not want prefiltered infoqueiries but object with these single values so that from reportnet I can have something like: OCALDAY between 'first day of current month' and 'last day of curent month'
Is there standard fonction for this under BW/BEX or if we need to developp functions has nayone some code examples.
thanks a lot for your great input
DavidHi,
In universe level if you want implement the requirede functions then you have to write custom sql and if you want to implement them in Reporting level then most of the functions are available to you. e.g. Quarter,Month, Year, Current Date....
Cheers,
Suresh A. -
Running "Flex test drive" - Got error while attempting to connect to data service
Hi,
I'm a Flex / Flash builder beginner. I downloaded the 60 days evaluation, and started to run the "Flex test drive" :
http://www.adobe.com/devnet/flex/testdrive.html
My configuration :
XP SP3 PRO french edition
Tomcat 6.0
My local Eclipse :eclipse-jee-helios-SR2-win32 (but also got the issue on the Flash Builder Eclipse, which version is 3.4.0 (Generation ID M20090211-1700)
Flash Builder 4 with Eclipse plug-in
All on same PC
The Test Drive proposes examples in three technologies : Cold Fusion, PHP and Java. I'm doing the Java examples.
Installation of Flash Builder, as well as step 1 of the Test Drive (Build the user interface) went fine. I could run the project, which at the end of step 1 correctly displayed the UI in my browser.
Only one problem, I don't know if it is relevant for the rest of this post : I first got an error, saying that ports 8080, 8005 and 8009, requested by Tomcat, where used. After a short Google search, I fixed it by changing these ports to 8081, 8006, and 8010, in the Tomcat 6.0\conf\server.xml file.
The Test drive second step is "Connect to data". I found some discrepancies between the Test Drive doc, and what is displayed in Flash Builder. The Test Drive says :
"Use the Data menu and the Service Wizard to create a service for your application server. For ColdFusion and Java, specify the service file you put on your application server earlier (see Figure 9 for a PHP example). For Java, select the No password required check box, select the employeeService destination, and change the service package to services.employeeservice."
--> But there is no "No password required check box".
Also, when running the "Connect to data/service..." wizard, it was not at first completely clear what to choose. The proposed choices were :
BlazeDS
ColdFusion
HTTP
LCDS
PHP
Web Service
XML
Since all others choices, when tried, declared to be unconsistent with my project's server type, I finally selected "Web Service".
In the next wizard's form, according to the Test Drive indications, I specified the URI of my EmployeeService class : C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\testdrive\WEB-INF\classes\services\EmployeeService.class
That defined correctly the other fields.
But when pressing the "Next >" button, Flash Builder issued the following error message :
English translation : Unable to extract operations and entities from specified WSDL. Reason : an error occured while instrospecting the service.
And the full error text is :
An error occured while instrospecting the service. WSDLException: faultCode=PARSER_ERROR: Problem parsing 'file:/C:/Program%20Files/Apache%20Software%20Foundation/Tomcat%206.0/webapps/testdrive/W EB-INF/classes/services/EmployeeService.class'.: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.
It is usually relatively easy to find fixes through Google searches, but this time, it didn't work. So here I am, expecting a bunch of wise answers from all the nice Flex / FB gurus that I'm sure haunt this forum .
Thanks and best regards.
Marc.For those who would have the same problem, here is how I could eventually fix it.
Since the Flex Test Drive is sometimes out of sync with flash builder 4, I recreated a project using other help pages on Adobe site :
Entry point :
http://help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08- 7ffd.html
As suggested, I used the New Project wizard to create a new project, with :
Application server type : J2EE
Check the radio button "Use remote object access service : BlazeDS"
Then, as indicated in following pages (section "Accessing BlazeDS")... :
file:///C:/Mes%20documents%20C/Commun/Developpement/Documentation/HT-Tracks/AccessingData/ help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08-7ffe.ht ml#WSbde04e3d3e6474c4-19a3f0e0122be55e1b7-8000
...I selected the "Data / Connect to Data/Services..." menu option, which started the Data/service connection wizard.
There, I selected a BlazeDS (and not Web Services) service type, and everything went fine.
Suggestion to adobe staff : maybe it would be useful to update the Flex Test Drive to reflect Flash Builder 4 ?
Very nice product anyway, so far, congratulations...
Rgds
Marc. -
Problem connecting to Data/Service outside web root
I'm new to Flash Builder (4.5). I work in an environment where developers have full access to a specified folder and subfolders on a Windows box running IIS 7 and ColdFusion 9.
So the path to the services-config.xml looks like this (server and folder names have been changed, but the structure is the same):
\\servername\flex$
Path to coldfusion root looks like this
\\servername\coldfusion9$
The developers don't have write access to those areas. What we have is
\\servername\webteam$\webcontent\app1
\\servername\webteam$\webcontent\app2
And so on
Then our server admin sets up virtual servers so that our urls look like http://app1.ourdomain.co, app2.ourdomain.com, etc.
I set up a project specifying ColdFusion as the server technology and using the above paths and everything works
I've run set up a couple Hello World tests using <mx:RemoteObject destination="ColdFusion" source="app1.flextest"></mx:RemoteObject> and everything works as expected. (No database connections, just a function that returns a string)
The problem is when I try to exploit the magic of Flash Builder and use the Connect to Data Service feature to write my queries for me : )
I select ColdFusion
In the CFC location I enter
\\servername \webteam$\webcontent\app1\cpa\flextest.cfc
Which is the same working cfc I connected to manually in my Hello World test. Flash Builder automatically populates the Service Name, Service Package, and Data Type Packages and I click next. I enter my RDS password and I then get this error:
The CFC file is invalid. Possible causes can be found by accessing: http://app1.ourdomain.com//CFIDE/componentutils/cfcexplorer.cfc?method=getCFCMetaData&name =flextest&path=%2Fwebcontent%2Fapp1%2Fflextest.cfc
Copying and pasting the url into my browser I get this error:
The value returned from the getCFCMetaData function is not of type struct.
HOWEVER, if I modify the url and remove "%2Fwebcontent%2Fapp1%" I get a response:
E:\webteam\webcontent\app1\flextest.cfcE:\ColdFusion9\wwwroot\WEB-INF\cftags\component.cfc WEB-INF.cftags.componentWEB-INF.cftags.componentcomponentcpa.flextestcpa.flextestcomponent remoteflexteststring
So I just need to tell Flash Builder to shorten the path and not add "/webcontent/app1" How?
Sorry it took so long to explain. I've been googling for days and can't find anything. I'm sure there must be other users who develop on servers outside the root path of their web server, right?
P.S. I tried mapping drives but that didn't help
Thanks,
Ron
"Embrace the senile genius"Hi ,
Check if the database server is up and running.The console will have two root nodes .R they both in green?
Try connecting and entering into the database externally.
Generally if the DB instance is not running , this error would occur.
regards,
aravindh. -
FMS 3.0 stops accepting connections after 1-3 days, restart required
Hi,
We have a custom application that is running on FMS. Server is dedicated just for fms, there is only one application running on the server, with more instances, average traffic is 3-15 simultaneous users. The problem is, server suddenly stops accepting connections (after 1-3 days from restart), from this point it is impossible to connect to any instance, and fms server must be restarted. When the server crashes, the admin console can see all open instances, can close instances, can restart fms. There is nothing logged, that would explain this sudden failure.
Second problem is, cores are connected and disconnected too often, causing client to reconnect (takes 2-5 seconds).
Do you have any idea what is causing these problems?
Hardware: 4 x quadcore Intel(R) Xeon(R) CPU E7440 @ 2.40GHz, 32 GB ram
OS: CentOS release 5.3 (Final), kernel: 2.6.18-128.4.1.el5
cpu and mem usage: 1-5% max
FMS:
version: Adobe Flash Media Server 3.0.1 r123
license: valid, unlimited
configuration: default, changed in Application.xml:
<AutoCloseIdleClients enable="true">
- just communication throught objects, strings, int, shared objects
- no streaming used
- Mbits in/out: 50/350 (48 hours from restart)
- Msgs in/out/drop: 4.000.000/21.000.000/0 (48 hours from restart)
- no problems with connection, no lags
LOGS:
admin.log
#Fields: date time x-pid x-status x-ctx x-comment
2009-10-07 00:03:30 4816 (i)2581242 Core (8684) disconnected : _defaultRoot_:_defaultVHost_:::_1. -
2009-10-07 00:03:31 4816 (i)2581241 Connection to admin received. -
2009-10-07 00:03:31 4816 (i)2581243 Connection from core 10772 received. -
2009-10-07 00:03:31 4816 (i)2581244 Connection from core 10772 accepted. -
... repeating (10 minutes - 1 hour period)
master.log
#Fields: date time x-pid x-status x-ctx x-comment
2009-10-07 00:03:31 24962 (i)2581223 Core (8684) is no longer active. -
2009-10-07 00:03:31 24962 (w)2581256 Core (8684) _defaultRoot_:_defaultVHost_:::_1 experienced 1 failure[s]! -
2009-10-07 00:03:31 24962 (i)2581221 Core (10772) started, arguments : -adaptor "_defaultRoot_" -vhost "_defaultVHost_" -app -inst -tag "_1" -conf "./conf/Server.xml" -name "_defaultRoot_:_defaultVHost_:::_1". -
... repeating (10 minutes - 1 hour period)
edge.log
#Fields: date time x-pid x-status x-ctx x-comment
2009-10-07 00:03:08 24982 (w)2641213 Connection rejected by server. Reason : [ Server.Reject ] : (_defaultRoot_, _defaultVHost_) : Application (doodletoostats) is not defined. -
2009-10-07 00:03:30 24982 (i)2581250 Edge disconnected from core (8684). -
2009-10-07 00:03:31 24982 (i)2581252 Registering core (10772). -
... repeating (1 - 3 hours period)
core.log
#Fields: date time x-pid x-status x-ctx x-comment
2009-10-07 00:03:31 10772 (i)2581237 Starting admin app on core (10772). -
2009-10-07 00:03:31 10772 (i)2581238 Core (10772) connecting to admin. -
2009-10-07 00:03:31 10772 (i)2581231 Core (10772) connected to admin. -
2009-10-07 00:03:31 10772 (i)2581234 Core (10772) connection to admin accepted. -
2009-10-07 00:03:31 10772 (i)2581246 Core (10772) sending register cmd to edge. -
2009-10-07 00:54:22 11329 (i)2581247 Core (11329) disconnected from edge. -
2009-10-07 00:54:22 11329 (i)2581233 Core (11329) disconnecting from admin. -
... repeatingWe have seen similar issues and the best work around is to have your clients connect on alternate cores/servers. The way to accomplish this really depends on your type of application.
-
In GATP would like to push schedule delivery date+1 day
Hi Experts:-
We have below requirement in GATP:-
Can we maintain a condition record for pick /pack time = 1 day against Shipping Point in particular Location.? In other word we would like to push schedule delivery date+1 day.
In APO we can see control data :- Plan (LEAD), load (LOAD), pick/pack (PICK), transport (TRAN), unload (UNLD)
In APO We have maintained value = 24:00 for location XXXX ( as per below steps)
1. In the SAP Easy Access screen choose Master Data ® Master Data for Transportation and Shipment Scheduling ® Create Scheduling Step.
2. Select a condition type.
3. Enter concrete values for the key combination.
4. Enter a duration (external display: hhhhhhh:mm).
While checking order, When the process branches into APO ATP, can see time 24:00 This seems to indicate that Pick/Pack record has now been found, but the scheduled delivery date is not being pushed out by one extra day.
Looking at the condition log in APO shows the following;;
Lead Plan:304 Access for Access sequence LEAD missing(Usage U)
Pick Pick : 208 Condition record has been found
Load Load: 304 Access for Access sequence LOAD missing(Usage U)
TRAN Transport: 009 Condition record is missing
UNLD Unload : 002 Access not made ( Initialized field)
Can you suggest.Hi DB,
Thanks, Very helpful links.
I did some testing on various sets of data change in APO for PICK and TRAN :-
Parameters :-
Order creation date 2-Nov
Route YR0004= 4 days
Calendar :-Sat and Sun holidays & 11th Nov bank holiday
Test 1 with 0 Day pick time, No TRAN maintained :-
Delivery date 8-Nov
Gi Date 7-Nov
Loading date 7-Nov
MAD 7-Nov
Transportation planning date 7-Nov
Test 2 with 1 day pick time, No TRAN maintained :-
Delivery date 8-Nov
Gi Date 7-Nov
Loading date 7-Nov
MAD 4-Nov
Transportation planning date 7-Nov
Test 3 with 3 day pick time, No TRAN maintained :-
Delivery date 8-Nov
Gi Date 7-Nov
Loading date 7-Nov
MAD 2-Nov
Transportation planning date 7-Nov
Test 3 with 5 day pick time, No TRAN maintained :-
Delivery date 9-Nov
Gi Date 9-Nov
Loading date 9-Nov
MAD 2-Nov
Transportation planning date 9-Nov
Now next scenario only TRAN without PICK
Test1 with 1 day TRAN time
Delivery date 8-Nov
Gi Date 4-Nov
Loading date 4-Nov
MAD 4-Nov
Transportation planning date 4-Nov
*with 2 day and 3 day result is same as test1
Test2 with 4 day TRAN time
Delivery date 8-Nov
Gi Date 3-Nov
Loading date 3-Nov
MAD 3-Nov
Trasnportation planning date 3-Nov
Test3 with 7 day TRAN time
Can see Delivery Date moving ahead one day.
Delivery date 9-Nov
Gi Date 2-Nov
Loading date 2-Nov
MAD 2-Nov
Trasnportation planning date 2-Nov
Now next scenario is to maintain data in both PICK and TRAN
Test 1 with 1 days pick time+ 1 day Tran
Delivery date 8-Nov
Gi Date 4-Nov
Loading date 4-Nov
MAD 3-Nov
Transportation planning date 4-Nov
Test 2 with 1 days pick time+ 6 day Tran
Delivery date 9-Nov
Gi Date 3-Nov
Loading date 3-Nov
MAD 2-Nov
Trasnportation planning date 3-Nov
Would like to know is this the correct standard behaviour or something wrong with our system config.
regards
Samir
Edited by: Samir Ali on Nov 3, 2011 4:07 PM -
PowerView error -Cannot create a connection to data source 'TemporaryDataSource'.
Hello and thanks for the time.
I am getting the following error when trying to create a powerview report. I don't get where is this TemporaryDataSource is and how do I check the permissions on it? that is what this error is pointing to, no? I tried re-installing the
SQL reporting add-in and no go there. SQL Browser services are running. I can see the file in Excel just can't create a powerview report. any and all help is appreciated. thanks.
<detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="http://www.microsoft.com/sql/reportingservices">An
error occurred while loading the model for the item or data source 'https://teamsite.domain.com/POWERPIVOT/PowerPivot%20Gallery/Test.xlsx'. Verify that the connection information is correct and that you have permissions to access the data source.</Message><HelpLink
xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsCannotRetrieveModel&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0</HelpLink><ProductName
xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3128.0</ProductVersion><ProductLocaleId
xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation
xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsCannotRetrieveModel&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0"
xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'https://teamsite.domain.com/POWERPIVOT/PowerPivot%20Gallery/Test.xlsx'. Verify that the connection information is
correct and that you have permissions to access the data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsErrorOpeningConnection&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0"
xmlns:msrs="http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'TemporaryDataSource'.</Message><MoreInformation><Source></Source><Message>For more information about this error
navigate to the report server on the local server machine, or enable remote errors</Message></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>Hi,
Issue not supported in sharepoint on-premise team.
In addition, as this issue is related to Powerview, I suggest you create a new thread on for Powerview forum, more experts will assist you.
https://social.technet.microsoft.com/Forums/en-US/home?forum=powerview
Best Regards,
Lisa Chen
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
JDBC Driver not found when connecting to Data Federator XI 3.0 SP3
Hello,
I am trying to connect Crystal 2008 to Data Federator however I am getting the Error
Failed to open connection.
Details: JDBC Driver not found.
The JDBC Drivers are installed and working for the Universe Designer, however I am unable to get it working for Crystal. I am using the following connection parameters on Crystal:
Connection URL: jdbc:datafederator://<<servername>>:3055/<<catalog>>
Database Classname: com.businessobjects.datafederator.jdbc.DataFederatorDriver
Any Advice on what I may have missed?The issue was solved, thanks to Patric Wan:
u201CFailed to open the connection. Details: JDBC driver not found.u201D
This means Data Federator JDBC driver was not added to:
C:\Program Files\Business Objects\common\<version>\java\CRConfig.xml
How to connect the Data Federator Server using JDBC?
1. Retrieve the following files from the machine where Data Federator is installed, from the directory [data-federator-installation-dir]/JdbcDriver/lib.
- thindriver.jar
- avalon-framework-4.1.5.jar
- jacorb.jar
- log4j-1.2.8.jar
- logkit-1.2.jar
2. Copy these files to a directory of your choice ([your-jdbc-driverdirectory]).
3. Add [your-jdbc-driver-directory]/thindriver.jar to CRConfig.xml <Add to Classpath tag, you can refer to original sample.CRConfig.xml should be at: C:\Program Files\Business Objects\Common\4.0\java\CRConfig.xml, or search your BOBJ products install to find this file>
4. URL: jdbc:leselect://<host>[:<port>][/[<catalog>]][[;param-name=value]*]
Class Name : LeSelect.ThinDriver.ThinDriver
Edited by: Craig Sander on Feb 12, 2011 8:22 PM -
I have a Data Warehouse Server that appears to be functioning but is running System Center Service Manager 2010 (w/ out SP1), Also have a functioning Configuration Management Server with Reporting Services Point installed the is running System Center
2012. Both systems are VM's running Windows Server 2008 R2 Enterprise w/ SP1 fully patched. Both systems are running SQL Server 2008 R2 as well. When I try to register the Data Warehouse Server via the GUI using the console or in Powershell it errors
out. Particularly on the GUI with the error "Unable to connect to data warehouse management server". I can browse to it, ping it, get the configuration management reports to run and show my AD assets, etc... but it will not register the DWS. I have
tried every suggestion TechNet has to offer and I am hitting a wall. Can someone please, please, please help!?!unplug modem and router and reboot.
check setting for network, verify password.
sign in. Enter computer information.
let me know if this works. -
Unable to connect to Data Warehouse Server
I have a Data Warehouse Server that appears to be functioning but is running System Center Service Manager 2010 (w/ out SP1), Also have a functioning Configuration Management Server with Reporting Services Point installed the is running System Center
2012. Both systems are VM's running Windows Server 2008 R2 Enterprise w/ SP1 fully patched. Both systems are running SQL Server 2008 R2 as well. When I try to register the Data Warehouse Server via the GUI using the console or in Powershell it errors
out. Particularly on the GUI with the error "Unable to connect to data warehouse management server". I can browse to it, ping it, get the configuration management reports to run and show my AD assets, etc... but it will not register the DWS. I have
tried every suggestion TechNet has to offer and I am hitting a wall. Can someone please, please, please help!?!These are the types of errors I am getting in the Event Logs:
Log Name: Operations Manager
Source: Console Operations
Date: 4/22/2014 11:18:53 AM
Event ID: 33569
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: IS-V004.CH.ElSegundo.org
Description:
Cannot connect to SQL Reporting Services Server. Message= Cannot display reporting wunderbar because the information is not yet available in DW CMDB. Remediation = Please wait for MP sync process to finish and try again later.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Console Operations" />
<EventID Qualifiers="49152">33569</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-04-22T18:18:53.000000000Z" />
<EventRecordID>71</EventRecordID>
<Channel>Operations Manager</Channel>
<Computer>IS-V004.CH.ElSegundo.org</Computer>
<Security />
</System>
<EventData>
<Data>Cannot display reporting wunderbar because the information is not yet available in DW CMDB.</Data>
<Data>Please wait for MP sync process to finish and try again later.</Data>
</EventData>
</Event>
Log Name: Operations Manager
Source: Console Operations
Date: 4/22/2014 11:18:42 AM
Event ID: 33569
Task Category: None
Level: Error
Keywords: Classic
User: N/A
Computer: IS-V004.CH.ElSegundo.org
Description:
Cannot connect to SQL Reporting Services Server. Message= An unexpected error occured while connecting to SQL Reporting Services server: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.EnterpriseManagement.UI.SdkDataAccess.ManagementGroupServerSession.TryConnectToReportingManagementGroup() Remediation = Please contact your Administrator.
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Console Operations" />
<EventID Qualifiers="49152">33569</EventID>
<Level>2</Level>
<Task>0</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2014-04-22T18:18:42.000000000Z" />
<EventRecordID>68</EventRecordID>
<Channel>Operations Manager</Channel>
<Computer>IS-V004.CH.ElSegundo.org</Computer>
<Security />
</System>
<EventData>
<Data>An unexpected error occured while connecting to SQL Reporting Services server: System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.EnterpriseManagement.UI.SdkDataAccess.ManagementGroupServerSession.TryConnectToReportingManagementGroup()</Data>
<Data>Please contact your Administrator.</Data>
</EventData>
</Event> -
Using a checkbox in numbers- if,then, I want to display today's date if checked, and keep that date, the day it was checked, not the current day
this will not work. Numbers does not provide a timestamp. you can, however, enter the formula "=now()" in any cell, then copy that same cell, then paste (using the command "Edit > Paste Formula Results"
If you need a time stamp often,
make a single cell table with the formula (mentioned earlier).
and copy and paste as needed -
Power View error: Cannot create a connection to data source 'EntityDataSource'
I have Power View on SharePoint 2013. I have both Multidimentional and Tabular model in use.
I have several Report.drlx file in Report libary in SharePoint.
My colleague is getting following error when building report by dragging Facts and Dimentions to report.
On the hand, I'm not receiving error.
Error is cannot create a connection to data source 'EntityDataSource'
<detail><ErrorCode xmlns="rsErrorOpeningConnection</ErrorCode><HttpStatus">http://www.microsoft.com/sql/reportingservices">rsErrorOpeningConnection</ErrorCode><HttpStatus
xmlns="400</HttpStatus><Message">http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="Cannot">http://www.microsoft.com/sql/reportingservices">Cannot
create a connection to data source 'EntityDataSource'.</Message><HelpLink xmlns="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsErrorOpeningConnection&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=12.0.2000.8</HelpLink><ProductName">http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsErrorOpeningConnection&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=12.0.2000.8</HelpLink><ProductName
xmlns="Microsoft">http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="12.0.2000.8</ProductVersion><ProductLocaleId">http://www.microsoft.com/sql/reportingservices">12.0.2000.8</ProductVersion><ProductLocaleId
xmlns="1033</ProductLocaleId><OperatingSystem">http://www.microsoft.com/sql/reportingservices">1033</ProductLocaleId><OperatingSystem xmlns="OsIndependent</OperatingSystem><CountryLocaleId">http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId
xmlns="1033</CountryLocaleId><MoreInformation">http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation xmlns="<Source>Microsoft.ReportingServices.ProcessingCore</Source><Message">http://www.microsoft.com/sql/reportingservices"><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message
msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsErrorOpeningConnection&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=12.0.2000.8"
xmlns:msrs="Cannot">http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'EntityDataSource'.</Message><MoreInformation><Source>Microsoft.AnalysisServices.AdomdClient</Source><Message></Message><MoreInformation><Source>Microsoft.SharePoint</Source><Message>Could
not retrieve a valid Windows identity.</Message><MoreInformation><Source>mscorlib</Source><Message>WTS0003: The caller is not authorized to access the service.</Message></MoreInformation></MoreInformation></MoreInformation></MoreInformation><Warnings
xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>
Kenny_IHi Kenny_I,
As per my understanding, I think this issue may be caused by your colleague has no permission to access to data source 'EntityDataSource', it is a Kerberos issue. When report server uses ‘Windows authentication (integrated) or SharePoint user’ as the credentials
to access the data source 'EntityDataSource', the authentication would be failed. So we should try to check if the issue is in this scenario. If in this case, we should change the credentials to stored credentials.
Besides, if we don’t configure C2WTS Service Account to use Local System, it needs the following local policy rights:
Act as part of the operating system.
Impersonate a client after authentication.
Log on as a service.
For more details, please refer to the following blog:
http://www.codeovereasy.com/2014/01/powerview-report-fails-no-credentials-are-available-in-the-security-package/
Hope this helps.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
Impossible to use "Connect to Data/Service" with BlazeDS
Hi everybody, I'm work on FB4 since 3 weeks, but I have big problem to use "Connect to Data/Service" with BlazeDS. each time I try to use it, it's the same question " You must define a BlazeDS server" and when I define the BlazeDS server and .war, I have the question again... You must define a BlazeDS server
I work on Mac OsX Leopard and his java 6.
Thanks for your helpHi,
Thanks for your feedback
Can you please tell us which version of Flash Builder4 and BlazeDS you are using.?
Also, can you try the same workflow by using the turnkey version of BlazeDS(4.0.0.11428) with Flash Builder BETA2 build.
Please let us know the outcome.
Thanks,
Balaji
http://balajisridhar.wordpress.com -
703: Subdaemon connect to data store failed with error TT9999
All,
I'm getting the following error whilst trying to connect to a TimesTen DB:
connect "DSN=my_cachedb";
703: Subdaemon connect to data store failed with error TT9999
In the tterrors.log:
16:39:24.71 Warn: : 2568: 3596 ------------------: subdaemon process exited
16:39:24.71 Warn: : 2568: 3596 exited while connected to data store '/u01/ttdata/datastores/my_cachedb' shm 33554529 count=1
16:39:24.71 Warn: : 2568: daRecovery: subdaemon 3596, managing data store, failed: invalidate (failcode=202)
16:39:24.71 Warn: : 2568: Invalidating the data store (failcode 202, recovery for 3596)
16:39:24.72 Err : : 2568: TT14000: TimesTen daemon internal error: Could not send 'manage' request to subdaemon rc -2 err1 703 err2 9999
16:39:24.72 Warn: : 2568: 3619 Subdaemon reports creation failure
16:39:24.72 Err : : 2568: TT14000: TimesTen daemon internal error: Deleting 3619/0x1558650/'/u01/ttdata/datastores/my_cachedb' - from association table - not found
16:39:24.72 Err : : 2568: TT14004: TimesTen daemon creation failed: Could not del from dbByPid internal table
16:39:24.81 Warn: : 2568: child process 3596 terminated with signal 11
16:39:25.09 Err : : 2568: TT14000: TimesTen daemon internal error: daRecovery for 3619: No such data store '/u01/ttdata/datastores/my_cachedb'
I've checked and the datastore does exist and is owned by the timesten UNIX user.
ttversion:
TimesTen Release 11.2.2.2.0 (64 bit Linux/x86_64) (tt1122:53396) 2011-12-23T09:26:28Z
Instance admin: timesten
Instance home directory: /home/timesten/TimesTen/tt1122
Group owner: timesten
Daemon home directory: /home/timesten/TimesTen/tt1122/info
PL/SQL enabled.
Datastore definition from sys.odbc.ini:
[my_cachedb]
Driver=/home/timesten/TimesTen/tt1122/lib/libtten.so
DataStore=/u01/ttdata/datastores/my_cachedb
LogDir=/u01/ttdata/logs
PermSize=40
TempSize=32
DatabaseCharacterSet=AL32UTF8
OracleNetServiceName=testdb
Kernel parameters from sysctl -a:
kernel.shmmax = 68719476736
kernel.shmall = 4294967296
Memory / SWAP:
MemTotal: 2050784 kB
SWAP: /dev/mapper/VolGroup00-LogVol01 partition 4095992
I'm new to TimesTen and I'm planning on evaluationg it to see if it could solve an issue we're having. Any suggestions would be much appreciated.
Thanks,
Ian.Hi Ian,
Can you please answer the following / provide the following information:
1. What are your kernel parameters relating to semaphores set to? Is anything else on the mahcine using significant numbers of semaphores?
2. Please provide the output of the following shell commands:
ls -ld /u01
ls -ld /u01/ttdata
ls -ld /u01/ttdata/datastores
ls -ld /u01/ttdata/logs
3. Please provide an excerpt of the detailed message log (ttmesg.log) between around 16:38 and 16:40 (i.e. from a little while before the problem until after the problem).
Thanks,
Chris -
Connecting a DAT player to iMac G5
I want to connect a DAT player/recorder to my iMac G5. It looks like I might have to do this through a coax cable. Does anyone know if garageband, or maybe Soundtrack or iTunes, will acknowledge the files? Really, I could just use some suggestions for a method for converting the audio to save and listen to on my computer. Thanks!
You can't copy the 'files' from a DAT machine in the way that you can from, for example, an MP3 recorder. You have to connect the analogue or digital output from the DAT machine and copy the recording in real time, recording it into GaragBand or an audio editor.
If the DAT machine has an optical (TOSlink) output you can connect that to your iMac's optical input. However, note that DAT usually records at 48kHz: GarageBand only recognizes 44.1kHz. Your best bet in this case would be to record into an audio editor and convert the resultant file to 44.1.
Maybe you are looking for
-
Asa 5505 site to site VPN between A to B site, then B site MPLS to internal network
Dear all I am setting up site to site VPN between two site A to B site. Two local site of A and B are connected fine. however for my site B have another internal MPLS to other site. The connection fine from LAN A all the way to LAN B MPLS router,
-
What or how do I update my software from OS X 10.6.8 to an acceptable software for iCloud
-
Vendor Invoice Not displayed:
Dear Friends: Using T.code: S_ALR_87012083 - List of Vendor Open Items for Printing, I am unable to find the Vendor Invoice No: The customer wants to see the invoice no and details also.Is this possible.Please suggest of workaround also is welcome. t
-
Event Handling...advice
Hi, I'm coding up a GUI application and i need to handle many ActionEvents and other events too. What i'm doing now is having my top level class implement the ActionListener and then making 'this' the action listener for all my action events. When it
-
Possible to use FB4.5 for PHP without Zend Studio?
I've watched a really helpful tutorial on FB4.5 for PHP by Mihai Corlan and am hoping to use some of his techniques but would like to use a different PHP server because Zend Server costs money and I'd rather avoid polluting my workstation with still