Help required! Can't add database to published app!

  • Thread starter Thread starter Rocky48
  • Start date Start date
R

Rocky48

Guest
I have written a program, which uses a database and I want to publish this app so it can be installed on any computer, together with the database.

I have set the Prerequisites setting to download from the following location, which is on my website.

When I try to publish it creats the following errors:

Severity Code Description Project File Line Suppression State
Error Cannot publish because a project failed to build. My Greeting 1
Error To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'SqlLocalDB2012\x64\sqlcmdlnutils.msi' for item 'SQL Server 2012 Express LocalDB' to your local machine. For more information, see How to: Include Prerequisites with a ClickOnce Application - Visual Studio 2015. My Greeting
Error To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'SqlLocalDB2012\x86\sqlncli.msi' for item 'SQL Server 2012 Express LocalDB' to your local machine. For more information, see How to: Include Prerequisites with a ClickOnce Application - Visual Studio 2015. My Greeting
Error To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'SqlLocalDB2012\x86\sqllocaldb.msi' for item 'SQL Server 2012 Express LocalDB' to your local machine. For more information, see How to: Include Prerequisites with a ClickOnce Application - Visual Studio 2015. My Greeting
Error To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'SqlLocalDB2012\x64\sqlncli.msi' for item 'SQL Server 2012 Express LocalDB' to your local machine. For more information, see How to: Include Prerequisites with a ClickOnce Application - Visual Studio 2015. My Greeting
Error To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'DotNetFX461\NDP461-KB3102436-x86-x64-AllOS-ENU.exe' for item 'Microsoft .NET Framework 4.6.1 (x86 and x64)' to your local machine. For more information, see How to: Include Prerequisites with a ClickOnce Application - Visual Studio 2015. My Greeting
Error To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'SqlLocalDB2012\x64\sqllocaldb.msi' for item 'SQL Server 2012 Express LocalDB' to your local machine. For more information, see How to: Include Prerequisites with a ClickOnce Application - Visual Studio 2015. My Greeting
Error To enable 'Download prerequisites from the same location as my application' in the Prerequisites dialog box, you must download file 'SqlLocalDB2012\x86\sqlcmdlnutils.msi' for item 'SQL Server 2012 Express LocalDB' to your local machine. For more information, see How to: Include Prerequisites with a ClickOnce Application - Visual Studio 2015. My Greeting

This states 'From the same location as my application' even though I set the location on a remote website.

I have never published this sort of app before so I haven't a clue what to do>

Help would be appreciated!


TEH

Continue reading...
 
Back
Top