Then I guess I need some assistance in getting my Mono installation to read the machine.config. Mono is installed to "C:\Program Files\Mono-0.25" (the default). Whenever I run an executable through the command line, I get the following two messages:
** Warning **: cannot find "C:\Program Files\Mono-0.25\etc"\mono\machine.config Trying to load app config file... The path Mono is looking in for the machine.config is incorrect. It should be "C:\Program Files\Mono-0.25\etc\mono\machine.config". (the quotes are in the wrong spot) Thanks JD > -----Original Message----- > From: Gonzalo Paniagua Javier [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 01, 2003 1:53 AM > To: [EMAIL PROTECTED] > Subject: Re: [Mono-list] XMLDocument.Load() With Path Fails on Windows > > > El mar, 01-07-2003 a las 08:21, JD Conley escribió: > > The following code snippet will fail to load the xml > document located > > in the same path as the output binary under Windows. > Attached is the > > xml file I was trying to load. This was done on Mono-0.25. > The same > > code worked quite well on 0.24. > > > > private void breakXML() > > { > > System.Xml.XmlDocument x = new System.Xml.XmlDocument(); > > x.Load("broken.xml"); > > } > > > > The stack trace is as follows: > > System.NotSupportedException: file:///c:/test/broken.xml > > in <0x00188> 00 System.Net.WebRequest:GetCreator (string) > > You need to install a new machine.config (it's in mono/data > directory) to $PREFIX/etc/mono. > > Right now you can register schema - handler associations in > machine.config file and the default ones are http/https - > System.Net.HttpRequestCreator and file - FileWebRequestCreator. > > -Gonzalo > > > _______________________________________________ > Mono-list maillist - [EMAIL PROTECTED] > http://lists.ximian.com/mailman/listinfo/mono-> list > _______________________________________________ Mono-list maillist - [EMAIL PROTECTED] http://lists.ximian.com/mailman/listinfo/mono-list