Mono Support The parameter 'username' must not contain commas. Parameter name: username 

Viewed 38723 time(s), 10 post(s), 5/23/2013 5:14:36 PM - by mev9669
5/23/2013 5:14:36 PM
515 Reputation 67 Total posts

Has someone encountered this error before? i get it when I click on edit profile on the user profile page. i get the same error when i click on the page tasks actions menu that is browse mode, design mode etc.

1
5/24/2013 11:33:02 AM
1384 Reputation 152 Total posts

Hi,

Yes, it looks like "User Manager" allows any character to be entered for "User Name" but it shouldn't as SqlMembershipProvider doesn't allow commas (that seems to be the only problematic character). 

As a workaround you can try to edit the field manually and remove the comma.

I've filed a bug report about this and we will fix it as soon as possible.

Thanks!


2
5/24/2013 11:45:57 AM
515 Reputation 67 Total posts

but the username I use is admin. And there is no comma in it.

3
5/24/2013 12:33:41 PM
1384 Reputation 152 Total posts

Can you please check the actual data in the database?
Does this happen with default installation, if not can you provide a sample that triggers the error?  

Regards,
Igor

4
5/24/2013 1:10:27 PM
515 Reputation 67 Total posts

This happens with the default installation of MonoX. I have not done anything with the users. i have just setup a few custom pages. 

5
5/24/2013 1:12:06 PM
515 Reputation 67 Total posts

Well, this happens when I click on edit button on the profile edit page with the default installation. 

6
5/24/2013 1:47:32 PM
515 Reputation 67 Total posts

The page url is domainname.com/profile-about/admin/


7
5/27/2013 7:56:01 AM
1384 Reputation 152 Total posts

We had is issue before, source of the problem and possible solutions are offered here:
http://www.mono-software.com/Mono/Pages/Discussion/dtopic/x1XtGX4IcE-9R56KATl6gQ/I-have-latest-monox-up-and-running-Error-when-trying-to-design-or-edit-profile-pages/?dbmpageno=0 

8
5/27/2013 9:21:14 AM
515 Reputation 67 Total posts

Hi Idrazic,

I have placed the  Form.broser in the App_Browsers folder and it works fine on the web server but does not work on my local development machine. Also it will be great if you can add some URL rewrite rules that you have used and explain them in the documentation.
Thanks very much for your help. 

is there a reason why the form.browser file wont display the login page which is placed in the root directory?

9
5/28/2013 11:09:39 AM
15993 Reputation 2214 Total posts

Let me try to fill in a few blanks here ...

This will work only in the scenario where you have a Form.browser in the App_Browsers folder and you have removed the App_Browsers.dll from your bin folder.

I have placed the  Form.broser in the App_Browsers folder and it works fine on the web server but does not work on my local development machine.
URL Rewriter used by MonoX can be found here. As MonoX doesn't implement any custom rules or anything you can find all the documentation you need on that link. Let us know if you need any more information regarding the rewriting ?
Also it will be great if you can add some URL rewrite rules that you have used and explain them in the documentation.

Form Adapter (Form.browser) is used to rewrite the HTML Form action attribute on all forms in MonoX to get URL rewriting ability and to fix the postback issues when you use rewriting etc. Login page is not rewritten so there should be any link between those two.
is there a reason why the form.browser file wont display the login page which is placed in the root directory?
Regards

10
This is a demo site for MonoX. Please visit Mono Software for more info.