Login Failed Error: Frontpage 2000 to SQL Server 2000

K

Kristen Wagner

Hello,

I am reconstructing a web site for a remote customer and have a login
problem with an FP database results page.

Database Results Error
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'messenger'.

FP verifies the database connection when I look at the Web Settings for this
page. The global.asa file is passing the correct username and password to
SQL Server, which is configured for Integrated Authentication. The
"messenger" login is a SQL Server login. I can connect to the database
server directly, using Enterprise Manager, with the same username and
password that fails over ASP.

What else should I be looking for? Does ASP.NET need to have login rights to
SQL Server?

Thanks,
Kristen Wagner
 
K

Kevin Spencer

page. The global.asa file is passing the correct username and password to
SQL Server, which is configured for Integrated Authentication. The
"messenger" login is a SQL Server login.

Windows Integrated Authentication uses a Windows account to connect to the
server. If the login is a SQL Server login, that's your problem.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Kristen Wagner said:
Hello,

I am reconstructing a web site for a remote customer and have a login
problem with an FP database results page.

Database Results Error
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'messenger'.

FP verifies the database connection when I look at the Web Settings for this
page. The global.asa file is passing the correct username and password to
SQL Server, which is configured for Integrated Authentication. The
"messenger" login is a SQL Server login. I can connect to the database
server directly, using Enterprise Manager, with the same username and
password that fails over ASP.

What else should I be looking for? Does ASP.NET need to have login rights to
SQL Server?

Thanks,
Kristen Wagner
 
K

Kristen Wagner

Kevin:

Sorry--my mistake: the Server is configured to use Mixed Authentication--SQL
Server and Windows. The "messenger" login is a standard SQL Server login.

Kristen Wagner

Kevin Spencer said:
page. The global.asa file is passing the correct username and password to
SQL Server, which is configured for Integrated Authentication. The
"messenger" login is a SQL Server login.

Windows Integrated Authentication uses a Windows account to connect to the
server. If the login is a SQL Server login, that's your problem.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Kristen Wagner said:
Hello,

I am reconstructing a web site for a remote customer and have a login
problem with an FP database results page.

Database Results Error
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'messenger'.

FP verifies the database connection when I look at the Web Settings for this
page. The global.asa file is passing the correct username and password to
SQL Server, which is configured for Integrated Authentication. The
"messenger" login is a SQL Server login. I can connect to the database
server directly, using Enterprise Manager, with the same username and
password that fails over ASP.

What else should I be looking for? Does ASP.NET need to have login
rights
to
SQL Server?

Thanks,
Kristen Wagner
 
K

Kevin Spencer

Check your Connection String. It may be specifiying which authentication
method to use.

--
HTH,
Kevin Spencer
..Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Kristen Wagner said:
Kevin:

Sorry--my mistake: the Server is configured to use Mixed Authentication--SQL
Server and Windows. The "messenger" login is a standard SQL Server login.

Kristen Wagner

Kevin Spencer said:
page. The global.asa file is passing the correct username and password to
SQL Server, which is configured for Integrated Authentication. The
"messenger" login is a SQL Server login.

Windows Integrated Authentication uses a Windows account to connect to the
server. If the login is a SQL Server login, that's your problem.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Kristen Wagner said:
Hello,

I am reconstructing a web site for a remote customer and have a login
problem with an FP database results page.

Database Results Error
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'messenger'.

FP verifies the database connection when I look at the Web Settings
for
this
page. The global.asa file is passing the correct username and password to
SQL Server, which is configured for Integrated Authentication. The
"messenger" login is a SQL Server login. I can connect to the database
server directly, using Enterprise Manager, with the same username and
password that fails over ASP.

What else should I be looking for? Does ASP.NET need to have login
rights
to
SQL Server?

Thanks,
Kristen Wagner
 
K

Kristen Wagner

The connection string just lists the System DSN, the Driver, the UID, and
the PASSWORD.

Kevin Spencer said:
Check your Connection String. It may be specifiying which authentication
method to use.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Kristen Wagner said:
Kevin:

Sorry--my mistake: the Server is configured to use Mixed Authentication--SQL
Server and Windows. The "messenger" login is a standard SQL Server login.

Kristen Wagner

Kevin Spencer said:
page. The global.asa file is passing the correct username and
password
to
SQL Server, which is configured for Integrated Authentication. The
"messenger" login is a SQL Server login.

Windows Integrated Authentication uses a Windows account to connect to the
server. If the login is a SQL Server login, that's your problem.

--
HTH,
Kevin Spencer
.Net Developer
Microsoft MVP
Big things are made up
of lots of little things.

Hello,

I am reconstructing a web site for a remote customer and have a login
problem with an FP database results page.

Database Results Error
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'messenger'.

FP verifies the database connection when I look at the Web Settings for
this
page. The global.asa file is passing the correct username and
password
to
SQL Server, which is configured for Integrated Authentication. The
"messenger" login is a SQL Server login. I can connect to the database
server directly, using Enterprise Manager, with the same username and
password that fails over ASP.

What else should I be looking for? Does ASP.NET need to have login rights
to
SQL Server?

Thanks,
Kristen Wagner
 
K

Kristen Wagner

Hello,

I posted this last week but was unable to resolve the problem.

I am reconstructing a web site for a remote customer and have a login
failure with an FP2000 database results page. This page contains a database
results section generated by Frontpage. The connection is also generated by
FP via the Web Settings option--there is no other connection string.

When I look at the Web Settings for this page, FP verifies the database
connection. In other words, when I test the connection from the FrontPage
file, the connection is verified. The data results section of the page
connects as well when I browse through those settings, and the connection
test works. The global.asa file is passing the correct username and password
to SQL Server, which is configured for Mixed Authentication. The login is a
SQL Server login. I can also connect directly to the SQL database in
question, using Enterprise Manager, with the same username and password that
fails over ASP.

Database Results Error
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'messenger'.

The SQL Server log for these connections says "Login failed for user
"messenger".

What am I overlooking?

Thanks again,
Kristen Wagner
 
K

Kristen Wagner

Let me add one more piece of information:

The web server and SQL server for the data results page are running on the
same box. I can save the data results page to my own computer, with the same
web settings, and the page will load correctly on my web server, connecting
successfully to the database server. When I view the SQL Server log, my
successful attempt says "Login succeeded for user "messenger." Connection:
non-trusted.

No doubt I am overlooking something obvious here. What is it?

Thanks,
Kristen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top