Attachmate Worldwide  |   Contact Us  |   NetIQ.com
Home » Support » Solution Library

Technical Notes

Error: "Input string was not in a correct format"
Technical Note 40026
Last Reviewed 10-Jun-2004
Applies To
Verastream Host Integrator version 5.5 only
Summary

Users receive the following error when trying to run a .NET Screen-based Web Application generated by Verastream Host Integrator Web Builder on a Windows 2003 Server: "Input string was not in a correct format."

This error occurs only in some instances of Windows 2003 Server. To avoid this error, follow the steps below to modify the source code generated by Verastream Web Builder.

  1. Open the Verastream Web Builder generated .NET project in Microsoft Visual Studio .NET:
    1. Right-click the project in Web Builder and select Open in Visual Studio .NET or Open Visual Studio .NET.
    2. Open the <ProjectName>.sln file found in the <VHI install folder>\projects\<ProjectName>\solution folder.
  2. On line 168 of Controller.aspx, locate the NewCursorPosition input field definition (at the end of the line).
  3. Add an attribute to the NewCursorPosition input field called "value" and set it to zero, shown in red below. After editing, the input field definition should appear as follows:
<input id="NewCursorPosition" type="hidden" name="NewCursorPosition" value="0">
  1. Save and close the file.
  2. Run the web application to verify that the error is no longer encountered.
Related Technical Notes
40999 Verastream Host Integrator Technical Notes

Did this technical note answer your question?

Yes    No    Somewhat     Not sure yet

Additional comments about this tech note:

Need further help? For technical support, please contact Support.