[Mono-bugs] [Bug 50432][Maj] New - xsp unable to load machine.config file

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sat, 1 Nov 2003 09:56:42 -0500 (EST)

Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by dufrp@hotmail.com.


--- shadow/50432	2003-11-01 09:56:42.000000000 -0500
+++ shadow/50432.tmp.24466	2003-11-01 09:56:42.000000000 -0500
@@ -0,0 +1,87 @@
+Bug#: 50432
+Product: Mono/Runtime
+Version: unspecified
+OS Details: Windows XP
+Status: NEW   
+Priority: Major
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: dufrp@hotmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+Summary: xsp unable to load machine.config file
+Description of Problem:
+So, I downloaded xsp-0.6.tar, extracted the files, and try to run xsp in
+bin directory:
+C:\Documents and Settings\Paul\My Documents\xsp-0.6\bin>mono xsp.exe
+** Warning **: cannot find "C:\Program
+Trying to load app config file...
+Listening on port: 8080
+Listening on address:
+Root directory: C:\Documents and Settings\Paul\My Documents\xsp-0.6\bin
+** Warning **: cannot find "C:\Program
+Trying to load app config file...
+Renewal called: System.Runtime.Remoting.Lifetime.Lease Returning: 00:02:
+But now, when I run the browser on http://localhost:8080/ I get:
+Server error in '/' application
+String returned by HttpRuntime.GetResourceStringFromResourceManager
+Description: Error processing request.
+Error Message: String returned by
+Stack Trace:
+System.Web.HttpException: String returned by
+in <0x00088> System.Web.HttpApplication:InitModules ()
+in <0x0005b> System.Web.HttpApplication:Startup
+in <0x0007e> System.Web.HttpApplicationFactory:InitializeFactory
+in <0x00094> System.Web.HttpApplicationFactory:GetInstance
+in <0x00140> System.Web.HttpRuntime:InternalExecuteRequest
+Expected Results:
+This warning should not appearered:
+** Warning **: cannot find "C:\Program
+How often does this happen? 
+Additional Information:
+XSP 0.6, MONO 0.28 installed with MSI installer
+I changed this line in Windows/monobasepath.bat
+set MONO_CFG_DIR="C:\Program Files\Mono-0.28\etc\mono"
+set MONO_CFG_DIR=C:\Program Files\Mono-0.28\etc
+And this have fixed my problem.
+This was based on a suggestion of someone answering to this problem
+on ASP forum on:
+This now works, at least on the very simple index.html I wrote.
+I think that XSP is wrong by adding \MONO to MONO_CFG_DIR and by
+not removing \" characters.