Quantcast
Viewing all articles
Browse latest Browse all 7696

Enable SQL Server 2012 FILESTREAM when installed as a prerequisite of "published" Visual Studio 2013 oneclick program.

I have searched high and low for weeks but cannot figure out how to enable FILESTREAMs in SQL Server when installed as a prerequisite to a Visual Stuido "oneclick" application.

Enabling FILESTREAM requires a lot of point and click operations through TWO programs: SQL Server Management Studio and SQL Server Configuration Manager.

Can someone please show me how to enable FILESTREAM upon install of a "oneclick" application?

To be more specific, I want to:

  1. Create a C# Windows Forms Application
  2. Right click on the project and select properties
  3. Select the Publish tab
  4. Select SQL Server Express 2012 as a prerequisite to the application
  5. Publish the application using the "How will users install the application? = From a CD-ROM or DVD-ROM" (this produces setup.exe which will install the application and SQL Server Express 2012 on a target machine).
  6. Install the application on the target machine by running setup.exe.
  7. The result of the install will be an installed application and an instance of SQL Server 2012 Express running as SQLEXPRESS with FILESTREAM enabled.

I see that this question has been asked before but it has never been fully answered.  Simply running an SQL query to enable FILESTREAM is not enough.  There is a second part which would be handled by:

  1. manually installing SQL Server Configuration Manager
  2. manually finding the SQLEXPRESS instance
  3. manually enabling FILESTREAM
  4. manually restarting the SQLEXPRESS instance

Manual operations are not acceptable.

Thank you very much for your time and sorry for the long winded question.


Viewing all articles
Browse latest Browse all 7696

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>