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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

GP Web Client The network path was not found

(0) ShareShare
ReportReport
Posted on by 31

Hello,

My first time setting up Web Client, and I am stuck on the "Verify the web client installation" step with:

System.Runtime.InteropServices.COMException (0x80070035): The network path was not found

   at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)

 - and a whole lot more I can paste in if needed.

This is a single machine install.  I've run repair a couple of times. I checked services and 5 are running, rebooted the machine and manually started 2 of the services which weren't running even though they are "automatic".

Looks like we can turn on logging but I do not have "GP Web Client" in C:\Program Files\Microsoft Dynamics folder. I do have C:\Program Files\Microsoft Dynamics\GP Web Components\GPService with a TenantConfiguration.xml file that I added two lines from the Web Components Install-Admin Guide.pdf, to the <Tenant> node:

<RuntimeLogEnabled>true</RuntimeLogEnabled>
<CustomRuntimeSettings>ScriptLogEnabled=true|TimingLogEnabled=true|SqlLogEnabled=true</CustomRuntimeSettings>

Tried verifying again, but C:\ProgramData\Microsoft Dynamics\GPSessions\Logs is empty.

I haven't done much user or group setup so could have done something wrong there; I created a user in admin group on this server and used that for everything.  This is not a production environment, so if you have any tips on users needed for web client setup - I'd like to hear them!

Also, any thoughts you have on the network path that is not found?

Thank you,

Emily

Categories:
I have the same question (0)
  • Suggested answer
    Derek Albaugh Profile Picture
    on at

    When exactly are you seeing this 'The network path was not found' message? Installing Web Client, attempting to access Web Client or when?

    We may need a support case as Web Client can get a little more complex than we're able to troubleshoot via forums such as this.

    Thanks

  • EmilyMH Profile Picture
    31 on at

    System.Runtime.InteropServices.COMException (0x80070035): The network path was not found.

      at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail)

      at System.DirectoryServices.DirectoryEntry.Bind()

      at System.DirectoryServices.DirectoryEntry.get_AdsObject()

      at System.DirectoryServices.PropertyValueCollection.PopulateList()

      at System.DirectoryServices.PropertyValueCollection..ctor(DirectoryEntry entry, String propertyName)

      at System.DirectoryServices.PropertyCollection.get_Item(String propertyName)

      at System.DirectoryServices.AccountManagement.SAMStoreCtx.ResolveCrossStoreRefToPrincipal(Object o)

      at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNextForeign()

      at System.DirectoryServices.AccountManagement.SAMMembersSet.MoveNext()

      at System.DirectoryServices.AccountManagement.FindResultEnumerator`1.MoveNext()

      at System.Linq.Enumerable.Contains[TSource](IEnumerable`1 source, TSource value, IEqualityComparer`1 comparer)

      at Microsoft.Dynamics.GP.Web.Foundation.DirectoryServices.PrincipalManager.IsPrincipalInPrincipal(Principal principal, Principal comparePrincipal)

      at System.Linq.Enumerable.Any[TSource](IEnumerable`1 source, Func`2 predicate)

      at Microsoft.Dynamics.GP.Web.Foundation.DirectoryServices.PrincipalManager.IsIdentityInPrincipalCollection(String userName, IEnumerable`1 principals)

      at Microsoft.Dynamics.GP.Web.Foundation.DirectoryServices.PrincipalManager.IsUserMemberOf(String userName, String principalCollectionKey)

      at Microsoft.Dynamics.GP.Web.Website.Utility.WindowsAuthenticationHandler.ValidateUser(Boolean authenticateOnly)

      at System.Web.Mvc.AuthorizeAttribute.OnAuthorization(AuthorizationContext filterContext)

      at System.Web.Mvc.ControllerActionInvoker.InvokeAuthorizationFilters(ControllerContext controllerContext, IList`1 filters, ActionDescriptor actionDescriptor)

      at System.Web.Mvc.Async.AsyncControllerActionInvoker.<>c__DisplayClass21.<BeginInvokeAction>b__19(AsyncCallback asyncCallback, Object asyncState)

      at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout)

      at System.Web.Mvc.Async.AsyncControllerActionInvoker.BeginInvokeAction(ControllerContext controllerContext, String actionName, AsyncCallback callback, Object state)

      at System.Web.Mvc.Controller.<BeginExecuteCore>b__1c(AsyncCallback asyncCallback, Object asyncState, ExecuteCoreState innerState)

      at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState)

      at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout)

      at System.Web.Mvc.Controller.BeginExecuteCore(AsyncCallback callback, Object state)

      at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout)

      at System.Web.Mvc.Controller.BeginExecute(RequestContext requestContext, AsyncCallback callback, Object state)

      at System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__4(AsyncCallback asyncCallback, Object asyncState, ProcessRequestState innerState)

      at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncVoid`1.CallBeginDelegate(AsyncCallback callback, Object callbackState)

      at System.Web.Mvc.Async.AsyncResultWrapper.WrappedAsyncResultBase`1.Begin(AsyncCallback callback, Object state, Int32 timeout)

      at System.Web.Mvc.MvcHandler.BeginProcessRequest(HttpContextBase httpContext, AsyncCallback callback, Object state)

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

      at System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step)

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

  • Suggested answer
    EmilyMH Profile Picture
    31 on at

    Hi Derek,

    "Verify the web client installation" says to use IE but I'm using Edge with ServerName:PortNumber/GP - modified of course with my server name and all that.  I get the Account/LogOn page and sign in with my WebClientUser (private computer) and get An Unexpected Error has occurred and the Event Log gets updated with the message in my post description.

    Last night my user was not part of the Group.  I just added it and am not getting the Unexpected Error on the network path any more!

    Got a little farther - it said please wait while we set things up or something like that.

    Now I'm getting "a problem occurred creating a session".  Probably time for a reboot and I'll bing the new message and search in this group to see what I find.

    Marking this as answer since the Group was the problem.

    TY

  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    28,058 Moderator on at

    Emily,

    one thing I learned with the GP web client deployment is that it doesn't like to run without the SSL secured certificate.. plus, it only works well with IE 11, not so much with other browsers, including Edge which is chromium based. I've always got the most success with IE 11...

    Also, when login into the web browser with your AD Windows Account, make sure the GP account is paired with the corresponding Windows account in User setup.. otherwise GP doesn't know who to login..

    Usually when something doesn't work right the first time, it's best to scrap everything and restart from scratch, including deleting the SQL database. You're going to waste more time by trying to fix or troubleshoot than restarting the whole setup. That's my personal experience of course..

  • Suggested answer
    Derek Albaugh Profile Picture
    on at

    A lot of different things going on here......

    If you're attempting to login to Web Client after getting it installed successfully and it hangs on 'problem creating a session', look in the Event Viewer, specifically the 'Dynamics' log, as that is where Web Client will write all of its error message information and see what that shows.

    Depending on what it shows, would dictate our troubleshooting........

    We frequently see issues with user sessions getting created when the certificate is applied onto the Session Central Service and Session Service (both state as optional), which can even occur on a single-server install of Web Client.

    As for the browser side, which this error wouldn't usually be a part of... for Chrome and Edge, while IE has its own Internet Options, both Chrome and Edge use Internet Options through Control Panel.

    What I've found that worked for me, is the following:

    Go into Control Panel > Internet Options on the machine I’m trying to access Web Client from, on the ‘General’ tab, under ‘Browsing History’, click on the ‘Settings’ button and verify that ‘Every time I visit the webpage’ is marked. You can also delete the temporary files while there.

    Still under Internet Options, under the ‘Security’ tab, under ‘Trusted Sites’ > ‘Sites’, confirm your host name for the certificate being used with Web Client is added as a Trusted Site, i.e. servrename.contoso.local, for example. If it isn’t, add it here.

    Then, still in the ‘Security’ tab, click on the ‘Custom level…’ button and at the bottom, verify that ‘Automatic logon with current user name and password’ is marked.

    That is all I did to get Web Client working on both Firefox and Chrome. The same steps can be done for IE in its own Internet Options. I haven't done any testing with Firefox or other browsers, at least not yet.

    If you make any changes, click Apply and then OK, then close and re-launch any of the browsers you have open before testing Web Client again.

    Thanks

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans