A
Abhishek
Hi All,
below is the error that I am getting when i run my application.
this application is using IPC for two processes to communicate with each
other. the error is happening when the client is trying to send the message
to the server. The server has been created successfully can it can connect
to it cause the error i am not getting an error saying that it cant find the
ipc server or it cant find the port.
System.IO.FileNotFoundException was unhandled
Message="Could not load file or assembly 'IpcServer, Version=1.0.0.1,
Culture=neutral, PublicKeyToken=9f8b8d36f87dd0b4' or one of its
dependencies. The system cannot find the file specified."
Source="mscorlib"
FileName="IpcServer, Version=1.0.0.1, Culture=neutral,
PublicKeyToken=9f8b8d36f87dd0b4"
FusionLog="WRN: Assembly binding logging is turned OFF.\r\nTo enable
assembly bind failure logging, set the registry value
[HKLM\\Software\\Microsoft\\Fusion!EnableLog] (DWORD) to 1.\r\nNote: There
is some performance penalty associated with assembly bind failure
logging.\r\nTo turn this feature off, remove the registry value
[HKLM\\Software\\Microsoft\\Fusion!EnableLog].\r\n"
StackTrace:
Server stack trace:
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&
stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at
System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.LoadType(String
typeName, String assemblyName)
at
System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.RemotingConfigHandler.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.RemotingServices.GetServerTypeForUri(String URI)
at
System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack
sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream
requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders,
Stream& responseStream)
Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at SharedLibrary.ISharedMessage.SendMessage(String message, String
sender)
at IpcClient.Program.Main(String[] args) in C:\Documents and
Settings\user\Desktop\remoting\IpcClient\IpcClient\Program.cs:line 34
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[]
args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
thanks
Abhishek.
below is the error that I am getting when i run my application.
this application is using IPC for two processes to communicate with each
other. the error is happening when the client is trying to send the message
to the server. The server has been created successfully can it can connect
to it cause the error i am not getting an error saying that it cant find the
ipc server or it cant find the port.
System.IO.FileNotFoundException was unhandled
Message="Could not load file or assembly 'IpcServer, Version=1.0.0.1,
Culture=neutral, PublicKeyToken=9f8b8d36f87dd0b4' or one of its
dependencies. The system cannot find the file specified."
Source="mscorlib"
FileName="IpcServer, Version=1.0.0.1, Culture=neutral,
PublicKeyToken=9f8b8d36f87dd0b4"
FusionLog="WRN: Assembly binding logging is turned OFF.\r\nTo enable
assembly bind failure logging, set the registry value
[HKLM\\Software\\Microsoft\\Fusion!EnableLog] (DWORD) to 1.\r\nNote: There
is some performance penalty associated with assembly bind failure
logging.\r\nTo turn this feature off, remove the registry value
[HKLM\\Software\\Microsoft\\Fusion!EnableLog].\r\n"
StackTrace:
Server stack trace:
at System.Reflection.Assembly.nLoad(AssemblyName fileName, String
codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark&
stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.InternalLoad(String assemblyString,
Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean
forIntrospection)
at System.Reflection.Assembly.Load(String assemblyString)
at
System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.LoadType(String
typeName, String assemblyName)
at
System.Runtime.Remoting.RemotingConfigHandler.RemotingConfigInfo.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.RemotingConfigHandler.GetServerTypeForUri(String
URI)
at
System.Runtime.Remoting.RemotingServices.GetServerTypeForUri(String URI)
at
System.Runtime.Remoting.Channels.BinaryServerFormatterSink.ProcessMessage(IServerChannelSinkStack
sinkStack, IMessage requestMsg, ITransportHeaders requestHeaders, Stream
requestStream, IMessage& responseMsg, ITransportHeaders& responseHeaders,
Stream& responseStream)
Exception rethrown at [0]:
at
System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage
reqMsg, IMessage retMsg)
at
System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&
msgData, Int32 type)
at SharedLibrary.ISharedMessage.SendMessage(String message, String
sender)
at IpcClient.Program.Main(String[] args) in C:\Documents and
Settings\user\Desktop\remoting\IpcClient\IpcClient\Program.cs:line 34
at System.AppDomain.nExecuteAssembly(Assembly assembly, String[]
args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
thanks
Abhishek.