Quote:
System.IO.FileLoadException was unhandled
Message=Could not load file or assembly 'BlowfishCFB, Version=1.0.3434.27049, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)
Source=ConquerServer_v2
FileName=BlowfishCFB, Version=1.0.3434.27049, Culture=neutral, PublicKeyToken=null
FusionLog=""
StackTrace:
at ConquerServer_v2.Client.BlowfishCrypter..ctor()
at ConquerServer_v2.Client.GameClient..ctor(NetworkCl ient Client) in C:\Users\Daivya C. Reka\Documents\Files\Conquer Related\Servers\ConquerServer_v2\ConquerServer_v2\ Client\Game Client.cs:line 156
at ConquerServer_v2.Program.Game_Connect(NetworkClien t nClient) in C:\Users\Daivya C. Reka\Documents\Files\Conquer Related\Servers\ConquerServer_v2\ConquerServer_v2\ Game Processor.cs:line 18
at ConquerServer_v2.NetworkServerSocket.Accept(IAsync Result res) in C:\Users\Daivya C. Reka\Documents\Files\Conquer Related\Servers\ConquerServer_v2\ConquerServer_v2\ NetworkServerSocket.cs:line 157
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Obj ect state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback (Object result, IntPtr userToken)
at System.Net.Sockets.Socket.AcceptCallback(Object nullState)
at System.Net.Sockets.Socket.RegisteredWaitCallback(O bject state, Boolean timedOut)
at System.Threading._ThreadPoolWaitOrTimerCallback.Pe rformWaitOrTimerCallback(Object state, Boolean timedOut)
InnerException: System.Runtime.InteropServices.COMException
Message=The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)
ErrorCode=-2147010895
InnerException:
yes i am :xDQuote:
Originally Posted by WH-Man
You from LastCo?
Quote:
System.IO.FileLoadException was unhandled
Message=Could not load file or assembly 'BlowfishCFB, Version=1.0.3434.27049, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)
Source=ConquerServer_v2
FileName=BlowfishCFB, Version=1.0.3434.27049, Culture=neutral, PublicKeyToken=null
FusionLog=""
StackTrace:
at ConquerServer_v2.Client.BlowfishCrypter..ctor()
at ConquerServer_v2.Client.GameClient..ctor(NetworkCl ient Client) in C:\Users\Daivya C. Reka\Documents\Files\Conquer Related\Servers\ConquerServer_v2\ConquerServer_v2\ Client\Game Client.cs:line 156
at ConquerServer_v2.Program.Game_Connect(NetworkClien t nClient) in C:\Users\Daivya C. Reka\Documents\Files\Conquer Related\Servers\ConquerServer_v2\ConquerServer_v2\ Game Processor.cs:line 18
at ConquerServer_v2.NetworkServerSocket.Accept(IAsync Result res) in C:\Users\Daivya C. Reka\Documents\Files\Conquer Related\Servers\ConquerServer_v2\ConquerServer_v2\ NetworkServerSocket.cs:line 157
at System.Net.LazyAsyncResult.Complete(IntPtr userToken)
at System.Net.ContextAwareResult.CompleteCallback(Obj ect state)
at System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
at System.Net.ContextAwareResult.Complete(IntPtr userToken)
at System.Net.LazyAsyncResult.ProtectedInvokeCallback (Object result, IntPtr userToken)
at System.Net.Sockets.Socket.AcceptCallback(Object nullState)
at System.Net.Sockets.Socket.RegisteredWaitCallback(O bject state, Boolean timedOut)
at System.Threading._ThreadPoolWaitOrTimerCallback.Pe rformWaitOrTimerCallback(Object state, Boolean timedOut)
InnerException: System.Runtime.InteropServices.COMException
Message=The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail. (Exception from HRESULT: 0x800736B1)
ErrorCode=-2147010895
InnerException:
OS?Quote:
Originally Posted by taylor2846
what OS you using?
OS=operating systemQuote:
OS?
can you explain more please
@ ...Quote:
@....GameClient.cs
Crypto = new BlowfishCrypter();
Could not load file or assembly 'BlowfishCFB, Version=1.0.3434.27049, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log for more detail. (Exception from HRESULT: 0x800736B1)
public unsafe class BlowfishCrypter
{
private static byte[] blowfishKey = ASCIIEncoding.ASCII.GetBytes("DR654dt34trg4UI6");
private byte[] iv_enc, iv_dec;
private UnmanagedBlowfishCFB bf;
private DHExchange DHEx;
private byte num_dec, num_enc;
public BlowfishCrypter()
{
bf = new UnmanagedBlowfishCFB(blowfishKey);
DHEx = new DHExchange();
num_dec = 0;
num_enc = 0;
iv_dec = new byte[8];
iv_enc = new byte[8];
}
public unsafe void Encrypt(void* In, byte[] Out, int Size)
{
fixed (byte* lpOut = Out, lpIV = iv_enc, lpCounter = &num_enc)
bf.Encrypt((byte*)In, lpOut, lpIV, Size, lpCounter);
}
public unsafe void Encrypt(byte[] In, byte[] Out, int Size)
{
fixed (byte* lpIn = In, lpOut = Out, lpIV = iv_enc, lpCounter = &num_enc)
bf.Encrypt(lpIn, lpOut, lpIV, Size, lpCounter);
}
public unsafe void Decrypt(byte[] In, byte[] Out, int Size)
{
fixed (byte* lpIn = In, lpOut = Out, lpIV = iv_dec, lpCounter = &num_dec)
bf.Decrypt(lpIn, lpOut, lpIV, Size, lpCounter);
}
public void DHSetKey(byte[] Key)
{
bf.SetKey(DHEx.SetKey(Key));
}
public void FinishHandShake()
{
fixed (byte* lpEnc = iv_enc, lpDec = iv_dec)
{
MSVCRT.memset(lpEnc, 0, 8);
MSVCRT.memset(lpDec, 0, 8);
}
num_dec = num_enc = 0;
DHEx.Dispose();
}
public byte[] CreateHandShake()
{
return PacketBuilder.HandShakePacket(DHExchange.g, DHExchange.p, DHEx.GetPubKey());
}
~BlowfishCrypter()
{
bf.Free();
}
}