.NET Framework Bookmark and Share   
 index > .NET Base Class Library > configuration file not found
 

configuration file not found

Hi,

Error in designer of a UserControl "Configuration file not found!!!"
The userControl builds the view at runtime by reading a XML file from a specific pathand setting the controls according to the information in the XML.

The problem is onlyat design time!

Does anyone have a solution for me?
Thanks.
K_BB
Perhaps you're using relative paths to the xml file? The "current directory" is different at design time than at run time.
Michal Burger
You may set a breakpoint in the line that loading xml file, and then you can check whether the path is correct.

Thanks,
Eric
Please remember to mark helpful replies as answers and unmark them if they provide no help.
eryang
Perhaps you're using relative paths to the xml file? The "current directory" is different at design time than at run time.
Michal Burger
You may set a breakpoint in the line that loading xml file, and then you can check whether the path is correct.

Thanks,
Eric
Please remember to mark helpful replies as answers and unmark them if they provide no help.
eryang

You can use google to search for other answers

Custom Search

More Threads

• Best Practice: Activity status
• My Access database isn't being updated, but no errors occurred in my application
• Isolated Storage for Assembly - Confusion
• Assembly names and extensions
• Detecting blank cd in drive
• System.Uri without escaping
• Windows service gives "Error 1053: The service did not respond to the start or control request in a timely fashion" while start
• ArrayList - Contains Method
• How to: Fixed Length double format?
• Synchronized queue problem in vb.Net