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 experiencing an issue with your ASP page when trying to access a database on your new Windows 7 computer. The error message you provided is quite generic and doesn't offer much insight into the root cause of the problem. Here are some steps you can take to troubleshoot and resolve this issue: 1. Check Database Connection: - Ensure that your ASP page is correctly configured to connect to the database. Double-check the connection string in your ASP code to make sure it matches the database location and credentials. 2. Database Permissions: - Verify that the account under which IIS is running has the necessary permissions to access the database file. Ensure that the permissions are correctly set on the...
It seems like you are experiencing an issue with your ASP page when trying to access a database on your new Windows 7 computer. The error message you provided is quite generic and doesn't offer much insight into the root cause of the problem. Here are some steps you can take to troubleshoot and resolve this issue: 1. Check Database Connection: - Ensure that your ASP page is correctly configured to connect to the database. Double-check the connection string in your ASP code to make sure it matches the database location and credentials. 2. Database Permissions: - Verify that the account under which IIS is running has the necessary permissions to access the database file. Ensure that the permissions are correctly set on the database file and folder. 3. Check Database Provider: - Ensure that the appropriate database provider is installed on your new computer. For example, if you are using Microsoft Access, make sure the necessary drivers are installed. 4. Enable Detailed Error Messages: - To get more detailed error messages that can help pinpoint the issue, you can configure IIS to display detailed error messages for remote clients. This can be done in the web.config file by setting customErrors mode="Off". 5. Review Event Viewer: - Check the Windows Event Viewer for any additional error messages or warnings related to the application or database connection. 6. Test Database Connection: - Write a simple ASP page that connects to the database and retrieves some data to verify that the database connection is working correctly. 7. Debug ASP Code: - Use debugging tools or add some error handling in your ASP code to catch specific errors that might occur during database access. 8. ASP Configuration: - Ensure that ASP is enabled and configured correctly in IIS. Check that all necessary features for ASP support are installed. 9. Test Different Database: - If possible, try connecting to a different database to see if the issue is specific to the current database or a broader problem with database connectivity. By following these steps, you should be able to narrow down the issue and resolve the error you are encountering when trying to access the database from your ASP page on your new Windows 7 computer. If you need further assistance, feel free to provide additional details or error messages for more specific guidance.
 


Solution
Back
Top