Just found the answer to my question for some reason i had the site folder in another folder not sure why i did that - silly me
Hope you all have a lovely new year!
Reference message: Error accessing file "filepath/filename.dwt": file not found (error code 2)
Another reason for file not found (error code 2) is trying to use a templated page instance as a template master.
Problem tempalte file (.dwt) tags are <!-- InstanceBegin... Template file tags should be: <!-- TemplateBegin...
When trying to apply template file with "<!-- InstanceBegin... " tags, Dreamweaver (CS6) issues the above error message in a pop-up window.
I would like further help with the issue Guy McMickle identified.
When I update links to my two template files I receive the above Error Code 2 message four times. There are 22 page files based on these templates.
The <!-- InstanceBegin template... code does not exist in either of the template files. I does, however, show up in every one of the 21 files that were created from one of the two templates. In these files it shows up in uneditable header code.
Why does the error code only show up four times? If the instanceBegin code is only generated when a file is created based on a template, how can it be avoided or corrected?
This is a very old thread begun in Jan 2012. I doubt many people will pay attention to it. I suggest you start a new discussion re: your template error. And please include the following details in your post:
- Which OS?
- Which version & build # of DW?
- Url to your Template.dwt
- Url to a child page made from that Template.