Wrox Programmer Forums
|
ASP.NET 1.0 and 1.1 Basics ASP.NET discussion for users new to coding in ASP.NET 1.0 or 1.1. NOT for the older "classic" ASP 3 or the newer ASP.NET 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 2nd, 2003, 09:38 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default MSDE

I have installed the MSDE and I didn't set the securitymode = sql. How can I go back and change it to SQL?

 
Old October 2nd, 2003, 10:35 AM
sal sal is offline
Friend of Wrox
 
Join Date: Oct 2003
Posts: 702
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There are two types of security, Windows authentication and mixed mode. There is no SQL mode.
Windows authenthication uses the windows accounts to grant access, mixed mode uses both windows and SQL Server accounts.
Are you trying to set it up as mixed mode?
Either way, here is a extract from microsofts web site.
____________________

Expand a server group.

Right-click a server, and then click Properties.

On the Security tab, under Authentication, click Windows only.

Under Audit level, select the level at which user accesses to Microsoft® SQL Server™ are recorded in the SQL Server error log:
None causes no auditing to be performed.

Success causes only successful login attempts to be audited.

Failure causes only failed login attempts to be audited.

All causes successful and failed login attempts to be audited.

Security Note Microsoft recommends auditing, at minimum, failed login attempts. Auditing failed login attempts helps determine if unauthorized users are attempting to access the system.
____________

hope this helps.





Sal
 
Old October 2nd, 2003, 01:43 PM
Authorized User
 
Join Date: Sep 2003
Posts: 41
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There is a registry edit you can use to change security modes.

open regedit and find the following key:
HKEY_LOCAL_MACHINE\Software\Microsoft\MSSqlserver\ MSSqlServerThen
double-click the LoginMode subkey.

In the DWORD Editor dialog box, set the value of this subkey to 2, make sure that the Hex option is selected, and then click OK.

Restart the MSSQLSERVER and the SQLSERVERAgent services for this change to take effect.


You can always click here for the full microsoft version of the above steps:
http://support.microsoft.com/default...en-us;319930#6

It does work I used it!



---
David Thorne, Student
UK
 
Old October 2nd, 2003, 02:07 PM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 1,110
Thanks: 0
Thanked 3 Times in 3 Posts
Default

That worked CFerthorney.

Thanks.






Similar Threads
Thread Thread Starter Forum Replies Last Post
Help regarding MSDE beetle_jaipur SQL Server ASP 0 August 13th, 2007 07:00 AM
MSDE dogfish227 BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 August 12th, 2004 05:07 AM
can not connect to msde isheikh All Other Wrox Books 13 February 10th, 2004 07:34 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.