im new to ASP.net
my simple question how can i connect SQL server with VS 2013
so that i can create my Database in SQL Server by using Code first Approach
because i have have to schedule stored procedures in my database for my application
You can connect to your database by using the Server Explorer.
VS 2013 > View > Server Explorer
Click on the Plug Item (Connect to Database)
Great Tutorial for CodeFirst
Related
I want to connect to informix database from Visual Studio 2013. I've checked the IBM site and it contains whole lot of drivers and plugins. I've installed Client SDK and then I installed IBM server driver package then I installed Visual Studio add-in.
I tried connecting using setnet 32 and I'm able to succeed.
I'm able to connect to database using Squirrel and IBM Data Studio.
I'm able to connect to server using Visual Studio but it crashes when I opened a new query.
How can I connect to an Informix database from Visual Studio 2013?
Can you please clarify how are you trying to connect IDS database.
Are you trying to connect the database by using application code such as ODBC, .NET, ESQL/C etc while it is debug using VS.
Or
are you trying to create a connection node under VS database explorer.
If it is VS database explorer then Informix CSDK do not have support for it.
You will have to install IBM Database Add-Ins for Visual Studio 2013.
This Add-Ins are part of IBM Data Server driver package.
This connectivity uses DRDA protocol, so you will have to enable DRDA port on the IDS server.
Then try create VS database explorer entries by specifying the DRDA port.
(or connect if the entry already exist)
I'm trying to use the Microsoft Connectors v2.0 for Oracle (https://www.microsoft.com/en-us/download/details.aspx?id=29283) to connect to an Oracle database through SSIS.
I am running Windows 7 SP 1 (64-bit), with Visual Studio 2013 Ultimate. I have installed the connector:
I also have the 32-bit Oracle client installed on my machine for PL/SQL Developer - it works.
But when I create a package in VS 2013 and try to connect to the Oracle DB - I don't have the option to connect to the Oracle source:either by trying to add a new connection through the connection manager or creating a Data Flow Task and dragging the Oracle Source from "Other Sources" within the data flow.
Any suggestions on how to make this work?
Thanks,
Apparently you need the Microsoft Connectors v3.0 for Oracle to work with VS 2013.
Microsoft Connectors v3.0 for Oracle and Teradata
I usually use Microsoft Visual Studio 2010 for system development and I always use the built-in SQL Server Express in Visual Studio to create and manage a database.
Currently, I'm learning Microsoft SQL Server Management Studio 2008 to create and manage a database.
I got some questions here:
What is the differences of the database in built-in sql server in Visual Studio & SQL Server Management Studio? Such as features and limitations.
Will it be better to create and manage database in SQL Server Management Studio instead of the built-in visual studio database?
I encounter a problem which is unable to upload my built-in Visual Studio SQL database to the web server in the past. So is creating database in SQL Server Management Studio much ideal for uploading database file to web server?
Thanks in advance.
Te latest versions of SSMS say "powered by Visual Studio" so your question could be moot. I think using SSMS gets you slightly closer to the database server itself -- which if you are doing admin too may be a good thing.
I'm trying to connect SQL Server 2008 R2 to Visual Studio 2010. It seems that the versions are not consistent, it's a little strange for me since SQL Server is 2008 and VS is 2010!!! Since I'm a new user and cant upload image here you may find a screen shot of the error here:
http://img4up.com/up2/51497019025204797538.jpg
Would appreciate if anyone can help me.
Best Regards
Instead of using "Microsoft SQL Server Database File" use "Microsoft SQL Server"
Then connect using the server address and user information.
Visual Studio 2010 installs SQL Server Express 2008 and your database was created with SQL Server 2008 R2. You'll need to upgrade to SQL Server Express 2008 R2 to open this database.
You shouldn't be using the file option if the instance of SQL Server already exists and you plan to create a persistent database there (or use an existing one). You should be selecting a proper instance of SQL Server.
Follow the same steps as iamkrillin/Stecenko Ruslan suggested., If you had provided a username and password during the installation of SQL Server R2 , then choose the radio button "Use SQL Authentication" instead of "Use Windows Authentication"., in the "Add Connection" dialog of Visual Studio 2010.
I am very much new to the .net framework and Visual Studio. When i try to add a SQL Server database to my project using solution explorer App_data -> Add new item i get the following error message:
Connection to sql server files(.*mdf) require sql server 2005 to function properly.
I have reinstalled SQL Server 2005 succesfully but still the problem remains the same. Please help.