Visual Studio for Web 2012 - Cant create table in SQL database - visual-studio-2012

In Visual Studio For Web, I created a new SQL Database. When in the database explorer in the past i have been able to right click "Tables" and select "Create new table". I am no longer able to do that with the current setup. See below:
Visual Studio For Web 2012
SQL Server 2012
However, If I install SQL Server 2008r2 instead of SQL Server 2012 the functionality returns within Visual Studio for Web 2012.
Any idea why it will not work as intended using SQL 2012?

With SQL Server 2012, you also need to install the SQL Server Data Tools update:
http://msdn.microsoft.com/en-us/jj650015

Remove the database file in the database connection. Click mouse right button on the xxx.mdf and select the [delete] to delete the original database connection.
Then rebuilt sql server contenction. Click mouse right button on the Database Conection.
Build a new connection for your database

Related

I am not able to create report server project in my visual studio 2012

I have visual studio 2012 and SQL Server 2014 installed in my machine. As a part of my work I require to open and RDL (SSRS) file in design view. When I checked in the google I saw that I need to have SQL Server Report Services in my visual studio and open Report Server Project. But I am not able to create Report Server Project and I doubt that I don't have SQL Server Report Services in my visual studio.
I downloaded and installed Microsoft SQL Server Data Tools - Business Intelligence for Visual Studio 2012 from the location here (if you VS is 2012). Then I created an new report server project Report Server Project and I did "add Existing Item" as my RDL report which need to be opened and go for design view. Then it will open the report in design mode.

Unable to set datasource in VS2010 for reporting service

I was unable to make datasource connection in Visual Studio 2010 for reports. I've already tried refresh many times but still, the list of server name is empty.
How could I solve this issue?
Reporting Service Configuration Manager in my machine is working fine.
I have installed SQL server express advanced and using Visual Studio 2012.

Cannot add new SQL data tables in Visual Studio 2012 PRO

Don't know what happened but for some reason MS Visual Studio is no longer letting me to add or edit tables in Sever Explorer. When I right click on the "Tables" the only options I got are; refresh and properties. I tried re-installing MS Visual Studio and SQL Express Server but still having that same problem. Have no idea what else to do. I'm logged in as an Administrator on my computer.
IMG: http://i.stack.imgur.com/xpgNL.png
You need to install SQL Server Data Tools. I had the same problem and the option apppeared after I installed SQL Server Data Tools.

Execute stored procedure from Visual Studio 2012 Database project

I have imported a SQL Server database into a Visual Studio 2012 database project. I am able to see the tables and stored procedures just fine. I would now like to execute stored procedures from that database within Visual Studio. Does anyone know if this is possible and if so how?
I know I could simply use Server Explorer but it would be desirable to work exclusively in the database project as that is the one synced to our version control system.
If you're using SQL Projects, you can open the SQL Server Object Explorer within SSDT and look at the database connections for (localdb). After building your database, you should have a connection to the (localdb) server or whatever is set in your Project Debug setting.
You can also launch the Transact-SQL Editor under the SQL menu and connect to an existing database server that way. Most likely, you'll want to use your debug settings as they'd be directly connected to your project on each build.

how to add connection to sql 2008 mdf file from the vista partition in w 8 visual studio 2012

the original app in vista partition was using the connectionstring like
Data Source=.\SQLEXPRESS;
AttachDbFilename=c:\MDF\StringTmp.mdf;Integrated Security=True;
Connect Timeout=30;User Instance=True
I have migrated the app's project to visual studio 2012 pro still targeting .net 3.5
But I got the failed to login with "myw8pcName\username"
I also tried using add connection wizard in visual studio with windows auth. that failed.
I also tried a sql server application ID and password used in vista for the mdf file in the add connection wizard for "Use sql server Authentication" that also failed
when can I do?

Resources