Solved

I want to create a sql database in visual studio by selecting the Data Connections(right click) then Create New Sql Server Database but Nothing comes up in the server field how can i create database?

Posted on 2013-02-04
7
196 Views
Last Modified: 2013-02-05
I want to create a new sql database but unfortunately i could not create it because it asks me to choose server and then choose if windows or sql authentication then it asks me a name for the database, but since server comes empty and altough i tried computer name or the ip address i gave me the error in the second attachment ,how can i create one sql database?
newdb.JPG
error.JPG
0
Comment
Question by:nicedone
  • 3
  • 3
7 Comments
 
LVL 39

Expert Comment

by:lcohan
ID: 38852716
"but since server comes empty"...

Do you have access to ANY SQL Server or did you installed SQL 2008 Developer Edition (for instance - it's for free)?

",how can i create one sql database?"

Only after you have access to a SQL Server then you can connect to a it and create a database...
0
 
LVL 15

Expert Comment

by:Aaron Shilo
ID: 38854009
hi

if the sql server is installed localy just enter "LOCALHOST" or "." or "MACHINENAME"
use windows authentication.

if the server is remotly installed ask the admin to grant you a user/password and instance address so you can connect and create a new database.

Aaron.
0
 

Author Comment

by:nicedone
ID: 38854040
Hi, it is local but i enter localhost or the machine name (tried both) and i give it a name but i still get the error in the second picture?
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 15

Expert Comment

by:Aaron Shilo
ID: 38854056
ok so it seems you have maybe a NAMED INSTANCE.

got to "start->programs->mssql server->configuration tools->sql server configuration manager " and under services sql server(INSTANCENAME) you instance name should appear in the brackets.

then in ssms enter ./INSTANCENAME OR MACHINENAME/INSTANCENAME.
0
 

Author Comment

by:nicedone
ID: 38854877
Hi unfortunately i dont see an instance name in configuration manager and i dont know how to add that , i posted the screen when i open sql server conf. manager when services selected any recommendation that i should do?
sql.JPG
0
 
LVL 15

Accepted Solution

by:
Aaron Shilo earned 500 total points
ID: 38855135
ok you have sql server express installed

just use :    .\sqlexpress
0
 

Author Closing Comment

by:nicedone
ID: 38855349
thnk you
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
In this article I will describe the Backup & Restore method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
Via a live example, show how to shrink a transaction log file down to a reasonable size.

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question