This Forum is ARCHIVE only
For LightSwitch questions,
please use the official forums at:

http://social.msdn.microsoft.com/forums/en-US/lightswitch/threads


DNN Things For Sale
Last Post 02 Mar 2013 10:39 AM by admin. 23 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 1 of 212 > >>
Author Messages
Michael WashingtonUser is Offline
Send Private Message
Posts:1313
Avatar

--
30 May 2011 07:19 AM
    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 MasonUser is Offline
      New Member
      New Member
      Send Private Message
      Posts:7
      Avatar

      --
      30 May 2011 08:39 PM
      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 WashingtonUser is Offline
      Send Private Message
      Posts:1313
      Avatar

      --
      30 May 2011 09:18 PM
      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 WashingtonUser is Offline
      Send Private Message
      Posts:1313
      Avatar

      --
      30 May 2011 10:05 PM
      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 WashingtonUser is Offline
      Send Private Message
      Posts:1313
      Avatar

      --
      30 May 2011 10:49 PM
      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 WashingtonUser is Offline
      Send Private Message
      Posts:1313
      Avatar

      --
      31 May 2011 01: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 WashingtonUser is Offline
      Send Private Message
      Posts:1313
      Avatar

      --
      01 Jun 2011 07:37 AM
      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 WashingtonUser is Offline
      Send Private Message
      Posts:1313
      Avatar

      --
      01 Jun 2011 07:37 AM
      Bill,
      Have you had a chance to try the app again?
      -----------
      Michael Washington
      http://LightSwitchHelpWebsite.com
      Bill MasonUser is Offline
      New Member
      New Member
      Send Private Message
      Posts:7
      Avatar

      --
      01 Jun 2011 07:44 AM
      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 WashingtonUser is Offline
      Send Private Message
      Posts:1313
      Avatar

      --
      01 Jun 2011 08:07 AM
      I appreciate your help Bill. Whenever you get time
      -----------
      Michael Washington
      http://LightSwitchHelpWebsite.com
      Bill MasonUser is Offline
      New Member
      New Member
      Send Private Message
      Posts:7
      Avatar

      --
      01 Jun 2011 11:21 AM
      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 MasonUser is Offline
      New Member
      New Member
      Send Private Message
      Posts:7
      Avatar

      --
      01 Jun 2011 11:22 AM
      Sorry about that formatting.  It looked ok in the preview and then I couldn't edit it after I posted it.



      Bill
      Michael WashingtonUser is Offline
      Send Private Message
      Posts:1313
      Avatar

      --
      01 Jun 2011 12: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 JonesUser is Offline
      New Member
      New Member
      Send Private Message
      Posts:1
      Avatar

      --
      02 Jun 2011 05:33 PM
      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 MasonUser is Offline
      New Member
      New Member
      Send Private Message
      Posts:7
      Avatar

      --
      02 Jun 2011 07:03 PM
      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 WashingtonUser is Offline
      Send Private Message
      Posts:1313
      Avatar

      --
      02 Jun 2011 09:35 PM
      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 WashingtonUser is Offline
      Send Private Message
      Posts:1313
      Avatar

      --
      03 Jun 2011 04: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 MasonUser is Offline
      New Member
      New Member
      Send Private Message
      Posts:7
      Avatar

      --
      03 Jun 2011 05:41 AM
      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 WashingtonUser is Offline
      Send Private Message
      Posts:1313
      Avatar

      --
      03 Jun 2011 06:22 AM
      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 MasonUser is Offline
      New Member
      New Member
      Send Private Message
      Posts:7
      Avatar

      --
      03 Jun 2011 12: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...
      You are not authorized to post a reply.
      Page 1 of 212 > >>


      Microsoft Visual Studio is a registered trademark of Microsoft Corporation / LightSwitch is a registered trademark of Microsoft Corporation