Visual Studio 2005: "The Directory Name is Invalid" Error
Visual Studio 2005: "Failed to find definition" Error
When working with a Web Site project in Visual Studio 2005 you may get an error
when re-naming control ID in design mode. Error message can be one of the following:
- Failed to find definition.
- The directory name is invalid.
The error may not happen if you don't have
defined within your project.
1. Navigate to the directory
..\Documents and Settings\<%UserName%>\Local Settings\Application
2. Create a folder with the same name as the name of your project.
Alex B. Clarke is a professioinal software developer specialising in .Net, C#, Asp.Net, SQL, ADSI, CDO, and other technolgies. He writes applications that automate business processes.