(non-lenient) date parse fails on specific day

Hi,
I need help figuring out his problem. I tried running code below using 1.5 and I always get an "unparseable date" exception.
String DATE_FORMAT = "yyyy-MM-dd HH:mm:ss";
String date = "2008-03-09 02:00:00";
SimpleDateFormat sdf = new SimpleDateFormat(DATE_FORMAT);
sdf.setLenient(false);
Date d = sdf.parse(date);
System.out.println(d);If the call to setLenient is omitted, the parse succeeds but the prints out "Sun Mar 09 03:00:00 EDT 2008" instead of the expected "Sun Mar 09 02:00:00 EDT 2008".
Interestingly enough, the parse succeeds for other dates (with lenient set to false). Examples I tried were ""2008-03-09 01:00:00", "2008-03-09 03:00:00", "2008-02-09 02:00:00", ""2008-04-09 02:00:00".
I need help in figuring this out. Is this a bug in the jdk itself or am I missing something.
Btw, I'm using 1.5.0_13.
Thanks.
-Anthony

Wow, that was dumb of me to not think of that. I verified it and you're right. DST change was on Mar-09-2008 02:00:00.
Thanks masijade. One less headache for me.
- Anthony

Similar Messages

  • BI services error "Data parsing failed, premature end of file".

    Hi all,
    we are facing issue while using BI services whenever we are trying to drill data its showing the error as "Data parsing failed contact your system administrator,premature end of file".
    please share with me if anyone has faced the same error anytime.
    thank in advance for your valuable suggestions.
    Thanks,
    karan.

    Hi,
    Please check whether the RFC imported by you contain the exact elements of XML.  I feel the RFC generated does not contain proper XML schema.
    Regards
    Krish

  • Parsing Failed for Date in Prompt

    Hi Folks,
    I am having Parsing Issue on "Key Date"  Object in Universe. See the Error and Code below for your review
    Error: Parse Failed: Exception: DBD, The value entered is not valid. It must adhere to one of the following formats.
              YYYYMMDD
               DD.MM.YYYYState:N/A
    Code:
            <OPERATOR VALUE="AND"><OPTIONAL><FILTER KEY="[0I_DAYIN]"><CONDITION OPERATORCONDITION="Between"><CONSTANT TECH_NAME="@Prompt('Day Interval From','A','Calendar Day\LovDay IntervalBase',mono,primary_key)"/><CONSTANT TECH_NAME="@Prompt('Day Interval To','A','Calendar Day\LovDay IntervalBase',mono,primary_key)"/></CONDITION></FILTER></OPTIONAL><FILTER KEY="[0P_KEYDA]"><CONDITION OPERATORCONDITION="Equal"><CONSTANT TECH_NAME="@Prompt('Key Date','D',,mono,free)"/></CONDITION></FILTER></OPERATOR>
    This universe is created by someone else and client need to modify it with a calendar but i did not modify it yet however its already giving me the hard time. Kindly advise, any kind of help will be appreciated
    Thanks

    Use the code below for the filter:
    <OPERATOR VALUE="AND">
         <OPTIONAL>
              <FILTER KEY="[0I_DAYIN]">
                   <CONDITION OPERATORCONDITION="Between">
                        <CONSTANT TECH_NAME="@Prompt('Day Interval From','D',,mono,free)"/>
                        <CONSTANT TECH_NAME="@Prompt('Day Interval To','D',,mono,free)"/>
                   </CONDITION>
              </FILTER>
         </OPTIONAL>
              <FILTER KEY="[0P_KEYDA]">
                   <CONDITION OPERATORCONDITION="Equal">
                        <CONSTANT TECH_NAME="@Prompt('Key Date','D',,mono,free)"/>
                   </CONDITION>
              </FILTER>
    </OPERATOR>
    Regards

  • How to get 2 Dates of a specific day From a Pay period

    Hi
    I have a date range (Pay period). now from the start date i Need to find out both Dates of a specific day of that Pay period.
    For Example If i know the date range is
    01/06/2007 to  01/19/2007
    Then I need to know what are the dates for both Saturdays.
    Here it should be 01.06.2007 and 01.13.2007.
    Please help. I always award points. Thanks
    Message was edited by:
            Anwarul Kabir

    Hi,
    Please try this.
    PARAMETERS: P_START LIKE SY-DATUM,
                P_END   LIKE SY-DATUM.
    DATA: DAYS    TYPE I,
          WEEKDAY LIKE DTRESR-WEEKDAY.
    DAYS = P_END - P_START.
    DO DAYS TIMES.
      CALL FUNCTION 'DATE_TO_DAY'
        EXPORTING
          DATE    = P_START
        IMPORTING
          WEEKDAY = WEEKDAY.
      IF WEEKDAY = 'Sat.'.
        WRITE: / P_START.
      ENDIF.
      P_START = P_START + 1.
    ENDDO.
    Regards,
    Ferry Lianto

  • In SQL server, how can I pass a date and return on any specific day of the week (e.g. Sunday/Monday/Wednesday, etc.)

    In SQL server, I want to be able to have a function to return the date of any specific day of the week by passing two parameters. E.g.:
    parameter 1: a selected date (e.g. 8/3/2013)
    parameter 2: any specific day of the week (e.g. Wednesday)
    result: should be 7/31/2013 (8/3/2013 is a Sunday in the week 7/28 - 8/3, so the Wednesday should be 7/31/2013)
    then if I want to get Saturday of that week, I can simply change the second parameter to 'Saturday'
    Thanks.

    Wrong forum:
    http://www.microsoft.com

  • ICal - alarms for specific days (not dates)

    I am very forgetful, and I often use iCal to make reminders for myself (using the alarm w/ sound). However, I often have weekly reminders at work. For example, I would back up our files at work on Tuesdays and Thursdays. I was wondering if there is a feature in iCal that can set reminders for specific days of the week. Any input is appreciated. Thanks!

    Create an event on tuesday, go to the repeat menu,
    select custom, mark the days you want the event to be
    (tuesday and thursday). Then go to the alarm menu ans
    set the sound you want.
    Note: if you plan to sync to a palm device, the palm
    doesn't accept events that repeat on specific
    (multiple) days of the week, so create two events,
    one that repeats every Tuesday and another for
    Thursday.
    Thank you so much! You solved my problem! -Catherine

  • External Data Refresh Failed. We cannot locate a server to load the workbook Data Model. ThisWorkBookDataModel

    Hi All,
    I have been trying to fix this for days now. I have tried solutions in many articles but to no avail. So while the error message is something you may have seen may times, I just can't find a solution in my case.
    This is the error:
    And in text just in case the image isn't viewable:
    "External Data Refresh Failed. We cannot locate a server to load the workbook Data Model. We were unable to refresh one or more data connections in this workbook. The following connections failed to refresh: ThisWorkBookDataModel."
    What is worse is I have checked the ULS (SharePoint Trace Logs), the Event Viewer Logs and the OWA Logs and I cannot find a specific error that would help pin point the problem.
    Excel Workbook
    So what am I doing? I have an Excel 2013 workbook and I create an "SQL Server" connection to the AdventureWorksDW database, add a pivot table and a pivot chart, test in in Excel and all works fine.
    I save the Excel workbook to SharePoint 2013 and then select "Data" then "Refresh All Connections" and then I get the error in the picture above.
    Even more puzzling is I have another Excel workbook that also has pivot tables and pivot charts in the AdventureWorksDW2012Multidimensional cube database in "SQL Analysis Services" and this works fine. Hmmm.
    My Environment
    My environment is Windows 2008 R2 Server, SharePoint 2013 with the April Service Pack1 and a separate server with OWA2013 SP1. It has an SQL Server 2008 R2 database which has been upgraded to SQL Server 2012.
    Data Model Settings
    In Excel Services this is set to my server name which is "server-name". As I do not have instances all I can enter is the server name. As this works everywhere else including the workbook outside of SharePoint I do not think this is the problem.
    But I could be wrong.
    Unattended Account
    I have set this up for the PowerPivot Services App and Excel Services App.
    ODC Connections in Excel
    I have tried all 3 authentication modes, Windows, Secure Store ID and "None" which is the unattended account. I have not tried the other connection types, should I?
    Not in WOPI
    I am not in WOPI mode.
    AD Accounts
    I have added permissions in the SharePoint Services and SQL Server, and as they work in Excel outside of SharePoint, I do not think it is a permissions issue. I could be wrong of course, but the problem is in one of SharePoint, OWA, AD,
    SQL Server, Excel, and Windows Server.
    Isolate the Error
    Below is a list of errors I think are relevant but they do not tell me much. The SharePoint logs are not really giving me an error that tells me what to do and where to do it, or even why it cannot refresh, (perhaps not noticeable by the untrained eye).
    Problem with SQL Server Not Analysis Services
    So my cube database in analysis services works fine in SharePoint/OWA but not the databases in sql server. This is my best clue but I have no idea what it means. Why would it work with an Analysis Services connection but not an "SQL Server" connection?
    It Works Outside of SharePoint
    If I run the excel worksheet outside of SharePoint all works fine. When inside OWA this is where the refresh error occurs.
    Errors from Event Viewer on SharePoint Server using ULS Viewer
    "Failed to create an external connection or execute a query. Provider message: There are no servers available or actively being initialized., ConnectionName: , Workbook:"
    "Refresh failed for 'ThisWorkbookDataModel' in the workbook 'http://server...'. [Session: 1.V22.26itT0lx8piNFeqtuGVhN214.5.en-US5.en-US36.98c0e158-9113-46e9-850e-edda81d9ed1c1.A1.N User: 0#.w|ad\testuser1]"
    And an error in the ULS under the "Data Model" category:
    "--> Check Deployment Mode (server-name): Fail (Expected: SharePoint, Actual: Multidimensional)."
    This last error, as it turned out, defined the problem concisely, although I was yet to work out what it meant in some detail.

    I finally solved this myself (or should I say with the help of several key articles).
    The refresh did not work because the database was not in "SharePoint Mode". Yes, SQL Server has modes, 3 of them in fact.
    If you installed SharePoint to the default SQL instance which would be called <servername> then you cannot use this default instance for Excel 2013 workbooks in OWA 2013 because the refresh only works if the database is in SharePoint mode.
    So what are these 3 modes? The Deployment Mode property in the msmdsrv.ini file has them as:
    0 = Multidimensional mode (the default whenever you install SQL Server normally)
    1 = PowerPivot for SharePoint mode
    2 = Tabular mode mode
    How do you know what mode you are in? That's easy, open SQL Studio Manager and connect to all your SQL database engine instances (ignore Analysis Services or SSRS as they are not database engines). If you only have the default instance then that is almost
    definately in Multidimensional mode which is the default and what SharePoint installs its databases to.
    You must have an instance called <servername>\POWERPIVOT. This instance is the "sharepoint mode" needed, and the default instance name when you install an SQL instance in this mode.
    If you don't see <servername>\POWERPIVOT in SQL server then you are not in "sharepoint mode". It is more accurate to say, you do not have an instance that is in sharepoint mode. This is because you cannot simply switch modes on an SQL server.
    You have to install a new instance in the required mode, thats the only way.
    That's easy enough. Load up the SQL Server setup CD and run setup. Install a brand new instance and select "SQL Server PowerPivot for SharePoint" when you get there in the wizard.
    Now you will have the default instance that stores all the SharePoint databases and that is in mode 0, and a new instance called <servername>\POWERPIVOT that is in mode 1. The "<servername>\POWERPIVOT" instance connection is what you
    will use for Excel 2013 when rendering in OWA 2013.
    You also need to ensure OWA 2013 is not in WOPI mode for Excel worksheets. See the last link below for more information about WOPI.
    Next you should go to the Excel Service App in CA and click Data Model Settings and add the <servername>\POWERPIVOT instance.
    Then you have to either turn off the firewall on the SQL server machine, or create an inbound rule on the Windows firewall to open the TCP port for the <servername>\POWERPIVOT instance:
    1. Start Task Manager and then click Services to get the PID of the MSOLAP$InstanceName.
    2. Run netstat –ao –p TCP from the command line to view the TCP port information for that PID.
    Finally, you can now create Excel 2013 workbooks that run in OWA without refresh errors, as long as you are connecting to the <servername>\POWERPIVOT instance. Hooray.
    REFERENCES
    Look for the string "There are no servers available or actively being initialized" in this article:
    http://blogs.msdn.com/b/analysisservices/archive/2012/08/02/verifying-the-excel-services-configuration-for-powerpivot-in-sharepoint-2013.aspx
    Determine the server mode:
    http://msdn.microsoft.com/en-au/library/gg471594(v=sql.110).aspx
    Install the SharePoint PowerPivot instance (aka SharePoint mode)
    http://msdn.microsoft.com/en-au/library/eec38696-5e26-46fa-bc83-aa776f470ce8(v=sql.110)
    Open the port for the new SQL instance:
    http://msdn.microsoft.com/en-us/library/ms174937(v=sql.110).aspx
    Turn Off WOPI for Excel OWA
    http://blogs.technet.com/b/excel_services__powerpivot_for_sharepoint_support_blog/archive/2013/01/31/powerpivot-for-sharepoint-browser-refresh-fails-data-refresh-not-supported-in-office-web-apps.aspx

  • How can I repeat an event in Calendar on a specific day.

    I want to set a repeat event on a specific day each month, like the Last Tuesday.  Also I'd like to set a quarterly repeat event.

    Using the native calander, the only options you have are those that pop up when you hit 'repeat'.  So if you are looking for a specific date each month, you are fine, but looking for the 4th tuesday, you are not fine.  You might search the app store for non apple alternatives.

  • Detection Method of Date Modified fails due to copied files date modified change

    I've been working through an issue for some time now and I think it's a bug with SCCM 2012 SP1. I've built literally 50 deployments in "Application Management" in SCCM 2012, but I've been chasing my tail on a few of them throwing the
    "succeeded but couldn't detect" error. The few that have given me problems are all copying text files and then detect the modified date to verify that the file is there. All worked when I initially built them in Windows 8 but are now failing
    randomly...even on a machine where they previously worked and I deleted the files to test the deployment again. 
    What I'm doing:
    My java deployment requires policies which we control with the Deployment.config, deployment.properties and java.policy files. A simple script creates the directories and copies the files. I then create a deployment type for this "ConfigFileCopy.cmd"
    and create a detection rule for each file that I am moving over. The detection rule looks for a "date modified" date between the beginning and end of the date for the day I modified the file. This allows me to modify the files to change our
    java policies and then redeploy them with the "new" modified date as the detection rule, which forces the update.
    The problem:
    When I first created my deployment, everything worked pretty well. The files copy out and the script runs successfully. There were some minor tweaks I need to make to my scripts, so I did and then updated the content for the deployment type. I believe this
    is where things go a little wonky. At this point, my deployment starts failing with the "0x87D00324" error.
    Looking through the logs, everything looks good. The reason configuration manager is failing on detecting the modified date for those files, as it turns out, is because the modified dates don't meet the criteria. So that part is properly failing the detection.
    The problem is that the modified dates are correct on the server but not the client. Looking in c:\windows\ccmcache, I can see multiple folders....presumably one for each version of the application that I updated. Looking at any of the newer content folders
    for this app, the modified dates are the date and time the file was copied out to the workstation, which is incorrect as the file hasn't been modified during that process.
    The odd part, is that this doesn't happen EVERY time on EVERY machine. My primary desktop is windows 8.1 and received the files correctly and installed without issue. My test win 8.1 laptop initially received them correctly, but then as I refined the scripts
    it began picking up the wrong modified dates and started failing.
    I found a similar issue to this existed in SCCM 2007 (http://support.microsoft.com/kb/2276865) so I suspect that this is truly just a bug that hasn't been addressed (or maybe is fixed in R2). Unfortunately
    we have business reasons we can't upgrade to R2 at this time so I'm hoping someone has experienced this and has some sort of work around that might get me by for now. If someone can confirm it is fixed in R2, that would help my case to upgrade as well.  
    I can work around the issue by changing my logic to detect any date greater than a specific date. But I shouldn't have to do that and I'm concerned there are scenarios I haven't thought of that will cause unexpected behavior or failures with that.
     

    This outlines the behavior. It's apparently by design. 
    "SCCM has a habit of changing the ‘Date Modified’ timestamp of all files it delivers when it detects an ‘upgrade’ of the source files for that application. It typically does not touch the timestamp
    of the source files if it delivers a brand new install to a client that has never received the software, however if a single file in the source folder is changed for that application, then SCCM tries to use a previous version of the application in the cache
    (C:\windows\ccmcache) and only downloads the new file that has change. This results in all files having their ‘Data Modified’ timestamp changing (except for the brand new file). Therefore determining if that application has delivered
    successfully using ‘Date Modified’ timestamps is not recommended. The key to seeing this process in action is looking at the file properties in the
    C:\windows\ccmcache\<sccm code> folder for that application, particularly before and after a file is updated in the original source SCCM application folder."
    http://blog.kloud.com.au/tag/sccm/

  • Wcf Data Service fails when more than 8properties  in the 'select=' portion

    Hi:
    I am using WCF Data Service and Oracle
    EF Provider is ODAC11.2 Release 4
    Wcf Data Service fails when more than 8 properties are specified in the 'select=' portion of the URI
    here is my code
    var q = from c in this.ctx.SALESORDER_ITEM
    select new
    c.SORDERDETAILID,
    c.IID,c.DMFLAG,c.OWNERID,c.SKUID,c.SKU_ID,c.TRADENO,c.SOURCEID,c.SORDERID
    excetion:
    InvalidOperationException: An error occurred for this query during batch execution. See the inner exception for details
    The inner exception is null, but the DataServiceClientException states: Value cannot be null Parameter name: value
    the exception is thrown in base.OnStartProcessingRequest(args) method (overridden).
    Here is the call stack as well:
    at System.Data.Services.WebUtil.CheckArgumentNull[T](T value, String parameterName)
    at System.Data.Services.Internal.ProjectedWrapper.set_PropertyNameList(String value)
    at lambda_method(Closure , Shaper )
    at System.Data.Common.Internal.Materialization.Coordinator`1.ReadNextElement(Shaper shaper)
    at System.Data.Common.Internal.Materialization.Shaper`1.SimpleEnumerator.MoveNext()
    at System.Data.Services.Internal.ProjectedWrapper.EnumeratorWrapper.MoveNext()
    at System.Data.Services.DataService`1.SerializeResponseBody(RequestDescription description, IDataService dataService)
    at System.Data.Services.DataService`1.HandleNonBatchRequest(RequestDescription description)
    at System.Data.Services.DataService`1.HandleRequest()
    Is there a max number of properties in $select statement
    I think may be it is oracle provider's problem ,but i don't konw how to debug it Can anyone help me
    Any help is greatly appreciated

    I believe the null/empty string issue is unrelated to the 8 column issue, at least for ODP.NET. For example, let's take the original query in the OBE:
    http://.../yoursvcfile.svc/EMPLOYEES?$select=EMPLOYEE_ID,FIRST_NAME,LAST_NAME,SALARY,DEPARTMENT_ID,DEPARTMENT,EMAIL,PHONE_NUMBER,MANAGER_ID
    Let's make all the columns selected not nullable. You can do this with the Oracle Dev Tools. Specifically, PHONE_NUMBER and FIRST_NAME are the only nullable fields. I make them non-nullable and re-run the query and the same error occurs. Thus, these values should never be made null. Moreover, in all 107 rows, none of these row values consist of empty strings anyway.
    Looking into the problem further, WCF DS is calling methods in the System.Data.Services.Internal namespace.
    http://msdn.microsoft.com/en-us/library/system.data.services.internal.aspx
    Specifically, we see your issue when the ProjectedWrapperMany method is called. You will notice that there is ProjectedWrapper0, ProjectedWrapper1...ProjectedWrapper8 methods also present in the same namespace. As soon as the number of columns exceeds 8, ProjectedWrapperMany is called and we see the error. We're going to ask MS to help analyze the issue since this is an .NET-internal method being called.

  • Encoding Problem: non-Unicode Data to Unicode format of XI

    Hi SDN,
    I have a JDBC sender to SAP BW scenario. The database is MS SQL server. 
    The code page of db CP1CIAS
    Description:SQL Server Sort Order 52 on Code Page 1252 for non-Unicode Data
    Some fields with values like <b>ZAK&#x0;ADY TWORZYW SZTUCZNYCH</b> are failing in XI Mapping with error
    <b>Fatal Error: com.sap.engine.lib.xml.parser.Parser~
    XMLParser : #0 not allowed in Character data sections
    in the trace.</b>
    Please help how should i get over this code page errors. By installing this code page on XI server help?

    There is no such global setting, this is b/c your source has Unicode I trust, and the only one other thing to try would be this:
    Arthur My Blog

  • [Oracle JDBC Driver][Oracle]ORA-31011: XML parsing failed

    Hi,
    I have got the following error when i tired to upload an XML file in my application. My application will insert the XML file in to Oracle 10g data base table. (Our DB server is Oracle 10g).
    The error is as follows:-
    [BEA][Oracle JDBC Driver][Oracle]ORA-31011: XML parsing failed
    ORA-19202: Error occurred in XML processing
    LPX-00004: internal error "MultiChar overflow"
    Error at line 20795
    ORA-06512: at "SYS.XMLTYPE", line 254
    ORA-06512: at line 1
    The XML file contains more than 90,000 lines in it. Please help.
    Thanks!
    Siva K.

    Is this a specific problem with 10G release? We are using 10.2.0.4.0.
    Using CLOB, We think that this may hit the performance of the application as we are using large XML files.

  • Parsing failed: TypeError: Cannot call method "replace"

    Hi,
    when i troubleshooting my collector, sentinel GUI message prompt
    following:
    Parsing failed: TypeError: Cannot call method "replace" of undefined;
    input:
    my release.js is following:
    Collector.prototype.initialize = function() {
    this.PARSER.getOffsetData = function(input) {
    if (typeof input.RXMap != "undefined") {
    return input.RXMap.REQUEST_TM;
    conn.addParser(this.PARSER.getOffsetData);
    return true;
    Collector.prototype.cleanup = function() {
    return true;
    Connector.prototype.sendQuery = function() {
    return true;
    Record.prototype.preParse = function(e) {
    if (this.CONNECTION_ERROR != null || typeof this.RXMap == "undefined")
    { return false; }
    if (this.CONNECTION_METHOD == "DATABASE") {
    for (var field in this.RXMap) {
    this[field] = this.RXMap[field];
    return true;
    Record.prototype.parse = function(e) {
    var detstring =
    this.RXMap.REQUEST_TM.replace(/(\d+)\/(\d+)\/(\d{4})\s(\S+)/g, '$1/$2/$3
    $4 GMT');
    var dt = new Date(detstring);
    e.ObserverEventTime(dt);
    return true;
    Record.prototype.normalize = function(e) {
    instance.SEND_EVENT =true;
    return true;
    Record.prototype.postParse = function(e) {
    return true;
    Record.prototype.reply = function(e) {
    return true;
    my sqlquery.base is following:
    SELECT TOP 100 * FROM TS_QUERYBILLSIGNED_LOG WHERE REQUEST_TM > %s
    My table sample is following:
    CUSTCODE,BEGIN_TM,END_TM,PAGEINDEX,QUERYTYPE,SYSTE MNAME,SIGNEDTYPE,CLIENTIP,CLIENTMAC,CLIENTNAME,MET HODNAME,REQUEST_TM,ANSWER_TM,ANSWER_TOTAL,ANSWER_C URRENTCOUNT,LOG_ID,WAYBILL_NOS
    8710294837,12/30/2013,1/2/2014
    23:59,0,0,CSS-CLIENT,0,221.213.26.241,6C-F0-49-CD-2C-CD,a0af75ce888346e,waybillSingedTotal,1/3/2014
    14:50,1/3/2014 14:50,28,4,433676211,
    My table Schema is following:
    USE [sfere]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    SET ANSI_PADDING ON
    GO
    CREATE TABLE [dbo].[ts_querybillsigned_log](
    [CUSTCODE] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [BEGIN_TM] [datetime] NULL,
    [END_TM] [datetime] NULL,
    [PAGEINDEX] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [QUERYTYPE] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [SYSTEMNAME] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [SIGNEDTYPE] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [CLIENTIP] [varchar](200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [CLIENTMAC] [varchar](200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [CLIENTNAME] [varchar](500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [METHODNAME] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    [REQUEST_TM] [datetime] NULL,
    [ANSWER_TM] [datetime] NULL,
    [ANSWER_TOTAL] [numeric](20, 0) NULL,
    [ANSWER_CURRENTCOUNT] [numeric](20, 0) NULL,
    [LOG_ID] [numeric](30, 0) NOT NULL,
    [WAYBILL_NOS] [varchar](400) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
    ) ON [PRIMARY]
    GO
    SET ANSI_PADDING OFF
    Thanks
    Best Regards!
    Steve zeng
    steve_zeng
    steve_zeng's Profile: https://forums.netiq.com/member.php?userid=3875
    View this thread: https://forums.netiq.com/showthread.php?t=50290

    steve_zeng;242145 Wrote:
    > Hi,
    >
    > when i troubleshooting my collector, sentinel GUI message prompt
    > following:
    >
    >
    > Parsing failed: TypeError: Cannot call method "replace" of undefined;
    > input:
    >
    > my release.js is following:
    > ----------------------------------------------------------------------
    > Collector.prototype.initialize = function() {
    > this.PARSER.getOffsetData = function(input) {
    > if (typeof input.RXMap != "undefined") {
    > return input.RXMap.REQUEST_TM;
    > }
    > };
    > conn.addParser(this.PARSER.getOffsetData);
    > return true;
    > };
    >
    > Collector.prototype.cleanup = function() {
    > return true;
    > };
    >
    >
    > Connector.prototype.sendQuery = function() {
    > return true;
    > };
    >
    >
    > Record.prototype.preParse = function(e) {
    > if (this.CONNECTION_ERROR != null || typeof this.RXMap == "undefined")
    > { return false; }
    >
    > if (this.CONNECTION_METHOD == "DATABASE") {
    >
    > for (var field in this.RXMap) {
    > this[field] = this.RXMap[field];
    > }
    > }
    >
    > return true;
    > };
    >
    > Record.prototype.parse = function(e) {
    >
    > var detstring =
    > this.RXMap.REQUEST_TM.replace(/(\d+)\/(\d+)\/(\d{4})\s(\S+)/g, '$1/$2/$3
    > $4 GMT');
    > var dt = new Date(detstring);
    > e.ObserverEventTime(dt);
    > return true;
    > };
    >
    >
    > Record.prototype.normalize = function(e) {
    > instance.SEND_EVENT =true;
    > return true;
    > };
    >
    > Record.prototype.postParse = function(e) {
    > return true;
    > };
    >
    >
    > Record.prototype.reply = function(e) {
    > return true;
    >
    > ----------------------------------------------------------------------------
    > my sqlquery.base is following:
    >
    > SELECT TOP 100 * FROM TS_QUERYBILLSIGNED_LOG WHERE REQUEST_TM > %s
    >
    >
    > My table sample is following:
    > ----------------------------------------------------------------------------------
    >
    > CUSTCODE,BEGIN_TM,END_TM,PAGEINDEX,QUERYTYPE,SYSTE MNAME,SIGNEDTYPE,CLIENTIP,CLIENTMAC,CLIENTNAME,MET HODNAME,REQUEST_TM,ANSWER_TM,ANSWER_TOTAL,ANSWER_C URRENTCOUNT,LOG_ID,WAYBILL_NOS
    > 8710294837,12/30/2013,1/2/2014
    > 23:59,0,0,CSS-CLIENT,0,221.213.26.241,6C-F0-49-CD-2C-CD,a0af75ce888346e,waybillSingedTotal,1/3/2014
    > 14:50,1/3/2014 14:50,28,4,433676211,
    >
    > -----------------------------------------------------------------------------------------
    > My table Schema is following:
    >
    > USE [sfere]
    > GO
    >
    > SET ANSI_NULLS ON
    > GO
    > SET QUOTED_IDENTIFIER ON
    > GO
    > SET ANSI_PADDING ON
    > GO
    > CREATE TABLE [dbo].[ts_querybillsigned_log](
    > [CUSTCODE] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    > [BEGIN_TM] [datetime] NULL,
    > [END_TM] [datetime] NULL,
    > [PAGEINDEX] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    > [QUERYTYPE] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    > [SYSTEMNAME] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    > [SIGNEDTYPE] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    > [CLIENTIP] [varchar](200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    > [CLIENTMAC] [varchar](200) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    > [CLIENTNAME] [varchar](500) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    > [METHODNAME] [varchar](20) COLLATE SQL_Latin1_General_CP1_CI_AS NULL,
    > [REQUEST_TM] [datetime] NULL,
    > [ANSWER_TM] [datetime] NULL,
    > [ANSWER_TOTAL] [numeric](20, 0) NULL,
    > [ANSWER_CURRENTCOUNT] [numeric](20, 0) NULL,
    > [LOG_ID] [numeric](30, 0) NOT NULL,
    > [WAYBILL_NOS] [varchar](400) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
    > ) ON [PRIMARY]
    >
    > GO
    > SET ANSI_PADDING OFF
    >
    > Thanks
    > Best Regards!
    > Steve zeng
    It's throwing an exception because at some point, you are not checking
    your string for nulls before calling replace. My guess is that
    this.RXMap.REQUEST_TM is sometimes empty/null and when you call replace,
    it then excepts. Always ensure that your string value is
    non-null/defined before calling a function against it.
    brandon.langley
    brandon.langley's Profile: https://forums.netiq.com/member.php?userid=350
    View this thread: https://forums.netiq.com/showthread.php?t=50290

  • "External Data Refresh Failed" in Excel Workbook in SharePoint 2013

      Hi Everyone,
    I hope someone can help me sort this out. I wasn't sure if this should be submitted to SQL Server 2012 or SharePoint 2013 but I think I have ruled out an actual SQL issue here.
    I have a test SharePoint 2013 Farm installed on one server.  On that server we have SQL Server 2012 Standard (Database Engine Only) installed as one instance for SharePoint 2013.  SharePoint 2013 is installed as Enterprise. 
    On another server I have SQL Server 2012 Enterprise installed I have both the Database Engine and Analysis Services installed on that server in one Instance.
    I have created a new Analysis Services Cube and stored in on that server using VS 2012 Data Tools.   I then use Office 2013 Excel and create a new Pivot Table and bring in that data into that workbook.  I save that workbook to my desktop and
    can click on the DATA tab and do a "Refresh All" and the data is refreshed with no problem. 
    I then Save that Workbook to SharePoint 2013 in my Business Center documents library. I then try to do a Data Refresh and get the following error: External Data Refresh Failed. We were unable to refresh one or more data connections in the workbook. The following
    connections failed to refresh: servername ConnectionName.
    Let me tell you a little bit about how I have my SharePoint 2013 setup.
    In Application Management ==> Secure Store Service - I have a Target Application Id setup with an AD account name and password.
    In Application Management ==> Excel Services Application Settings - I an using an Unattended Service Account that is pointing to the Target Application ID that I setup in Secure Store Service.
    Now in SQL Server 2012. I have made the AD account name and password a SYSADMIN account (because nothing seemed to work) and mapped that login to my Database that I created my cube from.
    I have went into the Properties of my Analysis Server on SQL Server 2012 and out that AD userid in the Security Page as a Server Administrator. 
    Now let me tell you the real kicker here. 
    I also have a Sharepoint 2010 farm that we have been testing for about a year.  This is something we wanted to go into production with but now have decided we will deploy our new production site on 2013. 
    This has the same setup only I am using SQL Server 2008 R2 as my database for SharePoint 2010, and am using SQL Server 2008 R2 on another server and instance for Database Engines and Analysis Server. 
    I have already created a cube on the SQL 2008 r2 Analysis Server using BIDS.
    I created a Excel Pivot Table based on that cube and save it to the SharePoint 2013 site.  
    I then put the SSS AD account name on the SQL Server 2008 Analysis Services Security as Administrator.
    I pull up that Excel Workbook and go into Data and do a Refresh All and it works. 
    I then bring up my copy of the Excel workbook I created for my SQL Server 2012 Cube (this does not work on SP 2013) and save it to my Business Center in SP 2010.  This will do a DATA Refresh on that workbook.
    Another thing that I have done, (we have Office Web Apps Server running on the SP 2013 side), is set SPWOPISuppressSetting -view -extension xlsx so that when I bring up the Excel spreadsheet in 2013 it has a url with the xlviewer instead of the WOPI 
    url.
    OK.  I have went through all of my setup.   I am must wondering if I missed something in my install for this.  HELP.   There can't be that much difference in the installation between 2010 and 2013. 
    Thanks in Advance everyone.

    After many hours of research and totally burning down my SQL Server 2012 server because of the many changes I made to it, I finally found the issue that caused this and specifically why SP would not work with SQL Server 2012 Analysis Services.  This
    time I reinstalled SQL Server 2012 from scratch again but only put SP1 on at this time.  I can't be completely sure this fixed the issue since I have not put any of the other CU  on the box.  But, after the reinstall, everything seemed to work
    perfectly from the Excel Services side.
    The issue I then ran into was that I could not get my PerformancePoint Services to work with my Cubes that were created on SQL Server 2012.  I received Error Message " The DataSource Provider for data sources of type 'ADOMD.NET' is not registered" on
    my SharePoint 2013 Server Event Viewer. 
    I finally found this post on the issue: 
    http://yossidahan.wordpress.com/2012/08/14/cant-get-ssas-databases-to-appear-in-performance-point-dashboard-designer-check-you-adomd-net-version/
    Seems that SP 2013 is built to use SQL Server 2008 R2 Analysis Services, so you need to install the ADOMD.net from SQL Server 2008 in order for it to work.   But make sure you install Version 10 since if you install any other it doesn't seem to
    work. 
    I feel like I wasted a whole month tracking these issues down, and I haven't been able to test PowerView, PowerPivot or SSRS yet.  I hope there is not any more. 

  • IPhone 5 cellular data services failing

    ISSUE/SYMPTOMS:  iPhone 5 ONLY: Cellular Data stops intermittingly, cellular data locks up without warning, Wi-Fi data connection not working on occasion, iCloud contacts, calendar and reminders not updating, Find My Phone not working, mail or Internet not available or server time-outs. No error messages though. All of these are symptoms of no data service. Problems seem to be related to iPhone 5 failing to switch between LTE and 4G or 3G data services on AT&T.
    My iPhone 5 32GB AT&T version (iOS 6.0.2) along with my clients and family using iPhone 5 in the state of Oklahoma are having this issue on their AT&T iPhone 5's:  no cellular data connection re-established if at anytime the LTE connection is lost or weak.  As with iPhone's prior to iPhone 5, the iPhone 5 is supposed to drop down to the next tier of data service and re-connect to cellular data service when the higher speed cellular data service is not available.  Apparently this is not working well on the iPhone 5.
    What led me to research this LTE issue was that my iPhone was not syncing on iCloud with contacts, calendars and reminders with my other iOS devices.  Other times this issue became apparent was when iMessage quit sending and receiving until I would reboot my iPhone (sometimes it would finally send the message as a “text message”). When I had these problems I also found out I was not getting any cellular data service for Internet browsing, mail, Maps, Find My iPhone, etc.  This would happen without notice. In other words I would not receive any notice or error message that data service had stopped other than the fact I was not receiving any mail, iMessages, or iCloud sync updates. My only resolution was to reset or reboot my iPhone several times a day, and that would resolve it about 70% of the time. 
    I have talked to Apple Support on 2-3 occasions in the last week and AT&T Support twice in the last 2 days.  If it is really true, only the AT&T Technical Support Advisor informed me of a nationwide issue relating to iPhone 5 and LTE:  iPhone 5's are not re-connecting to 4G or 3G cellular data service once the LTE data connection is lost or dropped... the voice calls continue to work, but cellular data service fails and stays locked up without an error message until the customer reboots the iPhone.
    Obviously this is very unacceptable. We depend on these data services and at minimum need to know when it stops working instead of finding out from a phone call that someone sent us an important email or something.
    The AT&T representative also said that both AT&T and Apple are aware of and are working on the issue as it is a nationwide problem with iPhone 5 and LTE. The Apple Support Advisors I talked to made no mention of this "known" issue. AT&T said that it is partly AT&T responsibility because the capacity of LTE is overloaded and cellular data connections are dropping because of the lack of coverage and/or capacity. They actually refunded my data service for a whole month in apology for the inconvenience (I did not even ask for that--I just want my data service to work).  But they also said that Apple has responsibility in this issue because the iPhone 5 should drop down and re-connect to the next lower tier of data service when LTE is not available or lost; instead, it is locking up somehow or it still thinks it is connected to LTE when it is actually not. I don't know how accurate these statements are, but my problem is real.
    TEMPORARY WORK-AROUND / FIX FROM AT&T:  Disable LTE on the iPhone 5.  Or when you figure out that data is not coming to your iPhone, use Airplane Mode ON/OFF for a few seconds to force re-connection to a tower without rebooting the iPhone.  You can Disable LTE on the iPhone 5 in SETTINGS/GENERAL/CELLULAR. I have disabled LTE on my iPhone 5 and have not had any of these cellular data issues since. 
    Disabling LTE is not acceptable either, but it is working. At least I seem not be losing connection or locking up without knowing it.  In my office over the course of a day, my iPhone 5 will jump back and forth on LTE and 4G sitting in the same place.  Disabling LTE has stopped this and the problem, but the iPhone 5 should switch cellular data services seemlessly just like the phone switches towers on a phone voice call seemlessly (most of the time).
    WI-FI ALSO STOPS WORKING SOMETIMES AFTER THIS LTE disconnect / lock-up issue:  That has been my experience along with my clients and family as well. If you use Wi-Fi a lot on your iPhone it will hide this LTE issue until you leave your Wi-Fi and get on LTE and then drop LTE (silently) and then go back to your Wi-Fi.  My experience has been I have to reboot the iPhone to even get Wi-Fi working again after that happens.
    I do not know if some of these comments and analysis are really accurate or valid or not... all I know for sure is since I upgraded my iPhone to the 5 along with my other family members and clients, we have had "no data" on many occasions and are continually rebooting our iPhones and looking for what is wrong. 
    My questions to the support community are these:
         1. Is anyone else having this issue? Or is it just me and my few? Maybe a lot of people do not realize they are not getting their data because they are on Wi-Fi most of the time or they are just rebooting and not trying to identify the real problem. AT&T said it was nationwide iPhone 5/LTE issue.  Anyone else heard that from either Apple or AT&T?
         2. Is this an iPhone 5 / Apple issue or is AT&T solely responsible? Or is it both? Where do we get a solution??? Is AT&T LTE holding false connections with iPhone 5 or is the iPhone 5 failing to recognize a dropped LTE cellular data connection and then failing to attempt to re-connect with 4G or 3G?
         3. Did I miss where this issue is posted? I searched Apple Support and Communities and did not get any hits.  Any updates or further insight on the issue? Any other fixes other than Disabling LTE?
          4. If this is in fact a real issue belonging in part to the iPhone 5, we need to escalate Apple’s attention to it.
    Thanks in advance for your help and feedback.

    Thank you fellow users and experts for your feedback and updates. Sorry about the large font on the original post... accidental via cut and paste.
    I have escalated the issue with both Apple and AT&T.  I actually got senior level troubleshooters from both Apple and AT&T on the phone at the same time... rare moment. Here are the key points of the update:
         1. AT&T did NOT confirm the earlier statement by another AT&T Technical Support Agent that this was an emerging nationwide issue about iPhone 5 and LTE losing data connection and not reconnecting at a lower level or re-connecting to LTE once the signal came back. So that earlier statement was not accurate as suspected by all of us. The senior tech at AT&T said he has seen this issue sporadically over the last month or so, but only with about 3-4 customers.  He said it seems to be location or phone dependent (some phones not all phones).
         2. The Apple Tech was satisfied that all that could be done to eliminate my issues possibly relating to my instance of software / iOS had been accomplished except erasing my iPhone and restoring as a new phone (I have avoided this inconvenience with the argument that other family/clients with the iPhone 5 have had the same problem).
         3. AT&T went so far as to examine which towers I had been connecting to over the last week and looked at other technical data that could possibly explain the issue. I now know I have 3 towers that provide LTE within 4 miles of my home/office, one within a half mile.  But so far there is nothing to explain or even properly identify the issue.  AT&T offered me to take my phone to an AT&T store, try to force replicate the problem there, if so, the store would put my SIM card in a brand new iPhone 5 (just to test) and try tor replicate the problem again. If replicated on a new phone, there is a deeper issue; if resolved on a new phone, the answer is obvious. I have not taken the time to do this yet.
         4. On Friday, Jan 4, 2013 while talking and between the tech support calls (on a different phone), I was able to re-create the problem 2 separate times in my home/office by forcing my iPhone to weaken its connection to service (burying it under electronic gear) and then waiting a few minutes, then trying to browse the Internet--no data service unless I manually reset the connection.  I am only able to cause the issue to occur if there is at least 15 min of idle time after a weak signal condition AND only if I don’t completely lose a connection to cellular voice service. It seems that if you go down to NO SERVICE the phone will do new a search and keep searching until reconnects to LTE or other signals correctly, but a weak connection seems to be strong enough for voice service but can sometimes cause the LTE data service to stop without reconnecting to LTE, 4G or 3G unless I manually intervene. It also seems that idle time with a weak connection is also necessary to re-create the problem manually.  Since Friday, I have not been able to re-create the problem. This has been an intermittent problem, so who knows.
    FYI, I have never had this problem with my new iPad (also on AT&T LTE) that has been with me when the iPhone fails to have data service, but my iPad is never in my pocket or other places with perhaps less signal.
    Again, if you are connected to Wi-Fi on your iPhone 5 most of the time, you may never notice this issue if you are even having it.
    So far no progress on the real issue or resolution, but both Apple and AT&T have put forth very admirable effort.
    If you or others you know are having this issue, please take the time to post a reply to this issue. Thank you.

Maybe you are looking for

  • Looking for a Rewind like app for Tiger

    Back when I had my Performa 6360 running OS 8.1, I bought a utility called Rewind from Power on Software. The app could restore my Mac to an earlier date, or restore any file that had been deleted from the trash,etc.. It was more poweful than the sim

  • Error:"The specified tag name was not found"

    Hello: My problem is the FieldPoint error message in LabWindows/CVI v6.0. When hook up with Ethernet module(FP-1600), NO Problem on the source code, specially item Name "All". See the actual code. if(status = FP_CreateTagIOPoint (ServerHandle, resour

  • Iphoto in software upgrade?

    I upgraded the operating system on my macbook from the Tiger to Snow Leopard. With Tiger I had Iphoto, but I don't seem to have it in the Snow Leopard Upgrade. Does anyone know why that is? Thanks in advance.

  • Playing movies on my insignia tb

    I some movies on my ipad that I'm trying to play on my 42in insignia tv. If I plug just the AV adapter in--the kind with the red, yellow and white plugs--into the av plugs into the tv, it will play for a couple minutes then tell me it doesn't support

  • Open Custom PCR forms (created using ISR framework) from UWL for approval

    Hi, I have made a custom JSP iview using the ISR framework . The form can be submitted and a notification is created. The Workflow is generating the workitem wihich appears in the UWL worklist. HOw can i open the custom JSP iview from the UWL for the