Page 1 of 2 12 LastLast
Results 1 to 10 of 16

Thread: Compling error

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Feb 2009
    Posts
    2,165

    Default Compling error

    I keep getting this error out of the blue many compile, no problem then bam.



    Code:
    Stopping web application: DAPCON
    Generating .wso files for web application: DAPCON
    - C:\TUFware\Development\WindowsApplications\DAPCON\AppHtml\WebServiceDispatcher.wso
    ----Compiling WebApp.src----
    - Compiling Program: C:\TUFware\Development\WindowsApplications\DAPCON\AppSrc\WebApp.src
    - LINK ERROR: UNABLE TO OPEN OUTPUT FILE C:\TUFware\Development\WindowsApplications\DAPCON\Programs\WebApp.exe, FILE MAY BE IN USE OR READ-ONLY
    - Summary
    - Memory Available: 2147483646
    - Total Warnings : 0
    - Total Errors   : 1
    - Total Symbols  : 2
    - Total Resources: 0
    - Total Commands : 0
    - Total Windows  : 0
    - Total Pages    : 0
    - Static Data    : 0
    - Message area   : 0
    - Total Blocks   : 3
    - 1 ERRORS HAVE BEEN FOUND.
    ----Compile Finished (With Errors!)----
    ----Compiler Error Summary----
    - LINK ERROR: UNABLE TO OPEN OUTPUT FILE C:\TUFware\Development\WindowsApplications\DAPCON\Programs\WebApp.exe, FILE MAY BE IN USE OR READ-ONLY

    I have to reboot, there is no rhyme nor reason to when it happens

  2. #2
    Join Date
    Feb 2009
    Location
    Hengelo (NL)
    Posts
    1,891

    Default Re: Compling error

    I've seen this quite a bunch. Basically it means the webapp.exe is very busy with something and cannot be stopped, therefor the compiler cannot create a new exe. Most likely it is something in your program, but it can be hard to find out what it is. Initilising of a webview, and/or a find using the wrong index, infinitive loop. Stuff like that.

    Until you have find the cause you could use the command: [taskkill /F /IM webapp.exe]. That will close them all and you do not have to reboot every time it happens. Warning: this will kill all (!!!!) webapp.exe for all versions of dataflex and all projects.

  3. #3
    Join Date
    Feb 2009
    Posts
    2,165

    Default Re: Compling error

    Not sure it is the app, simple webapp one view.

  4. #4
    Join Date
    Feb 2009
    Location
    Peoria, IL
    Posts
    5,491

    Default Re: Compling error

    When you are developing you can disable the web application from the project properties menu option. It will still run under the debugger. I had this a lot and found this little trick.
    Chuck Atkinson

    "No matter how confounding the case, Bob Worsley always finds the quaesitum."

  5. #5
    Join Date
    Feb 2009
    Posts
    2,165

    Default Re: Compling error

    Chuck

    That option is checked, always has been used by me since it was introduced.
    It is something else with 19 causing this

  6. #6
    Join Date
    Mar 2009
    Location
    Edmonton Canada
    Posts
    933

    Default Re: Compling error

    Hi Chuck
    Just wanted to say thanks for the reply.
    I had the same situation, tried your solution and it worked nicely.
    MUCH better than restarting the service.

  7. #7
    Join Date
    Feb 2009
    Location
    Hengelo (NL)
    Posts
    1,891

    Default Re: Compling error

    I've also seen that sometimes the studio seems to block the closing of datflex programs that do not seem related. (Not startet from studio etc.) Naybe that is related.

    BTW, not new to 19. Still using 18.2 for almost all my projects.

  8. #8
    Join Date
    Feb 2009
    Location
    The Netherlands
    Posts
    4,674

    Default Re: Compling error

    I've seen this error a couple of times when a webapp was registered under a different name that the studio thinks it is. Check the web application name displayed on the dashboard and see if it exactly matches the name in the WebApp Administrator. Also make sure that the webapp isn't registered twice..

  9. #9
    Join Date
    Feb 2009
    Posts
    2,165

    Default Re: Compling error

    This is still happening RC 2 and a new workspace
    I see no pattern that is causing this, really frustrating

  10. #10
    Join Date
    Feb 2009
    Posts
    2,165

    Default Re: Compling error

    Is anyone else seeing this behaviour.?

    No Matter what webapp workspace I am in this eventually happens.

Page 1 of 2 12 LastLast

Posting Permissions

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