You are here:   Forum
Register   |  Login

 

Forum Notice

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

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


Forums

Could Not Find The Provider 'LightSwitchApplication' error
Last Post 10 Apr 2012 05:13 PM by dbdmora. 0 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages
dbdmoraUser is Offline
New Member
New Member
Send Private Message
Posts:26
Avatar

--
10 Apr 2012 05:13 PM

    Hello all, I am trying to deploy this appliaction locally to my machine via a zip package. I have all the LS prerequisites installed as I used WMI installer 3.0. I have web deployment 1.1 and 2.0 installed as well. (I even uninstalled, rebooted and reinstalled them again)

    When I created my package for publishing, I checked the box that says "IIS server has the LS deployment prerequisites installed" because I am using form authentication and need to create the administrator user when I install the app to my IIS server.

    Any ideas on how I can fix this issue? Do I need to uninstall IIS and start all over? If I uncheck the above box, it deploys fine but then I cannot access the app because there is no admin user created.

    any help is really appreciated.

    Thanks

    You are not authorized to post a reply.


    Latest Microsoft Visual Studio LightSwitch Forum Threads That Have Answers

    I have a browse screen to display query results in a table. This for a large table and there are 50+ query parameters that the user can enter.  The query parameters are all on a separate screen. 1.  I need a button on the separate screen that when clicked will clear (set null or undefined??) all of the parameters, to allow the user to reset the search.  The screen properties that are the parameters are of all different types (bool, string, details picker/entity, date).  Is there a way to get them all without having to do setPropertyName() for each one manually? 2. Related to question 1, is there a way to iterate through the properties and get a reference based on the type of property? I'm going to take a look at the contentItem properties and methods and try to get this working but was wondering if anyone knows any tricks before I spend hours digging around. Thanks! 
    Read more...

    already an open datareader
    4/16/2015 7:57 AM
    I get this error in Azure but not on my dev computer: there is already an open datareader associated with this command. When debugging Azure the error happens in a WCF RIA projet at this line (in a recursive method): if (!channel.ChannelCollection.IsLoaded) channel.ChannelCollection.Load(); Have you an idea to resolve this exception? Thanks Yves Pflieger
    Read more...

    I think this has been asked before, but darn I can't find it. I working with VS2013 on a Lightswitch desktop app. If I add a row to a SQL Server table via Lightswitch and the table has an Identity column, how do I find the value of the Identity column for the row I just added? I want to both tell it to the user and be able to retrieve the row later. Thanks in advance.
    Read more...

    C# class problem
    4/15/2015 7:04 AM
    Hello everybody, I'm trying to accomplish 2 things with the below snippet of code (from ApplicationDataService.lsml.cs in the server project of my Lightswitch 2013 solution) partial void Query1_PreprocessQuery(ref IQueryable<CandidateBasic> query) { query = from item in query where item.CreatedBy == this.Application.User.Name select item; } partial void CandidateBasics_Validate(CandidateBasic entity, EntitySetValidationResultsBuilder results) { var newcandidateCount = this.DataWorkspace.ApplicationData.Details.GetChanges().AddedEntities.OfType<CandidateBasic>().Count(); var databasecandidateCount = this.CandidateBasics.GetQuery().Execute().Count(); const int maxcandidateCount = 1; if (newcandidateCount + databasecandidateCount > maxcandidateCount) { results.AddEntityError("Error: you are only allowed to have one
    Read more...

    I have a chart built on data grid on a query screen. Chart worked fine. But I noticed if I have more than one page data the chartp only present First page Data. so if I remove "Page Support" the chart will contain all of the data but all the data will be  displayed on one page which is too much. Is there anyway auto separate data into multiple page but chart will show full data on first page.  Thanks.
    Read more...

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