I opened the security up to everyone with full control on our file server so i don't think its permissions. I also tried to run as administrator and it does nothing. When i click the shortcut nothing happens at all on screen, the only way i know its erroring is if i look at the event logs and it has a couple of errors each time i try to open it. I also changed the .net framework settings in the project a couple of times to see if maybe that would help but i didn't notice any change. I attached the errors below.
First Error:
Faulting application name: AdvancedHMI.exe, version: 3.9.9.24, time stamp: 0x5ce69e0d
Faulting module name: KERNELBASE.dll, version: 10.0.17134.1, time stamp: 0x149ab0fd
Exception code: 0xe0434352
Fault offset: 0x0010d722
Faulting process id: 0x22a4
Faulting application start time: 0x01d51170f02b4a27
Faulting application path: \\gad-fs\Depts\Line Overview\Date Calculator\AdvancedHMI\bin\Debug\AdvancedHMI.exe
Faulting module path: C:\WINDOWS\System32\KERNELBASE.dll
Report Id: ed39db77-f311-4a52-ae64-16b8e80c4d21
Faulting package full name:
Faulting package-relative application ID:
Second Error:
Application: AdvancedHMI.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Net.Sockets.SocketException
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 System.Runtime.Remoting.Channels.Tcp.TcpServerChannel..ctor(System.Collections.IDictionary, System.Runtime.Remoting.Channels.IServerChannelSinkProvider)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.RegisterChannel(ChannelType, Boolean)
at Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(System.String[])
at MfgControl.AdvancedHMI.My.MyApplication.Main(System.String[])