Developer studio 'corruption'? - Forum - OpenEdge General - Progress Community

Developer studio 'corruption'?

 Forum

Developer studio 'corruption'?

  • assemblies.xml

    Hi,

     

    I have been trialling Developer studio(11.2) for a few weeks.  Today, I decided to change the layout and look of a datagrid in the visual designer (no code window open).  I started to make changes and out of nowhere, I got this error:

     

    “Unable to resolve type information for type Progress.Datnents. “

     

    Followed by a message that Dev studio had closed the visual designer to prevent ‘corruption’.  I restarted Dev studio and the form would still not load and the code appeared to be corrupted.  Has anyone else had this issue?  I had to go to a backup and lost some of my work – so not a disaster, but not ideal!

     

    Cheers,

     

    Paul.

     

  • Can you share the assembly.xml & logs?
     
    @Bab/Anil – it looks like an issue with TypeResolver or OTM due to missing assemblies. Can you check the logs and assemblies?
     
    From: paul.radbone@wins.co.uk [mailto:bounce-paulradbonewinscouk@community.progress.com]
    Sent: Wednesday, April 23, 2014 3:31 PM
    To: TU.OE.General@community.progress.com
    Subject: Developer studio 'corruption'?
     
    Thread created by paul.radbone@wins.co.uk

    Hi,

     

    I have been trialling Developer studio(11.2) for a few weeks.  Today, I decided to change the layout and look of a datagrid in the visual designer (no code window open).  I started to make changes and out of nowhere, I got this error:

     

    “Unable to resolve type information for type Progress.Datnents. “

     

    Followed by a message that Dev studio had closed the visual designer to prevent ‘corruption’.  I restarted Dev studio and the form would still not load and the code appeared to be corrupted.  Has anyone else had this issue?  I had to go to a backup and lost some of my work – so not a disaster, but not ideal!

     

    Cheers,

     

    Paul.

     

    Stop receiving emails on this subject.

    Flag this post as spam/abuse.

  • I've attached the assemblies.xml file to the first post.  Where are the logs located?

  • u can find the logs in the following location %WORKSPACE%\.metadata\*.log files.

  • log.txt

    Logs attached..

  • Hi Paul,

    It appears that bindingSource2  is ProBindingSource control use used. Is there any possibility that the define statement of this got changed. It should be like following.

    DEFINE PRIVATE VARIABLE bindingSource1 AS Progress.Data.BindingSource NO-UNDO.

    Assuming code generation has changed this code when you were updating. You can open form in source view. Right click on file in Project explorer and select Open With -> OpenEdge ABL Editor and see if its the same or this got changed.

    I have tried editing form with UltraGrid, UltraTree, ProBindingsource controls. Did not find any issues.

    Can you please try editing again to see if this happens in specific change. Also if possible please share the project to try with that.

    Thanks,

    Swathi.

  • Hi,

    Yes, that line had changed and it looked garbled to me.  I tried changing it back to the valid statement, but the visual editor still failed on lines of automatically generated code.

    I was actually changing the field sizes in an ultragrid when this happened.

    could a database disconnect have caused this some how?

    Paul.