Results 1 to 5 of 5

Thread: [RESOLVED] Can I get rid of SQL Express and use a full SQL Server in VS2008?

  1. #1

    Thread Starter
    Junior Member MrLudwig's Avatar
    Join Date
    Jul 2000
    Location
    Behind you!
    Posts
    24

    Resolved [RESOLVED] Can I get rid of SQL Express and use a full SQL Server in VS2008?

    Hi,

    I have a development server on my network which has a full copy of SQL Server 2005 running on it.

    Is it possible to configure Visual Studio 2008 on my desktop PC to use SQL Server 2005 on my development server instead of the SQL Server Express edition that comes with Visual Studio and still have all the integrated database functionality that the VS IDE provides?

    It just seems unnecessary to have the Express instance of SQL Server installed when I already have a development server available.

    Thanks.
    Last edited by MrLudwig; May 29th, 2008 at 01:13 PM.

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Can I get rid of SQL Express and use a full SQL Server in VS2008?

    Are you running VS Express too or VS Std, Pro, etc?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Junior Member MrLudwig's Avatar
    Join Date
    Jul 2000
    Location
    Behind you!
    Posts
    24

    Re: Can I get rid of SQL Express and use a full SQL Server in VS2008?

    I'm using Visual Studio 2008 Pro.

  4. #4
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Can I get rid of SQL Express and use a full SQL Server in VS2008?

    VS will talk to any SQL Server instance you tell it to. If you use the Data Source wizard you simply tell it which instance and database to access and it will create a connection in the Server Explorer. Alternatively you can add the connection to the Server Explorer yourself.

    Just note that you cannot add an MDF database to your project in that case. Such a database must be attached at run time and only SQL Server Express can do that. You will need to connect to an existing database that's already attached to the server.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  5. #5

    Thread Starter
    Junior Member MrLudwig's Avatar
    Join Date
    Jul 2000
    Location
    Behind you!
    Posts
    24

    Re: Can I get rid of SQL Express and use a full SQL Server in VS2008?

    Thanks,

    Manually setting up a connection to my development server worked perfectly.

    I was initially trying to add a database file without SQL Express installed and so was getting an error.

    Thanks for your help.

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