Hello,
after successfully using Source Tree for Windows ca. 2 weeks it suddenly doesn't start:
PLATFORM VERSION INFO Windows : 6.1.7601.65536 (Win32NT) Common Language Runtime : 4.0.30319.18034 System.Deployment.dll : 4.0.30319.17929 built by: FX45RTMREL clr.dll : 4.0.30319.18034 built by: FX45RTMGDR dfdll.dll : 4.0.30319.17929 built by: FX45RTMREL dfshim.dll : 4.0.41209.0 (Main.041209-0000) SOURCES Deployment url : file:///C:/Users/MYACCOUNT/Desktop/SourceTree.appref-ms%7C ERROR SUMMARY Below is a summary of the errors, details of these errors are listed later in the log. * Activation of C:\Users\MYACCOUNT\Desktop\SourceTree.appref-ms| resulted in exception. Following failure messages were detected: + Value does not fall within the expected range. COMPONENT STORE TRANSACTION FAILURE SUMMARY No transaction error was detected. WARNINGS There were no warnings during this operation. OPERATION PROGRESS STATUS * [08.04.2013 15:56:24] : Activation of C:\Users\MYACCOUNT\Desktop\SourceTree.appref-ms| has started. * [08.04.2013 15:56:24] : Performing necessary update check as specified by the deployment. ERROR DETAILS Following errors were detected during this operation. * [08.04.2013 15:56:24] System.ArgumentException - Value does not fall within the expected range. - Source: System.Deployment - Stack trace: at System.Deployment.Application.NativeMethods.CorLaunchApplication(UInt32 hostType, String applicationFullName, Int32 manifestPathsCount, String[] manifestPaths, Int32 activationDataCount, String[] activationData, PROCESS_INFORMATION processInformation) at System.Deployment.Application.ComponentStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter) at System.Deployment.Application.SubscriptionStore.ActivateApplication(DefinitionAppId appId, String activationParameter, Boolean useActivationParameter) at System.Deployment.Application.ApplicationActivator.Activate(DefinitionAppId appId, AssemblyManifest appManifest, String activationParameter, Boolean useActivationParameter) at System.Deployment.Application.ApplicationActivator.ProcessOrFollowShortcut(String shortcutFile, String& errorPageUrl, TempFile& deployFile) at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension, BrowserSettings browserSettings, String& errorPageUrl) at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state) COMPONENT STORE TRANSACTION DETAILS No transaction information is available.
Thanks in advance for helpful comments or a solution.
Hmm, that's an odd one. Please go to Control Panel > Programs > Uninstall a program, click SourceTree and then Uninstall / Change. Please remove SourceTree from your system, then re-install from sourcetreeapp.com. Note that you may have to reinstate your global options if you changed them from the default but your bookmarks and repository settings will be retained.
Did work, thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Steve, I'm using SourceTree but sudenly I can`t open the program. I click on it but nothing happend. I have already unistalled the program and installed again but with the same result.
What can I do to solve this problem? I have Windows 8.1.
Thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What worked for me: "Start programm as administrator."
But why does sourcetree need admin-rights?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
So, each time it happens Must I have to re install it? what a terrible software!!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
A good software must not have that kind of trouble.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have now used this solution of uninstalling and reinstalling three times in the last month. Has anyone found why this occurs?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is happening to me today. Just can't launch the programme. Will try uninstalling it and installing it again, but along with it slowing right down and with the introduction of a few recent glitches, maybe it's time to find another option. Shame as it used to be really good. I hope they can get the development back on track and get it working properly again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I cant start too. Uninstalled. Try to install
ERROR [2017-10-10 06:53:17,136] [1] [SourceTree.App] [SetStartupJIT] - Startup JIT encountered an error...
System.Configuration.ConfigurationErrorsException: ".", шестнадцатеричное значение 0x00, является недопустимым знаком., строка 15, позиция 1. (C:\Users\Сергей\AppData\Local\Atlassian\SourceTree.exe_Url_vugdgboj5l2cs54bjhbr22ckg0ujbphh\2.3.1.0\user.config line 15) ---> System.Xml.XmlException: ".", шестнадцатеричное значение 0x00, является недопустимым знаком., строка 15, позиция 1.
в System.Xml.XmlTextReaderImpl.Throw(Exception e)
в System.Xml.XmlTextReaderImpl.ParseText(Int32& startPos, Int32& endPos, Int32& outOrChars)
в System.Xml.XmlTextReaderImpl.ParseText()
в System.Xml.XmlTextReaderImpl.ParseElementContent()
в System.Xml.XmlTextReaderImpl.Skip()
в System.Configuration.XmlUtil.StrictSkipToNextElement(ExceptionAction action)
в System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
в System.Configuration.BaseConfigurationRecord.ScanSectionsRecursive(XmlUtil xmlUtil, String parentConfigKey, Boolean inLocation, String locationSubPath, OverrideModeSetting overrideMode, Boolean skipInChildApps)
в System.Configuration.BaseConfigurationRecord.ScanSections(XmlUtil xmlUtil)
в System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
--- Конец трассировки внутреннего стека исключений ---
в System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
в System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
в System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams)
в System.Configuration.ClientConfigurationHost.OpenExeConfiguration(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath)
в System.Configuration.ConfigurationManager.OpenExeConfigurationImpl(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath, Boolean preLoad)
в SourceTree.App.SetStartupJIT()
After trying to install user_config.xml is:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I saved files accounts.json, bookmarks.xml, passwd
Uninstalled
Droped /Users/User_name/AppData/Local/Atlassian
Installed
Replaced files, see above
I seems to me, that SourceTree works
May be it will help to users
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you.
Only deleting of /Users/User_name/AppData/Local/Atlassian folder helped me to be able to reinstall SourceTree. For some reason, this folder got in a corrupted state or similar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it was really helpfull. Thanks. Gracias!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @sergekol,
This Trick work for me. But the fact is user should not face this type of issue for the software like sourcetree.
Thanks&Regards,
Nitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I deleted Users\<myname>\AppData\Local\Atlassian\SourceTree\cache folder.
That did the trick for me
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Another user posted this solution:
https://community.atlassian.com/t5/Sourcetree-questions/Sourcetree-user-settings-must-be-repaired-constantly/qaq-p/895450
This happens to me a lot as well -- any time Sourcetree quits abnormally (like when Windows decides to force an update and kill all your work when you're not around). My workaround on Windows 10 has been:
* After you have reset things and fixed up your Sourcetree preferences, make a backup of your current user.config file. On Windows 10 it's located at: C:\Users\<username>\AppData\Local\Atlassian\SourceTree.exe<random_string>\<version_number>\user.config
* Save that user.config file somewhere else on your hard drive
* Next time you get the "Sourcetree user settings must be repaired" error, copy that saved file back into C:\Users\<username>\AppData\Local\Atlassian\SourceTree.exe<random_string>\<version_number>\user.config to replace the corrupted file.
Sourcetree should run again after that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked for me on Windows 10 x64 except I also had to clear the SoureTree[long hash] directory
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Much appreciated!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You saved my hours!!!! MANY THANKS!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Christian, this saved me some time as well.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank You!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This helped me too! To reach there I just type %appdata% on run window and deleted every folder under SourceTree because of which mymapped repositories went off, but which was easy to restore. Thanks a lot!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yep, worked for me as well, and after the app was launched i copied everything back and got all my settings back as well
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It worked for me... Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am using windows 7, where I am not able to find out User\AppData\Local|Atlassian
Could you please help me out of this.
Thanks,
Sri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
That worked! Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hooray! Source Tree launched!!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had no this setup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks you. it worked for me.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Still working as a solution - remember to delete the SourceTree_XXXXXX directories if they exist also.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
sourcetree.log is used by another application and cannot be deleted ! Any ideas?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same issue. It got solved by doing the following:
1) uninstall and reinstall
2) Delete the folder C:\Users\yourusername\AppData\Local\Atlassian\SourceTree.exe_Url_yjhzxxhcu2ommegrdorjf3q1oqllqxiq
Of course the folder will be under your username and the folder name will different but it should look similar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you Daniel, I have solved the problem doing exactly the same.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks this worked for me too
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you! This worked for me but in addition, I also cleared what was in the "SourceTree" folder as well under the 'C:\Users\yourusername\AppData\Local\Atlassian\'. I just wanted to note that the thing that actually got it to work was Daniel's step 2.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Works for me too. Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Worked like a charm.Only deleting the directory solved the issue.Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Perfect - worked for me. thank you.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I cannot run Sourtree, wouldn't start, uninstalled, removed all folders, now I cannot install it? Windows 10? Annoying and really need to get on with work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had been using Sourcetree and then this week it stopped. It would never launch. I've uninstalled, removed all the files, and attempted to reinstall. The installer flashes one small logo box and that is it. It seems like it might fail. The result is a desktop shortcut that does nothing. I am running Windows 10 x64.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I got the issue and resolve it by delete user.config under
C:\Users\yourusername\AppData\Local\Atlassian\SourceTree.exe_[GUID].
Another way, I installed an older version (sourcetree-setup2.5.5) and completed installation. I then upgraded it to the latest (sourcetree-setup3.3.8). It works well
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem. SourceTree won't start.
Tried all of the solutions above, except of re-installing .Net.
Removed C:\Users\users\AppData\Local\Atlassian\ folder and uninstalled SourceTree.
Now even the installer won't run.
I does show the initial sourceTree icon during the installation and then it quits. Start menu icon is created anyway, but when I press it nothing happens.
I am not getting any exceptions or other messages.
sourcetree.log contains this message:
ERROR [2017-10-09 09:59:41,061] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2017-10-09 09:59:41,199] [1] [SourceTree.App] [OnStartup] - Failed to start
System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
vid SourceTree.Notifications.NotificationsManager.SetOwner(NotificationDialogWindow notificationWindow)
vid SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](NotificationDialogWindow notificationWindow, Tuple`2 customAction, VistaTaskDialogIcon icon)
vid SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](String title, String message, Tuple`2 customAction, String cancelLabel, String suppressionSetting, Action`1 suppressionChangedAction, Object contentControl, String contentCommandLabel, Action contentAction)
vid SourceTree.Notifications.NotificationsManager.ShowNotificationDialogWithYesConfirmation(String title, String message, String details)
vid SourceTree.Configuration.WpfSpellCheckerPreFlightCheck.Run()
vid SourceTree.AppRoot.RunPreFlightChecks()
vid SourceTree.AppRoot.OnStartup(StartupEventArgs e)
vid SourceTree.App.OnStartup(StartupEventArgs e)
ERROR [2017-10-09 10:01:21,731] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2017-10-09 10:01:21,857] [1] [SourceTree.App] [OnStartup] - Failed to start
System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
vid SourceTree.Notifications.NotificationsManager.SetOwner(NotificationDialogWindow notificationWindow)
vid SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](NotificationDialogWindow notificationWindow, Tuple`2 customAction, VistaTaskDialogIcon icon)
vid SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](String title, String message, Tuple`2 customAction, String cancelLabel, String suppressionSetting, Action`1 suppressionChangedAction, Object contentControl, String contentCommandLabel, Action contentAction)
vid SourceTree.Notifications.NotificationsManager.ShowNotificationDialogWithYesConfirmation(String title, String message, String details)
vid SourceTree.Configuration.WpfSpellCheckerPreFlightCheck.Run()
vid SourceTree.AppRoot.RunPreFlightChecks()
vid SourceTree.AppRoot.OnStartup(StartupEventArgs e)
vid SourceTree.App.OnStartup(StartupEventArgs e)
ERROR [2017-10-09 10:02:35,673] [1] [SourceTree.App] [.ctor] - finish EnsureSquirrelExecutionStubIsCopied
ERROR [2017-10-09 10:02:35,798] [1] [SourceTree.App] [OnStartup] - Failed to start
System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.
vid SourceTree.Notifications.NotificationsManager.SetOwner(NotificationDialogWindow notificationWindow)
vid SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](NotificationDialogWindow notificationWindow, Tuple`2 customAction, VistaTaskDialogIcon icon)
vid SourceTree.Notifications.NotificationsManager.ShowNotificationDialog[T](String title, String message, Tuple`2 customAction, String cancelLabel, String suppressionSetting, Action`1 suppressionChangedAction, Object contentControl, String contentCommandLabel, Action contentAction)
vid SourceTree.Notifications.NotificationsManager.ShowNotificationDialogWithYesConfirmation(String title, String message, String details)
vid SourceTree.Configuration.WpfSpellCheckerPreFlightCheck.Run()
vid SourceTree.AppRoot.RunPreFlightChecks()
vid SourceTree.AppRoot.OnStartup(StartupEventArgs e)
vid SourceTree.App.OnStartup(StartupEventArgs e)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I'm having this exact same problem. Maybe we should start a separate issue for it?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Post from Mike Corsaro solved it for me
https://community.atlassian.com/t5/Sourcetree-questions/SourceTree-failed-to-start/qaq-p/642445
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Guys, link seems to work. Open
C:\Users\MyMane\AppData\Local\Atlassian\SourceTree.exe_Url_something\2.3.1.0
Open user.config with notepad++ etc and add this to settings.
If you have multiple folders, remove all and run setup again.
<iframe tabindex="-1" aria-hidden="true" src="https://a1096093.cdn.optimizely.com/client_storage/a1096093.html" hidden=""></iframe>
<setting name="AutomaticallyCleanUpDictionaryFiles" serializeAs="String">
<value>True</value>
</setting>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks, that worked for me!
However, in the current version, the config file resides at:
C:\Users\USER\AppData\Local\SourceTree\app-2.3.1\SourceTree.exe.config
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great. Tried many of the previous tips in this thread. But thanks to Dmitri Peredera my SourceTree runs again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! Adding this setting solved for me (Win 10 16299.15, SourceTree 2.3.1.0)! +1
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dimitri,
I have tried what you have suggested. But, no luck.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dimitri
Thanks, that worked for me!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you very much! I am back to business.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dimitri
Thanks it worked for me :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After struggling with this for a while, and trying several other suggestions I figured out what worked for me. I re-installed SourceTree but to a different install folder ( i.e. "C:\Program Files (x86)\Atlassian\SourceTree2" instead of the default "C:\Program Files (x86)\Atlassian\SourceTree" )
Maybe there was a rogue registry entry or something causing problems.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This was (finally) the solution that worked for me. After the update to 1.9.6.1 it started once but not any more after that. I tried all other suggestions:
ALL of these did not work, finally changing the installation location did the trick, so thanks for the suggestion.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same problem with the current version of sourcetree on windows 10.
It worked good for a while, but suddenly i am not able to start it. Also clearing the contents of the folder C:\Users\[username]\AppData\Local\Atlassian did not help.
i also tried to download the latest version and "repair". Didn't help anything.
What can i do now? I want to keep all the projects, that i have already setup in sourcetree.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
5 Minute Fix / Hack, no need to re-setup SourceTree. Worked for me.
1. Make sure SourceTree is not running. Look in task manager just in case.
2. Move all contents of C:\Users\%USERNAME%\AppData\Local\Atlassian\SourceTree\ directory to a temporary folder on your desktop or somewhere easy to find.
3. Start Source Tree - You will notice it looks like a fresh install. Don't proceed, instead Exit the app and again, make sure SourceTree is not running by looking in task manager.
4. Move all contents of temporary folder back into C:\Users\%USERNAME%\AppData\Local\Atlassian\SourceTree\
5. Restart SourceTree and everything should be back to normal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Version 2.3.5.0 solves the problem: https://downloads.atlassian.com/software/sourcetree/windows/ga/SourceTreeSetup-2.3.5.0.exe
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! Worked for me!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
After upgrading, I had the same problems.
But nothing helped. After some more searching, this solved it for me:
https://jira.atlassian.com/browse/SRCTREEWIN-7898
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks! Joshua Hau. I have faced same issue and the above solution resolved mine. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Fixed my issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
fixed for me, but WTF???
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
open directory
C:\Users\users\AppData\Local\Atlassian\SourceTree\git_extras
open git-credential-manager.exe
give credential
now you can login to sourcetree when you install sourcetree.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I fixed this by changing the shortcut target from
C:\Users\<user>\AppData\Local\SourceTree\Update.exe --processStart "SourceTree_ExecutionStub.exe"
to
C:\Users\<user>\AppData\Local\SourceTree\Update.exe --processStart "SourceTree.exe"
Relevant log that caused me to do this:
2017-08-08 14:57:49> Program: Want to launch 'C:\Users\<user>\AppData\Local\SourceTree\app-2.1.7\SourceTree_ExecutationStub.exe'
2017-08-08 14:57:49> Program: File C:\Users\<user>\AppData\Local\SourceTree\app-2.1.7\SourceTree_ExecutationStub.exe doesn't exist in current release
2017-08-08 14:57:49> Unhandled exception: System.ArgumentException: Value does not fall within the expected range.
at Squirrel.Update.Program.ProcessStart(String exeName, String arguments, Boolean shouldWait)
at Squirrel.Update.Program.executeCommandLine(String[] args)
at Squirrel.Update.Program.main(String[] args)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I finally managed to get it back to work. I had tried to delete all Atlassian folders as explained earlier with no luck.
Then looking further I found this page
https://stackoverflow.com/questions/36986079/source-tree-doesnt-launch-after-installation
which advised to findthe sourcetree-log and suddenly the folder C:\Users\<user>\AppData\Local\Atlassian that was not there just before reappeared.
I looked at the log and I had:
ERROR [2017-06-01 09:26:24,150] [1] [SourceTree.App] [SetStartupJIT] - Startup JIT encountered an error...
System.Configuration.ConfigurationErrorsException: Root element is missing. (C:\Users\<user>\AppData\Local\Atlassian\SourceTree.exe_Url_hejbjngtfoz0aqshqbv3dvaifcttjeit\2.0.20.1\user.config) ---> System.Xml.XmlException: Root element is missing.
at System.Xml.XmlTextReaderImpl.ThrowWithoutLineInfo(String res)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
at System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.InitConfigFromFile()
--- End of inner exception stack trace ---
at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.Configuration..ctor(String locationSubPath, Type typeConfigHost, Object[] hostInitConfigurationParams)
at System.Configuration.ClientConfigurationHost.OpenExeConfiguration(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath)
at System.Configuration.ConfigurationManager.OpenExeConfigurationImpl(ConfigurationFileMap fileMap, Boolean isMachine, ConfigurationUserLevel userLevel, String exePath, Boolean preLoad)
at SourceTree.App.SetStartupJIT()
Therfore I deleted C:\Users\<user>\AppData\Local\Atlassian (although I thought I had already done it before)
But after this the install was working !!
Hope it helps other people...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is one of those random ClickOnce installer / update errors that seems to occur sometimes when the ClickOnce database gets itself in a mess.
We have dropped ClickOnce because of these sorts of problems and are now using a standard MSI installer - all future updates will be distributed this way (you would have got a notification of this when the first update for this new system came through). I recommend that you re-install SourceTree from the new installer at http://sourcetreeapp.com/download/ which won't have this problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, but that doesn't work. Just a small splash screen and a short progress in the task bar and that's it.
Also the update process is not alright because it messes up the quick launch shortcut.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same thing - splash screen, then nothing.
Fixed it by going into Control Panel -> Language -> Change Date, Time, or Number Formats -> Administrative -> Change System Locale, and setting it to "English (United States)", then rebooting, and running the installer again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same here after upgrading to Windows 10 Pro 1709 "Redstone 3" (Build 16299.15 a.k.a. "Fall Creators Update"): splash screen, then nothing. Changing System Locale doesn't solve.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had this problem and simply ran the .exe again and it worked. I didn't need to go through the step of uninstalling Sourcetree first. After that it worked again fine.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same problem and got a clue when others reported that sourcetree.log could not be deleted because it was in use.
I opened the Task Manager and found a Sourcetree process in the Background Processes. I ended task on that process and was able to open Sourcetree normally.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I fixed this issue by deleting a bookmark that was no longer accessible - it was originally on a network drive.
A quick way to get around it was to delete the bookmarks.xml and opentabs.xml (C:\Users\<user>\AppData\Local\Atlassian\SourceTree).
Btw if you try something and it doesn't work, you may need to make sure to 'end task' source tree from task manager before trying to re-launch it.
I think a particular version of sourcetree may have become sensitive to missing bookmarks since this was an old bookmark.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Same problem.
Reinstallation didn't work
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is just update the version .NET
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This worked to me,
Open tasks manager,
Click Details tab and search Sourcetree.exe, then click secondary button on it and select 'Finish process tree'
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Commenting to note that this annoyance still happens to me regularly.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I ended up switching to GitKraken as a result. I spent more time trying to open SourceTree that it actually saves my company money to pay for GitKraken Pro than try and deal with this issue(s).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
this is blank, what should i do
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am Also face this problem
kinldy suggest me how i can do
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This issue is so time consuming and counter-productive. I cannot count the number of time I have uninstalled and installed, cleared temp files, manipulated the .config file just so I can work. I am wasting a lot of time just using the application and it is causing me to rethink the use of the client. Have there been any rock solid solutions to resolve this...I have tried each and every answer provided in this post, as well as others, and continue to have the same problems every couple of days.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I am now at the point of uninstalling, deleting the app folders, clearing my temp/cache via CCleaner and windows tools, and the installer just closes on me, sheesh.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a duplicate post of above that wasn't accepted by the forum (I've got an error saying that post is malformatted).
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It might have something to do with the Date and Time, check if you've got the correct time and date.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.