Commit Changes - Target path does not exist

This is the first time I've encountered this issue in Source Control. I branched the Trunk and then I was able to successfully link to the branch. When I click the 'Commit Changes' tab after a few minutes it says the Target Path does not exist. I've verified the target path does exist so I'm not sure what's wrong.

I've included the complete error message I'm receiving.

SharpSvn.SvnFileSystemException: Target path '/DataIngress/PropertiesOfDataIngress/Branches/REL 1.9.0 (2011-11-09)/Database' does not exist ---> SharpSvn.SvnFileSystemException: Target path '/DataIngress/PropertiesOfDataIngress/Branches/REL 1.9.0 (2011-11-09)/Database' does not exist
at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets)
at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error, Object targets)
at SharpSvn.SvnClient.Update(ICollection`1 paths, SvnUpdateArgs args, SvnUpdateResult& result)
at #bog.#C8h.#Haj(PathSet , SvnRevision , SvnDepth , EventHandler`1 , EventHandler`1 )
at #bog.#C8h.#izb3.#seW()
at #bog.#cog.#LBf(Action , #nqz )
at #bog.#A8h.#WSe(Action , Object , Func`1 , #nqz )
at #bog.#A8h.#WSe(ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks , Action , SvnLocation , SvnClient , Object )
at #bog.#C8h.#WSe(ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks , Action )
at #bog.#C8h.UpgradeEntireProject(ICancellableOperationStatus , Int64 , IReadOnlySourceControlServerCallBacks , Action )
at #oEc.#z8h.UpgradeAllToRevision(ICancellableOperationStatus , Int64 , IReadOnlySourceControlServerCallBacks )
at RedGate.SQLSourceControl.Engine.LinkedDatabase.#keW(IPersistentWorkspace , ICancellableOperationStatus , Int64 , IReadOnlySourceControlServerCallBacks )
at RedGate.SQLSourceControl.Engine.LinkedDatabase.#yRW(ICancellableOperationStatus status, IReadOnlySourceControlServerCallBacks callBacks, Func`3 workspaceCreator, IWorkspaceFactory folderFactory, Int64& revision)
at RedGate.SQLSourceControl.Engine.LinkedDatabase.GetDatabaseFolderWorkspaces(ICancellableOperationStatus status, IReadOnlySourceControlServerCallBacks callBacks, Int64& revision)
at #GWeb.#WXM.#Fieb()
at #GWeb.#Wheb.#tieb(Func`1 )
at #GWeb.#WXM.#8ZW(Boolean )
at #GWeb.#XXM.#yRW()
at #GWeb.#WXM.#qYM()
at #GWeb.#XXM.#iS()
at #qlhb.#0heb.#l36(String , #1heb , ICancellableOperationStatus )
at #qlhb.#K3c.#83c(String , #O9U , ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks )
at #qlhb.#wz2b.#C31.#jY3b(ICancellableOperationStatus )
at #qlhb.#wz2b.#Gz2b.#2Db.#wHv()
--- End of inner exception stack trace ---
at #qlhb.#wz2b.#Gz2b.#Kz2b.#xz2b()
at #qlhb.#wz2b.#uz2b(String , DatabaseConnection , #O9U , ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks , Action )
at #qlhb.#0heb.#wieb(#L3c , #ZZ7 , #A57 , #tEc , IObjectExplorerStateService , #xHR , #9ynb , #4Ec , #j3l , Options , #quBb , ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks , Action )
at #GWeb.#VXM.#mYM[#NrPb](Func`2 , ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks , IDifferenceSelector , Action )
at #GWeb.#VXM.#jYM(ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks , IDifferenceSelector )
at #GWeb.#4Ec.#7Jc(ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks , IDifferenceSelector )
at #GWeb.#4Ec.#u37.#ofA(ICancellableOperationStatus )
at RedGate.SQLSourceControl.Engine.Cancellables.MutexedCancellableOperation`1.#u36.#k5f()
at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperationBase.InvokeWithTracker(Action action)
at RedGate.SQLSourceControl.Engine.Cancellables.MutexedCancellableOperation`1.Invoke()
at #eEc.#Qlg.Invoke()
at #JLc.#PLc.#jzb.#GkDb()
at RedGate.SQLSourceControl.Engine.SmartAssembly.ExceptionReporting.ErrorReporterBase.Do(Action , Predicate`1 , Boolean )
at RedGate.SQLSourceControl.Engine.SmartAssembly.ExceptionReporting.ErrorReporterBase.DoWithObviousExceptionsRethrowAll(Action action)
at RedGate.SQLSourceControl.CommonUI.Forms.ErrorDialog.DoWithObviousExceptionsRethrowAll(Action action)
at #JLc.#PLc.#CTc(ICancellableOperation`1 , Object )
Leslie Banks
Software Engineer
Early Access Release Tester

Comments

  • Thanks for your post.

    I've had a look in our database and I can see you submitted your error to our bug-tracker too. This gives a little more information, and I can see that the underlying SVN error is in fact "SVN_ERR_FS_PATH_SYNTAX".

    My guess would be that it doesn't like the path you gave it - maybe due to the brackets? Could you try configuring it to use a simpler pathname and see if that helps?
    Systems Software Engineer

    Redgate Software

  • Thanks for your reply James.

    I think I figured out the issue.

    When I branched the database it placed a file in the /Database/ folder called 'RedGateDatabaseInfo.xml'. Once I removed this file from SVN I was then able to commit changes to the branch.

    Thanks,
    Leslie
    Leslie Banks
    Software Engineer
    Early Access Release Tester
  • Interesting - that is one of our files, so it's not abnormal it would be there. Perhaps because it got carried across it then contained invalid information. Glad it's working in any case!
    Systems Software Engineer

    Redgate Software

  • BrujahBrujah Posts: 22 Bronze 2
    Got the same issue after creating a branch, but i can't delete the RedGateDatabaseInfo.xml file of because it's needed for the sqlcompare cmd

    is there a fix for this issue

    error message:
    SharpSvn.SvnFileSystemException: Target path '/business_intelligence/Quando/branches/Quando_3.11.1_SFTP/sql/redgate' does not exist
    at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, SvnException error, Object targets)
    at SharpSvn.SvnClientArgs.HandleResult(SvnClientContext client, svn_error_t* error, Object targets)
    at SharpSvn.SvnClient.Update(ICollection`1 paths, SvnUpdateArgs args, SvnUpdateResult& result)
    at #bog.#C8h.#Haj(PathSet , SvnRevision , SvnDepth , EventHandler`1 , EventHandler`1 )
    at #bog.#C8h.#izb3.#seW()
    at #bog.#cog.#LBf(Action , #nqz )
    at #bog.#A8h.#WSe(Action , Object , Func`1 , #nqz )
    at #bog.#A8h.#WSe(ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks , Action , SvnLocation , SvnClient , Object )
    at #bog.#C8h.#WSe(ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks , Action )
    at #bog.#C8h.UpgradeEntireProject(ICancellableOperationStatus , Int64 , IReadOnlySourceControlServerCallBacks , Action )
    at #oEc.#z8h.UpgradeAllToRevision(ICancellableOperationStatus , Int64 , IReadOnlySourceControlServerCallBacks )
    at RedGate.SQLSourceControl.Engine.LinkedDatabase.#keW(IPersistentWorkspace , ICancellableOperationStatus , Int64 , IReadOnlySourceControlServerCallBacks )
    at RedGate.SQLSourceControl.Engine.LinkedDatabase.#yRW(ICancellableOperationStatus status, IReadOnlySourceControlServerCallBacks callBacks, Func`3 workspaceCreator, IWorkspaceFactory folderFactory, Int64& revision)
    at RedGate.SQLSourceControl.Engine.LinkedDatabase.GetDatabaseFolderWorkspaces(ICancellableOperationStatus status, IReadOnlySourceControlServerCallBacks callBacks, Int64& revision)
    at #GWeb.#WXM.#Fieb()
    at #GWeb.#Wheb.#tieb(Func`1 )
    at #GWeb.#WXM.#8ZW(Boolean )
    at #GWeb.#XXM.#yRW()
    at #GWeb.#WXM.#qYM()
    at #GWeb.#XXM.#iS()
    at #qlhb.#0heb.#l36(String , #1heb , ICancellableOperationStatus )
    at #qlhb.#K3c.#83c(String , #O9U , ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks )
    at #qlhb.#0heb.#wieb(#L3c , #ZZ7 , #A57 , #tEc , IObjectExplorerStateService , #xHR , #9ynb , #4Ec , #j3l , Options , #quBb , ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks )
    at #GWeb.#VXM.#mYM[#NrPb](Func`2 , ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks , IDifferenceSelector )
    at #GWeb.#VXM.#jYM(ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks , IDifferenceSelector )
    at #GWeb.#4Ec.#7Jc(ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks , IDifferenceSelector )
    at #GWeb.#4Ec.#u36.#ofA(ICancellableOperationStatus )
    at RedGate.SQLSourceControl.Engine.Cancellables.MutexedCancellableOperation`1.#u36.#k5f()
    at RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperationBase.InvokeWithTracker(Action action)
    at RedGate.SQLSourceControl.Engine.Cancellables.MutexedCancellableOperation`1.Invoke()
    at #eEc.#Qlg.Invoke()
    at #JLc.#PLc.#Jfb.#EJf()
    at RedGate.SQLSourceControl.Engine.SmartAssembly.ExceptionReporting.ErrorReporterBase.Do(Action , Predicate`1 , Boolean )
    at RedGate.SQLSourceControl.Engine.SmartAssembly.ExceptionReporting.ErrorReporterBase.DoWithObviousExceptionsRethrowAll(Action action)
    at RedGate.SQLSourceControl.CommonUI.Forms.ErrorDialog.DoWithObviousExceptionsRethrowAll(Action action)
    at #JLc.#PLc.#CTc(ICancellableOperation`1 , Object )
  • The error you're getting is stating that the SVN client cannot access the path in question:

    '/business_intelligence/Quando/branches/Quando_3.11.1_SFTP/sql/redgate'

    Does that exist? Is it where you created the branch, or is it a different path? Can you check permissions to that?
    Systems Software Engineer

    Redgate Software

  • Yes, newer versions we recommend you restart SSMS between an unlink and relink, otherwise it may relink to the same files and not help fix the problem
    Systems Software Engineer

    Redgate Software

Sign In or Register to comment.