SPONSORS:






User Tag List

Results 1 to 5 of 5

Thread: File open error

  1. #1
    Senior Member
    Join Date
    Jul 2001
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    File open error

    Hi All,

    I randomly come across the following error message:

    *** Error: Unable to open file '\\Silktest\Drive C\SilkTest\Researcher\Reports\ResearchListings\RRe portsGoMenuBarContents.txt' -- File open error

    It is using SYS_VerifyText when this error occurs. The painful issue is that is dosen't always occur.

    Can anyone help?

    ------------------
    Who Tests The Tester...
    Who Tests The Tester...

  2. #2
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: File open error

    <BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by tsika:


    I randomly come across the following error message:

    *** Error: Unable to open file '\\Silktest\Drive C\SilkTest\Researcher\Reports\ResearchListings\RRe portsGoMenuBarContents.txt' -- File open error

    It is using SYS_VerifyText when this error occurs. The painful issue is that is dosen't always occur.
    <HR></BLOCKQUOTE>

    Unfortunately random problems can be fixed....randomly.

    We probably need to see some example code to deduce the problem further.

    1. Was this file created just prior to re-opening it for input resulting in a possible timing issue?

    2. Does any other task attempt to use this same file at the same time?

    3. Is the problem limited to this file only?

    4. Does this file contain especially long (&gt;30k) strings or records?

    To help locate the core problem try making the problem worse by isolating the critical code sections and pounding on it in a loop.


    John


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

  3. #3
    Senior Member
    Join Date
    Jul 2001
    Posts
    147
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: File open error

    To make it easier this is what actually happens.

    I have 2 PC's running at the same time, the Controller and Agent.

    All text files are created on the Controller PC, so when I'm running a test case on the Agent PC, it creates, opens, and compares the file on the Controller PC. This is where I get the error - randomly. However, no 2 test cases are using the same file at the same time.

    Not sure if it is a timing issue or if I need to change some settings.

    Hope this explains a bit more.

    ------------------
    Who Tests The Tester...
    Who Tests The Tester...

  4. #4
    Senior Member
    Join Date
    Feb 2000
    Posts
    1,497
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: File open error

    Do you have disk sharing enabled on the Controller PC so that the Agent PC has direct access?


    John




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

  5. #5
    Senior Member
    Join Date
    Apr 2001
    Location
    San Diego,CA,USA
    Posts
    108
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: File open error

    In my experience this type of error will occur when the files are nested too deep in the tree, try reducing the nesting to see if it works

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

 

 

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 04:19 AM.

Copyright BetaSoft Inc.