Error 400:0 when browsing calendar

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
9/11/2010 10:22:28 AM
Gravatar
Total Posts 123
/Mats Lillnor

Error 400:0 when browsing calendar

Mojo version: 2.3.4.1 MSSQL
IIS 7.5 (Win 2008 R2)
URL: http://haningebudoklubb.se/kalender

I don't really consider this a bug, but rather a problem that probably has something to do with some IIS-settings, but still might be a reason to change the bahviour of the calendar to generate different urls. It has worked before and now it suddenly does not on several sites, but since I am not the primary web-administrator for the IIS-server I cannot tell exactly what has changed. Most likely no one has changed any settings about this on purpose, but my guess is that an update to the IIS has modified the URLSCAN filter or something. Can it be the colons in the request for the time according to Swedish settings?
 

Error description:
When going to the calendar and click on the arrows to show next or previous month i get:

HTTP Error 400:0 - Bad Request.
ASP.NET detected invalid characters in the URL

Detailed description shows the following:
(Data from another site with same problem, hence the different URL)

Module BannedIPBlockingHttpModule
Notification BeginRequest
Handler StaticFile
Error Code 0x00000000
Requested URL http://rudan62.lillnor.net:80/kalender&visdate4=2010-10-01T00:00:00
Physical Path D:\Clients\00000A4500\rudan62.lillnor.net\wwwroot\kalender&visdate4=2010-10-01T00:00:00
Logon Method Not yet determined
Logon User Not yet determined
 

What can be wrong and how do i fix it? Very strange that it stops at the
(Cannot upgrade the mojoPortal version at this time.)

I do have the possibility to create a FREB-report if absolutely necessary, but it is a little extra work on the production server.

 

/Mats

9/11/2010 10:33:49 AM
Gravatar
Total Posts 18439

Re: Error 400:0 when browsing calendar

Hi Mats,

Looks like a bug in Event Calendar, it is not correctly handling the url because it does not have .aspx extension.

When you click the next month button it makes an url like this:

http://haningebudoklubb.se/kalender&visdate121=2010-10-01T00:00:00

but that is not correct, it should be

http://haningebudoklubb.se/kalender?visdate121=2010-10-01T00:00:00

I will fix this for the next release, for now the only workaround is to change the url to kalender.aspx instead of kalender

Hope it helps,

Joe

9/11/2010 11:16:23 AM
Gravatar
Total Posts 123
/Mats Lillnor

Re: Error 400:0 when browsing calendar

Great!

Thanks Joe for the quick answer, as always.

Workaround works perfectly (after finding the 301 url-redirect i had made earlier when i changed to extensionless urls.)

I understand what you meant, but the two urls you posted are extremely similar .-)

 

/Mats

9/11/2010 11:50:33 AM
Gravatar
Total Posts 123
/Mats Lillnor

Re: Error 400:0 when browsing calendar

Sorry, didn't not the "?".

Not so extremely similar after all.

 

/Mats

You must sign in to post in the forums. This thread is closed to new posts.