Hi,

As you may know, Visual Studio 11 Beta now comes with native LocalDb
support<http://msdn.microsoft.com/en-us/library/87sfaezs(v=vs.110).aspx>instead
of SQL Express. I have a wix 3.6 project (that references the
WixSqlExtension) that creates a database and runs some SQL scripts against
this database. This runs fine when the the server name used is
".\SqlExpress". However, replacing it with
(LocalDB)\v11.0<http://msdn.microsoft.com/en-us/library/hh510202.aspx>
(the
connection string for localdb) does not work. I see the following error in
the log:

*InstallSqlData:  Skipping ScaSqlStrsRead() - SqlString and/or SqlDatabase
table not present*

My questions are:

   - Is there a way to use  WixSqlExtension with localdb?
   - If I write a C# CustomAction that manually creates the database
   using (LocalDB)\v11.0 connection string, will it work (the machine will
   have .NET 4.5)?

Here is a msdn forum post
<http://social.msdn.microsoft.com/Forums/ar-SA/sqlexpress/thread/b5c9a1fa-75fc-41f2-a5d3-4b2b6ed4ebde>that
is similar to this problem.

Thanks,
Pavan
------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to