log in failure

log in failure

Post by John FL » Tue, 07 Jan 2003 06:43:49



I have a new 2kserver that I am running as our company webserver.   I have
SQL 2k on it as well.   My website will be displaying info from the SQL
database.

When I try to view a page that connects to the SQL, it tells me that there
is a log in failure and that the username and password are not recognized.

All the pages are .ASP pages.
The line of code that it fails on is the line where I am making my SQL
query, and I am including the user name and password that I made for the
SQL.   But what it is telling me is the computername/inet_user name is what
is not working.

What is the deal?
I am not sure if this is a IIS issue or a SQL issue.
Please let me know.

Thanks!

 
 
 

log in failure

Post by Dan Guzma » Tue, 07 Jan 2003 06:58:19


Perhaps the new SQL installation is configured for only Windows
authentication.  You can change it to SQL Server and Windows from the
Enterprise Manager server properties security tab.

--
Hope this helps.

Dan Guzman
SQL Server MVP

-----------------------
SQL FAQ links (courtesy  Neil Pike):

http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
http://www.sqlserverfaq.com
http://www.mssqlserver.com/faq
-----------------------


Quote:> I have a new 2kserver that I am running as our company webserver.   I
have
> SQL 2k on it as well.   My website will be displaying info from the
SQL
> database.

> When I try to view a page that connects to the SQL, it tells me that
there
> is a log in failure and that the username and password are not
recognized.

> All the pages are .ASP pages.
> The line of code that it fails on is the line where I am making my SQL
> query, and I am including the user name and password that I made for
the
> SQL.   But what it is telling me is the computername/inet_user name is
what
> is not working.

> What is the deal?
> I am not sure if this is a IIS issue or a SQL issue.
> Please let me know.

> Thanks!


 
 
 

log in failure

Post by John FL » Tue, 07 Jan 2003 07:04:06


I do have it in Mixed mode.
I am thinking that I will also make the SQL user (which only has read
rights), make that same name a Windows user as well.


> Perhaps the new SQL installation is configured for only Windows
> authentication.  You can change it to SQL Server and Windows from the
> Enterprise Manager server properties security tab.

> --
> Hope this helps.

> Dan Guzman
> SQL Server MVP

> -----------------------
> SQL FAQ links (courtesy  Neil Pike):

> http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
> http://www.sqlserverfaq.com
> http://www.mssqlserver.com/faq
> -----------------------



> > I have a new 2kserver that I am running as our company webserver.   I
> have
> > SQL 2k on it as well.   My website will be displaying info from the
> SQL
> > database.

> > When I try to view a page that connects to the SQL, it tells me that
> there
> > is a log in failure and that the username and password are not
> recognized.

> > All the pages are .ASP pages.
> > The line of code that it fails on is the line where I am making my SQL
> > query, and I am including the user name and password that I made for
> the
> > SQL.   But what it is telling me is the computername/inet_user name is
> what
> > is not working.

> > What is the deal?
> > I am not sure if this is a IIS issue or a SQL issue.
> > Please let me know.

> > Thanks!

 
 
 

log in failure

Post by Aaron Bertrand [MVP » Tue, 07 Jan 2003 07:07:11


I don't think so, your ASP page is still going to be trying to connect as
IUSR.

--
Aaron Bertrand, SQL Server MVP
http://www.aspfaq.com/

Please reply in the newsgroups, but if you absolutely
must reply via e-mail, please take out the TRASH.


> I do have it in Mixed mode.
> I am thinking that I will also make the SQL user (which only has read
> rights), make that same name a Windows user as well.



> > Perhaps the new SQL installation is configured for only Windows
> > authentication.  You can change it to SQL Server and Windows from the
> > Enterprise Manager server properties security tab.

> > --
> > Hope this helps.

> > Dan Guzman
> > SQL Server MVP

> > -----------------------
> > SQL FAQ links (courtesy  Neil Pike):

> > http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
> > http://www.sqlserverfaq.com
> > http://www.mssqlserver.com/faq
> > -----------------------



> > > I have a new 2kserver that I am running as our company webserver.   I
> > have
> > > SQL 2k on it as well.   My website will be displaying info from the
> > SQL
> > > database.

> > > When I try to view a page that connects to the SQL, it tells me that
> > there
> > > is a log in failure and that the username and password are not
> > recognized.

> > > All the pages are .ASP pages.
> > > The line of code that it fails on is the line where I am making my SQL
> > > query, and I am including the user name and password that I made for
> > the
> > > SQL.   But what it is telling me is the computername/inet_user name is
> > what
> > > is not working.

> > > What is the deal?
> > > I am not sure if this is a IIS issue or a SQL issue.
> > > Please let me know.

> > > Thanks!

 
 
 

log in failure

Post by Dan Guzma » Tue, 07 Jan 2003 16:40:17


Like Aaron said, it looks like a trusted connection is being attempted
since the error messages shows the 'computername/inet_user' Windows
account rather than a SQL login.  If the SQL Server shows it is
configured for mixed security, it may be that it was changed after SQL
Server was started and the service needs to be restarted for this to
take affect.  Another possibility is that connection string is malformed
so a trusted connection is being attempted.

--
Hope this helps.

Dan Guzman
SQL Server MVP

-----------------------
SQL FAQ links (courtesy  Neil Pike):

http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
http://www.sqlserverfaq.com
http://www.mssqlserver.com/faq
-----------------------


> I do have it in Mixed mode.
> I am thinking that I will also make the SQL user (which only has read
> rights), make that same name a Windows user as well.



> > Perhaps the new SQL installation is configured for only Windows
> > authentication.  You can change it to SQL Server and Windows from
the
> > Enterprise Manager server properties security tab.

> > --
> > Hope this helps.

> > Dan Guzman
> > SQL Server MVP

> > -----------------------
> > SQL FAQ links (courtesy  Neil Pike):

> > http://www.ntfaq.com/Articles/Index.cfm?DepartmentID=800
> > http://www.sqlserverfaq.com
> > http://www.mssqlserver.com/faq
> > -----------------------



> > > I have a new 2kserver that I am running as our company webserver.
I
> > have
> > > SQL 2k on it as well.   My website will be displaying info from
the
> > SQL
> > > database.

> > > When I try to view a page that connects to the SQL, it tells me
that
> > there
> > > is a log in failure and that the username and password are not
> > recognized.

> > > All the pages are .ASP pages.
> > > The line of code that it fails on is the line where I am making my
SQL
> > > query, and I am including the user name and password that I made
for
> > the
> > > SQL.   But what it is telling me is the computername/inet_user
name is
> > what
> > > is not working.

> > > What is the deal?
> > > I am not sure if this is a IIS issue or a SQL issue.
> > > Please let me know.

> > > Thanks!

 
 
 

1. Transaction Log Backup Failure

I posted this last week and I have finally been able to get through all the
suggested fixes, but did not find anything.  My transaction log backup is
periodically failing do to non-logged operations.  I have select into and
BCP turned off.  I searched all of the database objects for db_option
changes and there was nothing.

I am running SQL 7.0.  Does anyone have any idea what would cause this?

Thanks

2. DB Marked Suspect - AGAIN!! (help?)

3. SQL Server 6.5 Log Backup Failure

4. Houston, Texas Oracle developer needed

5. Log Reader Failure in Transaction Replication

6. Request: Application Release 10.7 Prod 16

7. Transaction log backup failure

8. Log Dump Failure (SQL 6.5)

9. Transaction Log Backup Failure

10. Master/MSDB Transaction Log Backup Failures

11. Log Backup Failure

12. SQL Server will not start, due to Log in failure