Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old May 11th, 2004, 05:31 PM
webappguru webappguru is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 19 webappguru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Unhappy URGENT Help with SQL Server/IIS problem

Ok, heres the story I have a huge web application that I am trying to deploy

Application 1 resides on same machine as sql Server
Sql Server 2003 running IIS6.0

Application 2 resides on same machine as sql Server
Sql Server 2003 running IIS6.0

Application 3 resides on a web server that serves the internet and is referencing the sql server that is on a Virtual Private Network

All 3 servers are talking via vpn and this has been confirmed.

In all 3 cases in the connection string I am specifying
Data Source = 192.168.11.5; .....

Application 1 and 2 are deployed and running fine
Application 3 1st revision works fine.
I made a few changes and now I keep getting this error:

"Could not logon User ...." any time I access the database

When I revert back to the old version of the software it works on the web server. Help!

Why would the same code work on the web server when the sql server is local, and not on the web server when the sql server is not local? Could it be a missing support file. any ideas...thanx.

Reply With Quote
  #2  
Old May 11th, 2004, 09:50 PM
Memnoch's Avatar
Memnoch Memnoch is offline
Unholy Moderator
ASP Free God 14th Plane (11500 - 11999 posts)
 
Join Date: Oct 2003
Location: In hell, where did you think?
Posts: 11,764 Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level)Memnoch User rank is Lieutenant Colonel (40000 - 50000 Reputation Level) 
Time spent in forums: 3 Weeks 5 Days 6 h 8 m 20 sec
Reputation Power: 452
Is the sql server using Windows Authentication?

Reply With Quote
  #3  
Old May 11th, 2004, 11:25 PM
webappguru webappguru is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 19 webappguru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
it uses sql server authentication.
I have a user setup with a login and password

Reply With Quote
  #4  
Old May 12th, 2004, 09:06 AM
Kris_Vanherck's Avatar
Kris_Vanherck Kris_Vanherck is offline
Contributing User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Location: Belgium, Antwerp
Posts: 177 Kris_Vanherck User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 sec
Reputation Power: 5
are you sure it is the database that is giving the logon failure ?

i have had similar problems and the sql server usualy gives different logon errors than "Could not logon User " and also usualy an asp.net exception (you know white yellow page with stacktrace and so on) since it's ado.net that does the logon

Last edited by Kris_Vanherck : May 12th, 2004 at 09:09 AM.

Reply With Quote
  #5  
Old May 12th, 2004, 11:12 AM
webappguru webappguru is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 19 webappguru User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
It is an asp error. Where I am totally lost is if I use the identical code on a server that has sql server running on it, it works, if I run it on a server that is networked with a computer running sql server and specify the IP using Data Source = "xxx.xxx.xx.xx ......" it errors out. And the most bizarre thing is that an older version was working fine before.

Any thoughts.....

Quote:
Originally Posted by Kris_Vanherck
are you sure it is the database that is giving the logon failure ?

i have had similar problems and the sql server usualy gives different logon errors than "Could not logon User " and also usualy an asp.net exception (you know white yellow page with stacktrace and so on) since it's ado.net that does the logon

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > URGENT Help with SQL Server/IIS problem


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT