TDS build setting test Failed

Hi Team,

 

When i am trying to test tds properties build tab it give me error at"Test Connection to Sitecore"

saying "Test Failed : Please check Output Window for more details".

 

Refer below screenshot.

  • Hi,

    Can you share the log from the Output window please?

    Thanks
  • In reply to Nilesh Thakkar:

    Hi Nilesh,

    If he deletes the _DEV, he needs to rebuild his solution first, then try run the test again else, he will have an error on the Installed Connector checked and Access Guid set or on the Verify that the Access Guid is correct and update if necessary.

    Thanks

  • In reply to Hishaam Namooya:

    Yeah, that's what I am asking to try.

    Steps:

    1) First delete "_DEV"
    2) Select "Install Sitecore Connector" it will create new Guid.
    3) Test it again by clicking "Test" button
  • In reply to Nilesh Thakkar:

    Hi Nilesh,


    I have followed steps you have told.. but issue still persists


    Thanks
    Ashish
  • In reply to Hishaam Namooya:

    HI Hishaam,

    In Output Window its showing build data which was generated while builidng solution( Please find attached screenshot)

  • Could you share your TDS Congifuration (right-click on TDS project and Build tab)? Thanks

    Here you can see some guides:
    hedgehogdevelopment.github.io/.../chapter2.html
    hedgehogdevelopment.github.io/.../chapter4.html
  • In reply to Santiago Morla:

    Hi Santigo

    below is screenshot for TDS configuration.

     

     

    Thanks,

    Ashish

  • In reply to Hishaam Namooya:

    Hi Hishaam,

    below is Log from output window

    Connection Test Start: 2016-08-25 03:54:20
    Connection Test Pass: Content downloaded from bsi.orlandohealth.com/sitecore
    Connection Test Pass: TDS connection test successful
    Connection Test Message: Connector version local 5.5.0.2 and msbuild 5.5.0.14
    Connection Test Pass: MSBuild version correct.
    Connection Test Pass: Sitecore.Kernel.dll and Web.config found beneath C:\Projects\OH Site\Website
    InstallConnector target being executed from C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.targets.
    Connector assembly location: C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\bin\HedgehogDevelopment.SitecoreProject.Service.dll
    Connector version info: 5.5.0.14
    Tasks assembly location: C:\Program Files (x86)\MSBuild\HedgehogDevelopment\SitecoreProject\v9.0\HedgehogDevelopment.SitecoreProject.Tasks.dll
    Tasks version info: 5.5.0.14
    Tasks assembly location: C:\Program Files (x86)\Hedgehog Development\Team Development for Sitecore (VS2013)\HedgehogDevelopment.SitecoreProject.VSIP2013.dll
    TDS version info: 5.5.0.2
    Connection Test Pass: TDS service files are correctly installed.
    Connection Test Message: Connector version local 5.5.0.2 and remote 5.5.0.14
    Connection Test Pass: Access Guid check passed.
    Found database master in the target Sitecore instance.
    Connection Test Failure: Failed to complete test.
    Exception System.Web.Services.Protocols.SoapException: Access to the path 'C:\Projects\OH Site\Data\serialization\master\sitecore.item' is denied. ---> System.UnauthorizedAccessException: Access to the path 'C:\Projects\OH Site\Data\serialization\master\sitecore.item' is denied.
    at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
    at System.IO.File.InternalDelete(String path, Boolean checkHost)
    at HedgehogDevelopment.SitecoreProject.Service.TdsService.Z.u()
    at HedgehogDevelopment.SitecoreProject.Service.TDSExecutionContext.Wrap[​](Func`1 func)
    at HedgehogDevelopment.SitecoreProject.Service.TdsService.GetItem(String key, String sitecoreDatabase, String accessGuid, String itemIdOrPath)
    --- End of inner exception stack trace ---
    at HedgehogDevelopment.SitecoreProject.Service.TdsService.GetItem(String key, String sitecoreDatabase, String accessGuid, String itemIdOrPath) (FaultException):

    Server stack trace:
    at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]:
    at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
    at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoap.GetItem(GetItemRequest request)
    at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoapClient.HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoap.GetItem(GetItemRequest request)
    at HedgehogDevelopment.SitecoreProject.VSIP.SitecoreConnector.TdsServiceSoapClient.GetItem(String key, String sitecoreDatabase, String accessGuid, String itemIdOrPath)
    at HedgehogDevelopment.SitecoreProject.VSIP.ProjectTests.ConnectionTest.<>c__DisplayClass1.<Execute>b__0(String key)
    at HedgehogDevelopment.SitecoreProject.VSIP.Utils.Support.CallServiceWrapper[T](TdsServiceSoapClient client, SitecoreProjectNode project, Func`2 clientCall)
    at HedgehogDevelopment.SitecoreProject.VSIP.ProjectTests.ConnectionTest.Execute()
    at HedgehogDevelopment.SitecoreProject.VSIP.Dialogs.BuildTestDialog.RunTests()
    Connection Test Finish: 2016-08-25 03:54:21
  • In reply to Ashish Deshpande:

    Hi,

    It seems that you have unauthorized access: System.UnauthorizedAccessException. Please make sure that the directory C:\Projects\OH Site\ and sub directory have full access.

    Thanks
  • In reply to Ashish Deshpande:

    Hi All ,


    Issue is resolved..
    I have deleted serialization folder from deploy folder then it works..


    Thank you all for your valuable responses.
  • In reply to Ashish Deshpande:

    TDS currently is not able to access the file system where your Data folder is. Try running Visual Studio in administrator mode and see if this resolves the issue. If it does, then the folder you are targeting requires 'admin' confirmation to make changes. If it still does not work, then it is likely a file lock or system permission issue which is preventing writes to that folder.