Michael Washington
 Posts:990

 |
| 30 May 2011 02:19 PM |
|
This thread is to track any issues with the sample LightSwitch application at:
http://lightswitchhelpwebsite.com/D...rSale.aspx
Known issues:
- Updated and created dates are reversed
|
|
----------- Michael Washington http://LightSwitchHelpWebsite.com |
|
|
Bill Mason
 New Member
 Posts:7

 |
| 31 May 2011 03:39 AM |
|
Hi Michael,
Is this site hosted at a shared hosting site? The application was very sluggish when I was trying it out. I then received an error and was not able to finish testing. The error was "Timeout expired. The timeout expired prior to obtaining a connection to the pool. This may have occurred because all pooled connections were in use and max pooled size was reached."
I tried to get back in at a later time and still received the message.
Bill
|
|
|
|
|
Michael Washington
 Posts:990

 |
| 31 May 2011 04:18 AM |
|
I will suspend testing for now. The HTML pages I had that were using the LightSwitch business layer were not releasing connections (this may be why it is not 'officially supported'). I will try a LightSwitch only test at a later date. |
|
----------- Michael Washington http://LightSwitchHelpWebsite.com |
|
|
Michael Washington
 Posts:990

 |
| 31 May 2011 05:05 AM |
|
Testing is back up without the HTML pages. Clearly I can create HTML pages without connecting directly to the LightSwitch business layer (or I can figure out how to properly close connections when doing so). |
|
----------- Michael Washington http://LightSwitchHelpWebsite.com |
|
|
Michael Washington
 Posts:990

 |
| 31 May 2011 05:49 AM |
|
Without the HTML part that allows people to send messages, the LightSwitch app doesn't make much sense I will investigate the 'calling the LightSwitch busness layer directly from .aspx pages' issue over the next few days and get the complete app back up. |
|
----------- Michael Washington http://LightSwitchHelpWebsite.com |
|
|
Michael Washington
 Posts:990

 |
| 31 May 2011 08:00 PM |
|
The full application is back up. When you send a message from the HTML page it is still going through the LightSwitch business layer so we will test this for a day or so to see if it causes any problems. |
|
----------- Michael Washington http://LightSwitchHelpWebsite.com |
|
|
Michael Washington
 Posts:990

 |
| 01 Jun 2011 02:37 PM |
|
You should now be automatically logged into the LightSwitch app through the IFrame. All I had to do was add the domain to the web.config Forms tag setting (I set it to domain="LightSwitchHelpWebsite.com") |
|
----------- Michael Washington http://LightSwitchHelpWebsite.com |
|
|
Michael Washington
 Posts:990

 |
| 01 Jun 2011 02:37 PM |
|
Bill,
Have you had a chance to try the app again? |
|
----------- Michael Washington http://LightSwitchHelpWebsite.com |
|
|
Bill Mason
 New Member
 Posts:7

 |
| 01 Jun 2011 02:44 PM |
|
Michael,
I went in for a few minutes but it has been a busy day. I will get a better chance to try it out later. I did notice that it seemed more responsive. I'll let you know after I test it later.
Bill
|
|
|
|
|
Michael Washington
 Posts:990

 |
| 01 Jun 2011 03:07 PM |
|
I appreciate your help Bill. Whenever you get time  |
|
----------- Michael Washington http://LightSwitchHelpWebsite.com |
|
|
Bill Mason
 New Member
 Posts:7

 |
| 01 Jun 2011 06:21 PM |
|
Michael,
This is a little strange. The performance still seemed ok. Not stellar but ok. I put a new public posting in for item 2. I used a paragrapgh of Lorem Ipsum and received this error. **** Nothing seems to happen when I click on the image manager here in the editor. I posted links to the errors, etc below.
Ok. I first psoted the paragrapgh to item 2 and received error1
I then tried posting to item 3 which I just created and got the same error, error 2
I then posted to item 3 again but just put in a short line and received success.
Then I received 3 duplicate emails from the last posting.
Other than that it worked great!
Bill
Error 1
Error 2
Success
3 Emails
|
|
|
|
|
Bill Mason
 New Member
 Posts:7

 |
| 01 Jun 2011 06:22 PM |
|
Sorry about that formatting. It looked ok in the preview and then I couldn't edit it after I posted it.
Bill |
|
|
|
|
Michael Washington
 Posts:990

 |
| 01 Jun 2011 07:08 PM |
|
Thank you for the feedback Bill. I need to limit how much you can put in the Message box to prevent that error. The three emails is because it takes a bit for the email to send. I will try to spawn a thread to send the email so the page can respond immediately. |
|
----------- Michael Washington http://LightSwitchHelpWebsite.com |
|
|
Simon Jones
 New Member
 Posts:1

 |
| 03 Jun 2011 12:33 AM |
|
I can't seem to put anything in the messages grid. Typing in the 'New' row doesn't add any text. Clicking the 'Respond' button causes an error. |
|
|
|
|
Bill Mason
 New Member
 Posts:7

 |
| 03 Jun 2011 02:03 AM |
|
Hi Simon,
It is a multi-page process. To Add new "Posts", click on the "+" sign in the first column. Don't forget to click on thee "Save" button before going on to anything else. To add new messages, you select one of the "Posts" and then click on the link for the "Public" page where you can "Select" any of the items to send a message to. I guess it could be a little more clearly defined.
Bill |
|
|
|
|
Michael Washington
 Posts:990

 |
| 03 Jun 2011 04:35 AM |
|
Posted By Simon Jones on 03 Jun 2011 01:33 AM
I can't seem to put anything in the messages grid. Typing in the 'New' row doesn't add any text.
Clicking the 'Respond' button causes an error.
As Bill correctly points out it is a multi-stage process. However, your points are valid, the application should prevent you from causing an error, and it should be clear and easy to understand.
With LightSwitch, adding additional things is fast and easy. The reason I have not added many obvious things is that when I am creating examples for an article, I need to leave a lot of features out because each feature adds length to the article, and the longer the article, the less likely people are to read it.
|
|
----------- Michael Washington http://LightSwitchHelpWebsite.com |
|
|
Michael Washington
 Posts:990

 |
| 03 Jun 2011 11:41 AM |
|
Don't forget to click on thee "Save" button before going on to anything else.
That is actually a "feature" because you can quickly enter data and only save when you are ready.
I fixed one stupid error I had, where after creating a response to a message, you had to click save to send the message.
The answer was to put a "send Message" button on the popup and add two lines of code:
this.CloseModalWindow("MessageNew");
this.Save();
|
|
----------- Michael Washington http://LightSwitchHelpWebsite.com |
|
|
Bill Mason
 New Member
 Posts:7

 |
| 03 Jun 2011 12:41 PM |
|
I guess I realized that but I wanted to make sure everything was processed for him. I can't wait until the release of the product so we can get some proper Themes and Shells. I find the default to be very un-intuitive. Someone should report the LS designers to the UX police.
By the way, I received an email from the program this morning and I haven't posted anything there since early yesterday.  |
|
|
|
|
Michael Washington
 Posts:990

 |
| 03 Jun 2011 01:22 PM |
|
By the way, I received an email from the program this morning and I haven't posted anything there since early yesterday. Was the email from a random person who clicked on your Post and sent you a message... or was it from you (and you know you did not send it) ? |
|
----------- Michael Washington http://LightSwitchHelpWebsite.com |
|
|
Bill Mason
 New Member
 Posts:7

 |
| 03 Jun 2011 07:36 PM |
|
It's kind of strange. I received it today at 8:26 am and it looks like it was sent today at 12:24 PM... |
|
|
|
|