I've accidently installed a package twice. This has cause the uninstall not to work. I was thinking if i went into the db and rename one of the packages i could then remove it but cant find this field in the db. Any suggestions to resolve this?
I did this a while back by accident and from what I remember, all I had to do was delete the duplicate entries from the web.config and everything was working again.. it'll probably be dependent on the package though?
You can edit the XML to manually remove the duplicate entries.
Are you getting any errors when you try to install? (Since I wrote the installer/uninstaller for uComponents - would like to know if there is a bug here).
leaving just ucomponent installed. This remaining one didn't work. So i unstalled it and reinstalled and works well. So i think install/uninstall is working well. Maybe a lookup for duplicates might be a handy feature.
Duplicate packages
I've accidently installed a package twice. This has cause the uninstall not to work. I was thinking if i went into the db and rename one of the packages i could then remove it but cant find this field in the db. Any suggestions to resolve this?
I did this a while back by accident and from what I remember, all I had to do was delete the duplicate entries from the web.config and everything was working again.. it'll probably be dependent on the package though?
hmm, i can't see any reference in my web.config. Are the names stored in the db.
Not sure - I guess it depends on the package. Which one was it out of interest?
uComponents
Just had a look in the package file and it seems you may need to check your bin folder for a duplicate 'uComponents.Core.dll'.
Data about the installed packages is stored in an XML config file, which can be found here:
You can edit the XML to manually remove the duplicate entries.
Are you getting any errors when you try to install? (Since I wrote the installer/uninstaller for uComponents - would like to know if there is a bug here).
Cheers, Lee.
thanks lee. I remove the package from
\App_Data\packages\installed\installedPackages.config
leaving just ucomponent installed. This remaining one didn't work. So i unstalled it and reinstalled and works well. So i think install/uninstall is working well. Maybe a lookup for duplicates might be a handy feature.
thanks again.
is working on a reply...