Persits Software, Inc. Web Site
Main Menu:  Home |  Manual |  Object Reference |  FAQ |  Download & Buy |  Clients |  Live Demos |  Contact
 Navigator:  Home |  Frequently Asked Questions

  Frequently Asked Questions
General Questions
For general functionality-related questions, see the How-To Questions section of the manual.
Common Errors

Q101. Why am I getting the error

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?

Persits.Grid.1 (0x800A0025)
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)
Invalid ProgID.

A. Make sure the file AspGrid.dll is registered on your server. If necessary, re-register it using the command

regsvr32 c:\path\aspgrid.dll

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'
Server.CreateObject Failed
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

HKEY_CLASSES_ROOT\TypeLib\{05938025-CD62-4019-8BE6-7EE5311D5285}.

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?

Persits.Grid.1 (0x800A000C)
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.


Q108. 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?

Persits.Grid.1 (0x800A0024)
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.


Search AspGrid.com

Other Products
AspUpload
AspJpeg
AspEmail
AspEncrypt
AspPDF
AspPDF.NET
AspUser
  This site is owned and maintained by Persits Software, Inc. Copyright © 2000 - 2010. All Rights Reserved.