Welcome to one of the most active flamenco sites on the Internet. Guests can read most posts but if you want to participate click here to register.
This site is dedicated to the memory of Paco de Lucía, Ron Mitchell, Guy Williams, Linda Elvira, Philip John Lee, Craig Eros, Ben Woods, David Serva and Tom Blackshear who went ahead of us.
We receive 12,200 visitors a month from 200 countries and 1.7 million page impressions a year. To advertise on this site please contact us.
Here is chatgpt's answer to the issue, i dont knowif it helps
The error you're seeing is a Microsoft VBScript runtime error `'800a0006'`, which indicates an **overflow** issue with the `Cint` function in VBScript. Here's an explanation of the specific elements involved in this error:
### **Understanding the Error:**
1. **Error Code: '800a0006' (Overflow):** - This error occurs when the value passed to a function (in this case, `Cint`) exceeds the limits that the function can handle. In VBScript, `Cint` is used to convert a value to an integer.
2. **Function: `Cint`:** - The `Cint` function converts a given value to a 16-bit integer. The range for a 16-bit integer is **-32,768 to 32,767**. - If the value being passed to `Cint` is outside this range, the system cannot convert it and raises an overflow error.
3. **File: `/session.asp`, line 135:** - This indicates the error occurs in the file `session.asp` on line 135. The code on that line is likely using `Cint` to convert a value (such as a session variable or user input) to an integer, but the value exceeds the limits of the `Cint` function.
### **Possible Causes:**
- **Large Numeric Value:** A value larger than 32,767 (or smaller than -32,768) is being passed to `Cint`. This might be coming from user input, a session variable, or a database field.
- **Invalid Input:** If non-numeric or extremely large values (e.g., alphanumeric strings or high numeric values) are passed to `Cint`, this will trigger an overflow error.
### **Solution:**
- **Replace `Cint` with `CLng`:** If the value being converted can be larger than the `Cint` range, consider using `CLng`, which converts values to a **32-bit integer** with a much larger range (-2,147,483,648 to 2,147,483,647).
Example: ```vbscript ' Original code causing the error: intValue = Cint(possibleLargeValue)
' Fixed code using CLng to prevent overflow: intValue = CLng(possibleLargeValue) ```
- **Validate Input:** Ensure that the value being passed to `Cint` is within the acceptable range. Use input validation or error handling to catch cases where the input is outside of the `Cint` range.
### Summary:
The error is due to an overflow when trying to convert a value using `Cint` in `session.asp` at line 135. This can be fixed by using `CLng` or ensuring the value being converted is within the acceptable range for `Cint`.