MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Problem - with Monix - Error Config maybe ? Windows 7 with IIS 7  (Mono Support )

Viewed 123219 time(s), 13 post(s) 1/6/2011 3:56:23 PMby shawndg

Related topics

shawndg

shawndg

1/6/2011 3:56:23 PM
Hello All..

I setup Monox on my windows 7 machine and I it is running Monox but I am getting some errors.. and I am not sure exactly why and its causing the site to lag pretty bad..

It setup in C:/#dev folder, and that folder is setup as a virtual directory inside IIS7 and it has been converted to a .net Web application and the app pool is set to .net 4.0..

I also copied over the .net 4.0 webconfig file that was inside the Monox directory to get it to install.. so I did that part right.. Im thinking maybe there a config in there that needs setup to point to C:/#dev or something for the url rewrite to work but im not sure =/

Now I dug into the windows event logs as well as as the Monox ones and tracked the error down too..

2011-01-06 09:53:01,327 [15] ERROR MonoX [MonoX] - Application Error
System.ArgumentException: The virtual path '/Default.aspx' maps to another application, which is not allowed.
at System.Web.HttpContext.RewritePath(String path, Boolean rebaseClientPath)
at MonoSoftware.UrlRewriter.RewriterEngine.Rewrite()
at System.Web.HttpApplication.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)



The error is causing Monox to lag very badly...
please help =)

Oh ya.. and Im liking Monox very much so far.. great job guys!
This content has not been rated yet. 
1871 Reputation 252 Total posts
denis

denis

1/6/2011 5:28:47 PM
Something is wrong with your virtual path configuration in IIS. MonoX can be installed in the virtual folder (so its address is http://localhost/MonoX or something like that), but for some reason the URL rewriter module maps certain URLs to the address space of your root Web site, which is not allowed.
Is this happening on all MonoX URLs, or only on some of them? Can you access the blog page (which is rewritten) at http://yourdomain/subfolder/blog/posts/MonoX? I would also like to see the configuration screens of your IIS MonoX virtual folder.
This content has not been rated yet. 
7207 Reputation 956 Total posts
shawndg

shawndg

2/14/2011 9:37:01 PM
A copy of my webconfig is sent by mail...
This content has not been rated yet. 
1871 Reputation 252 Total posts
shawndg

shawndg

1/6/2011 8:43:21 PM
http://localhost/devsite/subfolder/blog/posts/MonoX - produced a blank white page.. ?
This content has not been rated yet. 
1871 Reputation 252 Total posts
denis

denis

1/6/2011 10:00:12 PM
Does this mean that you cannot get ANY of the pages in MonoX?
Web.config looks OK, the cause of the problem probably lies in the IIS configuration...
This content has not been rated yet. 
7207 Reputation 956 Total posts
shawndg

shawndg

1/6/2011 10:14:13 PM
It loads a blank page when i go to .. not found error
http://localhost/devsite/subfolder/blog/posts/MonoX

but when i go to
http://localhost/devsite/blog/posts/MonoX
- it loads.. up as normal
This content has not been rated yet. 
1871 Reputation 252 Total posts
denis

denis

1/6/2011 10:27:58 PM
"subfolder" was meant to server as a placeholder for your actual virtual subfolder.
So you installed MonoX in http://localhost/devsite/? That is the root folder? And you can see the blog page? Which page you cannot access?
This content has not been rated yet. 
7207 Reputation 956 Total posts
shawndg

shawndg

1/8/2011 12:25:41 AM
I am able to browse to pages..

but the program keep reporting the error as described in my original post..
This content has not been rated yet. 
1871 Reputation 252 Total posts
shawndg

shawndg

1/8/2011 7:14:21 PM
I solved this problem..

My Main issue was that I changed the port IIS runs on.. this caused Monox to break!..
And it breaks good!!..

Ok.. during the installation.. I redid my whole IIS 7 setup.. tried lots of stuff to get rid of the error.. i even made my own website and rooted it to the monox directory but this whole time i was getting random odd errors..

During the install, when using port 66, i found many issues.. the installer.. would lag.. some files would not load.. and the installer could not complete..

In order to even get monox to install i had to set the port to port 80, once I did this the installer flew thru with no issues..

So.. just wanted to post this.. as maybe its a bug with monox config.. unable to support ports other then default port 80 or something.. you guys may want to look into this issue..

I now got the new latest Monox up and running with iis7, on port80, and running in .net 4.0

Thanks for all the help and guidance all... hope this post helps someone else out if they run into issues with ports..
This content has not been rated yet. 
1871 Reputation 252 Total posts
denis

denis

1/8/2011 10:14:00 PM
Strange - I did run the installation on the custom port and it seemed to work.
In any case, we will investigate it, glad that you finally got a working system.
This content has not been rated yet. 
7207 Reputation 956 Total posts
1 2