-
SQL Server and Permissions
I am new to this whole world of .Net and have what I am sure is a very basic question. I installed Visual Studio.net 2003 on my machine hosting the sql server locally. When I installed it the id on the machine I used had administrator permissions. In server explorer it seems that there was no default sql server setup so I registered an sql server instance which added the name under the sql servers in the tree. When I right clicked on the server name to add a new database I got the error Sql server does not exist or access denied. What am I doing wrong? Basically I want to have a server locally on this machine where I can have an sql database which will be accessed by my asp.net. Do I have to add permissions somewhere?
Any and all help is appreciated.
Thanks
-
I have some questions.
Which OS are you using?
If you are using 2000 Professional or XP Profession, you have to install MSDE.
Can you see your database in your SQL Enterprise Manager?
-
Hi and thanks for your reply. I am using XP Professional and I do believe I have msde installed, but is there a way to check this for sure. As for the database I can't even get that far. When I look at the server name that I created the instance of it has an 'x' next to the name and when I right click it to add a new database is when I get the server not found or permissions error. What are the actual steps I need to take in server explorer to create the server and add the database. I thought I was doing it correctly but then I might be missing something.
Thanks again.
-
 Originally Posted by flitt2001
Hi -
I appreciate you sending my a reply to my question regarding hosting a sql server on my local PC. I am running xp professional and checked and do have msde installed. I know when I installed Visual Studio I installed IIS and Frontpage server extensions along with msde and of course all of the visual studio software. I chose the option to host web projects on the local computer which is why I did the IIS and front page. Everything is up and running but I need to know now how I can create an sql server on my local pc rather then connecting to a network sql server. I want to do this for development and then once I decide to publish my webpages and get a hosting provider I will use there sql server for the production version of my web pages.
If you can help in the steps required to create the local sql server I would greatly appreciate it.
Thanks
I would like to suggest you.
Which user account did you use when you installed MSDE?
- should be the same account
- should be the same password even you used the same account.
(If you wanna change the pwd, you have to make some configurations for SQL. I think there are two services that you need to change the user name and password in Services Console [Type "services.msc /s" in Run]. Theirs name are somethings like "SQL Server" and "MS xxx".. [ related to SQL ] [I didn't remeber those name.] )
OR
Please download MSDE[Sql2kdesksp3.exe] and Install it with your account. Even though you have installed MSDE, i think it's better if you install once more. :-)
http://www.microsoft.com/sql/msde/default.mspx
Then, I think it's better if you check wether the SQL Services are running property or not.
(If you have installed SQL Server Client) you just open the SQL Enterprise Manager and register new server with your sql server name [ it can be machine name or "." or
"MachineName\SQLXXX"]. Try to create new database in this server.
I hope it would help..
If you use SQLExpress 2005, I think I can tell you more exactly becuase I have SQL Express in my machine. [ I have removed MSDE over 3 months.]
-
Hi -
I reinstalled MSDE using the same ID and password as was used when the software was installed. Now is SQL Server Client something else that I need to install or did that get installed when I installed visual studio? How do I get to sql enterprise manager?
Thanks
-
SQL Server is the full featured version of MSDE. Enterprise Manager is installed w/SQL Server.
If you are looking for a database manager for MSDE there are several third-party utilities available including one that is free for personal use.
http://www.whitebearconsulting.com/Utilities.htm
http://www.microsoft.com/sql/msde/partners/default.asp
Paul
~~~~
Microsoft MVP (Visual Basic)
-
Paul
~~~~
Microsoft MVP (Visual Basic)
Similar Threads
-
By tony in forum Database
Replies: 0
Last Post: 06-11-2003, 02:51 PM
-
By Michael in forum Database
Replies: 1
Last Post: 06-11-2003, 11:18 AM
-
By Michael in forum Security
Replies: 0
Last Post: 06-11-2003, 01:10 AM
-
Replies: 0
Last Post: 06-05-2001, 12:55 PM
-
By Jason Langston in forum Enterprise
Replies: 1
Last Post: 07-12-2000, 02:53 PM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|