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

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 12 Jan 2004 05:54:22 -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 gonzalo@ximian.com.


--- shadow/50432	2004-01-12 05:54:22.000000000 -0500
+++ shadow/50432.tmp.21706	2004-01-12 05:54:22.000000000 -0500
@@ -0,0 +1,129 @@
+Bug#: 50432
+Product: Mono/Runtime
+Version: unspecified
+OS: unknown
+OS Details: Windows XP
+Status: RESOLVED   
+Resolution: FIXED
+Severity: Unknown
+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
+BugsThisDependsOn: 50306[DUPLICATE]
+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.
+------- Additional Comments From dufrp@hotmail.com  2003-11-01 10:06 -------
+I (Paul Dufresne) just saw that bug 50306 is about the same problem.
+But I did not notice it at first because summary was not about xsp,
+nor machine.config file.
+------- Additional Comments From Mark_Kuschnir@yahoo.co.uk  2003-11-04 01:26 -------
+*** Bug 50306 has been marked as a duplicate of this bug. ***
+------- Additional Comments From leonardo@bndes.gov.br  2003-11-07 12:43 -------
+I changed %Winbase%\monobase.bat just like asked, but am still getting
+this error:
+** Warning **: cannot find "C:\Arquivos de
+instead of the previous:
+** Warning **: cannot find "C:\Arquivos de
+Besides, calling a simple html in the root dir gives the "String
+returned by HttpRuntime.GetResourceStringFromResourceManager" error.
+Are you sure you didnīt change anything else to make this workaround
+work ?
+I am using mono 0.28 for windows and xsp 0.6 on Windows XP
+Leonardo Peixoto - leonardo@bndes.gov.br
+------- Additional Comments From dufrp@hotmail.com  2003-11-09 12:48 -------
+Yes, I removed mono, then made it back.
+It works for me. It seems that you did not remove " characters
+according to your messages. Also, they looks reverse. Your first
+** Warning **: cannot find "C:\Arquivos de
+was what you suppose to get after, but like I said it seems you did
+not remove the " characters.
+------- Additional Comments From gonzalo@ximian.com  2004-01-12 05:54 -------
+It was an environment variable problem.