Windows 10: Problem facing in reading xml files from one adls folder but able to read that file from...

Discus and support Problem facing in reading xml files from one adls folder but able to read that file from... in Windows 10 Software and Apps to solve the problem; While I am reading files from adls one folder in databricks I am unable to read.xml files, I am getting error that Failure to initialize configuration... Discussion in 'Windows 10 Software and Apps' started by Rucha Bakare, Jan 19, 2024.

  1. Problem facing in reading xml files from one adls folder but able to read that file from...


    While I am reading files from adls one folder in databricks I am unable to read.xml files, I am getting error that Failure to initialize configuration for storage account sdfgh.dfs.core.windows.net: Invalid configuration value detected for fs.azure.account.keyInvalid configuration value detected for fs.azure.account.key.But if I am reading that same file in df = spark.read.format"csv" or df = spark.read.format"text" I amable to read that file .Also I have installed the library of Maven which is "com.databricks.spark.xml" .From another folder of adls I can read this .xml file with this synt

    :)
     
    Rucha Bakare, Jan 19, 2024
    #1
  2. Rohn007 Win User
    Rohn007, Jan 19, 2024
    #2
  3. how to read value from xml file

    Hi heenamaniyar,



    I go through the post carefully, if you would like to open and read a XML file, you may open it from Text editor like Notepad on Windows or Office apps like Word and Excel(For more information: Open XML Formats and file name extensions (microsoft.com)).

    If you would like to extract specific elements from the XML file, you may try JavaScript in the link that may help: Read XML file using javascript - Stack Overflow



    However, as the category here is on Office related usage, if you would like to start a web activity from a XML file, I would suggest you post in Newest 'xml' Questions - Stack Overflow with XML tags where you may get more professional help. Thanks for your understanding!

    Disclaimer: Microsoft provides no assurances and/or warranties, implied or otherwise, and is not responsible for the information you receive from the third-party linked sites or any support related to technology.





    Best Regards,

    Clark
     
    Clark Cui MSFT, Jan 19, 2024
    #3
  4. Problem facing in reading xml files from one adls folder but able to read that file from...

    how to read value from xml file

    Hi Clark ,

    I am trying to read in data from an API with Azure Data Factory. First I need to call a log in method, which provides an XML response. I need to take an element from that XML and put it into my next API call to get the data that I need.

    Currently I am using the Copy data tool to call the log in method and save the XML to adls storage. How do I now read an element of that XML into a variable?

    If there is a better way of doing this then please advise, but I would still like to know how to read an XML element into a variable.

    Edit: here is the XML being returned. I need to capture the SessionID.

    below is my xml file

     
    heenamaniyar, Jan 19, 2024
    #4
Thema:

Problem facing in reading xml files from one adls folder but able to read that file from...

Loading...
  1. Problem facing in reading xml files from one adls folder but able to read that file from... - Similar Threads - Problem facing reading

  2. Can’t read file from source

    in Windows 10 Software and Apps
    Can’t read file from source: Just another failure of current day Microsoft. Something that worked fine before you **** tried to download Windows 11 onto my 4 year old PC. Thanks a lot. And thanks for my memory leak. I love that dodging updates for 4 years did nothing, but suddenly after your **** new OS...
  3. Can’t read file from source

    in Windows 10 Gaming
    Can’t read file from source: Just another failure of current day Microsoft. Something that worked fine before you **** tried to download Windows 11 onto my 4 year old PC. Thanks a lot. And thanks for my memory leak. I love that dodging updates for 4 years did nothing, but suddenly after your **** new OS...
  4. Can’t read file from source

    in Windows 10 BSOD Crashes and Debugging
    Can’t read file from source: Just another failure of current day Microsoft. Something that worked fine before you **** tried to download Windows 11 onto my 4 year old PC. Thanks a lot. And thanks for my memory leak. I love that dodging updates for 4 years did nothing, but suddenly after your **** new OS...
  5. "Not able to read from source file or disk" problem even after chkdsk.

    in Windows 10 Gaming
    "Not able to read from source file or disk" problem even after chkdsk.: Hi,A few days back I posted a question regarding being not able to back up my data from my laptop to my hard disk. An error kept occurring during transfer of files and it read "not able to read from source file or disk". I enquired about it and I was suggested to run a chkdsk...
  6. "Not able to read from source file or disk" problem even after chkdsk.

    in Windows 10 Software and Apps
    "Not able to read from source file or disk" problem even after chkdsk.: Hi,A few days back I posted a question regarding being not able to back up my data from my laptop to my hard disk. An error kept occurring during transfer of files and it read "not able to read from source file or disk". I enquired about it and I was suggested to run a chkdsk...
  7. Problem facing in reading xml files from one adls folder but able to read that file from...

    in Windows 10 Gaming
    Problem facing in reading xml files from one adls folder but able to read that file from...: While I am reading files from adls one folder in databricks I am unable to read.xml files, I am getting error that Failure to initialize configuration for storage account sdfgh.dfs.core.windows.net: Invalid configuration value detected for fs.azure.account.keyInvalid...
  8. Can't Read File From Disk

    in Windows 10 Network and Sharing
    Can't Read File From Disk: Hey I have a problem with copying a folder that I sent a month ago to my external hard drive, I cant copy it or move it because it says that can't read from the source or drive an stuck in the middle. it's weird because I can open the files or watch them with kmp since they...
  9. Unable To Unlock Folders and Files From Read Only

    in Windows 10 Network and Sharing
    Unable To Unlock Folders and Files From Read Only: I just purchased a new laptop and manually transferred my files from the old laptop using an external hard drive. Both operating systems are Windows 10. All of the files are accessible but all of the folders, sub-folders and files are in Read-Only. I attempted to turn off...
  10. Error reading from file! BCL.EasyConverterLib.Interop.dll.

    in Windows 10 Installation and Upgrade
    Error reading from file! BCL.EasyConverterLib.Interop.dll.: I'm using windows10 and Family Tree Maker 2012. Microsoft did a up date and I had a meltdown! tried to fix but, there was no back up I had it set for back up and use a portable drive but have search all over for backup but nothing there. It uninstalled my tree now trying to...