Problem
A new LightSwitch application works fine when debugging with Visual Studio, but no data is shown after the application has ben published, i.e. a red cross is shown in every screen of the app.
Solution
The database connection in the Data Sources was set up to use integrated security. For debugging this works. Once deployed the application will run on the web server, the account used to access the database will be the application pool account. A simple solution is to the deploy the app with a connection with a SQL user account and specify the account and password in the connection string of ‘Other Connections’ in the LightSwitch Publish Application Wizard.
Click on the button ‘…’ to open the ‘Connection properties’ dialog
enter a SQL user name and password and use this to publish the app.
1 comment:
louis vuitton outlet, sac longchamp, ralph lauren pas cher, replica watches, louboutin outlet, louboutin shoes, christian louboutin outlet, prada outlet, ugg boots, longchamp pas cher, tiffany and co, louis vuitton, louboutin, air jordan pas cher, tory burch outlet, cheap oakley sunglasses, nike outlet, polo ralph lauren outlet, ray ban sunglasses, polo ralph lauren outlet, louis vuitton outlet, nike air max, replica watches, louis vuitton, air max, longchamp outlet, michael kors, oakley sunglasses, chanel handbags, nike free, nike roshe run, oakley sunglasses, burberry, tiffany jewelry, ray ban sunglasses, kate spade outlet, prada handbags, oakley sunglasses, nike air max, louis vuitton, louboutin pas cher, uggs on sale, ray ban sunglasses, oakley sunglasses, longchamp, jordan shoes, gucci outlet, ugg boots, nike free, longchamp outlet
Post a Comment