Unable connect DNN6 to SQL Server 2012 developer edition - dotnetnuke

I have SQL Server 2008 Express and SQL Server 2012 Developer edition installed.
When I want to connect to SQL Server from Visual Studio 2010 I have only option to connect to VISTAUSER-PC/SQLEXPRESS but I know that the name of 2012 Developer edition is VISTAUSER-PC so I just write that name, test connection and its working.
DotNetNuke just gives me option to connect to express edition and when I enter VISTAUSER-PC for the name of the server it cannot connect. I know that DNN works with SQL Server 2012
http://img825.imageshack.us/img825/7582/captureqnn.jpg

If your DotNetNuke install is on the same box as IIS/SQL2012/VS2012 then you just select "SQL Server 2005/2008 (Express) File".
You need to make sure other SQL instances, except SQL 2012, are NOT running on your machine when you do this....
DotNetNuke ships with a database.mdf file which is used by default by SQLExpress.
To recap..
Do not edit your SQL connection strings in your web.config
Stop any other SQL instance but SQL2012
Select the radio button beside "SQL Server 2005/2008 (Express) File".
I have noticed that SQL2012 uses a different account to run under so you may need to go in and change to "Network Service" so you can cleanly connect to SQL20102
Good luck...

Related

Couldn't open SQL Server database view on my machine

I have a problem while running SQL Server 2012 on my machine.
I installed SQL Server 2012 on my machine but just show it
SQL Server Configuration icon
Import and export data icon
SQL Server installation icon
SQL Server Error and usage icon.
There I can't see SQL Server 2012 Management Studio icon, so I wasn't able to view the database and tables in it.
Please guide me to fix it.
Have you install Sql Server Management Studio 2012? You have to install it.
You can download the management tools from the below link
Microsoft SQL Server SP 1
Select only SQLManagementStudio_x64_ENU.exe or SQLManagementStudio_x86_ENU.exe from the download options.

I can't connect to SQL Server locally

I have just installed Visual Studio 2010. It comes with SQL Server Express (if am I correct). The problem is: when I try to connect via SQL Server Management Studio Express using Servername-->BrowseForServer. There is no SQL Server Express instance just appears SERVERPC
So I can't connect this way .\SERVERPC or typing or this way .\SQLEXPRESS. I checked some protocols like TCP/IP, NamedPipes if they work properly. SQL Server is also running but I can't start SQL Server Agent and SQL Server Browser because all the buttons restart, start and stop are disabled
Start->All Programs->Sql Server _your version_->Configuration Tools->SQL Server Configuration Manager.
Go to sql server services and check if there are Sql Server at all (or is it running)

Database server version is different than the version of SQL Server I have installed

I'm opening up SQL Server 2008 R2 Management Studio.
When I connect to my database server, it says the version is 9.0.2047. But when I connect to my analysis server and report server, they are both version 10.50.1600.1.
How can I change my database server so that it is running version 10.50.1600.1?
In the SSMS Object Explorer, from the "Connect dropdown > Database Engine..." item, you can choose from all your available database servers.
It seems like you have different versions of SQL Server installed alongside each other.
Uninstall SQL Server 2005, and install SQL Server 2008 R2.
Here's a nice website with versions for you.

SQL Server 2005 Express installed after SQL Server 2008 Express

I already had the SQL Server 2008 Express engine installed (just the bit that comes with VS 2008 Express). I then installed SQL Server 2005 Express followed by SQL Server 2005 Management Studio Express, all of which seemed to install OK without any errors. However, when I run SQL Server 2005 Management Studio and enter the Server name as machine name\SQLEXPRESS and click Connect I get the message:
"This version of SQL Management Studio Express can only be used to connect to SQL Server 2000 and 2005 servers".
Presumably the instance name SQLEXPRESS refers to the 2008 version, is the 2005 instance a different name, or is it a different problem? Any ideas please, thanks
You are right that the SQL 2008 Express took the 'SQLEXPRESS' instance name. The 2005 toolset cannot connect to 2008. You need to find out the isntance name under which the 2005 VS installed it's Express. Easiest way is to start the Service Manager (run services.msc)and see the instance name there.
Run "services.msc" and check the service name that is running your SQLServer 2005 Express instance. You should use it, and not "SQLEXPRESS" if it is running your SQLServer 2008 instance.
Btw, SSMS 2008 works beautifully with 2005 instances.
Check this link to download SSMS Express 2008. I'm not sure code completion will work with SQLServer 2005 tho.

SQL Server not visible in Server Explorer

If there is a SQL Server 2000 installed on a Server, and i have a VWD Express 2008 on a PC on that network, what could be the possible reasons for the SQL Server not being visible in the Server Explorer of the VWD ? Both PC's are on the same workgroup.
I also tried keying in the name of the server, and the Login and password, but the databases in that server do not appear in the Dropdown list.
Any suggestions helpful.
Regards.
Does Visual Web Developer Support SQL 2000? As per my knowledge it does not. Why not use SQL 2005 Express or SQL 2008 Express.
Also you can download SQL Management Studio Express (05/08), Install it on the PC with Visual Web Developer & try to connect to SQL 2000 Machine. If it cannot, It will throw an error which will help you a little more to know the reason.
One last thing (very fundamental..) Is your SQL 2000 running?

Resources