Deployment...SQL Database placement.
-
segunda-feira, 9 de abril de 2012 17:18
Hello,
I have a quick question regarding deployment in VS 2010. My program uses SQL databases and right now those file reside in C:\Databases\. Is there a way when making a setup package to make sure those database files are always placed in that directory? Also, is there an alias i can use in my connection strings and deployment so the program looks for the database files on the system root? Basically look for files DB files on systemroot\Databases, that way it does not matter what drive letter windows happens to be on.
Thanks to all who reply.
Mike- Movido Mark Liu-lxf quarta-feira, 11 de abril de 2012 04:15 (From:Visual Basic General)
Todas as Respostas
-
segunda-feira, 9 de abril de 2012 17:54
For deployment questions I would post to the ClickOnce and Setup & Deployment Projects forum.
Deployment will differ depending upon the type of SQL database (SQL CE? SQL Express? SQL Server?) you are working with. There is no special folder that would point to a custom folder on the C: drive.
Paul ~~~~ Microsoft MVP (Visual Basic)
- Sugerido como Resposta Frank L. SmithMicrosoft Community Contributor segunda-feira, 9 de abril de 2012 18:53
- Marcado como Resposta Jason Dot WangMicrosoft Contingent Staff, Moderator terça-feira, 17 de abril de 2012 02:56
-
quinta-feira, 12 de abril de 2012 02:06Moderador
Hi Mike,
You can refer to the following thread for solving your problem:
Hope it helps you.
Sincerely,
Jason Wang
Jason Wang [MSFT]
MSDN Community Support | Feedback to us
- Marcado como Resposta Jason Dot WangMicrosoft Contingent Staff, Moderator terça-feira, 17 de abril de 2012 02:56
- Não Marcado como Resposta Jason Dot WangMicrosoft Contingent Staff, Moderator segunda-feira, 30 de abril de 2012 02:40

