upgrading from SQL 2005 instance to 2012 Connection issue ASP.NET - asp.net

HI I am using visual Studio 2012 after upgrading the database to use it with my project inside visual studio 2012 its show me this problem when running the project

Is this on your dev machine or your production server?
It seems your SQL Server Express is too old possibly. See this StackOverflow question/answer here.

Related

Use SQL Server 2012 Express LocalDB in Visual Studio 2015

I need to create a Database in Visual Studio 2015 with SQL Server 2012 Express LocalDB for compatibility issues with previous versions of Visual Studio.
From what I found, if I need to connect a table from previous versions of Visual Studio, I just need to change the Data Source from (localdb)\v11.0 to (LocalDB)\MSSQLLocalDB.
Now I want to know if I can make the opposite, changing the Data Source from the Database that I created in Visual Studio 2015 to (localdb)\v11.0, will it work without problems and without lost of data if I use it in previous versions of Visual Studio?
Tested with a friend how only has Visual Studio 2013 installed and it appear that it doesn't work..

ExecutionEngineException was unhandled in Visual Studio 2012

I have done a fresh installation of Windows7, Visual Studio 2012 & SQL Server 2008 R2. Although my projects were working on my previous installation, those are not working anymore. All of my ASP.Net websites and web applications throwing the same exception.

Getting Sql Server Data Tools to work with Visual Studio 2012 Express Release Candidate

I'm struggling with migrating to Visual Studio 2012 Express Edition to handle a project that includes a database project with a .dbproj extension. This blog http://visualstudiomagazine.com/blogs/data-driver/2012/06/getting-visual-studio-2012-and-ssdt-to-work-together.aspx gives the impression that with a bit of work this is all basically manageable.
First you have to convert the .dbproj to a .sqlproj in Visual Studio 2010.
I managed to install Visual Studio 2010. This allowed me to convert the .dbproj to a .sqlproj. From there the idea is to install Sql Server Data Tools (http://msdn.microsoft.com/en-us/data/tools.aspx) and open the sqlproj project in Visual Studio 2012, but I was unable to open the sqlproj in Visual Studio 2012.
I've tried the suggested repair from here http://blogs.msdn.com/b/ssdt/archive/2012/06/07/upgrade-issue-to-visual-studio-2012-rc.aspx and also the advice about repairing here http://social.msdn.microsoft.com/Forums/en-US/ssdt/thread/c66c2296-c94e-4f21-993e-7d3090a596a5, but no matter what I do I can't create or open a sqlproj type project in Visual Studio Express 2012 RC for Web. Does anyone know how to resolve this?
UPDATE:
This FAQ http://msdn.microsoft.com/en-us/subscriptions/hh322942.aspx makes it clear that you have to work with an SQL Server Database Project in Visual Studio 2010 Shell not in Visual Studio 2010 or 2012 for Web.
My problem now is that I can create a completely new project by importing SQL scripts manually and going from there, but when I open up the .sqlproj file and try to work with that SQL Server Project I get a lot of spurious errors from Stored Procedures which are in fact perfectly valid.
I got a clear answer from Microsoft here http://social.msdn.microsoft.com/Forums/en-US/ssdt/thread/c66c2296-c94e-4f21-993e-7d3090a596a5
Visual Studio Express 2012 for Web does not support the new Sql Server Data Tools. To work with a database project (converting from the old dbproj or creating a new project from scratch), you have to use Visual Studio 2010 Shell. The errors I got from Stored Procedures were caused because the sql scripts were not properly imported. The old dbproj had the sql scripts in arbitrary folders. The solution was to exclude all sql scripts from the project I had just converted from a dbproj, then re-import the sql scripts. When you do that, the project recognises them and doesn't raise errors.

Crystal reports v12 doesnt show the report after hosting

I am working on a project in ASP.net 3.5 (with VB script) and Crystal Reports 2008 (V12). It works fine when I run my solution in visual studio(2008) but after publishing it to local IIS(7) it doesnt show the report in the report viewer. I don't see any error either.
I have placed the 'aspnet_client' folder under wwwroot folder that contains crystal report related files.
I had used crystal report 10.5 previously but then I had converted it to V12 as my host doent't support old versions.
Your support in this regard would be appreciated.
Thanks in advance :)
I recently faced this issue and successfully managed to get the reports running. I am using Visual Studio 2005 but I published my project on a local server with Windows 2008 Server R2 Enterprise.
I fixed the issue by changing the Application Pool settings of IIS 7. I changed it to Classic ASP.NET for .NET 2.0 Framework. I guess you may not require this setting, but I am not sure.
Secondly, when you open your report in Visual Studio 2005, check that you are using OLE DB Provider for SQL Server and not SQL Native Client, just in case you are using SQL Server database.
Which OS you are using? I hope you are not using Windows XP. Windows XP has issues with the Integrated Security thing mentioned in your Connection String.

Connecting to AdventureWorks database (SQL Server 2005 Express) through Visual Studio Professional 2008

I am following the learning ASP.NET 3.5 by O'REILLY to write some ASP.NET 3.5 code using Visual Studio 2008 SP1. I have gotten to the point to where I need to Configure a Data Source using the SqlDataSource control. I chose Microsoft SQL Server (SqlClient) even though I have SQL Server Express 2005 - This seems like the only logical choice.
I get to the Add Connection window and successfully add a Server name and I use the Select or enter a database name of AdventureWorks. When I click on Test Connection I get the Test Connection Succeeded message box.
Unfortunately, when I click OK I get an error message of the following:
Could not load file or assembly 'Microsoft.SqlServer.Management.Sdk.Sfc, Version=10.0.0.0, Culture=neutral,
PublicKey Token=89845dcd8080cc91' or one of its dependecies. The system cannot find
the file specified.
At his point I am at a loss and everywhere I look and find something similar to my issue it involves other versions of either Visual Studio or SQL Server.
I'd really appreciate any help on this!
You may investigate this recipe.
You may need to reinstall your copy of SQL 2005 Express. But sure to install all of the client-side developer packages in the installer.
I had the exact same issue.
Following the suggestions in this thread , I went to the "Microsoft SQL Server 2008 Feature Pack, August 2008 " - and downloaded (and installed) the "Microsoft SQL Server 2005 Backward Compatibility Components ". This did not help.
Then I also downloaded and installed the following components: SharedManagementObjects.msi, sqlncli.msi, SQLSysClrTypes.msi.
And now it works for me.
I'm using SQL Server 2008 Express and Visual Web Developer 2008 Express Edition.

Resources