Persits Software, Inc. Knowledge Base Articles

Failed to query for IResponse

Problem Description

When using AspUpload, AspJpeg, or AspGrid, this error is thrown:

Failed to query for IResponse.

When using AspPDF, this error is thrown:

QueryInterface for IResponse failed: (followed by a reason)


This error usually occurs because of tight security settings in the HKEY_CLASSES_ROOT section of the registry. To fix the error, run Registry Editor and select the following 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.

On Windows NT and 2000, you must run RegEdt32 to have access to registry key permissions. On Windows XP and newer, use RegEdit .