ASP.NET WebForms TFS API getting message "Unable to load DLL 'Microsoft.WITDataStore64.dll"

  • Thread starter Thread starter RonL93
  • Start date Start date
R

RonL93

Guest
I'm unable to access TFS API from an asp.net Web forms website. My code works in Visual Studio 2019. I Published and Deployed the website, but when I try to access the website I get

Unable to load DLL 'Microsoft.WITDataStore64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)


Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.DllNotFoundException: Unable to load DLL 'Microsoft.WITDataStore64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[DllNotFoundException: Unable to load DLL 'Microsoft.WITDataStore64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)]
Microsoft.TeamFoundation.WorkItemTracking.Client.DataStore.DataStoreNative64.CreateDatastore(IntPtr& handle) +0
Microsoft.TeamFoundation.WorkItemTracking.Client.WorkItemStore.InitializeInternal() +1148
Microsoft.TeamFoundation.Client.TfsTeamProjectCollection.InitializeTeamFoundationObject(String fullName, Object instance) +64
Microsoft.TeamFoundation.Client.TfsConnection.CreateServiceInstance(Assembly assembly, String fullName) +125
Microsoft.TeamFoundation.Client.TfsConnection.GetService(Type serviceType) +323
Microsoft.TeamFoundation.Client.TfsConnection.GetService() +51
RelMan.TFSWorkItem.GetWorkItems(String wiql) in C:\RonWebApplication7\RonWebApplication7\RonWebApplication7\TFSWorkItem.cs:19
RelMan.CoverageProgramRelease.BuildScreen() in C:\RonWebApplication7\RonWebApplication7\RonWebApplication7\CoverageProgramRelease.aspx.cs:30
System.Web.UI.Control.OnLoad(EventArgs e) +106
System.Web.UI.Control.LoadRecursive() +68
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3785


Any hep appreciated.

Ron

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.3429.0

Continue reading...
 
Back
Top