Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

Error trying to add a Web Service

$
0
0

The service in question is provided through a corporate network, and I cannot share it here. The exception was generated after clickin "OK" in the "Add Service Reference" GUI. The service in question works fine in an old implementation with Excel, and a PowerShell script.

I'm currently developing a WPF front end for that service.

SharpDevelop Version : 5.1.0.5216-0e58df71

.NET Version         : 4.7.02053

OS Version           : Microsoft Windows NT 6.1.7601 Service Pack 1

Current culture      : Invariant Language (Invariant Country) ()

Current UI language  : en

Running under WOW6432, processor architecture: x86-64

Working Set Memory   : 429984kb

GC Heap Memory       : 167469kb

 

Unhandled WPF exception

Exception thrown:

System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

   at ICSharpCode.SharpDevelop.ProcessRunner.CreateProcess(String lpApplicationName, StringBuilder lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, Boolean bInheritHandles, UInt32 dwCreationFlags, String lpEnvironment, String lpCurrentDirectory, STARTUPINFO& lpStartupInfo, PROCESS_INFORMATION& lpProcessInformation)

   at ICSharpCode.SharpDevelop.ProcessRunner.DoStart(String commandLine)

   at ICSharpCode.SharpDevelop.ProcessRunner.StartCommandLine(String commandLine)

   at ICSharpCode.SharpDevelop.ProcessRunner.Start(String program, String[ arguments)

   at ICSharpCode.SharpDevelop.ProcessRunner.<RunInOutputPadAsync>d__15.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Gui.Dialogs.ReferenceDialog.ServiceReference.SvcUtilRunner.<Run>d__12.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

---- Recent log messages:

17:37:37.584 [1] ERROR - Unhandled WPF exception

--> Exception:

System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

   at ICSharpCode.SharpDevelop.ProcessRunner.CreateProcess(String lpApplicationName, StringBuilder lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, Boolean bInheritHandles, UInt32 dwCreationFlags, String lpEnvironment, String lpCurrentDirectory, STARTUPINFO& lpStartupInfo, PROCESS_INFORMATION& lpProcessInformation)

   at ICSharpCode.SharpDevelop.ProcessRunner.DoStart(String commandLine)

   at ICSharpCode.SharpDevelop.ProcessRunner.StartCommandLine(String commandLine)

   at ICSharpCode.SharpDevelop.ProcessRunner.Start(String program, String[ arguments)

   at ICSharpCode.SharpDevelop.ProcessRunner.<RunInOutputPadAsync>d__15.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Gui.Dialogs.ReferenceDialog.ServiceReference.SvcUtilRunner.<Run>d__12.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

17:37:37.617 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent G:\Desenvolvimento\Teste CShDev\TesteIntellisense\Window3.xaml]

17:37:48.225 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

17:37:50.589 [1] INFO - CurrentProject changed to Gobal Resources

17:37:50.860 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.Dialogs.ProjectOptionsView

17:37:50.860 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Gobal Resources]

17:37:50.860 [1] DEBUG - NavigationService

ActiveViewContent: Gobal Resources

          Subview: TabPageText

17:37:50.860 [1] DEBUG - ActiveViewContentChanged to ICSharpCode.SharpDevelop.Project.Dialogs.ProjectOptionsView

17:37:50.890 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.SharpDevelop.resources, Version=5.1.0.5216, Culture=en, PublicKeyToken=f829da5c02be14ee

17:37:50.892 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.SharpDevelop.resources, Version=5.1.0.5216, Culture=en, PublicKeyToken=f829da5c02be14ee

17:37:50.893 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.SharpDevelop.Aero, Version=5.1.0.5216, Culture=neutral, PublicKeyToken=f829da5c02be14ee

17:37:50.895 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.SharpDevelop.resources, Version=5.1.0.5216, Culture=en, PublicKeyToken=f829da5c02be14ee

17:37:50.895 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.SharpDevelop.resources, Version=5.1.0.5216, Culture=en, PublicKeyToken=f829da5c02be14ee

17:37:50.896 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.SharpDevelop.resources, Version=5.1.0.5216, Culture=en, PublicKeyToken=f829da5c02be14ee

17:37:50.896 [1] DEBUG - TypeResolutionService: AssemblyResolveEventHandler: ICSharpCode.SharpDevelop.resources, Version=5.1.0.5216, Culture=en, PublicKeyToken=f829da5c02be14ee

17:37:54.447 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent G:\Desenvolvimento\Teste CShDev\TesteIntellisense\Window3.xaml]

17:37:54.447 [1] DEBUG - ActiveWorkbenchWindowChanged to [AvalonWorkbenchWindow: Window3.xaml]

17:37:54.447 [1] INFO - CurrentProject changed to TesteIntellisense

17:37:54.448 [1] DEBUG - NavigationService

ActiveViewContent: Window3.xaml

          Subview: ${res:FormsDesigner.DesignTabPages.SourceTabPage}

17:37:54.448 [1] DEBUG - ActiveViewContentChanged to [AvalonEditViewContent G:\Desenvolvimento\Teste CShDev\TesteIntellisense\Window3.xaml]

17:38:00.308 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Project.ProjectBrowserPad

17:38:01.526 [1] INFO - CurrentProject changed to Gobal Resources

17:38:06.233 [1] DEBUG - ActiveContentChanged to [AvalonEditViewContent G:\Desenvolvimento\Teste CShDev\TesteIntellisense\Window3.xaml]

17:38:20.852 [1] DEBUG - ActiveContentChanged to ICSharpCode.SharpDevelop.Gui.CompilerMessageView

17:38:20.852 [1] ERROR - Unhandled WPF exception

--> Exception:

System.ComponentModel.Win32Exception (0x80004005): The system cannot find the file specified

   at ICSharpCode.SharpDevelop.ProcessRunner.CreateProcess(String lpApplicationName, StringBuilder lpCommandLine, IntPtr lpProcessAttributes, IntPtr lpThreadAttributes, Boolean bInheritHandles, UInt32 dwCreationFlags, String lpEnvironment, String lpCurrentDirectory, STARTUPINFO& lpStartupInfo, PROCESS_INFORMATION& lpProcessInformation)

   at ICSharpCode.SharpDevelop.ProcessRunner.DoStart(String commandLine)

   at ICSharpCode.SharpDevelop.ProcessRunner.StartCommandLine(String commandLine)

   at ICSharpCode.SharpDevelop.ProcessRunner.Start(String program, String[ arguments)

   at ICSharpCode.SharpDevelop.ProcessRunner.<RunInOutputPadAsync>d__15.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)

   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)

   at ICSharpCode.SharpDevelop.Gui.Dialogs.ReferenceDialog.ServiceReference.SvcUtilRunner.<Run>d__12.MoveNext()

--- End of stack trace from previous location where exception was thrown ---

   at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.<ThrowAsync>b__6_0(Object state)

   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)

   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)

 

---- Post-error application state information:

Installed 3rd party AddIns: 

ProjectService.CurrentSolution: [Solution G:\Desenvolvimento\Teste CShDev\TesteIntellisense\TesteIntellisense.sln with 3 projects]

ProjectService.CurrentProject: [CSharpProject: Gobal Resources]

Workbench.ActiveContent: ICSharpCode.SharpDevelop.Gui.CompilerMessageView


Viewing all articles
Browse latest Browse all 1764