10.5.2 error loading project - Advanced Installer Community
FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

10.5.2 error loading project

I had an error while i was moving some of my folders around in my applictaion, and now my project wont load anymore

"A row with this key [APPDIR\AiDPSApps\Aperta~1] was already registered in this table" appears when i start up

Have i lost the last couple of hours work? anyway to recover it?
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: 10.5.2 error loading project

Hi,
Have i lost the last couple of hours work? anyway to recover it?
No, your work is not lost. I opened the .AIP file you sent to support at advancedinstaller dot com in a text editor and I found the following rows that cause the problem:

Code: Select all

    <ROW Directory="ApertaDCB1_1_Dir" Directory_Parent="AiDPSApps_Dir" DefaultDir="Aperta~1|ApertaDCB"/>
    <ROW Directory="ApertaDCB1_Dir" Directory_Parent="AiDPSApps_Dir" DefaultDir="Aperta~1|ApertaBalancer"/>
So, in the first of them I replaced "Aperta~1" with "Aperta~2" and then the project opened correctly.

Let us know if this helped.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

Re: 10.5.2 error loading project

Thanks Eusebiu i can get into my project now

The problem was something that originated entirely by using AI, so you might want to try and play around with it (essentially i was reorganising a couple of sync'd dirs at the appdir level into into a new subdirectory)
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: 10.5.2 error loading project

You're welcome. I'm glad you got this working.

We'll investigate the problem and try to find its source. Can you give us a step by step test case scenario that we can try to reproduce it?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
FergusMurray
Posts: 150
Joined: Thu Sep 30, 2010 10:44 am

Re: 10.5.2 error loading project

Not sure i can remember but it went something like this

I have to deploy a number web applications with a standard folder structure and source path and filtered list e.g.
ApertaDCB
ApertaDCB\bin
ApertaDCB\css
ApertaDCB\images
ApertaDCB\javascript
and set the sync them

so i set up the 1st one in my APPDIR\ApertaDCB
I then created an IIS virtual directory pointing to APPDIR\ApertaDCB

then i decided to change the deploymemt (folder) point for these "new" webapps so they would be grouped underneath a separate folder in "APPDIR\AiDPSApps\"
tried move the folder from APPDIR\ApertaDCB to APPDIR\AiDPSApps\ApertaDCB but AI prevented me because it was linked to an IIS VDir
i then copied the ApertaDCB folder and pasted it into APPDIR\AiDPSApps\ renamed the folder (to ApertaBalancer) and edited the sync locations to ApertaBalancer source folder
I then changed the IIS vdir setting for ApertaDCB to point to ApertaBalancer
I then tried to drag the ApertaDCB folder into APPDIR\AiDPSApps\
What seemed to happen then, was i was left with a ApertaDCB folder in the main APPDIR and also had it in APPDIR\AiDPSApps\

I think that was when i started getting error messages, so i exited out of AI and when i came back in i got the error about the multiple paths
[APPDIR\AiDPSApps\Aperta~1]
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: 10.5.2 error loading project

Hi,

Thank you very much for the details. We will try to reproduce the problem and get back to you with a conclusive answer.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”