PC Review


Reply
Thread Tools Rate Thread

asp.net & sql server

 
 
rbutch@coair.com
Guest
Posts: n/a
 
      22nd Feb 2005
hey guys, is there is anything i need to be mindful of when installing sql server Personal edition on a pc that will be hosting asp.net applications?

any special attention to WindowsNT Authentication vs SA Login? choose both?

i had a very bad and insurmountable experience once before on this with a failed login.

while developing the application on my local machine, it ran perfectly fine, but when i put the program in a virtual directory on that very same box that i had sql server, i got the "Not Associated with a Trusted Sql Server Connection" error.

i tried every suggestion offered, but the only one i didnt try (since sql server was already installed) was the one that said to choose "both" {WindowsNT Authentication and SA authentication) when installing.
i flat out couldnt remember and there were already windows apps running on that machine so, i didnt bother uninstalling and re-installing.

Also, should i choose "Default" installation ??/
thanks again for any help or any references you can point me to
rik

**********************************************************************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...
 
Reply With Quote
 
 
 
 
WJ
Guest
Posts: n/a
 
      23rd Feb 2005

"rik butcher" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>
> any special attention to WindowsNT Authentication vs SA Login? choose
> both?
>

Not really. Choose both in case you cannot implement Windows Integrated
authentication. With Windows mode, it is more secure because the
authentication is performed by the operating system with 1-way hash PW.

> while developing the application on my local machine, it ran perfectly
> fine, but when i put the program in a virtual directory on that very same
> box that i had sql > server, i got the "Not Associated with a Trusted Sql
> Server Connection" error.
>

You have to create an account inside SQL using Windows Account, example, if
your box is Windows XP, then "MachineName\ASPNET" account must be assigned
to a specific catalog in your SQL instance in order for Integrated Windows
authentication to work. (You may want to use the SQL/Enterprise Mgr. for
this).

> Also, should i choose "Default" installation ??/


Yes

*****************

John


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
An error has occurred while establishing a connection to the server.When connecting to SQL Server 2005, this failure may be caused by the factthat under the default settings SQL Server does not allow remote connections. mina Microsoft VB .NET 0 8th Oct 2008 07:12 AM
An error has occurred while establishing a connection to the server.When connecting to SQL Server 2005, this failure may be caused by the factthat under the default settings SQL Server does not allow remote connections. mina Microsoft Dot NET 0 8th Oct 2008 07:11 AM
Help. Getting a An error has occurred while establishing a connectionto the server. When connecting to SQL Server 2005, this failure may be causedby the fact that under the default settings SQL Server does not allow remote aboutjav.com@gmail.com Microsoft ASP .NET 0 3rd May 2008 01:43 PM
Mirroring a Windows 2000 Server so that the backup server takes over when the main server fails Karl Strausser Microsoft Windows 2000 Setup 1 28th Sep 2005 01:43 AM
How do i change this connect string to support a SQL Server 2000 running on port 8832 User ID=car;Password=rat;Server=abc.def.hij;Initial Catalog=foobar i tried Server=abc.def.hij:8823 and Server=abc.def.hij;port=8823 neither of these work Daniel Microsoft Dot NET Framework 1 16th Dec 2004 09:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:26 AM.