SPONSORS:






User Tag List

Results 1 to 2 of 2
  1. #1
    Junior Member
    Join Date
    Aug 2001
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Field Length Error?

    I am using SilkTest 5.0.3 on a VB 6 application and I'm using a SQL Server 7 database to hold the test data. I had some fields that were set to a max length of 100 characters and I got an error when I tried to enter a 108 character string. I figured that I just needed to lengthen my fields in the database and it would be fixed, it hasn't worked.

    It seems like SilkTest is holding on to the old data definition on the field. When I enter 99 characters and run the script, it runs fine, 101 fails. Entering data directly into the SQL Server now allows the 250 character limit that I set.

    The universal fix-all of shutting everything down and restarting hasn't helped. The connection string to the database looks like this:
    "DSN=TestData;SRVR=ServerName;UID=UserID;PWD=Passw ord"

    Any ideas would be appreciated, thanks.

    ------------------

  2. #2
    Junior Member
    Join Date
    Aug 2001
    Posts
    11
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Field Length Error?

    I deleted and recreated the ODBC datasource to the SQL Server database and the problem went away. Maybe it had gotten corrupted, but it works now.

    ------------------

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

vBulletin Optimisation provided by vB Optimise v2.6.0 Beta 4 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
User Alert System provided by Advanced User Tagging v3.0.9 (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Questions / Answers Form provided by vBAnswers (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
vBNominatevBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Feedback Buttons provided by Advanced Post Thanks / Like (Pro) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
Username Changing provided by Username Change (Free) - vBulletin Mods & Addons Copyright © 2016 DragonByte Technologies Ltd.
BetaSoft Inc.
Digital Point modules: Sphinx-based search
All times are GMT -8. The time now is 07:31 AM.

Copyright BetaSoft Inc.