CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Oct 2009
    Posts
    3

    Setup & deployment project in Visual Studio 2005 !

    I have designed a VB.NET application with SQL server 2005 Database and Crystalreport in Visual Studio 2005.

    To install my project on client machine, I have created the setup project in Visual Studio 2005.I am using sql server 2005 express edition as .mdf database file in my project. After installation of the setup project on my client machine, my SQL database file ".mdf" was absent, due to which my application is not able to connect to the database.
    My client machine doesnt have sql server installed. Do I need to install separately or there is any option while creating setup project to include sql server files? What are the system/software requirements on my client machine required for my application to install/run.
    Can someone Pls help me on this?

  2. #2
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Setup & deployment project in Visual Studio 2005 !

    You simply need to add the MDF file(s) to your installer :

    http://www.startvbdotnet.com/extras/deploy.aspx

  3. #3
    Join Date
    Oct 2009
    Posts
    3

    Re: Setup & deployment project in Visual Studio 2005 !

    Hi,
    I have added that .mdf file, but my client m/c doesnt have sql server 2005, so this mdf file is not read by the application installed. I think i have to install sql 2005 on my client machine and configure the path in project.
    Please suggest on this?

  4. #4
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Setup & deployment project in Visual Studio 2005 !

    SQL Express is free, and works
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

  5. #5
    Join Date
    Oct 2009
    Posts
    3

    Re: Setup & deployment project in Visual Studio 2005 !

    I didnt get what i have to do?
    Do i need to install SQL on my client m/c?
    also, My application uses crystalreport control, so do i need to install crystal report separately on my client machine?

  6. #6
    Join Date
    Jul 2001
    Location
    Sunny South Africa
    Posts
    11,284

    Re: Setup & deployment project in Visual Studio 2005 !

    Ok, then with your logic, what is the purpose of installing your app then, if you say you still need to install SQL Express ¿

    You don't have to. You may have to go to ODBC Datasources, and configure it there. To answer your question about Crystal Report, When you create a setup program, that should be detected in any case.

  7. #7
    Join Date
    Jan 2006
    Location
    Fox Lake, IL
    Posts
    15,007

    Re: Setup & deployment project in Visual Studio 2005 !

    Crystal Reports are different. You need to include certain files, or else the reports won't run. Contact them, here: http://www.sap.com/solutions/sapbusi...udio/index.epx
    David

    CodeGuru Article: Bound Controls are Evil-VB6
    2013 Samples: MS CODE Samples

    CodeGuru Reviewer
    2006 Dell CSP
    2006, 2007 & 2008 MVP Visual Basic
    If your question has been answered satisfactorily, and it has been helpful, then, please, Rate this Post!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured