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 )

36952 put(a) pogledan, 10 odgovor(a) 23.5.2013. 17:14:36Kreirao(la) mev9669
mev9669

mev9669

23.5.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.
Ovaj sadržaj još nije ocijenjen. 
515 Reputacija 67 Ukupno objava
idrazic

idrazic

24.5.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!


Ovaj sadržaj još nije ocijenjen. 
1384 Reputacija 152 Ukupno objava
mev9669

mev9669

24.5.2013. 11:45:57
but the username I use is admin. And there is no comma in it.
Ovaj sadržaj još nije ocijenjen. 
515 Reputacija 67 Ukupno objava
idrazic

idrazic

24.5.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
Ovaj sadržaj još nije ocijenjen. 
1384 Reputacija 152 Ukupno objava
mev9669

mev9669

24.5.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. 
Ovaj sadržaj još nije ocijenjen. 
515 Reputacija 67 Ukupno objava
mev9669

mev9669

24.5.2013. 13:12:06
Well, this happens when I click on edit button on the profile edit page with the default installation. 
Ovaj sadržaj još nije ocijenjen. 
515 Reputacija 67 Ukupno objava
mev9669

mev9669

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


Ovaj sadržaj još nije ocijenjen. 
515 Reputacija 67 Ukupno objava
idrazic

idrazic

27.5.2013. 7: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 
Ovaj sadržaj još nije ocijenjen. 
1384 Reputacija 152 Ukupno objava
mev9669

mev9669

27.5.2013. 9: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?
Ovaj sadržaj još nije ocijenjen. 
515 Reputacija 67 Ukupno objava
khorvat

khorvat

28.5.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
Ovaj sadržaj još nije ocijenjen. 
15993 Reputacija 2214 Ukupno objava