I'm having this problem in the compilation on Android.
When I use the method:
await Share.RequestAsync (new ShareFileRequest
{
Title = "Shared File:" + nameFile,
File = new ShareFile (fullPathFile)
});
I get this error
Mono.Linker.MarkException: Error processing method: 'System.Void WorkFlow2.Services.Utility/<shareFileAsync>d__8::MoveNext()' in assembly: 'WorkFlow2.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void Xamarin.Essentials.ShareRequestBase::set_Title(System.String)
in Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)
in Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
in Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
in Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
in Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
in Mono.Linker.Steps.MarkStep.ProcessQueue()
--- Fine della traccia dello stack dell'eccezione interna ---
in Mono.Linker.Steps.MarkStep.ProcessQueue()
in Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue()
in Mono.Linker.Steps.MarkStep.Process()
in Mono.Linker.Steps.MarkStep.Process(LinkContext context)
in MonoDroid.Tuner.MonoDroidMarkStep.Process(LinkContext context)
in Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step)
in Mono.Linker.Pipeline.Process(LinkContext context)
in MonoDroid.Tuner.Linker.Process(LinkerOptions options, ILogger logger, LinkContext& context)
in Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
in Xamarin.Android.Tasks.LinkAssemblies.RunTask()
in Xamarin.Android.Tasks.AndroidTask.Execute() WorkFlow2.Android
This error returns at compile time for the release.
During the "debug" phase it works correctly.
Related
Im getting this error when i compile the project dont know what refers to..
im trying to conver an image to a byte array so i can save it to a database
i've updated the versions and nothing happens
Error Mono.Linker.MarkException: Error processing method: 'System.Byte[] HeavenTaste.NuevaOrden::converterDemo(Xamarin.Forms.Image)' in assembly: 'HeavenTaste.dll' ---> Mono.Cecil.ResolutionException: Failed to resolve System.Void System.Drawing.ImageConverter::.ctor()
at Mono.Linker.Steps.MarkStep.HandleUnresolvedMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkMethod(MethodReference reference)
at Mono.Linker.Steps.MarkStep.MarkInstruction(Instruction instruction)
at Mono.Linker.Steps.MarkStep.MarkMethodBody(MethodBody body)
at Mono.Linker.Steps.MarkStep.ProcessMethod(MethodDefinition method)
at Mono.Linker.Steps.MarkStep.ProcessQueue()
--- End of inner exception stack trace ---
at Mono.Linker.Steps.MarkStep.ProcessQueue()
at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue()
at Mono.Linker.Steps.MarkStep.Process()
at Mono.Linker.Steps.MarkStep.Process(LinkContext context)
at MonoDroid.Tuner.MonoDroidMarkStep.Process(LinkContext context)
at Mono.Linker.Pipeline.ProcessStep(LinkContext context, IStep step)
at Mono.Linker.Pipeline.Process(LinkContext context)
at MonoDroid.Tuner.Linker.Process(LinkerOptions options, ILogger logger, LinkContext& context)
at Xamarin.Android.Tasks.LinkAssemblies.Execute(DirectoryAssemblyResolver res)
at Xamarin.Android.Tasks.LinkAssemblies.RunTask()
at Microsoft.Android.Build.Tasks.AndroidTask.Execute() in /Users/runner/work/1/s/xamarin-android/external/xamarin-android-tools/src/Microsoft.Android.Build.BaseTasks/AndroidTask.cs:line 17 HeavenTaste.Android C:\Program Files\Microsoft Visual Studio\2022\Community\MSBuild\Xamarin\Android\Xamarin.Android.Legacy.targets 648
private async void btnGuardar(object sender, EventArgs e)
{
await DisplayAlert("",converterDemo(Vistaprevia).ToString(),"OK");
}
public byte[] converterDemo(Xamarin.Forms.Image x)
{
ImageConverter _imageConverter = new ImageConverter();
byte[] xByte = (byte[])_imageConverter.ConvertTo(x, typeof(byte[]));
return xByte;
}
When I compile the app in release mode I get the following error, I've already tried to reinstall and update all packages, but I still having problems with android in release mode. Any ideas? Thanks for any help :)
at Mono.Linker.Steps.MarkStep.HandleUnresolvedField (Mono.Cecil.FieldReference reference) [0x00013] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Mono.Linker.Steps.MarkStep.MarkField (Mono.Cecil.FieldReference reference) [0x00024] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Mono.Linker.Steps.MarkStep.MarkInstruction (Mono.Cecil.Cil.Instruction instruction) [0x0002e] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Mono.Linker.Steps.MarkStep.MarkMethodBody (Mono.Cecil.Cil.MethodBody body) [0x000c2] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Mono.Linker.Steps.MarkStep.ProcessMethod (Mono.Cecil.MethodDefinition method) [0x001b1] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x0001b] in <3e53085892e04b628169d0ea2d9ff8b6>:0
--- End of inner exception stack trace ---
at Mono.Linker.Steps.MarkStep.ProcessQueue () [0x00047] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Mono.Linker.Steps.MarkStep.ProcessPrimaryQueue () [0x0000a] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Mono.Linker.Steps.MarkStep.Process () [0x000f6] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Mono.Linker.Steps.MarkStep.Process (Mono.Linker.LinkContext context) [0x0000d] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at MonoDroid.Tuner.MonoDroidMarkStep.Process (Mono.Linker.LinkContext context) [0x0000b] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Mono.Linker.Pipeline.ProcessStep (Mono.Linker.LinkContext context, Mono.Linker.Steps.IStep step) [0x0000d] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Mono.Linker.Pipeline.Process (Mono.Linker.LinkContext context) [0x0000f] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at MonoDroid.Tuner.Linker.Run (Mono.Linker.Pipeline pipeline, Mono.Linker.LinkContext context) [0x00000] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at MonoDroid.Tuner.Linker.Process (MonoDroid.Tuner.LinkerOptions options, Mono.Linker.ILogger logger, Mono.Linker.LinkContext& context) [0x00071] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Xamarin.Android.Tasks.LinkAssemblies.Execute (Java.Interop.Tools.Cecil.DirectoryAssemblyResolver res) [0x001dd] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Xamarin.Android.Tasks.LinkAssemblies.RunTask () [0x0001b] in <3e53085892e04b628169d0ea2d9ff8b6>:0
at Xamarin.Android.Tasks.AndroidTask.Execute () [0x00000] in <3e53085892e04b628169d0ea2d9ff8b6>:0 (XALNK7000) (vapaya.Android) ```
I have been learning Xamarin and am now starting with Xamarin Classic. I'm using a late 2014 Mac mini that is pretty slow. I've installed Xcode and Visual Studio, but when I try and open any .storyboard file, the wheel spins for a while and then a MonoTouch.Design.Client.InvalidSessionException is thrown. It is responding to a CoreSimulator.SimError code 165: Unable to erase contents and settings in current state: Booted
I have the most recent version of Visual Studio installed, and Xcode 11.4. I have tried running sudo xcrun simctl shutdown all both before loading the Main.storyboard file and also while the file is loading (which was a recommended fix on StackOverflow), but neither of these worked.
I'm baffled as to what is causing this error. While I've managed to find information about the MonoTouch.Design.Client.InvalidSessionException error and the CoreSimulator.SimError, I have not been able to find both of them together.
I have absolutely no idea what is causing this to happen. I've tried downgrading to Mojave but that didn't work as Xcode 11.4 was needed for VS and that requires Catalina.
Here is the (truncated) error message from Visual Studio.
System.AggregateException: One or more errors occurred. (One or more errors occurred. (Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown.)) ---> System.AggregateException: One or more errors occurred. (Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown.) ---> MonoTouch.Design.Client.InvalidSessionException: Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown. ---> Foundation.NSErrorException: Error Domain=com.apple.CoreSimulator.SimError Code=165 "Unable to erase contents and settings in current state: Booted" UserInfo={NSLocalizedDescription=Unable to erase contents and settings in current state: Booted}
at MonoTouch.Hosting.Device.ResetContentAndSettings () [0x00024] in <34aca1c84ddb47319197d8fcd6d9539e>:0
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x000ff] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:312
--- End of inner exception stack trace ---
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x001e8] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:337
at MonoTouch.Design.Client.ServerProcessConnection.SendRequestCore (MonoTouch.Design.CommandRequest request, System.Boolean throwIfNotRunning) [0x00057] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:282
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:230
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse] (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:252
at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:111
at MonoTouch.Design.Client.ServerProcessConnection.<CreateSessionAsync>b__28_0 () [0x00000] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:116
at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:534
at System.Threading.Tasks.Task.Execute () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2029
at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:496
at System.Threading.Tasks.Task`1[TResult].get_Result () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:466
at MonoTouch.Design.Client.IPhoneDesignerSession+<>c__DisplayClass289_1`1[TResult].<EnsureSession>b__1 (System.Threading.Tasks.Task`1[TResult] t) [0x00012] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:2072
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2[TAntecedentResult,TResult].InnerInvoke () [0x00024] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskContinuation.cs:202
at System.Threading.Tasks.Task.Execute () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2029
at System.Threading.Tasks.Task.Wait (System.Int32 millisecondsTimeout, System.Threading.CancellationToken cancellationToken) [0x00043] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2759
at System.Threading.Tasks.Task.Wait () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2625
at MonoTouch.Design.Client.IPhoneDesignerSession+<>c__DisplayClass289_0`1[TResult].<EnsureSession>b__0 () [0x003b7] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:2146
at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:534
at System.Threading.Tasks.Task.Execute () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319
--- End of stack trace from previous location where exception was thrown ---
at MonoTouch.Design.Client.IPhoneDesignerSession.RenderXmlWithPartialReloadRetry (System.Xml.Linq.XElement storyboardClone, System.Xml.Linq.XElement[] optimisedReloadClones, System.Threading.CancellationToken token) [0x00091] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:750
at MonoTouch.Design.Client.IPhoneDesignerSession.RenderXmlWithPartialReloadRetry (System.Xml.Linq.XElement storyboardClone, System.Xml.Linq.XElement[] optimisedReloadClones, System.Threading.CancellationToken token) [0x0022b] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:757
at MonoTouch.Design.Client.IPhoneDesignerSession.RenderXml (System.Xml.Linq.XElement storyboardClone, System.Xml.Linq.XElement[] optimisedReloadClones, System.Threading.CancellationToken token) [0x0004d] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:735
at MonoTouch.Design.Client.IPhoneDesignerSession.RenderXml (System.Xml.Linq.XElement storyboardClone, System.Xml.Linq.XElement[] optimisedReloadClones, System.Threading.CancellationToken token) [0x001a6] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:743
at MonoTouch.Design.Client.IPhoneDesignerSession.ReloadItemsAsync (System.Collections.Generic.IList`1[T] elements, System.Threading.CancellationToken token) [0x002b4] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:624
at MonoTouch.Design.Tasks.Cancellable (System.Threading.Tasks.Task task) [0x00024] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Shared/TaskExtensions.cs:28
at MonoTouch.Design.Client.IPhoneDesignerSession.ReloadItems (System.Collections.Generic.IList`1[T] elements) [0x00082] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:576
---> (Inner Exception #0) System.AggregateException: One or more errors occurred. (Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown.) ---> MonoTouch.Design.Client.InvalidSessionException: Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown. ---> Foundation.NSErrorException: Error Domain=com.apple.CoreSimulator.SimError Code=165 "Unable to erase contents and settings in current state: Booted" UserInfo={NSLocalizedDescription=Unable to erase contents and settings in current state: Booted}
at MonoTouch.Hosting.Device.ResetContentAndSettings () [0x00024] in <34aca1c84ddb47319197d8fcd6d9539e>:0
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x000ff] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:312
--- End of inner exception stack trace ---
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x001e8] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:337
at MonoTouch.Design.Client.ServerProcessConnection.SendRequestCore (MonoTouch.Design.CommandRequest request, System.Boolean throwIfNotRunning) [0x00057] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:282
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:230
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse] (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:252
at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:111
at MonoTouch.Design.Client.ServerProcessConnection.<CreateSessionAsync>b__28_0 () [0x00000] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:116
at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:534
at System.Threading.Tasks.Task.Execute () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319
--- End of inner exception stack trace ---
at System.Threading.Tasks.Task.ThrowIfExceptional (System.Boolean includeTaskCanceledExceptions) [0x00013] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2029
at System.Threading.Tasks.Task`1[TResult].GetResultCore (System.Boolean waitCompletionNotification) [0x0002b] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:496
at System.Threading.Tasks.Task`1[TResult].get_Result () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:466
at MonoTouch.Design.Client.IPhoneDesignerSession+<>c__DisplayClass289_1`1[TResult].<EnsureSession>b__1 (System.Threading.Tasks.Task`1[TResult] t) [0x00012] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/IPhoneDesignerSession.cs:2072
at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2[TAntecedentResult,TResult].InnerInvoke () [0x00024] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/TaskContinuation.cs:202
at System.Threading.Tasks.Task.Execute () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319
---> (Inner Exception #0) MonoTouch.Design.Client.InvalidSessionException: Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown. ---> Foundation.NSErrorException: Error Domain=com.apple.CoreSimulator.SimError Code=165 "Unable to erase contents and settings in current state: Booted" UserInfo={NSLocalizedDescription=Unable to erase contents and settings in current state: Booted}
at MonoTouch.Hosting.Device.ResetContentAndSettings () [0x00024] in <34aca1c84ddb47319197d8fcd6d9539e>:0
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x000ff] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:312
--- End of inner exception stack trace ---
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x001e8] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:337
at MonoTouch.Design.Client.ServerProcessConnection.SendRequestCore (MonoTouch.Design.CommandRequest request, System.Boolean throwIfNotRunning) [0x00057] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:282
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:230
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse] (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:252
at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:111
at MonoTouch.Design.Client.ServerProcessConnection.<CreateSessionAsync>b__28_0 () [0x00000] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:116
at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:534
at System.Threading.Tasks.Task.Execute () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319 <---
<---
Contents of /Users/michael/Library/Logs/VisualStudio/8.0/iOSDesigner.2020-04-26__18-16-31.log:
Commit: 35aa4889dab48fb3471f20131d6f68dae41bc11c
[2020-04-26 18:18:32.6] INFO: IPhoneDesignerSdkManager: Initializing the designer service
[2020-04-26 18:18:33.1] INFO: ENTERING sandbox: AndroidDesignerMac
[2020-04-26 18:18:33.2] INFO: LEAVING sandbox: AndroidDesignerMac
[2020-04-26 18:19:26.0] INFO: Starting full reload...
[2020-04-26 18:20:07.0] INFO: Beginning the boostrap process for 843A9789-4EBB-4BAD-81FA-E6F24A2DFAE3 (iPad mini 4, iOS SDK 13.4 at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot)
[2020-04-26 18:20:07.1] PERF: - Waited 29ms to clean up
[2020-04-26 18:20:07.1] PERF: - Waited 2ms for device to finish creating
[2020-04-26 18:20:20.3] PERF: - Booting time: 13192ms
[2020-04-26 18:20:29.4] WARN: Framebuffer unavailable; Xcode 10+ requires Library.Disposition.Local
[2020-04-26 18:20:29.5] PERF: - Registering services: 9143ms
[2020-04-26 18:20:46.0] ERROR: Could not find SimulatorBridge after spawning it... bailing out.
[2020-04-26 18:20:46.3] ERROR: Service port lookup had failed with: Error Domain=com.apple.CoreSimulator.SimError Code=165 "Unable to lookup service com.apple.iphonesimulator.bridge.1857: 0x3" UserInfo={NSLocalizedDescription=Unable to lookup service com.apple.iphonesimulator.bridge.1857: 0x3, NSUnderlyingError=0x7ff40186b550 {Error Domain=NSPOSIXErrorDomain Code=3 "No such process"}}
[2020-04-26 18:20:47.4] INFO: An unexpected error happened trying to start the designer. Attempting to erase our device.
System.InvalidOperationException: Simulator services were not available after booting the simulator. Perhaps it has crashed.
at MonoTouch.Hosting.FullSession.LookupServices () [0x000bb] in <34aca1c84ddb47319197d8fcd6d9539e>:0
at MonoTouch.Hosting.FullSession.Start () [0x003c8] in <34aca1c84ddb47319197d8fcd6d9539e>:0
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x000c7] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:303
[2020-04-26 18:20:47.4] ERROR: An exception occurred while launching, forcibly restarting the session.
[2020-04-26 18:20:50.7] PERF: Total time for shutting down: 3284ms
[2020-04-26 18:21:39.7] INFO: Successfully killed the entire session
[2020-04-26 18:25:07.2] INFO: Starting full reload...
[2020-04-26 18:25:07.3] INFO: Beginning the boostrap process for 843A9789-4EBB-4BAD-81FA-E6F24A2DFAE3 (iPad mini 4, iOS SDK 13.4 at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot)
[2020-04-26 18:25:07.3] PERF: - Waited 1ms to clean up
[2020-04-26 18:25:07.3] PERF: - Waited 2ms for device to finish creating
[2020-04-26 18:25:08.2] PERF: - Booting time: 856ms
[2020-04-26 18:25:08.2] WARN: Framebuffer unavailable; Xcode 10+ requires Library.Disposition.Local
[2020-04-26 18:25:08.2] PERF: - Registering services: 10ms
[2020-04-26 18:25:20.2] ERROR: Could not find SimulatorBridge after spawning it... bailing out.
[2020-04-26 18:25:20.2] ERROR: Service port lookup had failed with: Error Domain=com.apple.CoreSimulator.SimError Code=165 "Unable to lookup service com.apple.iphonesimulator.bridge.1857: 0x3" UserInfo={NSLocalizedDescription=Unable to lookup service com.apple.iphonesimulator.bridge.1857: 0x3, NSUnderlyingError=0x7ff40186d280 {Error Domain=NSPOSIXErrorDomain Code=3 "No such process"}}
[2020-04-26 18:25:20.2] INFO: An unexpected error happened trying to start the designer. Attempting to erase our device.
System.InvalidOperationException: Simulator services were not available after booting the simulator. Perhaps it has crashed.
at MonoTouch.Hosting.FullSession.LookupServices () [0x000bb] in <34aca1c84ddb47319197d8fcd6d9539e>:0
at MonoTouch.Hosting.FullSession.Start () [0x003c8] in <34aca1c84ddb47319197d8fcd6d9539e>:0
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x000c7] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:303
[2020-04-26 18:25:20.2] ERROR: An exception occurred while launching, forcibly restarting the session.
[2020-04-26 18:25:24.2] PERF: Total time for shutting down: 3943ms
[2020-04-26 18:25:26.3] INFO: Successfully killed the entire session
[2020-04-26 18:25:26.4] ERROR: EnsureSession (counter 1): System.AggregateException: One or more errors occurred. (One or more errors occurred. (Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown.)) (Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown.) ---> MonoTouch.Design.Client.InvalidSessionException: Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown. ---> Foundation.NSErrorException: Error Domain=com.apple.CoreSimulator.SimError Code=165 "Unable to erase contents and settings in current state: Booted" UserInfo={NSLocalizedDescription=Unable to erase contents and settings in current state: Booted}
at MonoTouch.Hosting.Device.ResetContentAndSettings () [0x00024] in <34aca1c84ddb47319197d8fcd6d9539e>:0
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x000ff] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:312
--- End of inner exception stack trace ---
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x001e8] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:337
at MonoTouch.Design.Client.ServerProcessConnection.SendRequestCore (MonoTouch.Design.CommandRequest request, System.Boolean throwIfNotRunning) [0x00057] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:282
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:230
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse] (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:252
at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:111
at MonoTouch.Design.Client.ServerProcessConnection.<CreateSessionAsync>b__28_0 () [0x00000] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:116
at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:534
at System.Threading.Tasks.Task.Execute () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319
--- End of inner exception stack trace ---
---> (Inner Exception #0) MonoTouch.Design.Client.InvalidSessionException: Exception of type 'MonoTouch.Design.Client.InvalidSessionException' was thrown. ---> Foundation.NSErrorException: Error Domain=com.apple.CoreSimulator.SimError Code=165 "Unable to erase contents and settings in current state: Booted" UserInfo={NSLocalizedDescription=Unable to erase contents and settings in current state: Booted}
at MonoTouch.Hosting.Device.ResetContentAndSettings () [0x00024] in <34aca1c84ddb47319197d8fcd6d9539e>:0
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x000ff] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:312
--- End of inner exception stack trace ---
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x001e8] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:337
at MonoTouch.Design.Client.ServerProcessConnection.SendRequestCore (MonoTouch.Design.CommandRequest request, System.Boolean throwIfNotRunning) [0x00057] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:282
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:230
at MonoTouch.Design.Client.ServerProcessConnection.SendRequest[TResponse] (MonoTouch.Design.CommandRequest req, System.Boolean throwIfNotRunning) [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:252
at MonoTouch.Design.Client.ServerProcessConnection.CreateSession () [0x00001] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:111
at MonoTouch.Design.Client.ServerProcessConnection.<CreateSessionAsync>b__28_0 () [0x00000] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client/Connection/ServerProcessConnection.cs:116
at System.Threading.Tasks.Task`1[TResult].InnerInvoke () [0x0000f] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Future.cs:534
at System.Threading.Tasks.Task.Execute () [0x00000] in /Users/builder/jenkins/workspace/build-package-osx-mono/2019-10/external/bockbuild/builds/mono-x64/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319 <---
[2020-04-26 18:25:26.5] INFO: Beginning the boostrap process for 843A9789-4EBB-4BAD-81FA-E6F24A2DFAE3 (iPad mini 4, iOS SDK 13.4 at /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Library/Developer/CoreSimulator/Profiles/Runtimes/iOS.simruntime/Contents/Resources/RuntimeRoot)
[2020-04-26 18:25:27.0] WARN: Framebuffer unavailable; Xcode 10+ requires Library.Disposition.Local
[2020-04-26 18:25:38.1] ERROR: Could not find SimulatorBridge after spawning it... bailing out.
[2020-04-26 18:25:38.1] ERROR: Service port lookup had failed with: Error Domain=com.apple.CoreSimulator.SimError Code=165 "Unable to lookup service com.apple.iphonesimulator.bridge.1857: 0x3" UserInfo={NSLocalizedDescription=Unable to lookup service com.apple.iphonesimulator.bridge.1857: 0x3, NSUnderlyingError=0x7ff401acaad0 {Error Domain=NSPOSIXErrorDomain Code=3 "No such process"}}
[2020-04-26 18:25:38.1] INFO: An unexpected error happened trying to start the designer. Attempting to erase our device.
System.InvalidOperationException: Simulator services were not available after booting the simulator. Perhaps it has crashed.
at MonoTouch.Hosting.FullSession.LookupServices () [0x000bb] in <34aca1c84ddb47319197d8fcd6d9539e>:0
at MonoTouch.Hosting.FullSession.Start () [0x003c8] in <34aca1c84ddb47319197d8fcd6d9539e>:0
at MonoTouch.Design.Client.Mac.MacServerProcessConnection.EnsureServerRunning (System.Boolean throwIfNotRunning) [0x000c7] in /Users/runner/runners/2.165.0/work/1/s/Xamarin.Designer.iOS/MonoTouch.Design.Client.Mac/MacServerProcessConnection.cs:303
I am trying to get a project running with the new visual studio 2019 on mac.
However, I am getting the following error.
Application startup exception: Autofac.Core.DependencyResolutionException: An error occurred during the activation of a particular registration. See the inner exception for details. Registration: Activator = KestrelServer (ReflectionActivator), Services = [Microsoft.AspNetCore.Hosting.Server.IServer], Lifetime = Autofac.Core.Lifetime.RootScopeLifetime, Sharing = Shared, Ownership = OwnedByLifetimeScope ---> An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptions`1[Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions], Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory, Microsoft.Extensions.Logging.ILoggerFactory)' on type 'KestrelServer'. ---> error:2006D080:BIO routines:BIO_new_file:no such file (See inner exception for details.) (See inner exception for details.) ---> Autofac.Core.DependencyResolutionException: An exception was thrown while invoking the constructor 'Void .ctor(Microsoft.Extensions.Options.IOptions`1[Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions], Microsoft.AspNetCore.Server.Kestrel.Transport.Abstractions.Internal.ITransportFactory, Microsoft.Extensions.Logging.ILoggerFactory)' on type 'KestrelServer'. ---> error:2006D080:BIO routines:BIO_new_file:no such file (See inner exception for details.) ---> Interop+Crypto+OpenSslCryptographicException: error:2006D080:BIO routines:BIO_new_file:no such file
at Interop.Crypto.CheckValidOpenSslHandle(SafeHandle handle)
at Internal.Cryptography.Pal.CertificatePal.FromFile(String fileName, SafePasswordHandle password, X509KeyStorageFlags keyStorageFlags)
at System.Security.Cryptography.X509Certificates.X509Certificate..ctor(String fileName, String password, X509KeyStorageFlags keyStorageFlags)
at Microsoft.AspNetCore.Hosting.ListenOptionsHttpsExtensions.UseHttps(ListenOptions listenOptions, String fileName, String password)
at Identity.API.Program.<>c.<BuildWebHost>b__1_3(ListenOptions listenOptions) in /Users/pp/www/amritaDEV/appraisals/Amrita/src/Services/Identity/Identity/Program.cs:line 56
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerOptions.Listen(IPEndPoint endPoint, Action`1 configure)
at Identity.API.Program.<>c.<BuildWebHost>b__1_0(KestrelServerOptions options) in /Users/pp/www/amritaDEV/appraisals/Amrita/src/Services/Identity/Identity/Program.cs:line 54
at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name)
at System.Lazy`1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy`1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy`1.CreateValue()
at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServer.CreateServiceContext(IOptions`1 options, ILoggerFactory loggerFactory)
at lambda_method(Closure , Object[] )
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
--- End of inner exception stack trace ---
at Autofac.Core.Activators.Reflection.ConstructorParameterBinding.Instantiate()
at Autofac.Core.Activators.Reflection.ReflectionActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
--- End of inner exception stack trace ---
at Autofac.Core.Lifetime.LifetimeScope.GetOrCreateAndShare(Guid id, Func`1 creator)
at Autofac.Core.Resolving.InstanceLookup.Activate(IEnumerable`1 parameters)
at Autofac.Core.Resolving.InstanceLookup.Execute()
at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.Core.Resolving.ResolveOperation.Execute(IComponentRegistration registration, IEnumerable`1 parameters)
at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
at Autofac.ResolutionExtensions.ResolveService(IComponentContext context, Service service, IEnumerable`1 parameters)
at Microsoft.Extensions.DependencyInjection.ServiceProviderServiceExtensions.GetRequiredService[T](IServiceProvider provider)
at Microsoft.AspNetCore.Hosting.Internal.WebHost.EnsureServer()
at Microsoft.AspNetCore.Hosting.Internal.WebHost.BuildApplication()
crit: Microsoft.AspNetCore.Hosting.Internal.WebHost[6]
Application startup exception
I have been doing: https://github.com/aspnet/AspNetCore.Docs/issues/6199
and i completed the steps but got the following error. Something with the certificates, names or places maybe?
I am on Visual Studio 8. Visual Studio 7 didn't have HTTPS problem for localhost
When im doing a webdeploy at visual studio 2012 and select the option update database I get the following error at my server log:
User:
Client IP: xxxx
Content-Type: application/msdeploy
Version: 9.0.0.0
MSDeploy.VersionMin: 7.1.600.0
MSDeploy.VersionMax: 9.0.1631.0
MSDeploy.Method: Sync
MSDeploy.RequestId: 36abe7a7-87e3-4ffb-a46f-b5918da1e651
MSDeploy.RequestCulture: nl-NL
MSDeploy.RequestUICulture: en-US
ServerVersion: 9.0.1631.0
Skip: objectName="^configProtectedData$"
Provider: auto, Path:
A tracing deployment agent exception occurred that was propagated to the client. Request ID '36abe7a7-87e3-4ffb-a46f-b5918da1e651'. Request Timestamp: '1-10-2012 17:39:41'. Error Details:
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Runtime.Serialization.SerializationException: Member 'ClassName' was not found.
at System.Runtime.Serialization.SerializationInfo.GetElement(String name, Type& foundType)
at System.Runtime.Serialization.SerializationInfo.GetString(String name)
at System.Exception..ctor(SerializationInfo info, StreamingContext context)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, IMethodCallMessage methodCallMessage)
at Microsoft.Web.Deployment.Base64EncodingHelper.DeserializeHelper(BinaryFormatter formatter, Byte[] buffer)
at Microsoft.Web.Deployment.Base64EncodingHelper.Deserialize(String str, Exception& handledException)
at Microsoft.Web.Deployment.SerializationHelper.Deserialize(String str)
at Microsoft.Web.Deployment.SqlDacPacProvider.ProcessExeOutput()
at Microsoft.Web.Deployment.SqlDacPacProvider.RunExecutableAsync(String exeName, String arguments, Int32 waitInterval, Int32 retryAttempts)
at Microsoft.Web.Deployment.SqlDacPacProvider.Add(DeploymentObject source, Boolean whatIf)
at Microsoft.Web.Deployment.DeploymentObject.Add(DeploymentObject source, DeploymentSyncContext syncContext)
at Microsoft.Web.Deployment.DeploymentSyncContext.HandleAdd(DeploymentObject destObject, DeploymentObject sourceObject)
at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildren(DeploymentObject dest, DeploymentObject source)
at Microsoft.Web.Deployment.DeploymentSyncContext.SyncChildrenOrder(DeploymentObject dest, DeploymentObject source)
at Microsoft.Web.Deployment.DeploymentSyncContext.ProcessSync(DeploymentObject destinationObject, DeploymentObject sourceObject)
at Microsoft.Web.Deployment.DeploymentObject.SyncToInternal(DeploymentObject destObject, DeploymentSyncOptions syncOptions, PayloadTable payloadTable, ContentRootTable contentRootTable, Nullable`1 syncPassId)
at Microsoft.Web.Deployment.DeploymentAgent.HandleSync(DeploymentAgentAsyncData asyncData, Nullable`1 passId)
at Microsoft.Web.Deployment.DeploymentAgent.HandleRequestWorker(DeploymentAgentAsyncData asyncData)
at Microsoft.Web.Deployment.DeploymentAgent.HandleRequest(DeploymentAgentAsyncData asyncData)
What might be causing this issue?
The error Visual studio gives me is:
Error 2 Web deployment task failed. ((1-10-2012 18:54:34) An error occurred when the request was processed on the remote computer.)
(1-10-2012 18:54:34) An error occurred when the request was processed on the remote computer.
The server experienced an issue processing the request. Contact the server administrator for more information. 0 0 Database
--FIX--
For some reason my installation of Webdeploy 3 did not work well (tried reinstalling too) with ms authentication, created a sql auth connectionstring and it resolved the issue.