| Author |
Message |
Badgott
Joined: 05 Aug 2011 Posts: 3
|
Posted: Fri Aug 05, 2011 11:07 am Post subject: Exception on Linking Database |
|
|
If i try to link my database i get the followeing error message:
SQL 2008 R2 Express
RedGate Version: latest
RedGate.Shared.Utils.InvalidStateException: Failed to resolve no-ops after 5 tries
bei #GWeb.#VXM.#mYM[#eTb](Func`2 , ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks )
bei #GWeb.#VXM.#kYM(ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks )
bei #GWeb.#4Ec.#8Jc(ICancellableOperationStatus , IReadOnlySourceControlServerCallBacks )
bei #GWeb.#4Ec.#t.#B3.#qfA(ICancellableOperationStatus )
bei RedGate.SQLSourceControl.Engine.Cancellables.MutexedCancellableOperation`1.#t.#u3.#k5f()
bei RedGate.SQLSourceControl.Engine.Cancellables.CancellableOperationBase.InvokeWithTracker(Action action)
bei RedGate.SQLSourceControl.Engine.Cancellables.MutexedCancellableOperation`1.Invoke()
bei #eEc.#Qlg.Invoke()
bei #JLc.#PLc.#t.#Jfb.#EJf()
bei RedGate.SQLSourceControl.Engine.SmartAssembly.ExceptionReporting.ErrorReporterBase.Do(Action , Predicate`1 , Boolean )
bei RedGate.SQLSourceControl.Engine.SmartAssembly.ExceptionReporting.ErrorReporterBase.DoWithObviousExceptionsRethrowAll(Action action)
bei RedGate.SQLSourceControl.CommonUI.Forms.ErrorDialog.DoWithObviousExceptionsRethrowAll(Action action)
bei #JLc.#PLc.#CTc(ICancellableOperation`1 , Object )
Any ideas ?
Kind regards
Daniel |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Fri Aug 05, 2011 1:03 pm Post subject: |
|
|
Hi Daniel,
The snippet looks to me as if there was a failure trying to send the error report rather than the original failure itself. Can you explain what you see in source control when you attempt to link?
We may need you to email us the full log to work out what is going on. _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Badgott
Joined: 05 Aug 2011 Posts: 3
|
Posted: Fri Aug 05, 2011 1:19 pm Post subject: |
|
|
Hi Brain,
I've submitted an error report over the source control panel to your system.
The Description Text also contains a link to this post so I hope you can map the submitted issue to this post and keep me updated.
Kind regards,
Daniel |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Fri Aug 05, 2011 2:27 pm Post subject: |
|
|
Hi Daniel,
I've got the error report but it looks like the problem is getting changes rather than the link operation itself.
The last thing it did was to try to get the database info file:
11:24:23.328|Info |#oEc.#z8h |12 |ConfigurableThreadPool thread:UpdatingAll to revision 9269: [FilesToUpgrade: C:\Users\(you)\AppData\Local\Red Gate\SQL Source Control 2\WorkingBases\frjcw2xq.pgd\Tables\dbo.HMSolution.sql'C:\Users\(you)\AppData\Local\Red Gate\SQL Source Control 2\WorkingBases\frjcw2xq.pgd\RedGateDatabaseInfo.xml] _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Badgott
Joined: 05 Aug 2011 Posts: 3
|
Posted: Fri Aug 05, 2011 3:53 pm Post subject: |
|
|
Hi Brain,
any ideas why this happens i've used a backup from the same database that was also linked with soucre control before.
Kind regards
Daniel |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Mon Aug 08, 2011 9:11 am Post subject: |
|
|
I don't know what is causing this and why but it seems to be that the source control system can't get the latest version. Can you try deleting the local copy of the above-mentioned file from disk and then see if the operation succeeds? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
Brian Donahue
Joined: 23 Aug 2004 Posts: 6344 Location: Red Gate Software
|
Posted: Wed Aug 10, 2011 5:49 pm Post subject: |
|
|
Did deleting the file help? _________________ Brian Donahue
Technical Support
Red Gate Software Ltd.
44 (0)870 160 0037 ext 8521
US and CAN 1-866-RED GATE ext 8521 |
|
| Back to top |
|
 |
|