Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

SL 7 SP2 PathTooLong Exception on Startup

Posted on by Microsoft Employee

I just installed SP2 thinking that it would fix a problem introduced when .net framework 3.5 was installed on my workstation. But now on startup, I get a system.io.pathtoolongexception. Any thoughts?

Thanks.

*This post is locked for comments

  • Darin Madsen Profile Picture
    Darin Madsen on at
    Re: SL 7 SP2 PathTooLong Exception on Startup

    Hi Seth

    This is Darin and I'll be helping you with this incident.

    Subject
    ========
    Getting an error when attempting to login to Dynamics SL.

    Error:
    -------
    CallStack: System.IO.PathTooLongException

    Environment
    ===========
    Dynamics SL 7.0 SP2, OS?

    ASSESSMENT
    =============
    We have seen this when a user's Application Data or Temp folder  contains a folder with a very long absolute path. Can you check your directories and see if you find a path in the C:\Documents and Settings\<user>\Local Settings\Temp\.. that is over 248 characters? You might try downloanding and install Process Monitor to see what files the system is attempting to open and it which directory. This is really a Windows bug at the root of the issue because the system is allowing a directory structure larger that the system allows. But, you might be able to work around the issue by renaming a path to a shorter name.


    Plan
    ============
    1) Determine if the system has a long directory path for the tempory or Application Data folders
    2) Try renaming to a shorter path.
    3) Use Process Monitor (download from www.sysinternal.com, this will redirect to technet site)

    Darin Madsen
    Environment and Developer Escalation Engineer
    Microsoft Dynamics SL

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans