Error 5: Invalid Procedure Call or Argument

Symptoms

"Error 5: Invalid procedure call or argument."This error occurs when generating a report that is set to publish to the WebView/WebPort.

Cause

Possible causes include: The repository.xml file contains the incorrect Location path. The folder the report is set to publish into does not exist.The repository.xml file has the incorrect pathing in it. This file should have Universal Naming Convention instead of drive mapping. For example, <Location>\\\\Discovery\\FRxWeb6055\\data</Location> is the correct pathing instead of <Location>D:\\FRxWeb6055\\data</Location> where D is the drive mapped on the Discovery server.

Resolution

ResolutionThe repository.xml file contains the incorrect Location pathImportant Note: Incorrect modifications to the repository.xml file can cause errors within the FRx WebView/WebPort application. Be sure to backup the repository.xml file before making changes.Using Windows Explorer, browse to the WebView/WebPort Data directory. Make a copy of the repository.xml file. Open the repository.xml file in Notepad. Change the path within the <Location></Location> tags to the correct path (for example, \\\\server\\FRxWebPort\\data). This path MUST be a UNC path, and all tags within the file must be left in place. No other changes should be made to this file. Save and close the file. Generate the report again - the error should no longer occur.The folder the report is set to publish into does not existOpen FRx Web Administrator (6.0)/FRx Web Portal Administrator (6.5). If the folder selected for the report already exists, skip to step 5. Otherwise, the folder must be created. Select the Repository or the folder that should contain the new folder, and on the Edit menu, click New (Add in FRx 6.0) and then select Folder. The Add New Folder window appears. Type a folder name in the Folder Name box. Add the users that will be able to access this folder, and then click OK. Skip to step 11. If the folder selected for the report already exists, browse to the WebView/WebPort Data directory using Windows Explorer. Look for a folder inside of the Data directory with the same name as the one in the Web Administrator. If it exists, verify that the user generating the report has permissions to the folder. If it does not exist or the problem persists, the folder will need to be re-created (step 7). If the folder does not exist, switch back to the Web Administrator. Click on the problematic folder, then press the Del key on the keyboard. Click Yes when asked if you're sure you wish to delete the folder. Re-create the folder. Select the Repository or the folder that should contain the new folder, then on the Edit menu,select New (Add in FRx 6.0) and choose Folder. The Add New Folder window appears. Type a folder name in the Folder Name box. Add the users that will be able to access this folder, andthen click OK. Generate the report again - the error should no longer occur.

References

Eigenschappen

Artikel-id: 964601 - Laatst bijgewerkt: 3 feb. 2009 - Revisie: 1

Feedback