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.

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

Viewed 38676 time(s), 10 post(s) 23.05.2013 17:14:36by mev9669
mev9669

mev9669

23.05.2013 17:14:36
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.
Dieser Inhalt wurde noch nicht bewertet. 
515 Reputation 67 Total posts
idrazic

idrazic

24.05.2013 11:33:02
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!


Dieser Inhalt wurde noch nicht bewertet. 
1384 Reputation 152 Total posts
mev9669

mev9669

24.05.2013 11:45:57
but the username I use is admin. And there is no comma in it.
Dieser Inhalt wurde noch nicht bewertet. 
515 Reputation 67 Total posts
idrazic

idrazic

24.05.2013 12:33:41
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
Dieser Inhalt wurde noch nicht bewertet. 
1384 Reputation 152 Total posts
mev9669

mev9669

24.05.2013 13:10:27
This happens with the default installation of MonoX. I have not done anything with the users. i have just setup a few custom pages. 
Dieser Inhalt wurde noch nicht bewertet. 
515 Reputation 67 Total posts
mev9669

mev9669

24.05.2013 13:12:06
Well, this happens when I click on edit button on the profile edit page with the default installation. 
Dieser Inhalt wurde noch nicht bewertet. 
515 Reputation 67 Total posts
mev9669

mev9669

24.05.2013 13:47:32
The page url is domainname.com/profile-about/admin/


Dieser Inhalt wurde noch nicht bewertet. 
515 Reputation 67 Total posts
idrazic

idrazic

27.05.2013 07:56:01
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 
Dieser Inhalt wurde noch nicht bewertet. 
1384 Reputation 152 Total posts
mev9669

mev9669

27.05.2013 09:21:14
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?
Dieser Inhalt wurde noch nicht bewertet. 
515 Reputation 67 Total posts
khorvat

khorvat

28.05.2013 11:09:39
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
Dieser Inhalt wurde noch nicht bewertet. 
15993 Reputation 2214 Total posts