C
Chris Rennert
Hey all, we have a project that we would like to use ClickOnce
deployment on, and although it all seems straightforward we are having a
few issues concerning SQL Server Express and clickonce. We are using C#
for our development language, and the application itself runs fine until
we get to a part that accesses the database. When it tries to hit the
database it bombs saying it can't find it. We even created a connection
string that explicitly looks for the mdf file locally.
I am sure others have done this same type of project, but I cannot seem
to find anything that matches it on the web. If I move the actually
deployment folder <project name 10000> with all our executables and mdf
files onto a pc (which already has Sql server express and .NET 2.0
installed) it runs fine. But, if I use the clickonce installer, and run
it from Start, Programs, <My Project> it bombs looking for the database
every time.
I appreciate any help you can give me. We are looking to switch to
using the windows installer itself, and I do not believe it is
necessary, I am sure ClickOnce does what we need it to do. If you need
any further info I apologize for not including it, and will post it
right away.
Take care,
Chris
deployment on, and although it all seems straightforward we are having a
few issues concerning SQL Server Express and clickonce. We are using C#
for our development language, and the application itself runs fine until
we get to a part that accesses the database. When it tries to hit the
database it bombs saying it can't find it. We even created a connection
string that explicitly looks for the mdf file locally.
I am sure others have done this same type of project, but I cannot seem
to find anything that matches it on the web. If I move the actually
deployment folder <project name 10000> with all our executables and mdf
files onto a pc (which already has Sql server express and .NET 2.0
installed) it runs fine. But, if I use the clickonce installer, and run
it from Start, Programs, <My Project> it bombs looking for the database
every time.
I appreciate any help you can give me. We are looking to switch to
using the windows installer itself, and I do not believe it is
necessary, I am sure ClickOnce does what we need it to do. If you need
any further info I apologize for not including it, and will post it
right away.
Take care,
Chris