![]() ![]() Using Process Monitor to gather more information If you have the IIS Failed Request Tracing configured to capture trace logs from HTTP 500 errors, you will see something that resembles the following illustration when you examine a trace log from the failure:Īlthough this error indicates that the failure occurred when opening the database, it does not give any additional information to assist you with narrowing the problem to a specific area. Using Failed Request Tracing in IIS 7.0 and Above ObjCN.Open strCN ' <- Note: ASP Error Occurs Here Set objCN = Server.CreateObject("ADODB.Connection") "DBQ=C:\Inetpub\wwwroot\App_Data\example.mdb" For example, the following lines of ASP code : strCN = "DRIVER= " & _ If you have some form of tracing or debugging enabled, the trace or debug information may show the error occurring when the database connection is opened. For more information about UAC, see the following documentation: These above conditions are required because the User Account Control (UAC) security component in Windows Vista and Windows Server 2008 will prevent administrative access to the IIS configuration settings. If you are logged in using an account that administrative permissions but that is not the local administrator account, open all applications and all command prompt sessions by using the "Run as Administrator" option.Log in to your computer by using the local administrator account.This is best accomplished by using one of two methods: You need to make sure that you follow the steps in this document by using an account that has full administrative permissions. To do so, use the following steps:Ĭlick Start and then Run, or open a command prompt.Įnter the following command: %windir%\syswow64\odbcad32.exe To work around this issue, you need to open the 32-bit ODBC applet. Note: The 64-bit control panel applet for managing ODBC connections will not display 32-bit ODBC drivers. Click OK to close the Advanced Settings dialog.In the Advanced Settings dialog, specify True for Enable 32-Bit Applications. ![]() Highlight the application pool for your application, then click Advanced Settings.In the Connections pane, click Application Pools. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |