Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Simple Silverlight Test => Bad Request
Groy
#1 Posted : Tuesday, September 22, 2009 5:18:22 AM(UTC)
Groups: Member
Joined: 9/22/2009(UTC)
Posts: 3

Hi,

I have a little problem : after downloading and installing Cassini, i tried to test it with a simple silverlight application hosted in a ASP Web application (Project in VS 2008). I built it and registered a new application in Cassini.

After the successful register, i wanted to see my mini web site but an error occurred : 404 Bad Request :s

Can you help me ?


Regards,
Groy
Ultidev Team
#2 Posted : Tuesday, September 22, 2009 9:03:01 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi, Groy.

Cassini supports Silverlight. We would like to ask you a few additional questions to better understand the problem:
- If your SL application is hosted by a web page, do you get 404 when accessing the page, or when the page tries to load the XAP file?
- 404 usually means "file not found", not bad request. Are we missing something?
- If you add any other html or ASPX file to the project, can you reach it by browsing to it?

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Groy
#3 Posted : Wednesday, September 23, 2009 10:04:44 PM(UTC)
Groups: Member
Joined: 9/22/2009(UTC)
Posts: 3

Shame on me !

It's not a 404 error but a 400 (Bad request).

Using Fiddler, i saw error happens when the page is loaded.

In my webSite, i have several pages and i can access to its when i enter the complete name.
ex : http://localhost:8080/Default.aspx (that works) instead of http://localhost:8080/ (Bad request)

It's not really important, but can i browse to default.aspx by default ?


I have other questions :
Your server will be include in a setup project to be deployed later.
- Can i hide shortcuts Cassini menu in start bar in the client machine to prevent access to the management interface ?
- Your picker default document doesn't seem to workk (when i choice a file, nothing appears in the box).
Ultidev Team
#4 Posted : Thursday, September 24, 2009 4:51:49 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
Hi!

Cassini does look for index.htm and Default.aspx if default document is not specified when application is registered. If you contact us via email, then you could send us your app registration settings and/or Fiddler session archive for review.

Our license agreement precludes removing UltiDev branding information, including menu icons. We hope you don't mind that. Hiding an icon would not be real security anyway since users still can simply type http://localhost:7756/.

When registering an app, the easiest way to do it is to pick the default document and then hit Generate button - it will set physical folder location, default document and app ID.

Please let us know if this information was helpful.

Best regards,
UltiDev Team.

Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Groy
#5 Posted : Thursday, September 24, 2009 11:45:23 PM(UTC)
Groups: Member
Joined: 9/22/2009(UTC)
Posts: 3

This information was very helpful !


Congratulations for your product !


Regards,
Groy
Ultidev Team
#6 Posted : Friday, September 25, 2009 4:52:54 AM(UTC)
Ultidev Team

Groups: Administration
Joined: 11/3/2005(UTC)
Posts: 2,253

Thanks: 28 times
Was thanked: 60 time(s) in 59 post(s)
No problem!

We are happy you were able to resolve the issue.

Best regards,
UltiDev Team.
Please donate at http://www.ultidev.com/products/Donate.aspx to help us improve our products.
Rss Feed  Atom Feed
Users browsing this topic
Guest (4)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You can vote in polls in this forum.