You are here:   Forum
Register   |  Login

Forum Notice

For new Visual Studio LightSwitch questions,
It is recommended that you use the official Visual Studio LightSwitch Forums at:

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


Forums

DNN Things For Sale
Last Post 02 Mar 2013 05:39 PM 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:990
Avatar

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

      --
      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 WashingtonUser is Offline
      Send Private Message
      Posts:990
      Avatar

      --
      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 WashingtonUser is Offline
      Send Private Message
      Posts:990
      Avatar

      --
      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 WashingtonUser is Offline
      Send Private Message
      Posts:990
      Avatar

      --
      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 WashingtonUser is Offline
      Send Private Message
      Posts:990
      Avatar

      --
      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 WashingtonUser is Offline
      Send Private Message
      Posts:990
      Avatar

      --
      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 WashingtonUser is Offline
      Send Private Message
      Posts:990
      Avatar

      --
      01 Jun 2011 02:37 PM
      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 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 WashingtonUser is Offline
      Send Private Message
      Posts:990
      Avatar

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

      --
      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 WashingtonUser is Offline
      Send Private Message
      Posts:990
      Avatar

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

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

      --
      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 WashingtonUser is Offline
      Send Private Message
      Posts:990
      Avatar

      --
      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 WashingtonUser is Offline
      Send Private Message
      Posts:990
      Avatar

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

      --
      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 WashingtonUser is Offline
      Send Private Message
      Posts:990
      Avatar

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

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


      Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

      This is really strange ! After upgrading the lightswitch engine with Update 1, I'm suddenly unable to navigate forward to another screen (using myapp.showSomeScreen() ) from my home screen. Then, when I try to navigate back (using native previous arrow), I get the following error: TypeError: Unable to get property 'unit' of undefined or null reference    at wu (http://localhost:19952/HTMLClient/Scripts/msls-1.0.1.min.js:5:230291)    at au (http://localhost:19952/HTMLClient/Scripts/msls-1.0.1.min.js:5:121782)    at Anonymous function (http://localhost:19952/HTMLClient/Scripts/msls-1.0.1.min.js:5:121648)    at each (http://localhost:19952/HTMLClient/Scripts/jquery-1.9.1.min.js:3:5250)   
      Read more...

      I am following the Working with Data in LightSwitch (Guided Tour) at http://msdn.microsoft.com/en-us/library/ff851982.aspx, and at the "Connecting to Data" portion I am unable to choose "OData Service" in the Attach Data Source wizard. It just doesn't appear. See attached. What do need I to do to get "OData Service" to appear, so I can choose it? Thank you! - tom
      Read more...

      The Lightswitch security available at this time is at the entity level. There is also Row Level Security, but, as far as I know, there is no Lightswitch security implemented at the property level According to this article: http://blogs.msdn.com/b/lightswitch/archive/2012/04/17/filtering-data-using-entity-set-filters-michael-simons.aspx I took out the confidential properties of an entity A and put it into another entity B.  Then I define a 1 to 0..1 relationship between entity A and entity B.   I also wrote the necessary code in the A_Created general method in order to create the related B entity. Now suppose that we have different permissions defined for the two entities for all CRUD operations. (Security concerns were the reason why I split the original entity) According to this article: Read more...

      I would like to open HTML client screen from Silverlight client.
      Read more...

      In the Silverlight client we had the Auto Complete Box that you could bind to either a Query or a Choice List based property. In the current HTML client we have the Drop Down control that you can bind to a Choice List based property only from what I can see. Questions: 1/ Can we bind a Drop Down control to a Query? 2/ Can we dynamically populate a Choice List in Javascript at run-time (this was not possible in the Silverlight client)? If neither of the above are possible, what is the recommended way to have Drop Downs that are based on a query or dynamic data? Thanks in advance Regards, Xander
      Read more...

      1234

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