web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Errors attempting to log in to GP Web Client

(0) ShareShare
ReportReport
Posted on by 190

Dynamics log showing error of invalid directory.  Error message below:

Log Name:      Dynamics

Source:        Microsoft.Dynamics.GP.Web.Website

Date:          3/20/2014 10:45:12 AM

Event ID:      0

Task Category: None

Level:         Error

Keywords:      Classic

User:          N/A

Computer:      SERVER INTERNAL AD FQDN

Description:

837e4f60-c476-4309-9db3-caaaedec0542:An unexpected error has occurred.  Press the Sign-in button to reconnect to the application.:external.fqdn/SessionService:System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The directory name is invalid (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:

System.ComponentModel.Win32Exception: The directory name is invalid

  at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

  at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.TryToStartProcess()

  at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.Start()

  at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCreator.CreateSession(SessionCreationContext creationContext, Uri runtimeServiceBaseAddress, SessionUserInfo sessionUserInfo)

  at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionService.CreateSession(SessionCreationContext creationProperties, Guid authenticationToken)

  at SyncInvokeCreateSession(Object , Object[] , Object[] )

  at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)

  at System.ServiceModel.Dispatcher.DispatchO...).

  at System.Web.UI.Page.HandleError(Exception e)

  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  at System.Web.UI.Page.ProcessRequest()

  at System.Web.UI.Page.ProcessRequest(HttpContext context)

  at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

Event Xml:

<Event xmlns="schemas.microsoft.com/.../event">

 <System>

   <Provider Name="Microsoft.Dynamics.GP.Web.Website" />

   <EventID Qualifiers="0">0</EventID>

   <Level>2</Level>

   <Task>0</Task>

   <Keywords>0x80000000000000</Keywords>

   <TimeCreated SystemTime="2014-03-20T17:45:12.000000000Z" />

   <EventRecordID>41</EventRecordID>

   <Channel>Dynamics</Channel>

   <Computer>SERVER INTERNAL AD FQDN</Computer>

   <Security />

 </System>

 <EventData>

   <Data>837e4f60-c476-4309-9db3-caaaedec0542:An unexpected error has occurred.  Press the Sign-in button to reconnect to the application.:external.fqdn/SessionService:System.Web.HttpUnhandledException (0x80004005): Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: The directory name is invalid (Fault Detail is equal to An ExceptionDetail, likely created by IncludeExceptionDetailInFaults=true, whose value is:

System.ComponentModel.Win32Exception: The directory name is invalid

  at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

  at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.TryToStartProcess()

  at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.Start()

  at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCreator.CreateSession(SessionCreationContext creationContext, Uri runtimeServiceBaseAddress, SessionUserInfo sessionUserInfo)

  at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionService.CreateSession(SessionCreationContext creationProperties, Guid authenticationToken)

  at SyncInvokeCreateSession(Object , Object[] , Object[] )

  at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)

  at System.ServiceModel.Dispatcher.DispatchO...).

  at System.Web.UI.Page.HandleError(Exception e)

  at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  at System.Web.UI.Page.ProcessRequest()

  at System.Web.UI.Page.ProcessRequest(HttpContext context)

  at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()

  at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)</Data>

 </EventData>

</Event>

*This post is locked for comments

I have the same question (0)
  • mrichardson Profile Picture
    190 on at

    Also seeing this error looking for files in (x86) Program files, where there is nothing......

    Log Name:      Dynamics

    Source:        Microsoft.Dynamics.GP.Web.Services.SessionService

    Date:          3/20/2014 11:16:47 AM

    Event ID:      0

    Task Category: None

    Level:         Error

    Keywords:      Classic

    User:          N/A

    Computer:      INTERNAL.FQDN

    Description:

    An error occurred while creating a session: '

    Date: 3/20/2014 11:16:47 AM

    SessionId: USERNAME_2014-3-20_11-16-46-953_SERVERNAME

    ProcessId: 0

    ProcessUsername: DOMAIN\USERNAME

    TenantName: GPWebApp

    ApplicationDirectory: C:\Program Files (x86)\Microsoft Dynamics\GP2013\

    DexInitializationFile: C:\Program Files (x86)\Microsoft Dynamics\GP2013\Data\Dex.ini

    SetFile: C:\Program Files (x86)\Microsoft Dynamics\GP2013\Dynamics.set

    Exception Details: System.ComponentModel.Win32Exception (0x80004005): The directory name is invalid

      at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

      at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.TryToStartProcess()

      at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.Start()

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCreator.CreateSession(SessionCreationContext creationContext, Uri runtimeServiceBaseAddress, SessionUserInfo sessionUserInfo)

    '.

    Event Xml:

    <Event xmlns="schemas.microsoft.com/.../event">

     <System>

       <Provider Name="Microsoft.Dynamics.GP.Web.Services.SessionService" />

       <EventID Qualifiers="0">0</EventID>

       <Level>2</Level>

       <Task>0</Task>

       <Keywords>0x80000000000000</Keywords>

       <TimeCreated SystemTime="2014-03-20T18:16:47.000000000Z" />

       <EventRecordID>44</EventRecordID>

       <Channel>Dynamics</Channel>

       <Computer>INTERNAL.FQDN</Computer>

       <Security />

     </System>

     <EventData>

       <Data>An error occurred while creating a session: '

    Date: 3/20/2014 11:16:47 AM

    SessionId: USERNAME_2014-3-20_11-16-46-953_SERVERNAME

    ProcessId: 0

    ProcessUsername: DOMAIN\USERNAME

    TenantName: GPWebApp

    ApplicationDirectory: C:\Program Files (x86)\Microsoft Dynamics\GP2013\

    DexInitializationFile: C:\Program Files (x86)\Microsoft Dynamics\GP2013\Data\Dex.ini

    SetFile: C:\Program Files (x86)\Microsoft Dynamics\GP2013\Dynamics.set

    Exception Details: System.ComponentModel.Win32Exception (0x80004005): The directory name is invalid

      at System.Diagnostics.Process.StartWithCreateProcess(ProcessStartInfo startInfo)

      at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.TryToStartProcess()

      at Microsoft.Dynamics.GP.Web.Services.Session.SessionProcess.StartableSessionProcess.Start()

      at Microsoft.Dynamics.GP.Web.Services.Session.Service.SessionCreator.CreateSession(SessionCreationContext creationContext, Uri runtimeServiceBaseAddress, SessionUserInfo sessionUserInfo)

    '.</Data>

     </EventData>

    </Event>

  • Verified answer
    mrichardson Profile Picture
    190 on at

    Reinstall of GP client seems to have solved this error.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans