While teaching a Flex class recently, I had several students encounter this error in which their application would error out with the following: “Error #2148: this error did not allow to read data from a file XML”
This seemed rather strange because the XML file was surely there, but something else was up. So we started debugging the error. The Flex RPC Fault faultString would come back as “Error #2148: this error did not allow to read data from a file XML”. Hmmm, great help!
One of the students, Martin, found the solution. In Flex Builder you can set compiler arguments. They are located via Properties > Flex Compiler > Additional Compiler Arguments.
Simply add the following: “-use-network=false”
You will have to do this for each Flex project in Flex Builder that you’re experiencing the problem.