The string '' is not a valid XsdDateTime value

I have the TSQL code displayed below, trying to generate the following XML:
<Provider xmlns="http://www.tn.gov/mental/Schemas/CrisisAssessment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tn.gov/mental/Schemas/CrisisAssessment">
<NPI>1306875695</NPI>
<FileCreationDate>2014-01-31</FileCreationDate>
<FileCreationTime>10:51:03</FileCreationTime>
<Patient>
<ProviderPatientNo>190366</ProviderPatientNo>
<LastName>Gi</LastName>
<FirstName>Brandon</FirstName>
<PhoneAssessment>
<ProviderPhoneAssessmentId>4F2E4674-FDB5-4D8F-8D9C-01AFF9DFA3A1</ProviderPhoneAssessmentId>
<F2FAssessment>
<ProviderF2FAssessmentId>D0A5A65B-3F30-47A4-A350-AE3CBC68DA25</ProviderF2FAssessmentId>
<DateTransportedToFacility xsi:nil="true" />
<TimeTransportedToFacility xsi:nil="true" />
<FollowupContacted>0</FollowupContacted>
</F2FAssessment>
</PhoneAssessment>
</Patient>
</Provider>
But instead this looks like:
<Provider xmlns="http://www.tn.gov/mental/Schemas/CrisisAssessment" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.tn.gov/mental/Schemas/CrisisAssessment">
<NPI>1306875695</NPI>
<FileCreationDate>2014-01-31</FileCreationDate>
<FileCreationTime>10:51:03</FileCreationTime>
<Patient>
<ProviderPatientNo>190366</ProviderPatientNo>
<LastName>Gi</LastName>
<FirstName>Brandon</FirstName>
<PhoneAssessment>
<ProviderPhoneAssessmentId>4F2E4674-FDB5-4D8F-8D9C-01AFF9DFA3A1</ProviderPhoneAssessmentId>
<F2FAssessment>
<ProviderF2FAssessmentId>D0A5A65B-3F30-47A4-A350-AE3CBC68DA25</ProviderF2FAssessmentId>
<DateTransportedToFacility />
<TimeTransportedToFacility />
<FollowupContacted>0</FollowupContacted>
</F2FAssessment>
</PhoneAssessment>
</Patient>
</Provider>
This is the TSQL code for this:
; with prov as (
select NPI,FileCreationDate, FileCreationTime
from July2013_Import_Final
group by NPI,FileCreationDate, FileCreationTime
SELECT
NPI as [NPI],
FileCreationDate as [FileCreationDate],
FileCreationTime as [FileCreationTime],
Select
ProviderPatientNo ,
LastName as [LastName],
FirstName as [FirstName],
Select
t_phone.ProviderPhoneAssessmentId,
t_assess.ProviderF2FAssessmentId as [F2FAssessment/ProviderF2FAssessmentId],
[DateTransportedToFacility] as [F2FAssessment/DateTransportedToFacility],
TimeTransportedToFacility AS [F2FAssessment/TimeTransportedToFacility]
FollowupContacted AS [F2FAssessment/FollowupContacted]
FROM (select distinct ProviderPatientNo, ProviderPhoneAssessmentId,ProviderF2FAssessmentId
from #phones where CallDisposition in (1,5,8) and ProviderPhoneAssessmentId = t_base.ProviderPhoneAssessmentId) t_phone
inner join #Assessments t_assess On t_phone.ProviderPatientNo = t_assess.ProviderPatientNo and t_assess.ProviderF2FAssessmentId is not null
left join #Drugs d on d.ProviderF2FAssessmentId = t_assess.ProviderF2FAssessmentId
left join #HospAlt ha on ha.ProviderF2FAssessmentId = t_assess.ProviderF2FAssessmentId
left join #HospDisp hd on hd.ProviderF2FAssessmentId = t_assess.ProviderF2FAssessmentId
--where t_phone.ProviderPatientNo = '00200791'
FOR XML PATH('PhoneAssessment'), ELEMENTS, type) AS [*]
FROM (select distinct ProviderPhoneAssessmentId, ProviderPatientNo,LastName,FirstName,SSN,DOB,Gender,Race,Ethnicity from #base
) t_base
FOR XML PATH('Patient'), type
from prov
for xml path(''), root('Provider')
And I don't want to use the code:
FOR XML PATH('PhoneAssessment'), ELEMENTS XSINIL, TYPE)
Because I don't want this behavior for all elements.  How can I modify my SQL query?
Ryan D

I see it very quickly when you point it out.  Without your note, it would have taken a good five minutes of painstaking node by node comparison.
What is the data type of these two columns?  The xml that is produced is like it is a varchar that is empty string. 
I will assume that these are varchar.  Add the following bits (I have added the full namespace declaration as part of your with clause):
; with xmlnamespaces (
default 'http://www.tn.gov/mental/Schemas/CrisisAssessment'
, 'http://www.w3.org/2001/XMLSchema-instance' as xsi)
, prov as (
case when isnull([DateTransportedToFacility], '') = ''
then 'true' else null end as [F2FAssessment/DateTransportedToFacility/@xsi:nil],
[DateTransportedToFacility] as [F2FAssessment/DateTransportedToFacility/*],
case when isnull([TimeTransportedToFacility], '') = ''
then 'true' else null end as
[F2FAssessment/TimeTransportedToFacility/@xsi:nil],
TimeTransportedToFacility AS [F2FAssessment/TimeTransportedToFacility/*]
Russel Loski, MCT, MCSE Data Platform/Business Intelligence. Twitter: @sqlmovers; blog: www.sqlmovers.com

Similar Messages

  • Import-SPWeb Error - The string was not recognized as a valid DateTime. There is an unknown word starting at index 0

    Using the Export-SPWeb PowerShell command on a server to move a document library from one site colelction in a content database to another site collection in a seperate content database.
    Am using the following command:
    Export-SPWeb
    -Identity
    https://sp.bacl.net/legal/rr
    -Path
    \\bacvsspa01\backups\rr\rr.cmp
    -ItemUrl
    rr
    -IncludeVersions
    All
    -IncludeUserSecurity
    Not all documents are transferred hwoever. I get some errors like the following:
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg] Progress: Importing
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg]   Verbose: List URL: /legal/legal/rr
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg]   Error: The string was not recognized as a valid DateTime. There is an unknown word starting at index 0.
    [11/02/2014 2:21:44 PM] [ListItem] [16Jun11 17.32.09_BAC employees provid_Tom Heading.msg]   Debug:    at System.DateTime.Parse(String s, IFormatProvider provider)
       at System.Convert.ToDateTime(String value, IFormatProvider provider)
       at System.Runtime.Serialization.SerializationInfo.GetDateTime(String name)
       at Microsoft.SharePoint.Deployment.MetaInfoProperty..ctor(SerializationInfoHelper infoHelper)
       at Microsoft.SharePoint.Deployment.FileSerializer.GetMetaInfo(SerializationInfoHelper infoHelper)
       at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFile(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String& fileUrl, Boolean fileExistsInDb, Boolean isFirstVersion, Boolean hasWebParts, SerializationInfoHelper
    infoHelper, SerializationInfoHelper infoHelperListitem, StreamingContext context)
       at Microsoft.SharePoint.Deployment.FileSerializer.CreateOrUpdateFileAndAssocData(Object fileOrListItem, SPLoggerObject loggerObject, SPWeb web, Guid id, String& fileUrl, Boolean fileExistsInDb, SerializationInfoHelper infoHelper, SerializationInfoHelper
    infoHelperListitem, StreamingContext context, ISurrogateSelector selector)
       at Microsoft.SharePoint.Deployment.ListItemSerializer.AddOrUpdateDoclibItem(SerializationInfoHelper infoHelper, SPListItem& listItem, SPLoggerObject loggerObject, SPWeb web, Guid newId, String& listItemServerRelativeUrl, Boolean bIsPublish,
    Boolean exists, StreamingContext context, ISurrogateSelector selector)
       at Microsoft.SharePoint.Deployment.ListItemSerializer.SetObjectData(Object obj, SerializationInfo info, StreamingContext context, ISurrogateSelector selector)
    I had a look in the .cmp file that was created (Changed extensions to .cab) and had a look at the Manifest.xml file. Relevant XML below:
    <SPObject Id="b18cc711-e5df-4ee7-9639-866e5b6613b0" ObjectType="SPFile" ParentId="1ad76e87-43e6-4cbf-a0a1-53af4975668f" ParentWebId="4be7e61f-b1c7-473f-acc3-0bae06e32024" ParentWebUrl="/legal/rr" Url="/legal/rr/rr/Employees
    giving First Aid/16Jun11 17.32.09_BAC employees provid_Tom Heading.msg">
            <File Url="rr/Employees giving First Aid/16Jun11 17.32.09_BAC employees provid_Tom Heading.msg" Id="b18cc711-e5df-4ee7-9639-866e5b6613b0" ParentWebId="4be7e61f-b1c7-473f-acc3-0bae06e32024"
    ParentWebUrl="/legal/rr" Name="16Jun11 17.32.09_BAC employees provid_Tom Heading.msg" ListItemIntId="37" ListId="020f8304-a50f-413b-be27-40d0ccc9e497" ParentId="1ad76e87-43e6-4cbf-a0a1-53af4975668f" TimeCreated="2011-11-16T07:02:00"
    TimeLastModified="2011-11-16T07:02:00" Version="1.0" CheckinComment="Loaded Using Dell Solutions for SharePoint" FileValue="00000013.dat" Author="29" ModifiedBy="24">
                <Properties>
                    <Property Name="vti_title" Type="String" Access="ReadOnly" Value="BAC employees providing first aid" />
                    <Property Name="source_item_id" Type="String" Access="ReadWrite" Value="source_item_id:1" />
                    <Property Name="vti_foldersubfolderitemcount" Type="Integer" Access="ReadOnly" Value="0" />
                    <Property Name="Attach Count" Type="String" Access="ReadWrite" Value="Attach Count:0" />
                    <Property Name="Created By" Type="Boolean" Access="ReadWrite" Value="Created By:BNE_AIR1\\jbrown" />
                    <Property Name="Importance" Type="String" Access="ReadWrite" Value="Importance:1" />
                    <Property Name="From1" Type="Time" Access="ReadWrite" Value="From1:Tom Heading" />
                    <Property Name="AttachCount" Type="String" Access="ReadWrite" Value="AttachCount:0" />
                    <Property Name="ContentTypeId" Type="String" Access="ReadWrite" Value="0x0101003699C96894FF79479322E4A235852946000530E240279BA54D8F621B39A4E09CF3"
    />
                    <Property Name="Modified By" Type="Boolean" Access="ReadWrite" Value="Modified By:BNE_AIR1\\jbrown" />
                    <Property Name="vti_folderitemcount" Type="Integer" Access="ReadOnly" Value="0" />
                    <Property Name="display_urn\:schemas-microsoft-com\:office\:office#Author" Type="String" Access="ReadWrite" Value="Jenny Brown"
    />
                    <Property Name="Document Created By" Type="Boolean" Access="ReadWrite" Value="Document Created By:BNE_AIR1\\jbrown" />
                    <Property Name="Created_x0020_By" Type="Boolean" Access="ReadWrite" Value="Created_x0020_By:BNE_AIR1\\jbrown" />
                    <Property Name="vti_cachedtitle" Type="String" Access="ReadOnly" Value="BAC employees providing first aid" />
                    <Property Name="Modified_x0020_By" Type="Boolean" Access="ReadWrite" Value="Modified_x0020_By:BNE_AIR1\\jbrown" />
                    <Property Name="ContentType" Type="String" Access="ReadWrite" Value="Legal Document" />
                    <Property Name="Attach_x0020_Count" Type="String" Access="ReadWrite" Value="Attach_x0020_Count:0" />
                    <Property Name="display_urn\:schemas-microsoft-com\:office\:office#Editor" Type="String" Access="ReadWrite" Value="Jenny Brown"
    />
                    <Property Name="vti_parserversion" Type="String" Access="ReadOnly" Value="15.0.0.4535" />
                    <Property Name="To" Type="Boolean" Access="ReadWrite" Value="To:Barry Peach" />
    <Property Name="From" Type="Time" Access="ReadWrite" Value="From:Tom Heading" />
                    <Property Name="Document Modified By" Type="Boolean" Access="ReadWrite" Value="Document Modified By:BNE_AIR1\\jbrown"
    />
                </Properties>
            </File>
        </SPObject>
    Now, looking at the source document library, this document has the field in question set to String, so why has it been marked as a Time filed type in the expiort file?
    Is anyone aware of any issues with the Export-SPWeb commandlet?
    SharePoint 2013 + March PU + AUG 2013 CU.
    Any help appreciated.

    Hi Richard,
    According to your description, the error occurred when you ran the Export-SPWeb command.
    I recommend to verify the things below for troubleshooting:
    Save the document library as an template(include content) and create a new document library based on the template, then run the Export-SPWeb command to export the new document library to see if the issue still occurs.
    Did this issue occur with other document library? If not, you can delete the string field with error, then run the Export-SPWeb command to narrow the issue scope.
    As a workaround, you can save the library as a template and deploy it to the site collection where you want to move the library, then create the new library in the site collection.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • "System.FormatException: The string was not recognized as a valid DateTime" when running SharePoint Configuration Wizard step 9

    Dears,
    We have a problem upgrading sharepoint
    From: SharePoint 2007 SP2 12.0.0.6535 - April 10 cumulative Update
    To: SharePoint 2007 SP2 12.0.6557.5000 - April 11 cumulative Update
    We start installing WSS CU in our standalone environment
    Then we start running the SharePoint Configuration Wizard and it is failed in step 9 with the following error in "PSCDiagnostics" log:
    File reader could not understand line 15679. Line was: 06/26/2011 10:11:35  1  INF              Entering function PsconfigLinkLabel.LinkLabelClickedEventHandler. Error was: System.FormatException:
    The string was not recognized as a valid DateTime. There is a unknown word starting
     at index 24.
     at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
     at UlsGump.Column.TimeColumn.ParseTime(StringFacade timeString)
     at UlsGump.UlsEntry.SetEntryFromThread(StringFacade[] threadFacades, StringCacheFile stringCacheFile, Int64 messageLocation)
     at UlsGump.UlsEntry.ReadFromUlsBuffer(Char[] buffer, Int32 bufferStart, Int32 bufferCount, StringCacheFile stringCacheFile, Int64 fileStart)
     at UlsGump.FilePump.ReadJob()
     Please help and advise to solve this error in order to get upgrading sharepoint succeed
    Regards, Anas N. Alhussein | Sharepoint Senior Developer

    Hi,
    From your narration, you can clear the configuration cache, then re-run the SharePoint Configuration Wizard, check the effect.
    Cleared the cache of config database by following below steps.
    1. Stopped the Windows SharePoint Services Timer service.
    2. Started on the SharePoint Server where Central Administration Site is hosted. Browse to
    C:\Documents and Settings\All Users\Application Data\Microsoft\SharePoint\Config\
    3. Deleted all the xml files. (But do not delete the cache.ini file.)
    4. Then Edited the cache.ini and replaced the current value with "1".
    5. Restarted the Windows SharePoint Services Timer service on the Central Admin server .
    Thanks,
    Rock Wang
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Regards, Rock Wang Microsoft Online Community Support

  • Error - '' is not a valid boolean value

    I have been receiving the error message = '' is not a valid Boolean value quite frequently.  It doesn’t matter which hierarchy I am in but it’s typically when I do an Add or Insert.  When selecting ‘ok’ on the error message, I’m able to continue on with my work but was just curious what causes this error.  Sometimes when this error shows up and I click ‘ok’, it will take me out of the DRM screen and into whatever else I may have open at the moment.  Any thoughts or ideas?  We are on version 11.1.1.2.103

    As Murali stated-
    It could be a property incorrectly configured, check all the boolean type properties and see if any of them are getting a string value by any chance.
    Thanks
    Denzz

  • Infopath 2013 SOAP Web Service Data Connection - Error: The file is not a valid XML file

    Here are the steps to replicate the issue I’m having when adding lists.asmx or any other SharePoint web service in InfoPath 2013. This web service opens fine in the browser from my desktop. My account is a farm administrator and is added to the
    web application’s User Policy.  I can use these services just fine using Nintex 2013 Workflow.
    Open InfoPath Designer 2013.
    Select Blank Form and click Design Form button.
    Click “Data” tab.
    Click “From Web Service” and select “From SOAP Web Service”
    Enter https://mysiteurl.com/_vti_bin/lists.asmx?WSDL for the web service definition.
    Click Next.
    Windows Security window pops up.
    Enter a credential. I tried both my account and the farm account. My account is a farm admin and is added to the web application’s User Policy with Full Control.
    Click OK. It prompts for credential multiple times.
    I get below this error messages: 
    Sorry, we couldn't open https://mysiteurl.com/_vti_bin/lists.asmx?WSDL
    InfoPath cannot find or cannot access the specified Web Service description.
    The file is not a valid XML file.
    Not enough storage is available to process this command.
    We have a project that is in need of these services using InfoPath so any help is greatly appreciated.

    Hi Brian_TX,
    For your issue, try to the following methods:
    Change your service binding in web.config to:binding="basicHttpBinding". It seems in VS it defaults to wsHttpBinding.
    Replace all instances of "parameters" from the web service wsdl with the name "parameter"
    There are some similar articles about the issue, you can have a look at them:
    http://www.infopathdev.com/forums/t/23239.aspx
    https://social.msdn.microsoft.com/Forums/office/en-US/621929c3-0335-40af-8332-5a0b430901ab/problems-with-infopath-web-service-connection?forum=sharepointcustomizationprevious
    https://social.msdn.microsoft.com/Forums/en-US/5fa5eca8-f8d7-4a2e-81ba-a3b4bdcfe5af/infopath-cannot-find-or-cannot-access-the-specified-web-service-description?forum=sharepointcustomizationlegacy
    Best Regards
    Lisa Chen
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]

  • HT1222 Wheb I try to update iTune I am getting a message "the site has not a valid signature" and the downloading is stopped. How can I fix IT?

    Wheb I try to update iTune I am getting a message "the site has not a valid signature" and the downloading is stopped. How can I fix IT?
    I am using windows 7 64

    That suggests that the installer is getting damaged during the download.
    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • IPhoto says it cannot import my photos b/c they may be an unrecognized file or the file may not contain valid data. The operation could not be completed. Error code is: ImageCaptureCoreError-9905.

    Unable to download photos from my camera. iPhoto returns an error message that states: The following files could not be imported (they may be an unrecognized file or the files may not contain valid data). FILE NAME: 100_0490.JPG      REASON: com.apple.ImageCaptureCoreError- 9905.  WHAT'S UP WITH THAT?  Did not have a problem importing photos under the LEOPARD OS, however, now that I have upgraded to Yosemite 10.10.3 the iPHOTO app is not performing the imports.

    Are you using Photos, or iPhoto? Maybe you've got a corrupt file on your camera. I would try using the image capture application to import the bad picture to my desktop. If it works and the picture looks ok,  then delete that pic from the camera, then try to import into iphoto again. You can then import the pic it was saying was bad from your desktop.
    Or, try downloading all the pics using image capture and then import from the download folder.

  • Pages is not saving document correctly.  After saving the changes either do not appear or you can not open the file. The error is "not a valid format"  I am in Pages '09 4.1 (923).  I also use Parallels.  Anyone having similar issues?

    Pages is not saving document correctly.  After saving the changes either do not appear or you can not open the file. The error is "not a valid format"  I am in Pages '09 4.1 (923).  I also use Parallels.  Anyone having similar issues?

    I'm not sure that Lion AutoSave feature apply to network servers.
    I'm just sure that the Versions feature doesn't.
    Yvan KOENIG (VALLAURIS, France) samedi 21 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan

  • The extention does not contain valid signature...".

    Hi
    I made .ZPX file. But during unpacking it shows an alert "The extention does not contain valid signature...". What can be reason and how to fix it?

    Hi Maxim3,
    It is difficult to tell what is wrong with your ZXP without inspecting what's inside it, but here are a few things which could cause this kind of error in Extension Manager
    Adding files to the ZXP after it has already been signed
    Adding a whole folder to a ZXP, rather than the contents of a folder (since Extension Manager won't find your MXI in the root level of your ZXP)
    Adding files which contain double-byte characters (e.g. Traditional Chinese)
    The command should have looked something like this:
    java -jar ucf.jar -package  -storetype PKCS12 -keystore cert.p12 -storepass password outputfile.zxp -C "/inputfolder" .
    [note the dot (.) at the end of the command]
    Probably the easiest way to package a ZXP is using Adobe Exchange Packager:
    https://www.adobeexchange.com/api/Packager.exe
    https://www.adobeexchange.com/api/Packager.dmg
    ...as you can use this to create self-signed certificates, and it guides you through the process of packaging and signing.
    Fraser

  • Insane object error(The string control not getting any values)

    In LabVIEW 8.2 i am using the string control to get the text from the users, and initially there was no problem at the time of development it works perfectly, after building the installer,
    these string controls are not getting any string input, it seems like a disabled one, but actually it was not disabled, when we try to click over that through the mouse,
     that text inputting cursor was not blinking over there,I screen looks as below, some error messages are thrown from the LabVIEW like insane object error, even
    now there was the same problem in the source code itself, what to do rectify this. Only this part generates error all other remaining screen panels are working perfectly.

    This kind of problem can be a pain to locate. This often occurs when the wiring to or from a control or indicator is bery long, convoluted and hidden inside of structures or behind things. So first, you need to identify which VI specifically is generating the error by individually saving VIs and subVIs until you find the one that is generating the error. Now try and remember the last time that VI saved without a problem and what edits you made since then. Places where I have had this occur was when I drag-copied a control and a couple VIs into a small structure. Sometimes the wires would seem to conect up properly, but when I tried to save the VI I got this error. The solution was to disconnect all the wires associated with the VIs I had copied and rewire them.
    Also, can you post the VI that is doing it? Shouldn't need the subVIs for this...
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • Apex 4.1. cannot see the details of not null validations generated by apex

    Hi there,
    I have worked with APEX 3 quite a while. Now I move to new place, and they use APEX 4.
    I am currently doing the Advanced Tutorials - Issues Tracker (written for 3.2 ) on an APEX 4.1.
    I am quite impressed with a lot of enhanced features of APEX 4.
    However, I think I got quite confused about the NOT NULL vaildations.
    In the tutorials, they said when creating a form based on a tablle of which the columns have NOT NULL constraint, it will automatically generate NOT NULL validation.
    But when I extend the validation section (in both Component View and Tree View), I cannot see any vaildation there.
    So I go a head and create some NOT NULL validations for all NOT NULL fields.
    Guess what, when I test the form, I got duplicate error messages.
    I get these
         6 errors have occurred
    Project Name must have some value. (Go to error)
    Start Date must have some value. (Go to error)
    Target End Date must have some value. (Go to error)
    Please provide project name. (Go to error)
    Please provide project start date. (Go to error)
    Please provide target end date. (Go to error)
    My validation has error message "Please provide project name" while the automatic one has "Project Name must have some value".
    The issue is I cannot find where the automatic validation is.
    What if I want to customise the error message rather than just "#Label# must have some value".
    Do any of you have any ideas why ?
    I guess I must have chosen something wrong during page generation.
    It could be quite simple but I don't know where to find the place that turn on/off the automatic not null validation, or at least customize these automatic error messages.
    I currenly develop the application using workspace admin account.
    Thanks a lot in advance.
    Ann

    I found it. Turn out to be the Settings, choose No for Required Value.

  • The Jtree is not refreshing with new values when mouse click on the node

    hi ,
    I am creating a tree from a vector .The values in the vector is coming from the JTable data after satisfing the some condition. But the data in the Jtable is changing time to time so the data in the vector is also changing .
    But the problem is that when first I create a tree with that data the tree is created but for the next time I click on the tree node the tree is not changing i.e. it is not created with the new values that is stored in the vector at that time .what to do .Please help
    I am using DefaultMutableTreeNode for creating the tree .In starting I have created one root and the one it's child .Now the next subtree of the root child have to be created by this vector data. this subtree should be updated according to the values in the vecter.
    public void valueChanged(TreeSelectionEvent e) {
    //code here
    subtreecreat();
    //some function that create tree after cheching the some condition here
    subtreecreat() {
    Enumeration en=vector.elements();
    while(en.hasMoreElements())
    DefaultMutableTreeNode servername = new DefaultMutableTreeNode(en.nextElement());
    node.add(servername);
    Please help it is very urgent
    Thanks in Advance,
    anum

    Well, you can either use a custom TreeModel that tracks your Vector, or you can use a DefaultTreeModel and call model.reload(node) to refresh the tree below the specified node.

  • My downloads of iTunes and related software onto my Windows PC fails every time with error message that the software does not have valid signature.  How to get around this problem?

    I have trouble downloading iTunes software and related software like the new ios8 on both my desktop--Windows 7, and my laptop--Windows Vista, because I keep getting error messages saying the software has been deleted because invalid signature.   I have tried download and install and I have tried just download, but neither method works.   So I am stuck with the older software and my new iPad 2 Air isn't connecting because I need ios8 apparently.
    I have an iPhone 5 and a new iPad 2 Air.
    How to get around the Windows problem, please?
    Thank you!

    bump

  • ORA-01843: not a valid month . Receive this error when running report in reporting services but not when running query in BIDS

    sql server 2008 r2
    RS2008 r2
    I can execute the query in BIDS 2008 with out a problem and I can run on our RS2005 server without a problem
    But when I deploy report and run on our RS2008 server I get the error
    An error has occurred during report processing. (rsProcessingAborted)
    Query execution failed for dataset 'NIR'. (rsErrorExecutingCommand)
    ORA-01843: not a valid month 
    QUERY:
    select * from NIR_QUARTERLY where birth_date between :PARAM1 and :PARAM2
    order by PT_CODE

    CAUSE
    The problem is caused by not using VALID dates values in the dataset.
    - This data problem was masked in the original version as the Predicate(s) used can change between versions of Oracle
    - Oracle does *not* guarantee the same explain plan or the specific order of predicates used between versions of Oracle
    Reviewing the  EXPLAIN PLAN for both versions revealed in this case:
    1) The table was partitioned
    2) The EXPLAIN PLANS were not the same due to how the partitions were accessed
    3) If the same query was used against a non-partitioned table using the same data, the following error would always occur
       ORA-01843: not a valid month
    4) The problem string value was in this case found to include the string value of  '0000-00-00'
      The ORA-01843 occurred when using the TO_DATE function against '0000-00-00'
    There is *no* Year= '0000' Month= '00' or day = '00' -- therefore the  ORA-01843: not a valid month
    --Prashanth

  • Deploy error: j2ee version "2.4" not a valid enumeration type.

    Hi!
    I'm tasked with upgrading from WL Server 9.2 to 10.0, and got a strange error when deploying, namely that the contents of the version field of the web-app tag is not a valid enumeration value -- despite what the xsd says about it:
    [wldeploy] weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
    [wldeploy] problem: cvc-enumeration-valid: string value '2.4' is not a valid enumeration value for web-app-versionType in namespace http://java.sun.com/xml/ns/javaee:<null>
    BUILD FAILED
    /home/lars/Programming/Eclipse/ampep/Aas/build.xml:562: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 102 failed: [Deployer:149026]redeploy application AmpEP on amplexServer.
    Target state: redeploy failed on Server amplexServer
    weblogic.descriptor.DescriptorException: VALIDATION PROBLEMS WERE FOUND
      problem: cvc-enumeration-valid: string value '2.4' is not a valid enumeration value for web-app-versionType in namespace http://java.sun.com/xml/ns/javaee:<null>The start of the web.xml in question is:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <web-app
         xmlns:j2ee="http://java.sun.com/xml/ns/j2ee"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
        version="2.4">If I remove the version attribute, it deploys under 10.0, but not under 9.2 (which we will be running until we're sure 10.0 works). Why is it going counter to the xsd? Is there something I can declare to make it happy? I notice the namespace ending in :<null>, is that a problem?
    Thanks in advance,
    -Lars Clausen

    Hi,
    I am also facing the same issue, Can you please tell me the solution if you have found anything...
    Regards
    Mani

Maybe you are looking for