locked
How to solve LightSwitch trace error attached in the picture?? RRS feed

  • Question

  • Your help will be highly appreciated

    I have a desktop LightSwitch app which is linked to SQL data source, the app has a problem which is after been published successfully and trying to login with the administrator user assigned while publishing the app it give error login query.

    While in the same time (as a trial) I created a new empty app, I attached the same SQL data source, I created a screen, then I published the app with the same assigned admin user details and password and with the same connection strings. and the app worked fine..

    I did an error Trace and I get the errors attached in the next pic.

    Please help me solving this issue

    Thanks


    Ehab, Egy.

    Wednesday, October 8, 2014 4:40 PM

Answers

  • Hi Ehab,

    perhaps your problem is related on name of your app.

    Please, verify that there are not any space between words, and then verify in web.config file, app title, hasn't any space.

    very web.config file  

    <forms name="yourappname" timeout="180" />
    


    Ensure to replace any space for _ ONLY in web.config and then on configuration for your project.

    • Marked as answer by Ehab_EGY Wednesday, October 8, 2014 8:39 PM
    Wednesday, October 8, 2014 8:05 PM

All replies

  • Hi Ehab,

    perhaps your problem is related on name of your app.

    Please, verify that there are not any space between words, and then verify in web.config file, app title, hasn't any space.

    very web.config file  

    <forms name="yourappname" timeout="180" />
    


    Ensure to replace any space for _ ONLY in web.config and then on configuration for your project.

    • Marked as answer by Ehab_EGY Wednesday, October 8, 2014 8:39 PM
    Wednesday, October 8, 2014 8:05 PM
  • I worked, Thanks

    you saved my life :)


    Ehab, Egy.

    Wednesday, October 8, 2014 8:40 PM