IBM Computer, Laptops and Servers

Back Homepage Content Directory Resource Guide Blog

PRB: ASP Error 80004005 "Data Source Name Not F

t; PRB: ASP Error 80004005 "Data Source Name Not Found" The information in this article applies to: Microsoft Active Server Pages 2.0 Microsoft Active Server Pages 3.0 Microsoft Internet Information Server 4.0 Microsoft Internet Information Server 5.0 Microsoft Data Access Components 2.0 Microsoft Data Access Components 2.1 Microsoft Data Access Components 2.1 SP1 Microsoft Data Access Components 2.1 SP2 Microsoft Data Access Components 2.5 Microsoft Data Access Components 2.5 SP1 Microsoft Data Access Components 2.5 SP2 Microsoft Data Access Components 2.6 Microsoft Data Access Components 2.6 SP1 Microsoft Data Access Components 2.7 This article was previously published under Q306345 IMPORTANT: This article contains information about modifying the registry. Before you modify the registry, make sure to back it up and make sure that you understand how to restore the registry if a problem occurs. For information about how to back up, restore, and edit the registry, click the following article number to view the article in the Microsoft Knowledge Base: canon
Description of the Microsoft Windows Registry

Response object error ' 80004005' \ ..\ visitor2.1.obj.inc.asp, line 177 The HTTP headers are already written to the client browser. Any HTTP header modifications must be made before writing page content.

desktop pc
SYMPTOMSWhen you use ActiveX Data Objects (ADO) or ODBC to open a database connection in an Active Server Pages (ASP) page, you may receive the following error message:

Computer memory is the quickest, cheapest, and easiest way to improve the performance of your system. Find RAM memory upgrades for desktops, laptops, servers, and printers all backed by a lifetime warranty and guaranteed compatible with your computer. Shipping is an everyday low price of $1.99! Computer Memory Outlet sells memory compatible with all leading computer manufacturers like Dell, Apple, Compaq, HP, Sony, IBM, Lenovo, and many more.”

desktop computers
Microsoft OLE DB Provider for ODBC Drivers error '80004005'

I still don't get the logic behind this error message. When using the file system object or wscript shell, Server object error ' 800a004c' (0x800a004c) Server. < .asp, The operation completed successfully. or Server object error ' 800a0035' Microsoft VBScript runtime (0x800A0035) File not found

think pad
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified. CAUSEThis error can occur when you use a DSN-based connection string (a connection string that uses a System DSN) or a DSN-less connection string with ADO and ODBC to open a database connection in an ASP page. The common causes of this error are listed below. Using an ODBC DSN The Microsoft Windows NT 4.0 or Windows 2000 user account that is used to process the request for the ASP page does not have sufficient permissions to read the registry key that stores the specified DSN's configuration information. The System ODBC DSN that is specified in the ADO connection string does not exist on the IIS server. The ASP Application or Session variable that is initialized in the ASP application's Global.asa file (or in an ASP page that is accessed before the page that contains the database connection code) is used to specify the ADO connection string. This connection string variable is not initialized when the code to open the database connection is run. To confirm this, add a Response.Write statement before the line of code that opens the database connection to display the connection string that is stored in the variable. Using a DSN-Less Connection String The Windows NT 4.0 or Windows 2000 user account that is used to process the request for the ASP page does not have sufficient permissions to read the registry key that stores the specified ODBC Driver's configuration information. The Driver parameter in a DSN-less connection string specifies the ODBC driver that is used to establish the database connection. The name of the ODBC driver that is specified in the connection string is misspelled or specifies a driver that is not installed on the Internet Information Server (IIS) server. The ASP Application or Session variable that is initialized in the ASP application's Global.asa file (or in an ASP page that is accessed before the page that contains the database connection code) is used to specify the ADO connection string. This connection string variable is not initialized when the code to open the database connection is run. To confirm this, add a Response.Write statement before the line of code that opens the database connection to display the connection string that is stored in the variable. RESOLUTIONWARNING: If you use Registry Editor incorrectly, you may cause serious problems that may require you to reinstall your operating system. Microsoft cannot guarantee that you can solve problems that result from using Registry Editor incorrectly. Use Registry Editor at your own risk.

What is ASP ASP stands for Active Server Pages. Active Server Pages are HTML pages with embedded ASP scripts that are processed on the server before the page is sent to the user. ASP allows you to create dynamic database driven pages, a user can access data in a database, and interact with page objects such as Active X or Java components. How does ASP work When you type a URL in the Address Box or click on a web page you are asking the web server to send a file to your computer; if the file is standard HTML, then, when your web browser receives the web page it will look exactly the same as it did on the web server. However if an ASP file is sent to your computer from the web server, firstly, the server will run the HTML code; and then, run the ASP code. the ASP code could be the current date, or time; and other such information.

repair
Using an ODBC DSN Insufficient Permissions to Read the DSN Registry KeyGrant the Windows NT 4.0 or Windows 2000 user account Read access to the specified ODBC System DSN registry key as follows: Determine which account is used to process the request for the ASP page. From the Start menu, click Run, type regedt32.exe, and then click OK to start Registry Editor. In the HKEY_LOCAL_MACHINE window, browse to the HKLM\SOFTWARE\ODBC\ODBC.INI key. The ODBC.INI key contains a subkey for each ODBC SYSTEM DSN that is registered on the server. Click the DSN registry key for the DSN that is specified in the ADO connection string. From the Security menu, click Permissions. Add the user account that you identified in step 1 to the list of users who can access this key, and select the Read check box for this user. Click Apply, and then close Registry Editor. Specified DSN Does Not Exist on the IIS ServerCreate the specified System ODBC DSN on the IIS Server. Global.asa Code to Initialize the ADO Connection String Is Not Running Verify that the IIS Application folder has been set up as an IIS virtual directory with permissions to execute scripts. Verify that the Global.asa file is located in the IIS application's root directory. If the Application folder is already set up as an IIS virtual directory, remove and re-create the IIS application. Refer to the articles that are listed in the "References" section to determine if any of these articles apply to your specific scenario. Contact Microsoft Product Support Services if the code in Global.asa still does not appear to be running after you perform the preceding steps. Using a DSN-Less Connection String Insufficient Permissions to Read the Specified ODBC Driver Registry KeyGrant the Windows NT 4.0 or Windows 2000 user account Read access to the specified ODBC Driver registry key as follows: Determine which account is used to process the request for the ASP page. From the Start menu, click Run, type regedt32.exe, and then click OK to start Registry Editor. In the HKEY_LOCAL_MACHINE window, browse to the HKLM\SOFTWARE\ODBC\ODBCINST.INI key. The ODBCINST.INI key contains a subkey for each ODBC Driver that is installed on the server. Click the Driver registry key for the Driver that is specified in the ADO connection string. From the Security menu, click Permissions. Add the user account that you identified in step 1 to the list of users who can access this key, and select the Read check box for this user. Click Apply, and then close Registry Editor. Driver Name Is Misspelled or Is Not Installed on the IIS ServerVerify that the ODBC Driver name is spelled correctly in the ADO connection string. In addition, verify that the specified driver is installed on the IIS Server. To view a list of ODBC drivers that are installed on a system, look in the ODBC Data Source Administrator (Odbcad32.exe) on the Drivers tab. Global.asa Code to Initialize the ADO Connection String Is Not Running Verify that the IIS Application folder has been set up as an IIS virtual directory with permissions to execute scripts. Verify that the Global.asa file is located in the IIS application's root directory. If the Application folder is already set up as an IIS virtual directory, remove and re-create the IIS application. Refer to the articles that are listed in the "References" section to determine if any of these articles apply to your specific scenario. Contact Microsoft Product Support Services if the code in Global.asa still does not appear to be running after you perform the preceding steps. STATUSThis behavior is by design. MORE INFORMATIONThe Windows NT 4.0 or Windows 2000 user account whose credentials are used to process a request for an ASP page is determined by the authentication mechanism that the Web Server uses to authenticate the user request. For example, if you use Anonymous authentication, the credentials of the configured IIS Anonymous account (the IUSR_<WebServerName> account by default) is used to process the user request. When you use Basic authentication, Microsoft Internet Explorer prompts the user to supply a valid Windows NT 4.0 or Windows 2000 Network UserId and password whose credentials are then used to process the request. For additional information about the supported authentication mechanisms and how they work, refer to the online IIS documentation. REFERENCESFor additional information, click the article numbers below to view the articles in the Microsoft Knowledge Base:

"Computer industry analysts estimate that some 60 percent of all corporate data exists only on desktop and laptop computers, " said Walter Scott, CEO of Acronis. "Incorporating Acronis True Image with New Mexico Software backup server is the ideal solution to capture that corporate data and ensure that it is not lost. While traditional server backups are effective for protecting server data, every company should have a combination of server and workstation backup plans."

data recovery
Global ASA Not Firing When Visual InterDev Made IIS 4.0 Application cisco
keyboard
PRB: Global.asa Does Not Fire from Personal Web Server on Windows 98 monitor
desktop
FP2000: Global.asa Does Not Run in FrontPage Web infosys
refurbished laptops
FIX: Global.asa Is Not Executed If Restricting Web Access wipro
lap top
INFO: Troubleshooting Guide for 80004005 and Other Error Messages
Last Reviewed: 6/11/2002 Keywords: kbprb KB306345

Share this:

Add To Yahoo MyWeb Add To Google Bookmarks Add To Furl Fav This With Technorati Add To Newsvine Add To Bloglines Add To Ask Add To Windows Live Add To Slashdot Stumble This Digg This Add To Del.icio.us Add To Reddit

More about:

Aug September 2008 Oct
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30        

IBM Computer, Laptops and Servers Blog on Technorati Related Blog of IBM Computer, Laptops and Servers on Sphere
Content Directory
Resource Guide


WolfCamera Digital Cameras Free Shipping No Tax

Website Links
IBM Computer, Laptops and Servers Copyright © 2008 www.ibmfans.com. All rights reserved. Site Map
Homepage | Blog | Advertise | Privacy Policy | Disclaimer | Contact Us | Links