Link to home
Start Free TrialLog in
Avatar of johnhardy
johnhardyFlag for United Kingdom of Great Britain and Northern Ireland

asked on

Site Definitions

I have one particular web site definition which shows two copies in place of one.

I have one directory containing all the files but when I look in manage sites there are always two definitions.

I have deleted one copy several times but the extra copy always returns.

It seems I can work on both copies as they refer to the same directory. It's just a puzzle why two always appear in the list
Avatar of Havin_it
Havin_it

Hi,

It may be that something in the Registry is screwing with what the app displays.  Try opening up regedit (Start menu > Run > Regedit) and take a look at the following keys:

HKEY_CURRENT_USER\Software\Macromedia\Dreamweaver 6\Sites
HKEY_CURRENT_USER\Software\Macromedia\Dreamweaver 6\Sites_Backup

All your site definitions are configured in these keys.  If the duplicates exist in here, try deleting one of them (don't do this while DW is running!).  Make your changes in both the above keys if they match, and back them up before you do anything (right-click the key in the tree-view, and select 'export...')
Avatar of johnhardy

ASKER

Thanks so much

In HKEY_CURRENT_USER\Software\Macromedia\Dreamweaver 6\Sites numbers go up to -Site29

In HKEY_CURRENT_USER\Software\Macromedia\Dreamweaver 6\Sites_Backup numbers go up to -Site30

Should I delete Site30?

Regards

John




I wouldn't, I have an extra one in Sites_Backup too (if you expand it, you'll probably find it's empty). It probably has a purpose (possibly as a template for new site definitions).

First, does the number of keys in 'Sites' match the number of sites you have, or is there one more?  If the latter, you should look through them to find which one is the dupe.

Sidenote:  if the rogue key is an intermediate number (for example, Site3 out of 5 sites) DW may get confused if it's missing.  It won't be expecting gaps in the numbering of sites, so there might be a confusion there (if you just delete Site3 then you're left with Site0,Site1,Site2,<GAP>,Site4).  Always tread carefully when modding the registry.

Perhaps instead try re-defining one of the dupes in Dreamweaver; Set the site-root to a different folder, change or remove any remote or testing-server info, etc.  Then close and re-open DW and see whether your changes have taken.  If so, have another shot at deleting it.
Thats interesting, when I come to start counting the sites I notice there are other sites duplicated one, three times!

However the site which I am interested is not listed in Sites or in Sites_Backup

Not there, you say? Rather odd...

Have you by some chance been using DW under different user-accounts?  If so, you might want to look at this key from each different login.  [Although that still wouldn't quite explain why other users' sites are showing up in your login...]

Another approach:  Try exporting all the site defs as .STE files (Site > Export...), then delete all sites, and re-import them.
Thanks only I use this machine so theres no other user.

I had three definitions for another site so I have deleted them all, recreated from an ste. It will be interesting to see if they come back. If that is succesfull then I will do the others.

Should the .ste files be kept anywhere special please?
ASKER CERTIFIED SOLUTION
Avatar of Havin_it
Havin_it

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial