Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Setting up MSDE
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Setting up MSDE

 Post Reply Post Reply Page  <123>
Author
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 06 August 2003 at 2:42am

Ok ignore that last post, I have got SQL Server Manager working and asp.net webmatrix has found the server. But I can't create databases or anything because it says I have the wrong username, what is the default username for SQL Server? And how do I change it?

Thanks, Mart

Back to Top
bsandell View Drop Down
Newbie
Newbie
Avatar

Joined: 19 August 2003
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote bsandell Quote  Post ReplyReply Direct Link To This Post Posted: 19 August 2003 at 7:59pm

Hi Mart,

Log in as user "sa" (without the quotes) using the password you specified as SAPWD when you did your install.

To connect from the command line, you would type

osql -Usa -P*****

this should log you into the master database of the default server.  You can create your new databases from here or use a third party tool.

Bruce 

Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2003 at 3:54am

hmm that doesn't seem to work either, this is the error i get from the commmand line Login failed for user 'sa'. Reason: Not associated with a trusted sql server connection.

How do I acociated trusted connections?

Thanks, Mart.

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 22 August 2003 at 7:16am

Go to regedit then

HKEY_Local_Machine>Microsoft>MSSSQLServer>MSSSQLServer> and change the Value for LoginMode to 2 this will change you SQL to be in Mixed mode. Gotta restart the service though. After that you will be able to login with sa as described above.

Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2003 at 7:08am

Thanks michael i can login now, i have created a database using the ASP.NET Web Matrix wizard but I don't know how to make tables. I Tried creating a DSN for it and exporting my old access db into it but it hasn't come up. How do I edit databases and tables etc.

Thanks, Mart.

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 23 August 2003 at 10:55am
You should download some Management tool if you don't have Enterprise Manager. There are a few web based ones on aspin.com or do a search on cnet for a win app
Back to Top
Mart View Drop Down
Senior Member
Senior Member
Avatar

Joined: 30 November 2002
Status: Offline
Points: 2304
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mart Quote  Post ReplyReply Direct Link To This Post Posted: 24 August 2003 at 3:20am

Thanks michael im using this one http://www.webattack.com/get/dbamgr2.shtml if anyone else needs one. This is the final question then im sorted . Could someone connect to my server get in with username 'sa' and no password (I tried it with no password and it works!). If so how can I put a password on the 'sa' account?

Thanks, Mart.

Back to Top
michael View Drop Down
Senior Member
Senior Member
Avatar

Joined: 08 April 2002
Location: United States
Status: Offline
Points: 4670
Post Options Post Options   Thanks (0) Thanks(0)   Quote michael Quote  Post ReplyReply Direct Link To This Post Posted: 24 August 2003 at 7:05pm
Run a SQL Query like
sp_password NULL, 'newpassword', 'sa'
Back to Top
 Post Reply Post Reply Page  <123>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.