Deploying the VB app - how to find the Mdf file

Thread Solved

Join Date: Aug 2009
Posts: 18
Reputation: 21KristianN is an unknown quantity at this point 
Solved Threads: 0
21KristianN 21KristianN is offline Offline
Newbie Poster

Deploying the VB app - how to find the Mdf file

 
1
  #1
Nov 11th, 2009
Dear everybody

I really need your help!!

I have made a small application in Visual Basic 2008 Express. It's a small form application with a Database connected to the project. (made from the wizard in VB express)

My problem is that when I deploy my application i can't find the mdf file where the data of the application i stored. I have found a mdf file which i have tryed to connect to through excel but this data is not the same as in my application.

What am i doing wrong??
Reply With Quote Quick reply to this message  
Join Date: Oct 2008
Posts: 3,939
Reputation: adatapost has a brilliant future adatapost has a brilliant future adatapost has a brilliant future adatapost has a brilliant future adatapost has a brilliant future adatapost has a brilliant future adatapost has a brilliant future adatapost has a brilliant future adatapost has a brilliant future adatapost has a brilliant future adatapost has a brilliant future 
Solved Threads: 704
Moderator
adatapost adatapost is offline Offline
Senior Poster
 
0
  #2
Nov 13th, 2009
>I have found a mdf file which i have tryed to connect to through excel but this data is not the same as in my application.

You wouldn't normally deploy sql server with an application, you normally have sql server running on a dedicated windows server on the network and clients connect to it, otherwise you have no single database for the company - each user has their own database, which doesn't make sense.

Have a look at http://en.csharp-online.net/Deployin...4Prerequisites
Reply With Quote Quick reply to this message  
Join Date: Aug 2009
Posts: 18
Reputation: 21KristianN is an unknown quantity at this point 
Solved Threads: 0
21KristianN 21KristianN is offline Offline
Newbie Poster

Thanks

 
0
  #3
Nov 18th, 2009
Dear adatapost

Thank you for your kind reply - my problem is that when working on the Express edition of VS you can only work with local databases in win form apps.
But i actually managed to find the mdf file at connect it to the SQL server management studio. It was located under - program files\apps\2.0\ect ect
But thank you for helping me anyway...

Kind regards
Reply With Quote Quick reply to this message  
Reply

This thread has been marked solved.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the VB.NET Forum


Views: 629 | Replies: 2
Thread Tools Search this Thread



Tag cloud for VB.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC