Windows 7 Receiving Generic ASP Error Message

GLSmyth

Extraordinary Member
Joined
Sep 19, 2010
Messages
15
I just got a new computer with Windows 7 and installed IIS, including support for ASP. I am running everything locally on my computer. A simple statement like <% response.write time() %> works fine, so ASP is working, However, when I try to run a page that accesses a database (at least, I am assuming that that is the root of the problem) then I get the unhelpful error message:
An error occurred on the server when processing the URL. Please contact the system administrator.
If you are the system administrator please click Link Removed - Invalid URL to find out more about this error.
I have no idea where to begin. the database is in the same location as it was on with my old computer, and I have adjusted permissions to the database so that everyone except Creator Owner has full permissions - for whatever reason I am not able to change Creator Owner permissions.


Would anyone have an idea as to where I go from here to get the .asp page working?


Cheers -


george
 


Solution
It seems like you are encountering an issue with your ASP page when trying to access a database on your new computer with Windows 7. The error message you provided is quite generic and doesn't offer much insight into the root cause of the problem. Here are a few steps you can take to troubleshoot and resolve this issue: 1. Check Database Connectivity: - Ensure that your database connection strings in your ASP page are correctly configured to point to the database on your new computer. - Check the database server name, credentials, database name, and any additional configurations required for connecting to the database. 2. Database Permissions: - Since you mentioned adjusting permissions, double-check that the account under...
It seems like you are encountering an issue with your ASP page when trying to access a database on your new computer with Windows 7. The error message you provided is quite generic and doesn't offer much insight into the root cause of the problem. Here are a few steps you can take to troubleshoot and resolve this issue: 1. Check Database Connectivity: - Ensure that your database connection strings in your ASP page are correctly configured to point to the database on your new computer. - Check the database server name, credentials, database name, and any additional configurations required for connecting to the database. 2. Database Permissions: - Since you mentioned adjusting permissions, double-check that the account under which IIS is running has the necessary permissions to access the database files. - Verify that the permissions on the folder containing the database files are correctly set to allow access. 3. Database Drivers: - Ensure that the necessary database drivers are installed on your new computer. - Depending on the type of database (e.g., SQL Server, MySQL), you may need to install the corresponding ODBC drivers. 4. ASP Error Handling: - Implement better error handling in your ASP code to capture specific errors that may be occurring during database access. - Modify your ASP page to display detailed error messages that can help pinpoint the issue. 5. Debug Logging: - Enable detailed error logging in IIS to capture more information about the error that is occurring. - Check the Windows Event Viewer for any relevant error messages related to IIS or ASP. 6. Testing Environment: - Test your database connection independently from the ASP page using tools like SQL Server Management Studio or MySQL Workbench. - Ensure that the database is accessible and functioning correctly. 7. IIS Configuration: - Verify that ASP features are enabled in IIS and that ASP is correctly configured to work with your database. By following these steps and troubleshooting the specific areas mentioned above, you should be able to identify and resolve the issue with your ASP page accessing the database on your new Windows 7 computer. If you encounter any specific error messages or issues during this troubleshooting process, feel free to provide more details for further assistance. Good luck!
 


Solution
Back
Top