Validating file in PI

Hi Folks,
    In my scenario.  PI will be getting a file in following format.
    Header
    Item
    Item
    Header
    Item
    Item
    End Records
    PI have to check if 'End Record' exists in the file. If not, then Alert need to be triggered. I am not sure how the scenario can be handled without using BPM.
   Please help me if anybody is aware of the scenario.
Thanks & Regards,
Punit

Hi Abhishek,
Thanks.I just mentioned how I handled such a requirement.
You are right,handling it at Receiver Determination level would be good so as not to reach Message Mapping level.
I had to check if a field in Excel is blank(when we converted this Excel into XML,then this blank is replaced by " in XML)
In such case,I had to raise an exception.
So I created a UDF:
public String throwErrorOnInvalidValue(String a,Container container){
if(a.equals("\""))
throw new RuntimeException("Invalid Value: Value should be numeric");
else
return a;
Regards,
Shweta

Similar Messages

  • Can't upload file to Sharepoint "The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.

    Hello,
    I do database/SharePoint upgrades for SQL and or SharePoint or moving to new servers frequently.  In a nutshell, I backup the database (run the upgrade tools if necessary), load new server and sql software and restore the db, load but
    not configure SharePoint, and add the content db that was resotred through powershell.  I have never had any big issues with this before.  This time, I have done this same procedure as there is a new domain and new server.  Server and
    SQL 2008R2 and SharePoint 2010 on both old and new servers - just new server and new domain.  I have done this twice now (as it is a virtual server) and I have the same issue.  I can't check anything in or upload anything new.  I get the error
    - The URL '<path to the file and filename>' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.  I have made sure
    that my database and log files are on a drive that has plenty of space (db is not restricted to grow).  I have made sure my database is not locked.  I have checked to see that I don't have version in my indexed columns in that library (I
    don't have any).  I have checked that my recycle bin is on in central admin.  I am not using RBS.  I have turned on verbose logging and found the following when I searched on the correlation ID from the error message - it is saying invalid
    column name extension.  I am not sure what to do at this point.  I can see there is a column in SQL called extension in the AllDocs table. Thanks.
    09/16/2014 10:41:44.84  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Name=Request (POST:http://sqlsp:80/disc/_layouts/checkin.aspx?List=%7B5219EA15-A36A-4162-A188-4B8D518D7E79%7D&FileName=%2Fdisc%2FJigs%20and%20Fixtures%2FJigs%20and%20Fixtures%2FAssembly%2F30%20Assembly%2DGeneral%2FJ30XXA50%2D00%2Easm&IsDlg=1) 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:44.85  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Logging Correlation Data       xmnv Medium   Site=/ 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Database                       d0d6 High     System.Data.SqlClient.SqlException: Invalid column name 'Extension'.    
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior
    runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlDataReader.HasMoreResults()     at System.Data.SqlClient.SqlDataReader.NextResult()    
    at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Database                       d0d6 High     System.Data.SqlClient.SqlException: Invalid column name 'Extension'.    
    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)     at System.Data.SqlClient.TdsParser.Run(RunBehavior
    runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)     at System.Data.SqlClient.SqlDataReader.HasMoreResults()     at System.Data.SqlClient.SqlDataReader.NextResult()    
    at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean retryfordeadlock)     at Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     General                        8kh7 High     The URL 'Jigs and Fixtures/Jigs and Fixtures/Assembly/30 Assembly-General/J30XXA50-00.asm'
    is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     General                        9mpn High     File exception: Microsoft.SharePoint.SPException: The URL 'Jigs and
    Fixtures/Jigs and Fixtures/Assembly/30 Assembly-General/J30XXA50-00.asm' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web. ---> System.Runtime.InteropServices.COMException
    (0x81020030): The URL 'Jigs and Fixtures/Jigs and Fixtures/Assembly/30 Assembly-General/J30XXA50-00.asm' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.    
    at Microsoft.SharePoint.Library.SPRequestInternalClass.CheckInFile(String bstrUrl, String bstrWebRelativeUrl, Int32 iCheckinType, String bstrCheckinComment, Boolean bIsMigrate, Int32 iEditorId, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafe... 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01* w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     General                        9mpn High     ...ArrayWriter pUniqueFieldCallback)     at Microsoft.SharePoint.Library.SPRequest.CheckInFile(String
    bstrUrl, String bstrWebRelativeUrl, Int32 iCheckinType, String bstrCheckinComment, Boolean bIsMigrate, Int32 iEditorId, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)     --- End of inner exception
    stack trace ---     at Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx)     at Microsoft.SharePoint.Library.SPRequest.CheckInFile(String bstrUrl, String bstrWebRelativeUrl, Int32 iCheckinType, String
    bstrCheckinComment, Boolean bIsMigrate, Int32 iEditorId, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)     at Microsoft.SharePoint.SPFile.CheckIn(String comment, SPCheckinType checkInType, Boolean
    b... 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01* w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     General                        9mpn High     ...IsMigrate, SPUser modifiedBy) 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Runtime                        tkau Unexpected System.Runtime.InteropServices.COMException: The URL 'Jigs and Fixtures/Jigs and
    Fixtures/Assembly/30 Assembly-General/J30XXA50-00.asm' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.    at Microsoft.SharePoint.Library.SPRequestInternalClass.CheckInFile(String
    bstrUrl, String bstrWebRelativeUrl, Int32 iCheckinType, String bstrCheckinComment, Boolean bIsMigrate, Int32 iEditorId, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter pUniqueFieldCallback)     at Microsoft.SharePoint.Library.SPRequest.CheckInFile(String
    bstrUrl, String bstrWebRelativeUrl, Int32 iCheckinType, String bstrCheckinComment, Boolean bIsMigrate, Int32 iEditorId, ISP2DSafeArrayWriter pRestrictInsertCallback, ISP2DSafeArrayWriter ... 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.01* w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Runtime                        tkau Unexpected ...pUniqueFieldCallback) 88fb3615-c87c-4a7c-8e83-d63a551a9b8f
    09/16/2014 10:41:45.03  w3wp.exe (0x208C)                        0x1814 SharePoint Foundation        
     Monitoring                     b4ly Medium   Leaving Monitored Scope (Request (POST:http://sqlsp:80/disc/_layouts/checkin.aspx?List=%7B5219EA15-A36A-4162-A188-4B8D518D7E79%7D&FileName=%2Fdisc%2FJigs%20and%20Fixtures%2FJigs%20and%20Fixtures%2FAssembly%2F30%20Assembly%2DGeneral%2FJ30XXA50%2D00%2Easm&IsDlg=1)).
    Execution Time=182.518658097607 88fb3615-c87c-4a7c-8e83-d63a551a9b8f

    I have fixed it.  I did a backup of the database and log file 2 times. I also did an upgrade-spcontentdatabase command in the sharepoint powershell.  Not sure why it worked, but I had read online about upgrade issues from WSS2 to WSS3 to 2010
    and I thought maybe something did not fully get upgraded even though this has been in use for 2 years since the upgrade.

  • The URL is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.

    Hi all, 
    I'm having this issue on all document libraries when editing its properties, and it is also happening when creating new sub site (when it tries to provision the homepage). This issue is happening in a site collection that was migrated from a SharePoint 2010
    environment. 
    I have investigated every single error message, and none of the search results I found on the web helped, including the issue with having multiple column names mapped to the same database name ("@tp_Editor" error below). The file exists and it
    gets added to the document library but it fails when updating it's properties. 
    Here is logs from the ULS logs related to this issue:
    <nativehr>0x81020030</nativehr><nativestack></nativestack>The URL 'test/sdfsdfsdf.docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
    SPRequest.AddOrUpdateItem: UserPrincipalName=i:0).w|s-1-5-21-1739618301-713299677-2434533842-6675, AppPrincipalName= ,bstrUrl....
    Non-version conflict error in RunItemEventReceiverExProps.  Exception: Microsoft.SharePoint.SPException: The URL 'test/sdfsdfsdf.docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the
    current Web. ---> System.Runtime.InteropServices.COMException: <nativehr>0x81020030</nativehr><nativestack></nativestack>The URL 'test/sdfsdfsdf.docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a
    valid file or folder that is not in the current Web.    
     at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, Boolean bPreserveItemUIVersion, Boolean bUpdateNoVersion, Int32& plID, String&
    pbstrGuid, Guid 
    Exception while assigning Document ID: The URL 'test/sdfsdfsdf.docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
    Failed to get output parameter, HR: 0x80131509, Native stack:
    [Forced due to logging gap, cached @ 01/31/2014 16:45:19.56, Original Level: Verbose] Invoking EventReceiver - [Id: {0}]
    System.Data.SqlClient.SqlException (0x80131904): Parameter '@tp_Editor' was supplied multiple times.    
     at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)    
     at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    
    SQL error code from last error 8143 - Parameter '@tp_Editor' was supplied multiple times.
    <nativehr>0x81020030</nativehr><nativestack></nativestack>The URL 'test/sdfsdfsdf.docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
    SPRequest.AddOrUpdateItem: UserPrincipalName=i:0).w|s-1-5-21-1739618301-713299677-2434533842-6675, AppPrincipalName= ,bstrUrl=http://
    System.Runtime.InteropServices.COMException: The URL 'test/sdfsdfsdf.docx' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.   
     at Microsoft.SharePoint.Library.SPRequestInternalClass.AddOrUpdateItem(String bstrUrl, String bstrListName, Boolean bAdd, Boolean bSystemUpdate, Boolean bPreserveItemVersion, 

    It sounds like you have an Event Receiver attached to your library that might be throwing an internal error and blocking the file from being uploaded. The following errors state that the file that SharePoint thought was uploaded actually wasn't. I would
    focus on what is happening within the event receiver.
    Dimitri Ayrapetov (MCSE: SharePoint)

  • ITunes No Longer Runs--iTunes Helper Resources Not a Valid File Name

    I made a dumb mistake (I think) and tried to install iTunes onto an SD card.  At first, my computer would only let me open iTunes if the SD card was installed.  I tried to reinstall to the C drive, but keep getting the "I Tunes Helper Resources not a Valid File Name" message.  At this point I want to uninstall everything and start over, but I'm afraid I'll lose my music.  I still have all the files but, of course, none will open since I don't have a properly installed iTunes anymore.   Would appreciate any assistance in uninstalling, reinstalling and saving my current music files.

    Here's what I decided to do.  Fortunately, all the files were still available, so I simply backed them up from my iTunes Music Library onto a 32 GB flash drive then transferred the new stuff onto an older computer in my office with an older version of iTunes.  I had to do this in several shifts since I have more than 32GB of music.  Everything that transferred plays well.  Next I'll try to wipe iTunes completely off the new computer, reinstall an older version of iTunes and then reload all the files onto the new computer.  What a PITA!

  • The URL 'filename.xml' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current web

    Hi All,
    We have a form library with around 2000 InfoPath forms submitted successfully, but suddenly from the couple of weeks noticing that, the users are able to submit the form successfully without
    any issues but the referenced .xml file is physically not
    getting saved and the strange thing is it's reference(i.e. xml) is available. When we try opening the form it gives below error.<o:p></o:p>
    “InfoPath cannot open the following file ‘formpath/.xml’
    ”<o:p></o:p>
    When we try viewing the version history, it gives below error:<o:p></o:p>
    "The URL 'filename.xml' is invalid. It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current web"<o:p></o:p>
    I have also looked at the logs but not much information. Can someone help me?
    MercuryMan

    Hi,
    According to the error message, this issue is a typically database related issue.
    1. Make sure that your Content Database in SQL is not full.
    Open SQL management studio and connect to SQL server that have your content DB.
    You can find SQL server name from "manage servers in this farm".
    Right click the content database, click Reports > Standard Reports > Disk Usage to generate a standard report.
    For your reference:
    http://social.technet.microsoft.com/Forums/en-US/178095de-7fba-482c-9be1-94e60b1906e0/sharepoint-2010-error-the-url-item-url-is-invalid-it-may-refer-to-a-nonexistent-file-or
    2. According to KB 894631, this error message will be thrown out when the content database is configured to read-only.
    Go to Central Administration > Manage Content Databases and check if it is the case. Also, recycle the application pool in case the cache was corrupted.
    Thanks.
    Tracy Cai
    TechNet Community Support

  • Pictures won't save as valid files

    Whenever I take a picture on my Pearl 8220, it displays the image, and then saves it to my media card. however, when i attempt to view any pictures using my blackberry, the images can't be opened, and display as a black screen with a red x in the top left corner. reading the images off of the sd card with a PC doesn't work either, the images don't open as valid files, even though they look like non-empty jpeg files.
     Thanks for any help,
    Slothsberry 

    Hi, Slothsberry.
    Have you finally fixed this? Looks like I have the similar issue. I'm on bold and using the app that creates Excel file in Device Memory. The file looks like it's OK (size is not zero, it has proper name), but it can not be opened. When I studied its connent I saw every its byte is just zero. Other users of the app do not get in this problem. I can't figure out what could be wrong with my device...
    Thanks in advance,
    Arhimed

  • Unable to generate csr, Please use a valid file name

    I've been attempting to generate a new certificate signing request on our Exchange 2013 server.  In the past we've never had a problem but we seem to be stuck today.  When we try to output the new csr to one of our network shares we see the following
    error.  
    "Please use a valid file name when you run the New-ExchangeCertificate cmdlet on server server1 with the -RequestFile parameter. The file should not exist in target folder. Parameter name: RequestFile"
    We've use this share location before without problems, the Exchange Trusted Subsystem has write intermissions on this location as described online but we still receive the error.  I've tried creating new locations but haven't had any success.
    Any suggestions?
    Thanks

    Hi,
    We can access the Exchange Certificate Management UI through the EAC in Exchange 2013 by selecting
    Servers and then Certificates to create a new certificate to have a try.
    Alternatively, we can try the following command:
    $Data = New-ExchangeCertificate -GenerateRequest -SubjectName "c=US, o=contoso inc, cn=server.contoso.com" -DomainName mail.contoso.com, contoso.com, autodiscover.contoso.com -PrivateKeyExportable $true
    Set-Content -path "C:\Certificates\MyCertRequest.req" -Value $Data
    Regards,
    Winnie Liang
    TechNet Community Support

  • Validating File Browse path is valid

    I'm sure some other people ran into this same problem...
    I need a way to validate the file entered into the File Browse item is a valid file path. I've created an obvious "not null" validation so the item has a value when the page is submitted. I also created a validation to check the size of the file if a path was given. I noticed if there is something resembling a file path but the file name is not correct APEX will upload an empty blob.
    DECLARE
      v_file_id APEX_APPLICATION_FILES.ID%TYPE;
      v_file_filename APEX_APPLICATION_FILES.FILENAME%TYPE;
      v_file_doc_size APEX_APPLICATION_FILES.DOC_SIZE%TYPE;
      v_file_blob_content APEX_APPLICATION_FILES.BLOB_CONTENT%TYPE;
      v_file_mime_type APEX_APPLICATION_FILES.MIME_TYPE%TYPE;
    BEGIN
      SELECT ID,FILENAME,DOC_SIZE,BLOB_CONTENT,MIME_TYPE
        INTO v_file_id, v_file_filename, v_file_doc_size, v_file_blob_content, v_file_mime_type
        FROM (
          SELECT ID,FILENAME,DOC_SIZE,BLOB_CONTENT,MIME_TYPE
            FROM APEX_APPLICATION_FILES
           WHERE UPDATED_BY = UPPER(:APP_USER)
          ORDER BY UPDATED_ON DESC
       WHERE ROWNUM = 1;
       IF v_file_doc_size = 0 THEN
         DELETE FROM APEX_APPLICATION_FILES WHERE ID = v_file_id;
         RETURN FALSE;
       END IF;
       RETURN TRUE; 
    END;Now the problem is when a user enters some random text like "abc.pdf" into the file browse item. Is there a way to validate that this doesn't happen. In our current application it appears that the page is never submitted when a button is clicked. I put up an application on apex.oracle.com and I receive a javascript error when I try to submit a page with a relative file path like "abc.pdf".
    If I can't create a validation is there a way to make the file browse item read only so they have to use the button and can't type the file path?
    Thanks!
    Jonathan
    APEX 4.0

    Hi,
    Tried it, here is what happened
    IE 8 in Browser  Mode : IE 8, Document Mode: IE8 Standards
    - I am unable to enter any text in the item
    IE 8 in  Browser  Mode : IE 8 Compatibilty, Document Mode : IE7  Standards
    - I am unable to enter any text in the item
    IE 8 in Browser  Mode : IE 7 Compatibilty, Document Mode : IE7  Standards
    - I am unable to enter any text in the item
    FF 3.5.7
    - As soon as I key in text it automatically opens the File Browser Dialog box.
    So, there is some issue with either IE7 or something else.
    If someone from Oracel does not look at this thread then I suggest you post another query with the words bug? in it.
    Regards,

  • TextLayout.swc does not resolve to valid file

    Hi, I have not worked in Flash for awhile and have spent way too long just adding a link to a simple button. I have scoured the web looking for AS3 button examples and tried them all. No matter what I try, I keep getting the following error when I publish. When I try to click the link in the swf on my html page it doesn't link to anything and just goes back to the collapsed state of the flash file.
    Here is the error:
    Warning: Library path "$(AppConfig)/ActionScript 3.0/libs/11.0/textLayout.swc" does not resolve to a valid file.
    Perhaps I should mention that I am currently evaluating Adobe Cloud versions, trying to decide if I'm going to be purchase the membership. Not sure if that matters but thought I'd mention it.
    Thanks.

    Thanks for the response. I actually shouldn't have any text fields at all (which is another reason I thought it was a strange error). I'm using an expanding ad template with a library that only consists of only graphics. I don't see any text fields in symbols or movie clips at all.  I was looking to try to set it back to Flash 9 but it doesn't look like that is even an option with Flash CC. The farthest back I can go is 10.  Hmmm. Kind of stumped at the moment.

  • Bridge- get photos from camera... no valid files found

    I am using Photoshop CS3 on a laptop with Windows Vista and a Canon 30D camera.
    When I go to Bridge > File > Get photos from camera > select Canon EOS 30D, I get the message 'No Valid Files Found'
    What are the possible causes? There are raw files on the CF that have not been downloaded yet. This is my first attempt at downloading the photos through Bridge. I normally use the Can EOS Utility.
    Thanks for the help.
    Dale

    edit: first answer deleted because this way of copying files was stated in your original post already, sorry.
    If you are able to copy one way or an other the RAW files to a folder on your PC then point Bridge to this folder and that should be working, Try also to purge cache for that folder and renew Bridge preferences.
    I use Mac and don't know the correct way to install ACR on a PC. Have you checked the plug in info in PSCS if your ACR version is shown in the list?

  • C#: 'Not a Valid File Name' error when I know the name and link are correct.

    I'm receiving "Not a valid file name" when I know I have used this link before and the filename is spelled correctly. I'm not sure if I should be looking at something else. This is my connection code.  It fails on "conn.Open()".
    For security reasons, I edited the link... it is not a working link for this question.
    private void InitializeDBConnection()
    strConn = @"Provider=Microsoft.ACE.OLEDB.12.0;Data Source=http://database.storage.net/App_Data/Tracking.mdb";
    MessageBox.Show(strConn);
    MyConn = new OleDbConnection(strConn);
    MyConn.Open();
    SV

    A database must be locally available via the filesystem, e.g. an UNC path would do it also.

  • There are no valid files to upload to Facebook

    I tried uploading about 500+ photos in one batch to Facebook and it crashed.  Then I tried uploading one of the pictures in the batch that failed and I get the following message:
    "There are no valid files to upload to Facebook"
    If I rename the file it uploads without error. I do not want to change every file name in order to resolve the problem.
    Any ideas on how to solve?

    I tried your suggestion.  I renamed the OLS folder to "OLS old" and PSE recreated the OLS folder and I received the following message when I tried to Share to Facebook:
    Error
    There are no valid files to upload to Facebook. Kindly retry with an appropriate selection.

  • I can't install or uninstall itunes.  Says the iTunes.msi file is not a valid file.  My iTunes started acting odd after having the Windows XP virus.  I got ride of the virus, but then the repercussion of having it have wrecked havoc.

    An error pops up saying that the file isn't found and then when I link it to the file, the error says it isn't a valid itunes.msi file.  I had iTunes on my PC but it won't work properly so I am trying to re-install or update it.  Neither works.

    So I tried installing it and when I did it stopped at a certain point, giving me a message about "not being able to write to the file C:\ProgramFiles\iTunes\ iTunes.Resources\fr.lproj\ipodsettings.nib\objects.xib"
    problems with language resource files and folders (i believe that's one of the French ones that you're having a problem with) are often produced by disk damage around the areas of the files in question.
    so perhaps let's try running a chkdsk over your C drive. see:
    How to perform disk error checking in Windows XP
    does the chkdsk find/repair any damage? if so, does the uninstall or reinstall go through any better afterwards?

  • Xml validation ---- file system of PI ???

    hi all ,
         i read the xml validation concept of PI7.1 . iam unable to find any practical explanation about the following
    "To validate the structure of a PI message payload, you should export the schemas from the ESR and save them in the file system of PI. "
    save them in the file system of pi ... where does this mean to be stored ?.
    will it be necessary for both the ADAPTER ENGINE & INTEG ENGINE VALIDATION?
    Please give any other important aspect of this validation concept which u came across  during ur practical implementation
    THANKS IN ADVANCE

    Hi Netaji,
      Validating the XML documents is a new feature introduced in SAP NetWeaver Process Integration 7.1. The validation can be performed at two different locations - Integration Server or the Adapter Engine. Validations can be done in both synchronous and asynchronous operations.
    In the synchronous scenario or using an adapter that can handle synchronous messages (e.g. HTTP and SOAP adapters), when a validation error occurs, the error message will be returned to the sender. In the case of asynchronous scenarios (e.g. file adapter), the error message will be logged to the SXI_MONITOR when the validation is done in the Integration Server or to the Runtime Workbench (RWB) when the validation is done in the Adapter Engine. In both cases, the messaging will be terminated with error.
    Both Integration Server and Adapter Engine can be used for validating XML from the sender. However, only the Integration Server can be used to validate the XML when sending to the receiver. The XML validation configurations are done in either the Sender Agreement or the Receiver Agreement.
    In the current release, as of PI 7.1, the XML schema (or XSD) to be used for the XML validation has to reside in a file directory under the JEE. The XSD file has to be explicitly copied into a specific directory, depending on where the validation is to be performed.
    Regards,
    Leela

  • Handler chain file - validation files

    Hi Everyone,
    I have webservice where I would like to log all SOAP messages. Back in the WebLogic 8.1 days the developer merely specified an annotation to a soap handler like this:
    * @editor-info:link autogen-style="java" autogen="false"
    * @jws:handler operation="foo.utils.soaphandlers.BARHandler"
    During the WebLogic 10.3 upgrade/import process this annotation disappeared. I am thus trying to restore this link to BARHandler. So... following this documentation:
    http://download.oracle.com/docs/cd/E15523_01/web.1111/e13734/handlers.htm#i261458
    I add an annotation:
    @HandlerChain(file="bar_handler.xml")
    and created XML...
    <?xml version="1.0" encoding="UTF-8"?>
    <handler-chains xmlns="http://java.sun.com/xml/ns/javaee">
    <handler-chain>
    <handler>
    <handler-class>foo.utils.soaphandlers.BARHandler</handler-class>
    </handler>
    </handler-chain>
    </handler-chains>
    BARHandler is a modern SOAP handler I know works in another context...
    package foo.utils.soaphandlers;
    ...snip...
    public class BARHandler implements SOAPHandler<SOAPMessageContext>
    ...snip...
    Everything seems to go fairly well, until my <jwsc> task in build.xml blows up with this error (re-spaced for reading):
    build.xml:123: weblogic.wsee.tools.WsBuildException: JWS Validation failed:
    [Handler chain file validation error for file:
    file:/path/src/foo/webservice/bar_handler.xml.
    Element handler-chains@http://java.sun.com/xml/ns/javaee is not a valid
       handler-config@http://www.bea.com/xml/ns/jws document or
         a valid substitution.,
    Handler chain file validation error for file:
    file:/path/src/foo/webservice/bar_handler.xml.
    Element handler-chains@http://java.sun.com/xml/ns/javaee is not a valid
       handler-config@http://www.bea.com/xml/ns/jws document or
         a valid substitution.]
    I worked all day searching for an answer, but no luck so far. I also feel like the gremlins are mocking me! Not only does the validation error repeat twice but the first sentence of JSR 181 specification says all of this is "a simplified programming model". Alas, for me, it hasn't be so "simple" :(
    Thanks a bunch for reading and if you reply I will be very grateful!
    Cheers,
    -Randy

    Hello Randy -
    Please check the following thread.
    Validation Error in the JWS
    Regards,
    Justin.

  • Find out if string is valid file name?

    Is there a platform-independent method in the standard API to determine if a string contains only valid filename characters, and if not, convert it?

    How about something like
    File f = new File(String pathname)
    then
    if(f.isDirectory())
    And
    if(f.isFile())
    And
    if(f.exists())This would only work for existing files. You could try File.exists() as a first effort, and if this returned false, try creating a new directory with File.mkdirs(). Of course, this only works for local code (i.e. it wouldn't work in an Applet), and wouldn't work (for example) if the path contained a drive letter that didn't exist on your machine.
    RObin

Maybe you are looking for