Battlefield 3 Official Ranked game servers now available!

i3D.net Game Forums   i3D.net Support (email & live chat)
Amsterdam +31 (0)10 8900070
USA 1-800-482-6910 (toll free)
Frankfurt +49 69 257378709

Go Back   i3D.net Game Forums > i3D.net Community > Command Center Development > Bad Company 2 Command Center > BC2CC Technical Support and Feedback
Downloads
300 GB of games and patches
Downloads

Reply
 
Thread Tools Search this Thread Display Modes
Old 14-3-2011, 19:23   #1 (permalink)
 
Join Date: 10 January 11
Posts: 7
Downloads: 0
Uploads: 0
Loonens 10

Default BC2CC crashes at starting server

Hi all!

I used BC2CC till yesterday with a lot of fun! It's an awesome admin-tool .

Yesterday my pc had a temperature (VGA) crash, with BC2CC on. I cleaned my pc and started over again. No crashes anymore. But when I started BC2CC, I missed my server.

I added the server again (IP / PORT / PASSWORD) and press SAVE.

This is what I get everytime;

Quote:
Exception of Type "System.Reflection.TargetInvocationException"

Message: Exception has been thrown by the target of an invocation.

Source: mscorlib

Data:

InnerException:

Exception of Type "System.Windows.Markup.XamlParseException"

Message: The invocation of the constructor on type 'I3D.BFBC2CC.WpfClient.UserControls.MainTabControl s.MapOptionsControl' that matches the specified binding constraints threw an exception.

Source: PresentationFramework

InnerException:

Exception of Type "System.Configuration.ConfigurationErrorsException "

Message: Configuration system failed to initialize

Source: System.Configuration

InnerException:

Exception of Type "System.Configuration.ConfigurationErrorsException "

Message: Root element is missing. (C:\Documents and Settings\Loonens\Local Settings\Apps\2.0\Data\Q2599JNX.H2O\L6LCWLD7.794\b fbc..tion_e07f4b57d7a13ecf_0002.0003_1e8d35719e9d1 38b\Data\2.3.1.0\user.config)

Source: System.Configuration

InnerException:

Exception of Type "System.Xml.XmlException"

Message: Root element is missing.

Source: System.Xml

StackTrace:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent( )
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.InitC onfigFromFile()

StackTrace:
at System.Configuration.ConfigurationSchemaErrors.Thr owIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.Throw IfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.Throw IfInitErrors()
at System.Configuration.ClientConfigurationSystem.OnC onfigRemoved(Object sender, InternalConfigEventArgs e)

StackTrace:
at System.Configuration.ConfigurationManager.PrepareC onfigSystem()
at System.Configuration.ConfigurationManager.GetSecti on(String sectionName)
at System.Configuration.ConfigurationManager.get_AppS ettings()
at I3D.BFBC2CC.WpfClient.UserControls.MainTabControls .MapOptionsControl..ctor()

StackTrace:
at System.Windows.Markup.XamlReader.RewrapException(E xception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReade r xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlR eader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at I3D.BFBC2CC.WpfClient.UserControls.MainServerContr ol.InitializeComponent()
at I3D.BFBC2CC.WpfClient.UserControls.MainServerContr ol..ctor()
at I3D.BFBC2CC.WpfClient.UserControls.ServerListContr ol.Connect(Object selectedServer)

StackTrace:
at System.RuntimeMethodHandle._InvokeMethodFast(IRunt imeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRunti meMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Application Version: 2.3.1.0

OS Version: Microsoft Windows NT 5.1.2600 Service Pack 3

Processor Count: 4
Memory Used: 72mb
What can I do? I cleaned my register with Malware anti-malware. I removed BC2CC totally and reinstalled it. It all had no effect.

My brother doesn't have the problem to access the same server. So it is only a problem on my pc.

Do you guys have any idea what can be wrong?

Thanks in advance for all your help and trouble! I really hate it that I can only kick players by using clanforge
Loonens is offline   Reply With Quote
Sponsored Links
Old 14-3-2011, 20:06   #2 (permalink)
Corporal First Class
 
Span's Avatar
 
Join Date: 25 July 10
Location: Selma, Tx
Posts: 212
Downloads: 0
Uploads: 0
Xfire: spanspace
Span 10
Send a message via AIM to Span Send a message via Yahoo to Span
Default

By the looks of the error something is misconfigured.

Can you screenshot the screen you entered this information into? Also is .net framework 4 installed?
Span is offline   Reply With Quote

i3D.net is now on Facebook!
Old 14-3-2011, 20:31   #3 (permalink)
 
Join Date: 10 January 11
Posts: 7
Downloads: 0
Uploads: 0
Loonens 10
Default

Quote:
Originally Posted by Span View Post
By the looks of the error something is misconfigured.

Can you screenshot the screen you entered this information into? Also is .net framework 4 installed?
I installed Framework 4 -> he repaired for 2 minutes.

Unforunately still the same problem :



http://img858.PLEASE UPLOAD IMAGES THROUGH THIS FORUM /img858/8577/bccc2.jpg
Loonens is offline   Reply With Quote
Old 14-3-2011, 20:47   #4 (permalink)
Corporal First Class
 
Span's Avatar
 
Join Date: 25 July 10
Location: Selma, Tx
Posts: 212
Downloads: 0
Uploads: 0
Xfire: spanspace
Span 10
Send a message via AIM to Span Send a message via Yahoo to Span
Default

Screenshot didnt come through but I figured it was on imageshack. That's a picture of the error. I wanted to see the screen you typed your ip, port and password into. It reveals nothing personal as the password is hidden.
Span is offline   Reply With Quote
Old 16-3-2011, 07:50   #5 (permalink)
 
Join Date: 10 January 11
Posts: 7
Downloads: 0
Uploads: 0
Loonens 10
Default

When I add a server, I see the following;

Picture 1



When I start the server, I see the text and image above (See first and third post).


The program doesn't shut down. When I shut down, I get the following text and picture 2

Quote:
Exception of Type "System.Configuration.ConfigurationErrorsException "

Message: Configuration system failed to initialize

Source: System.Configuration

Data:

InnerException:

Exception of Type "System.Configuration.ConfigurationErrorsException "

Message: Root element is missing. (C:\Documents and Settings\Loonens\Local Settings\Apps\2.0\Data\Q2599JNX.H2O\L6LCWLD7.794\b fbc..tion_e07f4b57d7a13ecf_0002.0003_1e8d35719e9d1 38b\Data\2.3.1.0\user.config)

Source: System.Configuration

InnerException:

Exception of Type "System.Xml.XmlException"

Message: Root element is missing.

Source: System.Xml

StackTrace:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent( )
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.InitC onfigFromFile()

StackTrace:
at System.Configuration.ConfigurationSchemaErrors.Thr owIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.Throw IfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.Throw IfInitErrors()
at System.Configuration.ClientConfigurationSystem.OnC onfigRemoved(Object sender, InternalConfigEventArgs e)

StackTrace:
at System.Configuration.ConfigurationManager.PrepareC onfigSystem()
at System.Configuration.ConfigurationManager.RefreshS ection(String sectionName)
at System.Configuration.ClientSettingsStore.ReadSetti ngs(String sectionName, Boolean isUserScoped)
at System.Configuration.LocalFileSettingsProvider.Get PropertyValues(SettingsContext context, SettingsPropertyCollection properties)
at System.Configuration.SettingsBase.GetPropertiesFro mProvider(SettingsProvider provider)
at System.Configuration.SettingsBase.SetPropertyValue ByName(String propertyName, Object propertyValue)
at System.Configuration.SettingsBase.set_Item(String propertyName, Object value)
at System.Configuration.ApplicationSettingsBase.set_I tem(String propertyName, Object value)
at I3D.BFBC2CC.WpfClient.Properties.Settings.set_Widt h(Double value)
at I3D.BFBC2CC.WpfClient.MainWindow.MainWindow_Closin g(Object sender, CancelEventArgs e)
at System.Windows.Window.OnClosing(CancelEventArgs e)
at System.Windows.Window.WmClose()
at System.Windows.Window.WindowFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.PublicHooksFilte rMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation( Object o)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Application Version: 2.3.1.0

OS Version: Microsoft Windows NT 5.1.2600 Service Pack 3

Processor Count: 4
Memory Used: 71mb
Attached Thumbnails
BC2CC crashes at starting server-server-ip.jpg   BC2CC crashes at starting server-afsluit.jpg  

Loonens is offline   Reply With Quote
Old 16-3-2011, 13:31   #6 (permalink)
Corporal First Class
 
Span's Avatar
 
Join Date: 25 July 10
Location: Selma, Tx
Posts: 212
Downloads: 0
Uploads: 0
Xfire: spanspace
Span 10
Send a message via AIM to Span Send a message via Yahoo to Span
Default

Query port should be 48888
Span is offline   Reply With Quote
Old 16-3-2011, 19:10   #7 (permalink)
 
Join Date: 10 January 11
Posts: 7
Downloads: 0
Uploads: 0
Loonens 10
Default

Thanks for your help. I really appreciate it!!

But I now get the next problem;

Quote:
Exception of Type "System.Reflection.TargetInvocationException"

Message: Exception has been thrown by the target of an invocation.

Source: mscorlib

Data:

InnerException:

Exception of Type "System.Windows.Markup.XamlParseException"

Message: The invocation of the constructor on type 'I3D.BFBC2CC.WpfClient.UserControls.MainTabControl s.MapOptionsControl' that matches the specified binding constraints threw an exception.

Source: PresentationFramework

InnerException:

Exception of Type "System.Configuration.ConfigurationErrorsException "

Message: Configuration system failed to initialize

Source: System.Configuration

InnerException:

Exception of Type "System.Configuration.ConfigurationErrorsException "

Message: Root element is missing. (C:\Documents and Settings\Loonens\Local Settings\Apps\2.0\Data\Q2599JNX.H2O\L6LCWLD7.794\b fbc..tion_e07f4b57d7a13ecf_0002.0003_1e8d35719e9d1 38b\Data\2.3.1.0\user.config)

Source: System.Configuration

InnerException:

Exception of Type "System.Xml.XmlException"

Message: Root element is missing.

Source: System.Xml

StackTrace:
at System.Xml.XmlTextReaderImpl.Throw(Exception e)
at System.Xml.XmlTextReaderImpl.ParseDocumentContent( )
at System.Xml.XmlTextReaderImpl.Read()
at System.Xml.XmlTextReader.Read()
at System.Configuration.XmlUtil..ctor(Stream stream, String name, Boolean readToFirstElement, ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.InitC onfigFromFile()

StackTrace:
at System.Configuration.ConfigurationSchemaErrors.Thr owIfErrors(Boolean ignoreLocal)
at System.Configuration.BaseConfigurationRecord.Throw IfParseErrors(ConfigurationSchemaErrors schemaErrors)
at System.Configuration.BaseConfigurationRecord.Throw IfInitErrors()
at System.Configuration.ClientConfigurationSystem.OnC onfigRemoved(Object sender, InternalConfigEventArgs e)

StackTrace:
at System.Configuration.ConfigurationManager.PrepareC onfigSystem()
at System.Configuration.ConfigurationManager.GetSecti on(String sectionName)
at System.Configuration.ConfigurationManager.get_AppS ettings()
at I3D.BFBC2CC.WpfClient.UserControls.MainTabControls .MapOptionsControl..ctor()

StackTrace:
at System.Windows.Markup.XamlReader.RewrapException(E xception e, IXamlLineInfo lineInfo, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.Load(XamlReade r xamlReader, IXamlObjectWriterFactory writerFactory, Boolean skipJournaledProperties, Object rootObject, XamlObjectWriterSettings settings, Uri baseUri)
at System.Windows.Markup.WpfXamlLoader.LoadBaml(XamlR eader xamlReader, Boolean skipJournaledProperties, Object rootObject, XamlAccessLevel accessLevel, Uri baseUri)
at System.Windows.Markup.XamlReader.LoadBaml(Stream stream, ParserContext parserContext, Object parent, Boolean closeStream)
at System.Windows.Application.LoadComponent(Object component, Uri resourceLocator)
at I3D.BFBC2CC.WpfClient.UserControls.MainServerContr ol.InitializeComponent()
at I3D.BFBC2CC.WpfClient.UserControls.MainServerContr ol..ctor()
at I3D.BFBC2CC.WpfClient.UserControls.ServerListContr ol.Connect(Object selectedServer)

StackTrace:
at System.RuntimeMethodHandle._InvokeMethodFast(IRunt imeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(IRunti meMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Delegate.DynamicInvokeImpl(Object[] args)
at System.Windows.Threading.ExceptionWrapper.Internal RealCall(Delegate callback, Object args, Int32 numArgs)
at MS.Internal.Threading.ExceptionFilterHelper.TryCat chWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)

Application Version: 2.3.1.0

OS Version: Microsoft Windows NT 5.1.2600 Service Pack 3

Processor Count: 4
Memory Used: 70mb
Any suggestions? I'm about to give my pc a clean install just to get BFBC2 work!!
Attached Thumbnails
BC2CC crashes at starting server-bcbc.jpg  
Loonens is offline   Reply With Quote
Old 16-3-2011, 20:17   #8 (permalink)
Colonel
 
Join Date: 05 March 10
Posts: 1,012
Downloads: 0
Uploads: 0
GEN3RIC 30
Send a message via AIM to GEN3RIC
Default

Don't do that yet! That file user.config gets corrupted and it can't load your preferences. It'll regenerate when it's missing, so let's make it missing.

Just delete all the folders in this directory:

%userprofile%\AppData\Local\Interactive_3D
GEN3RIC is offline   Reply With Quote
Old 16-3-2011, 23:17   #9 (permalink)
 
Join Date: 10 January 11
Posts: 7
Downloads: 0
Uploads: 0
Loonens 10
Default

I can't find the Interactive_3D folder. I have Windows XP and search this folder in;

userprofile\applicationdata\.....

c:\program files\.....

Where else do I have to search?
Loonens is offline   Reply With Quote
Old 16-3-2011, 23:18   #10 (permalink)
Colonel
 
Join Date: 05 March 10
Posts: 1,012
Downloads: 0
Uploads: 0
GEN3RIC 30
Send a message via AIM to GEN3RIC
Default

It's a hidden folder, you might have to "show all hidden files and folders". But I recommend just typing it into your Run prompt, it should find it.
GEN3RIC is offline   Reply With Quote
Old 17-3-2011, 18:47   #11 (permalink)
 
Join Date: 10 January 11
Posts: 7
Downloads: 0
Uploads: 0
Loonens 10
Default

I searched for a while, but it's working now GEN3RIC!!

Thanks GEN3RIC and Span for you help!!
Loonens is offline   Reply With Quote
Old 26-4-2011, 19:12   #12 (permalink)
 
Join Date: 20 April 11
Posts: 1
Downloads: 0
Uploads: 0
problematic 10
Default

Quote:
Originally Posted by GEN3RIC View Post
Don't do that yet! That file user.config gets corrupted and it can't load your preferences. It'll regenerate when it's missing, so let's make it missing.

Just delete all the folders in this directory:

%userprofile%\AppData\Local\Interactive_3D
Hello i have same problem. When i run Bc2cc (and without connecting to any serv) and then shut it down error "configuration system failed to initialize" pops up. And i want to add that i tried to find this interactive_3D folder but it doesnt exist on my hdd. I did reinstall bc2cc twice and still same problem. What should i do?
problematic is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



New To Site? Need Help?

All times are GMT +2. The time now is 03:22.


©2011 INTERACTIVE 3D BV - Alle rechten voorbehouden
no new posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264