Q101. Why am I getting
Failed to create Recordset object.
A. You need to install MDAC 2.5
available from the Microsoft site.
Q102. I am getting the following error when adding or editing
a record. What does it mean?
AspGrid Insert/Update Error. Multiple-step operation generated errors. Check each status value.
A. This means that one or more fields you are
inserting/updating contain an invalid value (such as
a string for a numeric field, or an invalid date expression
for a date field). The use of client-side or server-side
data validation techniques can help avoid this run-time error.
Q103. The line Set Grid = Server.CreateObject("Persits.Grid") generates the following
error. How can I fix it?
Server object, ASP 0177 (0x800401F3)
A. Make sure the file AspGrid.dll is registered on your server.
If necessary, re-register it using the command
This error may also mean that the ProgID you are passing
to Server.CreateObject is mis-spelled. It should be "Persits.Grid".
Q104. The line Set Grid = Server.CreateObject("Persits.Grid") gives me the following
error on a Windows NT 4.0 server. What does it mean and how do I fix it?
Microsoft VBScript runtime error '800a01ad'
ActiveX component can't create object
A. It is an NTFS permission problem. Give Everyone Full Control
over the file aspgrid.dll.
Q105. The line Set Grid = Server.CreateObject("Persits.Grid") gives me the following
error on a Windows 2000/IIS5 box. How do I fix it?
Server object, ASP 0178 (0x80070005)
The call to Server.CreateObject failed while checking permissions. Access is denied to this object.
A. This is the Windows 2000/IIS5 equivalent of the error covered in Q104.
Follow the instructions given in Q104 to fix it.
Q106. The line Set Grid = Server.CreateObject("Persits.Grid") gives me the following
error. I know that the DLL is properly registered. How can I fix this problem?
Server object error 'ASP 0177 : 8002801d'
Library not registered.
A. This error usually occurs because of tight security settings in the HKEY_CLASSES_ROOT
section of the registry. To fix the error, run regedt32
and select the key
From the Security menu, select Permissions. Add Everyone to the permission
list and assign Full Control to the Everyone account. Make sure the setting
propagates to the sub-keys as well.
Q107. After registering AspGrid under MTS (Component Services)
I started getting the following error message. What should I do?
AspGrid OpenRecordset Error. Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
A. This error occurs if AspGrid runs under MTS
and is passed an external ADO Connection object via the Grid.Connection
property. Due to certain limitations of ADO Connection, passing it to an MTS component
is not allowed. Use Grid.Connect instead.
I am working with the sample MS Access database AspGrid.mdb.
A grid of records always comes up just fine, but every time
I try to modify or add a record, the following error is thrown.
How can I fix it?
AspGrid Update Error. [Microsoft][ODBC Microsoft Access Driver] Operation must use an updateable query.
A. This is a permission problem. Make sure Everyone
has Full Control over the file AspGrid.mdb located in the \Samples\db
folder of the installation.