While trying to create a new SSIS project with default values for Project Name, Location and Solution Name, I experienced the following limitation;
The length of the full path for the solution, project or item you are creating exceeds the maximum path length allowed by the system. You must reduce the length of the name or the location.
This is not something new but I did not experienced this for a long time. What is the reason for this?
This is because of the limitation with the OS. The limitation is set for 260 characters for the path, hence when exceeds, Visual Studio shows this message without letting us to create the project. There are two ways I tried to overcome this issue;
- Of course, the first way is, select a path that can be referred with less number of characters.
- Second one is, creating the project without creating the solution. For that, we need to un-check the Create directory for solution Checkbox and then create the project. Once created, we can open it and add it a solution.
This checking is based on following calculation;
Path length + 1 (separator) +
Solution name length + 1 (separator) +
Project name length + 1 (separator) +
Project name length +
80 (Reserved space)
You can read more this calculation at: https://blogs.msdn.microsoft.com/saraford/2005/12/15/how-a-project-max-path-and-solution-name-length-is-calculated/
No comments:
Post a Comment