473,396 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

VS Authentication (mixed mode)

Hello, I am currently trying to learn VS, using C#. I have a book called
Beginning C# Databases. I am using sqlserver and the first half of the book
deals with windows apps. So it uses the windows authentication. Well now it
is at the web form section and I can not connect this way now because it is
no longer getting authentication from me as a user on this PC. The book
explains a (mixed mode) where you can do both types of projects and get the
benefit of both types of authentication.

So far what the book does not show is how to set up sqlserver or VS for
mixed mode authentication. This is where I need help. If someone could
please walk me through setting this up it would be appreciated. Remember I
am new to all of this so please keep that in mind when you explain it.

Thanks
Nov 19 '05 #1
4 1776
Hi!

The "mixed mode" has nothing to do with VS. You can specify this option
during the installation process of your sql-server. You can setup "mixed
mode" with your Enterprise Manager on an existing installation of SQL-Server.

Open Enterprise Manager, right-click on the server you want to setup and
choose settings. Open the tab "Security" and choose "SQL Server and Windows"
under Authentication.

You now can setup any user for the database (e.g. sa) with a password to use
this information in future for a database connection.

cu patrick

"tripwater" wrote:
Hello, I am currently trying to learn VS, using C#. I have a book called
Beginning C# Databases. I am using sqlserver and the first half of the book
deals with windows apps. So it uses the windows authentication. Well now it
is at the web form section and I can not connect this way now because it is
no longer getting authentication from me as a user on this PC. The book
explains a (mixed mode) where you can do both types of projects and get the
benefit of both types of authentication.

So far what the book does not show is how to set up sqlserver or VS for
mixed mode authentication. This is where I need help. If someone could
please walk me through setting this up it would be appreciated. Remember I
am new to all of this so please keep that in mind when you explain it.

Thanks

Nov 19 '05 #2
Thanks for the reply Patrick. Well upon further investigation, I do not have
Enterprise Manager installed. I tried searching for it through google but I
came up with third party sites trying to sell it. I did download the MSDE
SQL Server Web Data Administrator from Microsoft but it had a web interface
and locked up. BTW I am running MSDE, if that changes anything. Again thanks
for your help. Hopefully you or someone can point me in the

right direction form here as to how I can obtain a reliable manager.

"tripwater" <ts****@sonador.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Hello, I am currently trying to learn VS, using C#. I have a book called
Beginning C# Databases. I am using sqlserver and the first half of the
book
deals with windows apps. So it uses the windows authentication. Well now
it
is at the web form section and I can not connect this way now because it
is
no longer getting authentication from me as a user on this PC. The book
explains a (mixed mode) where you can do both types of projects and get
the
benefit of both types of authentication.

So far what the book does not show is how to set up sqlserver or VS for
mixed mode authentication. This is where I need help. If someone could
please walk me through setting this up it would be appreciated. Remember I
am new to all of this so please keep that in mind when you explain it.

Thanks

Nov 19 '05 #3
The book I have that walks me through setting up sqlserver does not show me
how to setup mixed mode. It starts off running the install then says to run
: setup instancename="netsdk" sapwd="sa" in a command window.

Then run: net start mssql$netsdk to start it.

Can you please tell me at what stage do I make a change and what info I need
to enter please? I do not know what I am doing so I am following this book.
Now the book is covering web forms and it had me setup windows
authentication in the install!

Thanks

"tripwater" <ts****@sonador.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Hello, I am currently trying to learn VS, using C#. I have a book called
Beginning C# Databases. I am using sqlserver and the first half of the
book
deals with windows apps. So it uses the windows authentication. Well now
it
is at the web form section and I can not connect this way now because it
is
no longer getting authentication from me as a user on this PC. The book
explains a (mixed mode) where you can do both types of projects and get
the
benefit of both types of authentication.

So far what the book does not show is how to set up sqlserver or VS for
mixed mode authentication. This is where I need help. If someone could
please walk me through setting this up it would be appreciated. Remember I
am new to all of this so please keep that in mind when you explain it.

Thanks

Nov 19 '05 #4
Hi tripwater,

using the MSDE makes it just a bit harder, not unpossible.

I found this on my way through the www:
C:\...MSDE\>Setup.exe DISABLENETWORKPROTOCOLS=0
SAPWD="password " INSTANCENAME="myinstance" SECURITYMODE=SQL

The important option is "SECURITYMODE=SQL" this will allow access using the
userinformations defined in your MSDE. However I'm afraid, you need to
reinstall the MSDE; I'm not sure...

You can find the complete article here:
http://www.codeproject.com/database/...p?print=true#5

regards
patrick

"tripwater" wrote:
The book I have that walks me through setting up sqlserver does not show me
how to setup mixed mode. It starts off running the install then says to run
: setup instancename="netsdk" sapwd="sa" in a command window.

Then run: net start mssql$netsdk to start it.

Can you please tell me at what stage do I make a change and what info I need
to enter please? I do not know what I am doing so I am following this book.
Now the book is covering web forms and it had me setup windows
authentication in the install!

Thanks

"tripwater" <ts****@sonador.com> wrote in message
news:%2******************@TK2MSFTNGP12.phx.gbl...
Hello, I am currently trying to learn VS, using C#. I have a book called
Beginning C# Databases. I am using sqlserver and the first half of the
book
deals with windows apps. So it uses the windows authentication. Well now
it
is at the web form section and I can not connect this way now because it
is
no longer getting authentication from me as a user on this PC. The book
explains a (mixed mode) where you can do both types of projects and get
the
benefit of both types of authentication.

So far what the book does not show is how to set up sqlserver or VS for
mixed mode authentication. This is where I need help. If someone could
please walk me through setting this up it would be appreciated. Remember I
am new to all of this so please keep that in mind when you explain it.

Thanks


Nov 19 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Mike Kamzyuk | last post by:
Hello all. Basically, I need to call a mixed-mode dll's function (which uses managed code) from a native or mixed-mode dll function (which does not use managed code). I'm wondering if this could...
0
by: Edward Diener | last post by:
I have some questions about the instructions for creating a mixed mode DLL in the MSDN topic "Converting Managed Extensions for C++ Projects from Pure Intermediate Language to Mixed Mode" in the...
9
by: Edward Diener | last post by:
I received no answers about this the first time I posted, so I will try again. My inability to decipher an MSDN topic may find others who have the same inability and someone who can decipher and...
8
by: Bern McCarty | last post by:
Is it at all possible to leverage mixed-mode assemblies from AppDomains other than the default AppDomain? Is there any means at all of doing this? Mixed-mode is incredibly convenient, but if I...
8
by: Nadav | last post by:
Hi, I am writing a performence critical application, this require me to stick to unmanaged C++ as performance is much better using unmanaged C++ ( about 33% better ), Still, I am trying to avoid...
0
by: tripwater | last post by:
Hello, I am currently trying to learn VS, using C#. I have a book called Beginning C# Databases. I am using sqlserver and the first half of the book deals with windows apps. So it uses the windows...
2
by: Doug Belkofer | last post by:
We have created a fairly complex mixed-mode DLL that we want to use from VB.NET. The mixed-mode DLL is written in C++, and does use the standard C runtime libraries. An unusual thing is happening...
8
by: Edward Diener | last post by:
By reuse, I mean a function in an assembly which is called in another assembly. By a mixed-mode function I mean a function whose signature has one or more CLR types and one or more non-CLR...
0
by: emu | last post by:
Hi All, I have an unmanaged C++ application that references a mixed mode image DLL (mixed managed and unmanaged). Under .NET 1.1 we could trust the dll (the mixed mode dll) by running the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.