title: Can't run vb.net application as administrator across network
body: <p>I have created a small application that auto elevates as administrator using the command:</p>
  
  <pre><code>requestedExecutionLevel level="highestAvailable" uiAccess="false"
  </code></pre>
  
  <p>This works fine if I run the application locally on the computer.  However, if the computer tries to run my execuatable across the netork, it simply crashes on startup with a message "Do you want to send more information about the problem?" error.  If I right click and run as administrator, my application will work and will prompt for admin credentials.</p>
  
  <p>The folder I am running my application from (across the network) has full read/write permissions for 'everyone'.</p>
  
  <p>My question is: Is there something I've missed?  Why can I run my application locally and not get prompted but across the network crashes or requires admin?</p>
  
  <p>Can anyone help explain what might be causing this issue?</p>
  
  <p><strong>UPDATE</strong>
  I have checked my event viewer log and it shows the following:</p>
  
  <p>Application: AutoUpdater.exe
  Framework Version: v4.0.30319
  Description: The process was terminated due to an unhandled exception.
  Exception Info: System.Net.Sockets.SocketException
  Stack:
     at System.Net.Sockets.Socket..ctor(System.Net.Sockets.AddressFamily, System.Net.Sockets.SocketType, System.Net.Sockets.ProtocolType)
     at System.Net.Sockets.TcpListener..ctor(System.Net.IPAddress, Int32)
     at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel.SetupChannel()
     at System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(System.Collections.IDictionary, System.Runtime.Remoting.Channels.IServerChannelSinkProvider, System.Runtime.Remoting.Channels.IAuthorizeRemotingConnection)
     at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.RegisterChannel(ChannelType, Boolean)
     at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])
     at AutoUpdater.My.MyApplication.Main(System.String[])</p>
  
  <p>I don't understand why it is making reference to System.Net.Sockets??  But that is what seems to be crashing my app.</p>