Wednesday, August 11, 2010 5:51 PM
I am running Windows Server 2008R2. When I try to deploy our solution to Sharepoint, I get "The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters."
When my co-worker does it, it works fine. He is running Windows 7. Any ideas? Should I post this to the Visual Studio forum? Our workspace path is identical. We both get fresh copies from TFS. I get this error, he doesn't.
- Moved by Chakkaradeep Chandran Monday, August 16, 2010 9:33 AM (From:SharePoint 2010 - General Questions and Answers)
Wednesday, August 11, 2010 7:41 PM
Take a look at this post http://social.msdn.microsoft.com/Forums/en-US/tfsbuild/thread/1638a5f0-9321-4ff9-9ee7-6d347badb972 (from the TFS forum)
Serge Luca; MVP blog: http://sergeluca.spaces.live.com Devoteam Belgium. http://twitter.com/sergeluca
Friday, August 13, 2010 10:56 PM
I ran into this same issue on Windows 2008 R2. Interestingly I was able to resolve this by setting the managed pipleline mode to "Classic" vs. "Integrated." I suspect that delegating how some of the paths are handled to the core web server vs. ISAPI/IIS is where the issue lies but not necessarily sure how or why. It is a weird bug and a quick Bing didn't turn up anything very helpful on the www.
Hope this helps. Let me know if it does.