IIS - ASP Classic site on II7 and Windows Server 2008

Asked By Thomas
26-Jul-10 10:31 AM
Hello,

We are moving an asp classic website to II7 and are having troubles getting
ip to run correctly.

The site loads on IIS7, but fails to connect to the local database
(SQL2008). The event error logged is:
------------------------
The VB Application identified by the event source logged this Application
BCE2002_DB: Thread ID: 6172 ,Logged:
An error has occured in an BCE 2002 component.
Error Number:-2147467259

Source:
Microsoft OLE DB Provider for ODBC Drivers
[BCE2002_DB.DBHelper]  errline = 0 ==>
RunSQLReturnRS(sp_tblWebUsers_VerifyUser 'CREX','CREX') [MSSSVR01 version
2002.0.1]
[BCE2002_DB.User]  VerifyUser('CREX') [MSSSVR01 version 2002.0.1]

Description:
[Microsoft][ODBC Driver Manager] Data source name not found and no default
driver specified
------------------------

The ODBC settings are using SQL Server driver and successfully connect to
the database. It just fails when running the site.

I will appreciate any ideas.

Thanks,
SQL Server 2008
(1)
Windows Server 2008
(1)
Chris M. Chris
(1)
ODBC Drivers
(1)
Error
(1)
Database SQL Server 2008
(1)
SQL Server driver
(1)
IIS
(1)
  Dan replied to Thomas
26-Jul-10 10:48 AM
Check the user account permissions for IIS - if this is not running under
NTLM then the anonymous user account probably does not have permission to
access SQL Server.

--
Dan
  Thomas replied to Dan
26-Jul-10 03:05 PM
Dan,

I created a simple page to test connecting to SQL from the site and it did
work.
The other pages in the websie depends on a COM+ object to connect to SQL and
other things.

From the test, it seems the problem is the COM+ object accessing the
database. The COM+ object uses ODBC.

The website, the asp app pool, the COM+ object and the application folder
share the network service rights.

Not sure where to look? I will appreciate more info.
  Chris M replied to Thomas
26-Jul-10 04:17 PM
Your answer might be in the question:


Did you set up the DSN with the relevant details in the ODBC console?

--
Chris M.
  Dan replied to Thomas
27-Jul-10 04:31 AM
Chris mentioned about the ODBC DSN not existing, but you already mentioned
that it does work from your last line. However, did you make the DSN for the
system, or just for a user? If it is not a system wide DSN then that might
explain why it is not working. The other possibility is that you misspelt it
so that the DSN that the COM+ object is expecting to find does not exist.

Dan
help
IIS7 on Server 2008 Domain Controller IIS hello, i added a new 2008 server to my 2000 domain (with 2000 and 2003 DC's) and made it a DC. then i wanted to install WSUS 3 on this new 2008 DC. therefore i installed SQL 2005 and IIS 7. i now have the -known- problem that the IUSR_ accounts are http: / / support.microsoft.com / kb / 946139) BUT, when running this script (SamUpgradeTask.js) on my 2008 DC i get the following error: anyone any ideas? cheers, Steven. IIS Security Discussions Windows Server 2003 (1) Windows Server 2008 (1) IIS (1) REMd (1) Gindulis (1) Cools (1) Testedcode
real-time which website are viewed? With Performance and Log Monitor? Thanks, Alex IIS Discussions SQL Server 2005 (1) SQL Server 2008 (1) SQL Server (1) IIS 6.0 (1) IIS (1) FTP (1) Alex (1) F0831c18 (1) Hi Alex 4d13-99e7-8a32362ba4ff.mspx?mfr = true Cheers, Artemakis - - Artemakis Artemiou B.Sc., M.Sc., Microsoft SQL Server MVP, MCP, MCTS:SQL Server 2005, MCTS:SQL Server 2008 (Charter Member). http: / / aartemiou
Share SQL cluster group with IIS IIS I have a 2-node SQL Server 2008 cluster. S: \ is the shared drive for the SQL Server cluster group. Can I create an INETPUT folder in S: \ for IIS? Is is safe to create IIS resources (Generic Script, etc.) in the SQL Cluster Group? Thanks! IIS Discussions SQL Server 2008 (1) IIS (1) Hiten (1) INETPUT (1) Yes, it is possible. No, it
Server 2008 R2 Web Edition - Can I connect to SQL database remotel IIS Hi, We are hoping to deploy a Srvr 2008 Web Edition box in a DMZ with a SQL database (used by the webpage). Is it possible for a client to connect to the database directly (not through IIS) to periodically upload data? I have heard that SQL is for local use only. I would rather that client made the connection to upload the data rather then the webserver (incase the webserver is comprimised) IIS Discussions SQL Server (1) SQL Server Service Broker queues (1) SQL Server Service Broker (1) Microsoft SQL Server
IIS / SQL Server Problem IIS I have a WCF service hosted in IIS 6 on my development Server2003 machine that connects to it's sql server DB successfully. That same service won't connect to the same database on a target m also having a problem with a normal website on that same target connecting with SQL Server. So, I seems that stuff hosted in IIS on this Target server can't connect with sql server. What could cause this? The error is pasted below. Thanks, Gary System.ServiceModel.FaultException