Register for your free account! | Forgot your password?

You last visited: Today at 13:27

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[HELP] PLEASE!

Discussion on [HELP] PLEASE! within the CO2 Private Server forum part of the Conquer Online 2 category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jan 2010
Posts: 134
Received Thanks: 64
[HELP] PLEASE!

Hello, today im trying to add my server to my vps, but when someone trys to connect i get this error

Code:
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
   at NewestCOServer.Native.BF_set_key(IntPtr _key, Int32 len, Byte[] data)
   at NewestCOServer.Main.Blowfish.SetKey(Byte[] data) in C:\Users\HP\Desktop\server work\ultimo update rikardo\rikardo updated\Main\Blowfish.cs:line 85
   at NewestCOServer.Main.GameCrypto..ctor(Byte[] key) in C:\Users\HP\Desktop\server work\ultimo update rikardo\rikardo updated\Main\Blowfish.cs:line 15
   at NewestCOServer.Main.GameClient..ctor(Boolean Robot) in C:\Users\HP\Desktop\server work\ultimo update rikardo\rikardo updated\Main\GameClient.cs:line 48
System.NullReferenceException: Object reference not set to an instance of an object.
   at NewestCOServer.Main.GameWorker.ConnectionHandler(StateObj S) in C:\Users\HP\Desktop\server work\ultimo update rikardo\rikardo updated\Main\GameWorker.cs:line 33
any ideas?
DontLookDown is offline  
Old 01/23/2010, 06:26   #2
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by DontLookDown View Post
Hello, today im trying to add my server to my vps, but when someone trys to connect i get this error

Code:
System.BadImageFormatException: An attempt was made to load a program with an incorrect format. (Exception from HRESULT: 0x8007000B)
   at NewestCOServer.Native.BF_set_key(IntPtr _key, Int32 len, Byte[] data)
   at NewestCOServer.Main.Blowfish.SetKey(Byte[] data) in C:\Users\HP\Desktop\server work\ultimo update rikardo\rikardo updated\Main\Blowfish.cs:line 85
   at NewestCOServer.Main.GameCrypto..ctor(Byte[] key) in C:\Users\HP\Desktop\server work\ultimo update rikardo\rikardo updated\Main\Blowfish.cs:line 15
   at NewestCOServer.Main.GameClient..ctor(Boolean Robot) in C:\Users\HP\Desktop\server work\ultimo update rikardo\rikardo updated\Main\GameClient.cs:line 48
System.NullReferenceException: Object reference not set to an instance of an object.
   at NewestCOServer.Main.GameWorker.ConnectionHandler(StateObj S) in C:\Users\HP\Desktop\server work\ultimo update rikardo\rikardo updated\Main\GameWorker.cs:line 33
any ideas?
Is your vps a 64 bit?
Arcо is offline  
Old 01/23/2010, 06:39   #3
 
elite*gold: 0
Join Date: Jan 2010
Posts: 134
Received Thanks: 64
Yeah it is.
DontLookDown is offline  
Old 01/23/2010, 06:42   #4
 
Arcо's Avatar
 
elite*gold: 0
Join Date: Oct 2009
Posts: 8,783
Received Thanks: 5,304
Quote:
Originally Posted by DontLookDown View Post
Yeah it is.
Please refer to the FAQ section of my Official 5165 thread.
Big thanks to Korvacs for that solution.
Arcо is offline  
Old 01/23/2010, 06:48   #5
 
spare2's Avatar
 
elite*gold: 20
Join Date: Oct 2009
Posts: 1,009
Received Thanks: 621
spare2 is offline  
Old 01/23/2010, 09:02   #6
 
elite*gold: 0
Join Date: Jan 2010
Posts: 134
Received Thanks: 64
Ok, i did that, now i get this error
Code:
System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.serviceModel. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 136)
   at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
   at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
   at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
   at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
   --- End of inner exception stack trace ---
   at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
   at System.Configuration.ClientConfigurationSystem.PrepareClientConfigSystem(String sectionName)
   at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
   at System.Configuration.ConfigurationManager.GetSection(String sectionName)
   at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
   at System.Diagnostics.DiagnosticsConfiguration.GetConfigSection()
   at System.Diagnostics.DiagnosticsConfiguration.Initialize()
   at System.Diagnostics.DiagnosticsConfiguration.get_Sources()
   at System.Diagnostics.TraceSource.Initialize()
   at System.Net.Logging.InitializeLogging()
   at System.Net.Logging.get_On()
   at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
   at NewestCOServer.Connection.Listen(Int32 Port) in C:\Documents and Settings\Administrator\Desktop\rikardo updated\Connection.cs:line 49
System.NullReferenceException: Object reference not set to an instance of an object.
   at NewestCOServer.Connection.Listen(Int32 Port) in C:\Documents and Settings\Administrator\Desktop\rikardo updated\Connection.cs:line 56
   at NewestCOServer.Main.AuthWorker.StartServer(String GameIP) in C:\Documents and Settings\Administrator\Desktop\rikardo updated\Main\AuthWorker.cs:line 68
System.Configuration.ConfigurationErrorsException: Configuration system failed to initialize ---> System.Configuration.ConfigurationErrorsException: Unrecognized configuration section system.serviceModel. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\machine.config line 136)
   at System.Configuration.ConfigurationSchemaErrors.ThrowIfErrors(Boolean ignoreLocal)
   at System.Configuration.BaseConfigurationRecord.ThrowIfParseErrors(ConfigurationSchemaErrors schemaErrors)
   at System.Configuration.BaseConfigurationRecord.ThrowIfInitErrors()
   at System.Configuration.ClientConfigurationSystem.EnsureInit(String configKey)
   --- End of inner exception stack trace ---
   at System.Configuration.ConfigurationManager.PrepareConfigSystem()
   at System.Configuration.ConfigurationManager.GetSection(String sectionName)
   at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
   at System.Net.Configuration.SettingsSectionInternal.get_Section()
   at System.Net.Sockets.Socket.InitializeSockets()
   at System.Net.Sockets.Socket..ctor(AddressFamily addressFamily, SocketType socketType, ProtocolType protocolType)
   at NewestCOServer.Connection.Listen(Int32 Port) in C:\Documents and Settings\Administrator\Desktop\rikardo updated\Connection.cs:line 49
System.NullReferenceException: Object reference not set to an instance of an object.
   at NewestCOServer.Connection.Listen(Int32 Port) in C:\Documents and Settings\Administrator\Desktop\rikardo updated\Connection.cs:line 56
   at NewestCOServer.Main.GameWorker.StartServer() in C:\Documents and Settings\Administrator\Desktop\rikardo updated\Main\GameWorker.cs:line 22
DontLookDown is offline  
Old 01/23/2010, 14:37   #7


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
What version of visual studio are you using?
Korvacs is offline  
Old 01/23/2010, 20:06   #8
 
elite*gold: 0
Join Date: Jan 2010
Posts: 134
Received Thanks: 64
Visual C# express editions 2008
DontLookDown is offline  
Old 01/23/2010, 20:37   #9


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
Have you made any alterations to the source?
Korvacs is offline  
Old 01/23/2010, 20:43   #10
 
elite*gold: 0
Join Date: Jan 2010
Posts: 134
Received Thanks: 64
Actually no, i tried it on my source, then i downloaded on from epvpers and tried that too, none worked.
DontLookDown is offline  
Old 01/23/2010, 22:41   #11


 
Korvacs's Avatar
 
elite*gold: 20
Join Date: Mar 2006
Posts: 6,126
Received Thanks: 2,518
And you followed the guide completely?

It appears as though NewestCOServer.Connection is not being created, or atleast something within that is not being created correctly. What .Net Framework are you aiming your project at?
Korvacs is offline  
Old 01/23/2010, 22:55   #12
 
spare2's Avatar
 
elite*gold: 20
Join Date: Oct 2009
Posts: 1,009
Received Thanks: 621
IDK what's the problem. But you still have .Net framework 2.0, try updating to 3.5 or 4?
spare2 is offline  
Old 01/23/2010, 23:50   #13
 
elite*gold: 0
Join Date: Jan 2010
Posts: 134
Received Thanks: 64
I have 3.5 .net frameworks..
DontLookDown is offline  
Old 01/23/2010, 23:53   #14
 
.Ryu's Avatar
 
elite*gold: 0
Join Date: Dec 2009
Posts: 583
Received Thanks: 119
Quote:
Originally Posted by DontLookDown View Post
I have 3.5 .net frameworks..
Trying getting visual c# 10
It helped my friend
.Ryu is offline  
Reply




All times are GMT +1. The time now is 13:28.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.