The aim is to get it working on this machine so I can port everything
to a Enterprise Version but can't get around this error for the last
two days. Any help is much appreciated, as I am not getting any
further with this.
Internet Explorer Error:
HTTP 500.100 - Internal Server Error - ASP error
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'ssgroup\wagesz'.
/Survey/asp.asp, line 13
ASP Connect string:
dim strSQL
set Global_DBConnection=Server.CreateObject("ADODB.Con nection")
DSN="Driver={SQL Server};Server=localhost
\SQLEXPRESS;Database=surveys;UID=domainA;PWD=xxxxx x"
Global_DBConnection.Open(DSN)
IIS 5.0 SP4 Configurations:
Directory Security = Anonymous Acces Enabled with user
abc1\IWAM_abc1,
Basic Authentication not enabled, Intregrated Windows Authentication
is enabled.
SQL Server Security Configuration:
Server Security Mode= SQL Server and Windows Authentication (Mixed
Mode)
Others= Remote Connection enabled, all services running, tcp and
named
pipes enabled
Domain Useer Account in MSQL = The User domainA is part of W2k Admin
Group and in Sql Server the entire BUILTIN\Administrators group is
added in Server security Node and in the db node its added as a user
with DB_owner membership.
(The user trying to connect is a domain user, which has admin rights
on the machine (test purpose)) 7 5699
Is the user being asked to authenticate to the web server?
what is the user trying to do select, insert, update, delete?
Can that user do these actions to the table in the database directly?
"Swagener" <ri*****@gmail.comwrote in message
news:11**********************@r34g2000hsd.googlegr oups.com...
The aim is to get it working on this machine so I can port everything
to a Enterprise Version but can't get around this error for the last
two days. Any help is much appreciated, as I am not getting any
further with this.
Internet Explorer Error:
HTTP 500.100 - Internal Server Error - ASP error
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'ssgroup\wagesz'.
/Survey/asp.asp, line 13
ASP Connect string:
dim strSQL
set Global_DBConnection=Server.CreateObject("ADODB.Con nection")
DSN="Driver={SQL Server};Server=localhost
\SQLEXPRESS;Database=surveys;UID=domainA;PWD=xxxxx x"
Global_DBConnection.Open(DSN)
IIS 5.0 SP4 Configurations:
Directory Security = Anonymous Acces Enabled with user
abc1\IWAM_abc1,
Basic Authentication not enabled, Intregrated Windows Authentication
is enabled.
SQL Server Security Configuration:
Server Security Mode= SQL Server and Windows Authentication (Mixed
Mode)
Others= Remote Connection enabled, all services running, tcp and
named
pipes enabled
Domain Useer Account in MSQL = The User domainA is part of W2k Admin
Group and in Sql Server the entire BUILTIN\Administrators group is
added in Server security Node and in the db node its added as a user
with DB_owner membership.
(The user trying to connect is a domain user, which has admin rights
on the machine (test purpose))
Look at his connection string: he is passing a uid and password.
I am at a loss to explain why the database server is attempting to use the
Windows credentials here.
ThatsIT.net.au wrote:
Is the user being asked to authenticate to the web server?
what is the user trying to do select, insert, update, delete?
Can that user do these actions to the table in the database directly?
"Swagener" <ri*****@gmail.comwrote in message
news:11**********************@r34g2000hsd.googlegr oups.com...
>The aim is to get it working on this machine so I can port everything to a Enterprise Version but can't get around this error for the last two days. Any help is much appreciated, as I am not getting any further with this.
Internet Explorer Error: HTTP 500.100 - Internal Server Error - ASP error Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D) [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'ssgroup\wagesz'. /Survey/asp.asp, line 13
ASP Connect string: dim strSQL set Global_DBConnection=Server.CreateObject("ADODB.Con nection") DSN="Driver={SQL Server};Server=localhost \SQLEXPRESS;Database=surveys;UID=domainA;PWD=xxxx xx" Global_DBConnection.Open(DSN)
IIS 5.0 SP4 Configurations: Directory Security = Anonymous Acces Enabled with user abc1\IWAM_abc1, Basic Authentication not enabled, Intregrated Windows Authentication is enabled.
SQL Server Security Configuration: Server Security Mode= SQL Server and Windows Authentication (Mixed Mode) Others= Remote Connection enabled, all services running, tcp and named pipes enabled Domain Useer Account in MSQL = The User domainA is part of W2k Admin Group and in Sql Server the entire BUILTIN\Administrators group is added in Server security Node and in the db node its added as a user with DB_owner membership. (The user trying to connect is a domain user, which has admin rights on the machine (test purpose))
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
ASP Connect string:
dim strSQL
set Global_DBConnection=Server.CreateObject("ADODB.Con nection")
DSN="Driver={SQL Server};Server=localhost
\SQLEXPRESS;Database=surveys;UID=domainA;PWD=xxxxx x"
Global_DBConnection.Open(DSN)
well the connection string is used to execute a sp to pass xml later
on in the code. I am still having no luck with this, please advise.
Swagener wrote:
>>>ASP Connect string: dim strSQL set Global_DBConnection=Server.CreateObject("ADODB.Con nection") DSN="Driver={SQL Server};Server=localhost \SQLEXPRESS;Database=surveys;UID=domainA;PWD=xx xxxx" Global_DBConnection.Open(DSN)
well the connection string is used to execute a sp to pass xml later
on in the code. I am still having no luck with this, please advise.
Sorry, but I don't know how you expect me to help. Are you successfully
connecting to the SQL Server now?
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Swagener wrote:
The aim is to get it working on this machine so I can port everything
to a Enterprise Version but can't get around this error for the last
two days. Any help is much appreciated, as I am not getting any
further with this.
Internet Explorer Error:
HTTP 500.100 - Internal Server Error - ASP error
Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D)
[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user
'ssgroup\wagesz'.
/Survey/asp.asp, line 13
ASP Connect string:
dim strSQL
set Global_DBConnection=Server.CreateObject("ADODB.Con nection")
DSN="Driver={SQL Server};Server=localhost
\SQLEXPRESS;Database=surveys;UID=domainA;PWD=xxxxx x"
Global_DBConnection.Open(DSN)
Wait a minute: are you using the user's Windows ID and password in this
connection string? If so, remove them if you want the user authenticated
with his Windows credentials. See www.connectionstrings.com for examples of
valid connection strings. i would sugges using the native SQL Client OLE DB
provider instead of ODBC.
Provider=SQLNCLI;Server=myServerAddress;Database=m yDataBase;Trusted_Connection=yes;
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
so for my misleading post,
I am trying to use a windows user to authenticate and execute a stored
procedure in my sql server instance.
So is OlEDB the method I should be using?
Swagener wrote:
so for my misleading post,
I am trying to use a windows user to authenticate and execute a stored
procedure in my sql server instance.
So is OlEDB the method I should be using?
That is what I said, isn't it? :-)
I provided an example of the connection string you should be using.
Good luck with this: I have had trouble making Windows Authentication
work with SQL 2005. I have wound up creating a SQL Login for all users
to use.
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: David Bruno |
last post by:
Hi,
I've run a php script that uses mysql databases without problems
on one server, but then I changed web hosts and installed it the same
way buy...
|
by: John Morgan |
last post by:
I have Enterprise Manager on my local machine. For the last twelve
months it has been connecting without problem to my online SQL Server
database...
|
by: Frances |
last post by:
this seems pretty straight-forward.. got this code
$link = mysql_connect('localhost:3306', '<uid>', '<pswd>');
if (!$link) {
die('Could not...
|
by: Vinod R.Shenoy |
last post by:
Hi All,
Came across a post wherin you had helped somebody with a similar
problem and was wondering if you could help us out with it.
Our...
|
by: mairhtin o'feannag |
last post by:
Hello,
I'm having problems connecting to my new v9 db box. The pertinent
information is below:
DB2_db2inst1 60000/tcp
DB2_db2inst1_1 ...
|
by: Swagener |
last post by:
The aim is to get it working on this machine so I can port everything
to a Enterprise Version but can't get around this error for the last
two...
|
by: getafixx |
last post by:
Hello everyone,
We have a linux server (Fedora core 7, default install, firewall turned off) and a bunch of windows XP machines on network/domain....
|
by: jhardman |
last post by:
I keep getting connection errors that appear to me to relate to user permissions.
I tried connecting with DSN from both a classic ASP page using...
|
by: brum2008 |
last post by:
Hello!
Below is the Netbeans Mobility source code for my application (The application offers SPP service, and then just hangs waiting for a client...
|
by: jalbright99669 |
last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
|
by: antdb |
last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine
In the overall architecture, a new "hyper-convergence" concept was...
|
by: Matthew3360 |
last post by:
Hi there. I have been struggling to find out how to use a variable as my location in my header redirect function.
Here is my code.
...
|
by: AndyPSV |
last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
|
by: WisdomUfot |
last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
|
by: Matthew3360 |
last post by:
Hi,
I have been trying to connect to a local host using php curl. But I am finding it hard to do this. I am doing the curl get request from my web...
|
by: Carina712 |
last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
|
by: BLUEPANDA |
last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...
|
by: Rahul1995seven |
last post by:
Introduction:
In the realm of programming languages, Python has emerged as a powerhouse. With its simplicity, versatility, and robustness, Python...
| |