office 2007 accounting shuts down at startup


S

Sunny

As soon as i get the wizard at startup that asks me what to do and i choose
start a new company it' error's out and shuts itself down, the following is
the error message :

Problem signature:
Problem Event Name: OfficeAccounting2
Problem Signature 01: 2.0.7024.0
Problem Signature 02: TypeInitializationException
Problem Signature 03: Callback
Problem Signature 04: .ctor
Problem Signature 05: ce426049
Problem Signature 06: 409
Problem Signature 07: 2
OS Version: 6.0.6000.2.0.0.256.1
Locale ID: 1033

Additional information about the problem:
LCID: 1033

and the following is part of the dump file:

<?xml version="1.0" encoding="utf-16" ?>
- <SBAWatsonInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<info>Microsoft Office Accounting Managed Text Dump - Version 2.0</info>
<osInfo>Microsoft Windows NT 6.0.6000.0</osInfo>
<CLRVersion>2.0.50727.312</CLRVersion>
<currentStackTrace>at
Microsoft.BusinessSolutions.SmallBusinessAccounting.SBAWatsonInfo..ctor(Exception,
BucketingParameters, Boolean), ilOffset=101 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.SBAWatson.WatsonReport(Exception,
Object, Boolean, String, String), ilOffset=34 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.HandleExceptionWithWatson(Exception,
String), ilOffset=195 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.Application_ThreadException(Object,
ThreadExceptionEventArgs), ilOffset=12 at
System.Windows.Forms.ThreadContext.OnThreadException(Exception), ilOffset=43
at System.Windows.Forms.Control.WndProcException(Exception), ilOffset=6 at
System.Windows.Forms.ControlNativeWindow.OnThreadException(Exception),
ilOffset=12 at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32,
IntPtr, IntPtr), ilOffset=65 at
System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef, Int32) at
System.Windows.Forms.Control.SetVisibleCore(Boolean), ilOffset=62 at
System.Windows.Forms.Form.SetVisibleCore(Boolean), ilOffset=147 at
System.Windows.Forms.Control.set_Visible(Boolean), ilOffset=7 at
System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32,
ApplicationContext), ilOffset=447 at
System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext),
ilOffset=19 at System.Windows.Forms.Form.ShowDialog(IWin32Window),
ilOffset=609 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.Explorer.ShowJumpPage(),
ilOffset=218 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.Explorer.ValidateConnection(),
ilOffset=64 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.Explorer.backgroundWorkerLogon_RunWorkerCompleted(Object,
RunWorkerCompletedEventArgs), ilOffset=76 at
System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs),
ilOffset=33 at
System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object),
ilOffset=26 at System.RuntimeMethodHandle._InvokeMethodFast(Object, Object[],
SignatureStruct&, MethodAttributes, RuntimeTypeHandle) at
System.RuntimeMethodHandle.InvokeMethodFast(Object, Object[], Signature,
MethodAttributes, RuntimeTypeHandle), ilOffset=22 at
System.Reflection.RuntimeMethodInfo.Invoke(Object, BindingFlags, Binder,
Object[], CultureInfo, Boolean), ilOffset=275 at
System.Delegate.DynamicInvokeImpl(Object[]), ilOffset=33 at
System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry),
ilOffset=207 at
System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object),
ilOffset=32 at System.Threading.ExecutionContext.runTryCode(Object),
ilOffset=41 at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode,
CleanupCode, Object) at
System.Threading.ExecutionContext.RunInternal(ExecutionContext,
ContextCallback, Object), ilOffset=66 at
System.Threading.ExecutionContext.Run(ExecutionContext, ContextCallback,
Object), ilOffset=104 at
System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry),
ilOffset=72 at System.Windows.Forms.Control.InvokeMarshaledCallbacks(),
ilOffset=90 at System.Windows.Forms.Control.WndProc(Message&), ilOffset=1609
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&), ilOffset=12
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&), ilOffset=154
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr),
ilOffset=37 at
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&) at
System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32,
Int32, Int32), ilOffset=380 at
System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32,
ApplicationContext), ilOffset=478 at
System.Windows.Forms.ThreadContext.RunMessageLoop(Int32, ApplicationContext),
ilOffset=19 at System.Windows.Forms.Application.Run(Form), ilOffset=17 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.Launch(String[],
String), ilOffset=1117 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.HostMain(String[]),
ilOffset=402 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.MarshalByRefType.LaunchHost(String[]), ilOffset=11</currentStackTrace>
<exceptionStackTrace>at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBADateTimePicker..ctor(),
ilOffset=6 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.DateTimePickerCell.InitializeComponent(),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.DateTimePickerCell..ctor(),
ilOffset=6 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanySelectAccountingPeriodPage.InitializeComponent(),
ilOffset=27 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanySelectAccountingPeriodPage..ctor(WizardControlBase,
Int32, Step), ilOffset=9 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizard.WizardPages(),
ilOffset=258 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardEnUS.WizardPages(),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizard..ctor(),
ilOffset=320 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizard..ctor(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardEnUS..ctor(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardFormEnUS.GetCompanyWizard(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizardForm..ctor(CompanyAccountHolder),
ilOffset=12 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardFormEnUS..ctor(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.SBAApplicationEnUS.get_CompanyWizard(),
ilOffset=5 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.AnchorPage.DoBaseAnchorPageItemAction(AnchorPageItem),
ilOffset=9 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.AnchorPage.OnLoad(EventArgs),
ilOffset=91 at System.Windows.Forms.Form.OnCreateControl(), ilOffset=36 at
System.Windows.Forms.Control.CreateControl(Boolean), ilOffset=191 at
System.Windows.Forms.Control.CreateControl(), ilOffset=7 at
System.Windows.Forms.Control.WmShowWindow(Message&), ilOffset=66 at
System.Windows.Forms.Control.WndProc(Message&), ilOffset=1456 at
System.Windows.Forms.ScrollableControl.WndProc(Message&), ilOffset=58 at
System.Windows.Forms.ContainerControl.WndProc(Message&), ilOffset=19 at
System.Windows.Forms.Form.WmShowWindow(Message&), ilOffset=17 at
System.Windows.Forms.Form.WndProc(Message&), ilOffset=546 at
System.Windows.Forms.ControlNativeWindow.OnMessage(Message&), ilOffset=0 at
System.Windows.Forms.ControlNativeWindow.WndProc(Message&), ilOffset=142 at
System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr),
ilOffset=37</exceptionStackTrace>
<exceptionString>System.TypeInitializationException: The type initializer
for 'Microsoft.BusinessSolutions.SmallBusinessAccounting.Constants' threw an
exception. ---> System.AccessViolationException: Attempted to read or write
protected memory. This is often an indication that other memory is corrupt.
at System.String.wstrcpy(Char* dmem, Char* smem, Int32 charCount) at
System.String.AppendInPlace(String value, Int32 currentLength) at
System.Text.StringBuilder.Append(String value)
 
Ad

Advertisements

J

Jesper [MS]

Hi Sunny

This is the error you're getting:
"System.TypeInitializationException: The type initializer
for 'Microsoft.BusinessSolutions.SmallBusinessAccounting.Constants' threw an
exception. ---> System.AccessViolationException: Attempted to read or write
protected memory. This is often an indication that other memory is corrupt.
"

It looks like it originates on your system and not in MOA itself.

I can see that you are running on a version of Vista - is this an RTM
version? And have you tried reinstalling MOA?

--
Thanks
Jesper
http://blogs.msdn.com/jesperbirkolsen/


Sunny said:
As soon as i get the wizard at startup that asks me what to do and i
choose
start a new company it' error's out and shuts itself down, the following
is
the error message :

Problem signature:
Problem Event Name: OfficeAccounting2
Problem Signature 01: 2.0.7024.0
Problem Signature 02: TypeInitializationException
Problem Signature 03: Callback
Problem Signature 04: .ctor
Problem Signature 05: ce426049
Problem Signature 06: 409
Problem Signature 07: 2
OS Version: 6.0.6000.2.0.0.256.1
Locale ID: 1033

Additional information about the problem:
LCID: 1033

and the following is part of the dump file:

<?xml version="1.0" encoding="utf-16" ?>
- <SBAWatsonInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<info>Microsoft Office Accounting Managed Text Dump - Version 2.0</info>
<osInfo>Microsoft Windows NT 6.0.6000.0</osInfo>
<CLRVersion>2.0.50727.312</CLRVersion>
<currentStackTrace>at
Microsoft.BusinessSolutions.SmallBusinessAccounting.SBAWatsonInfo..ctor(Exception,
BucketingParameters, Boolean), ilOffset=101 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.SBAWatson.WatsonReport(Exception,
Object, Boolean, String, String), ilOffset=34 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.HandleExceptionWithWatson(Exception,
String), ilOffset=195 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.Application_ThreadException(Object,
ThreadExceptionEventArgs), ilOffset=12 at
System.Windows.Forms.ThreadContext.OnThreadException(Exception),
ilOffset=43
at System.Windows.Forms.Control.WndProcException(Exception), ilOffset=6 at
System.Windows.Forms.ControlNativeWindow.OnThreadException(Exception),
ilOffset=12 at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32,
IntPtr, IntPtr), ilOffset=65 at
System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef, Int32) at
System.Windows.Forms.Control.SetVisibleCore(Boolean), ilOffset=62 at
System.Windows.Forms.Form.SetVisibleCore(Boolean), ilOffset=147 at
System.Windows.Forms.Control.set_Visible(Boolean), ilOffset=7 at
System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32,
ApplicationContext), ilOffset=447 at
System.Windows.Forms.ThreadContext.RunMessageLoop(Int32,
ApplicationContext),
ilOffset=19 at System.Windows.Forms.Form.ShowDialog(IWin32Window),
ilOffset=609 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.Explorer.ShowJumpPage(),
ilOffset=218 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.Explorer.ValidateConnection(),
ilOffset=64 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.Explorer.backgroundWorkerLogon_RunWorkerCompleted(Object,
RunWorkerCompletedEventArgs), ilOffset=76 at
System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs),
ilOffset=33 at
System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object),
ilOffset=26 at System.RuntimeMethodHandle._InvokeMethodFast(Object,
Object[],
SignatureStruct&, MethodAttributes, RuntimeTypeHandle) at
System.RuntimeMethodHandle.InvokeMethodFast(Object, Object[], Signature,
MethodAttributes, RuntimeTypeHandle), ilOffset=22 at
System.Reflection.RuntimeMethodInfo.Invoke(Object, BindingFlags, Binder,
Object[], CultureInfo, Boolean), ilOffset=275 at
System.Delegate.DynamicInvokeImpl(Object[]), ilOffset=33 at
System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry),
ilOffset=207 at
System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object),
ilOffset=32 at System.Threading.ExecutionContext.runTryCode(Object),
ilOffset=41 at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode,
CleanupCode, Object) at
System.Threading.ExecutionContext.RunInternal(ExecutionContext,
ContextCallback, Object), ilOffset=66 at
System.Threading.ExecutionContext.Run(ExecutionContext, ContextCallback,
Object), ilOffset=104 at
System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry),
ilOffset=72 at System.Windows.Forms.Control.InvokeMarshaledCallbacks(),
ilOffset=90 at System.Windows.Forms.Control.WndProc(Message&),
ilOffset=1609
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&),
ilOffset=12
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&),
ilOffset=154
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr,
IntPtr),
ilOffset=37 at
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&) at
System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32,
Int32, Int32), ilOffset=380 at
System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32,
ApplicationContext), ilOffset=478 at
System.Windows.Forms.ThreadContext.RunMessageLoop(Int32,
ApplicationContext),
ilOffset=19 at System.Windows.Forms.Application.Run(Form), ilOffset=17 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.Launch(String[],
String), ilOffset=1117 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.HostMain(String[]),
ilOffset=402 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.MarshalByRefType.LaunchHost(String[]),
ilOffset=11</currentStackTrace>
<exceptionStackTrace>at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBADateTimePicker..ctor(),
ilOffset=6 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.DateTimePickerCell.InitializeComponent(),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.DateTimePickerCell..ctor(),
ilOffset=6 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanySelectAccountingPeriodPage.InitializeComponent(),
ilOffset=27 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanySelectAccountingPeriodPage..ctor(WizardControlBase,
Int32, Step), ilOffset=9 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizard.WizardPages(),
ilOffset=258 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardEnUS.WizardPages(),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizard..ctor(),
ilOffset=320 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizard..ctor(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardEnUS..ctor(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardFormEnUS.GetCompanyWizard(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizardForm..ctor(CompanyAccountHolder),
ilOffset=12 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardFormEnUS..ctor(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.SBAApplicationEnUS.get_CompanyWizard(),
ilOffset=5 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.AnchorPage.DoBaseAnchorPageItemAction(AnchorPageItem),
ilOffset=9 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.AnchorPage.OnLoad(EventArgs),
ilOffset=91 at System.Windows.Forms.Form.OnCreateControl(), ilOffset=36 at
System.Windows.Forms.Control.CreateControl(Boolean), ilOffset=191 at
System.Windows.Forms.Control.CreateControl(), ilOffset=7 at
System.Windows.Forms.Control.WmShowWindow(Message&), ilOffset=66 at
System.Windows.Forms.Control.WndProc(Message&), ilOffset=1456 at
System.Windows.Forms.ScrollableControl.WndProc(Message&), ilOffset=58 at
System.Windows.Forms.ContainerControl.WndProc(Message&), ilOffset=19 at
System.Windows.Forms.Form.WmShowWindow(Message&), ilOffset=17 at
System.Windows.Forms.Form.WndProc(Message&), ilOffset=546 at
System.Windows.Forms.ControlNativeWindow.OnMessage(Message&), ilOffset=0
at
System.Windows.Forms.ControlNativeWindow.WndProc(Message&), ilOffset=142
at
System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr),
ilOffset=37</exceptionStackTrace>
<exceptionString>System.TypeInitializationException: The type initializer
for 'Microsoft.BusinessSolutions.SmallBusinessAccounting.Constants' threw
an
exception. ---> System.AccessViolationException: Attempted to read or
write
protected memory. This is often an indication that other memory is
corrupt.
at System.String.wstrcpy(Char* dmem, Char* smem, Int32 charCount) at
System.String.AppendInPlace(String value, Int32 currentLength) at
System.Text.StringBuilder.Append(String value)
 
S

Sunny

Yes i'm running vista off of MSDN. I just uninstalled i will reboot and
reinstall and see how things work. Hopefully everything works out well, now
you "This is often an indication that other memory is corrupt" does that mean
just for the session running, so if i reboot memory will be cleared? or do
you mean the memory chip itslef? Thanks for all your help.

Sunny

Jesper said:
Hi Sunny

This is the error you're getting:
"System.TypeInitializationException: The type initializer
for 'Microsoft.BusinessSolutions.SmallBusinessAccounting.Constants' threw an
exception. ---> System.AccessViolationException: Attempted to read or write
protected memory. This is often an indication that other memory is corrupt.
"

It looks like it originates on your system and not in MOA itself.

I can see that you are running on a version of Vista - is this an RTM
version? And have you tried reinstalling MOA?

--
Thanks
Jesper
http://blogs.msdn.com/jesperbirkolsen/


Sunny said:
As soon as i get the wizard at startup that asks me what to do and i
choose
start a new company it' error's out and shuts itself down, the following
is
the error message :

Problem signature:
Problem Event Name: OfficeAccounting2
Problem Signature 01: 2.0.7024.0
Problem Signature 02: TypeInitializationException
Problem Signature 03: Callback
Problem Signature 04: .ctor
Problem Signature 05: ce426049
Problem Signature 06: 409
Problem Signature 07: 2
OS Version: 6.0.6000.2.0.0.256.1
Locale ID: 1033

Additional information about the problem:
LCID: 1033

and the following is part of the dump file:

<?xml version="1.0" encoding="utf-16" ?>
- <SBAWatsonInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<info>Microsoft Office Accounting Managed Text Dump - Version 2.0</info>
<osInfo>Microsoft Windows NT 6.0.6000.0</osInfo>
<CLRVersion>2.0.50727.312</CLRVersion>
<currentStackTrace>at
Microsoft.BusinessSolutions.SmallBusinessAccounting.SBAWatsonInfo..ctor(Exception,
BucketingParameters, Boolean), ilOffset=101 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.SBAWatson.WatsonReport(Exception,
Object, Boolean, String, String), ilOffset=34 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.HandleExceptionWithWatson(Exception,
String), ilOffset=195 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.Application_ThreadException(Object,
ThreadExceptionEventArgs), ilOffset=12 at
System.Windows.Forms.ThreadContext.OnThreadException(Exception),
ilOffset=43
at System.Windows.Forms.Control.WndProcException(Exception), ilOffset=6 at
System.Windows.Forms.ControlNativeWindow.OnThreadException(Exception),
ilOffset=12 at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32,
IntPtr, IntPtr), ilOffset=65 at
System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef, Int32) at
System.Windows.Forms.Control.SetVisibleCore(Boolean), ilOffset=62 at
System.Windows.Forms.Form.SetVisibleCore(Boolean), ilOffset=147 at
System.Windows.Forms.Control.set_Visible(Boolean), ilOffset=7 at
System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32,
ApplicationContext), ilOffset=447 at
System.Windows.Forms.ThreadContext.RunMessageLoop(Int32,
ApplicationContext),
ilOffset=19 at System.Windows.Forms.Form.ShowDialog(IWin32Window),
ilOffset=609 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.Explorer.ShowJumpPage(),
ilOffset=218 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.Explorer.ValidateConnection(),
ilOffset=64 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.Explorer.backgroundWorkerLogon_RunWorkerCompleted(Object,
RunWorkerCompletedEventArgs), ilOffset=76 at
System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs),
ilOffset=33 at
System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object),
ilOffset=26 at System.RuntimeMethodHandle._InvokeMethodFast(Object,
Object[],
SignatureStruct&, MethodAttributes, RuntimeTypeHandle) at
System.RuntimeMethodHandle.InvokeMethodFast(Object, Object[], Signature,
MethodAttributes, RuntimeTypeHandle), ilOffset=22 at
System.Reflection.RuntimeMethodInfo.Invoke(Object, BindingFlags, Binder,
Object[], CultureInfo, Boolean), ilOffset=275 at
System.Delegate.DynamicInvokeImpl(Object[]), ilOffset=33 at
System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry),
ilOffset=207 at
System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object),
ilOffset=32 at System.Threading.ExecutionContext.runTryCode(Object),
ilOffset=41 at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode,
CleanupCode, Object) at
System.Threading.ExecutionContext.RunInternal(ExecutionContext,
ContextCallback, Object), ilOffset=66 at
System.Threading.ExecutionContext.Run(ExecutionContext, ContextCallback,
Object), ilOffset=104 at
System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry),
ilOffset=72 at System.Windows.Forms.Control.InvokeMarshaledCallbacks(),
ilOffset=90 at System.Windows.Forms.Control.WndProc(Message&),
ilOffset=1609
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&),
ilOffset=12
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&),
ilOffset=154
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr,
IntPtr),
ilOffset=37 at
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&) at
System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32,
Int32, Int32), ilOffset=380 at
System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32,
ApplicationContext), ilOffset=478 at
System.Windows.Forms.ThreadContext.RunMessageLoop(Int32,
ApplicationContext),
ilOffset=19 at System.Windows.Forms.Application.Run(Form), ilOffset=17 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.Launch(String[],
String), ilOffset=1117 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.HostMain(String[]),
ilOffset=402 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.MarshalByRefType.LaunchHost(String[]),
ilOffset=11</currentStackTrace>
<exceptionStackTrace>at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBADateTimePicker..ctor(),
ilOffset=6 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.DateTimePickerCell.InitializeComponent(),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.DateTimePickerCell..ctor(),
ilOffset=6 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanySelectAccountingPeriodPage.InitializeComponent(),
ilOffset=27 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanySelectAccountingPeriodPage..ctor(WizardControlBase,
Int32, Step), ilOffset=9 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizard.WizardPages(),
ilOffset=258 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardEnUS.WizardPages(),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizard..ctor(),
ilOffset=320 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizard..ctor(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardEnUS..ctor(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardFormEnUS.GetCompanyWizard(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizardForm..ctor(CompanyAccountHolder),
ilOffset=12 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardFormEnUS..ctor(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.SBAApplicationEnUS.get_CompanyWizard(),
ilOffset=5 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.AnchorPage.DoBaseAnchorPageItemAction(AnchorPageItem),
ilOffset=9 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.AnchorPage.OnLoad(EventArgs),
ilOffset=91 at System.Windows.Forms.Form.OnCreateControl(), ilOffset=36 at
System.Windows.Forms.Control.CreateControl(Boolean), ilOffset=191 at
System.Windows.Forms.Control.CreateControl(), ilOffset=7 at
System.Windows.Forms.Control.WmShowWindow(Message&), ilOffset=66 at
System.Windows.Forms.Control.WndProc(Message&), ilOffset=1456 at
System.Windows.Forms.ScrollableControl.WndProc(Message&), ilOffset=58 at
System.Windows.Forms.ContainerControl.WndProc(Message&), ilOffset=19 at
System.Windows.Forms.Form.WmShowWindow(Message&), ilOffset=17 at
System.Windows.Forms.Form.WndProc(Message&), ilOffset=546 at
System.Windows.Forms.ControlNativeWindow.OnMessage(Message&), ilOffset=0
at
System.Windows.Forms.ControlNativeWindow.WndProc(Message&), ilOffset=142
at
System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr, IntPtr),
ilOffset=37</exceptionStackTrace>
<exceptionString>System.TypeInitializationException: The type initializer
for 'Microsoft.BusinessSolutions.SmallBusinessAccounting.Constants' threw
an
exception. ---> System.AccessViolationException: Attempted to read or
write
protected memory. This is often an indication that other memory is
corrupt.
at System.String.wstrcpy(Char* dmem, Char* smem, Int32 charCount) at
System.String.AppendInPlace(String value, Int32 currentLength) at
System.Text.StringBuilder.Append(String value)
 
Ad

Advertisements

J

Jesper [MS]

"This is often an indication that other memory is corrupt" was just part of
the error message that was returned and not my invention.
I don't think it relates to a physical problem with your hardware but just
some software problem. I think there is a chance that it will go away by
rebooting (if it was a rare occurrence of some kind). Let's see if the issue
goes away after a reinstall and reboot... Otherwise please post back.

--
Thanks
Jesper
http://blogs.msdn.com/jesperbirkolsen/


Sunny said:
Yes i'm running vista off of MSDN. I just uninstalled i will reboot and
reinstall and see how things work. Hopefully everything works out well,
now
you "This is often an indication that other memory is corrupt" does that
mean
just for the session running, so if i reboot memory will be cleared? or do
you mean the memory chip itslef? Thanks for all your help.

Sunny

Jesper said:
Hi Sunny

This is the error you're getting:
"System.TypeInitializationException: The type initializer
for 'Microsoft.BusinessSolutions.SmallBusinessAccounting.Constants' threw
an
exception. ---> System.AccessViolationException: Attempted to read or
write
protected memory. This is often an indication that other memory is
corrupt.
"

It looks like it originates on your system and not in MOA itself.

I can see that you are running on a version of Vista - is this an RTM
version? And have you tried reinstalling MOA?

--
Thanks
Jesper
http://blogs.msdn.com/jesperbirkolsen/


Sunny said:
As soon as i get the wizard at startup that asks me what to do and i
choose
start a new company it' error's out and shuts itself down, the
following
is
the error message :

Problem signature:
Problem Event Name: OfficeAccounting2
Problem Signature 01: 2.0.7024.0
Problem Signature 02: TypeInitializationException
Problem Signature 03: Callback
Problem Signature 04: .ctor
Problem Signature 05: ce426049
Problem Signature 06: 409
Problem Signature 07: 2
OS Version: 6.0.6000.2.0.0.256.1
Locale ID: 1033

Additional information about the problem:
LCID: 1033

and the following is part of the dump file:

<?xml version="1.0" encoding="utf-16" ?>
- <SBAWatsonInfo xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<info>Microsoft Office Accounting Managed Text Dump - Version
2.0</info>
<osInfo>Microsoft Windows NT 6.0.6000.0</osInfo>
<CLRVersion>2.0.50727.312</CLRVersion>
<currentStackTrace>at
Microsoft.BusinessSolutions.SmallBusinessAccounting.SBAWatsonInfo..ctor(Exception,
BucketingParameters, Boolean), ilOffset=101 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.SBAWatson.WatsonReport(Exception,
Object, Boolean, String, String), ilOffset=34 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.HandleExceptionWithWatson(Exception,
String), ilOffset=195 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.Application_ThreadException(Object,
ThreadExceptionEventArgs), ilOffset=12 at
System.Windows.Forms.ThreadContext.OnThreadException(Exception),
ilOffset=43
at System.Windows.Forms.Control.WndProcException(Exception), ilOffset=6
at
System.Windows.Forms.ControlNativeWindow.OnThreadException(Exception),
ilOffset=12 at System.Windows.Forms.NativeWindow.Callback(IntPtr,
Int32,
IntPtr, IntPtr), ilOffset=65 at
System.Windows.Forms.SafeNativeMethods.ShowWindow(HandleRef, Int32) at
System.Windows.Forms.Control.SetVisibleCore(Boolean), ilOffset=62 at
System.Windows.Forms.Form.SetVisibleCore(Boolean), ilOffset=147 at
System.Windows.Forms.Control.set_Visible(Boolean), ilOffset=7 at
System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32,
ApplicationContext), ilOffset=447 at
System.Windows.Forms.ThreadContext.RunMessageLoop(Int32,
ApplicationContext),
ilOffset=19 at System.Windows.Forms.Form.ShowDialog(IWin32Window),
ilOffset=609 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.Explorer.ShowJumpPage(),
ilOffset=218 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.Explorer.ValidateConnection(),
ilOffset=64 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.Explorer.backgroundWorkerLogon_RunWorkerCompleted(Object,
RunWorkerCompletedEventArgs), ilOffset=76 at
System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs),
ilOffset=33 at
System.ComponentModel.BackgroundWorker.AsyncOperationCompleted(Object),
ilOffset=26 at System.RuntimeMethodHandle._InvokeMethodFast(Object,
Object[],
SignatureStruct&, MethodAttributes, RuntimeTypeHandle) at
System.RuntimeMethodHandle.InvokeMethodFast(Object, Object[],
Signature,
MethodAttributes, RuntimeTypeHandle), ilOffset=22 at
System.Reflection.RuntimeMethodInfo.Invoke(Object, BindingFlags,
Binder,
Object[], CultureInfo, Boolean), ilOffset=275 at
System.Delegate.DynamicInvokeImpl(Object[]), ilOffset=33 at
System.Windows.Forms.Control.InvokeMarshaledCallbackDo(ThreadMethodEntry),
ilOffset=207 at
System.Windows.Forms.Control.InvokeMarshaledCallbackHelper(Object),
ilOffset=32 at System.Threading.ExecutionContext.runTryCode(Object),
ilOffset=41 at
System.Runtime.CompilerServices.RuntimeHelpers.ExecuteCodeWithGuaranteedCleanup(TryCode,
CleanupCode, Object) at
System.Threading.ExecutionContext.RunInternal(ExecutionContext,
ContextCallback, Object), ilOffset=66 at
System.Threading.ExecutionContext.Run(ExecutionContext,
ContextCallback,
Object), ilOffset=104 at
System.Windows.Forms.Control.InvokeMarshaledCallback(ThreadMethodEntry),
ilOffset=72 at System.Windows.Forms.Control.InvokeMarshaledCallbacks(),
ilOffset=90 at System.Windows.Forms.Control.WndProc(Message&),
ilOffset=1609
at System.Windows.Forms.ControlNativeWindow.OnMessage(Message&),
ilOffset=12
at System.Windows.Forms.ControlNativeWindow.WndProc(Message&),
ilOffset=154
at System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr,
IntPtr),
ilOffset=37 at
System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG&) at
System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32,
Int32, Int32), ilOffset=380 at
System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32,
ApplicationContext), ilOffset=478 at
System.Windows.Forms.ThreadContext.RunMessageLoop(Int32,
ApplicationContext),
ilOffset=19 at System.Windows.Forms.Application.Run(Form), ilOffset=17
at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.Launch(String[],
String), ilOffset=1117 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBAHost.HostMain(String[]),
ilOffset=402 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.MarshalByRefType.LaunchHost(String[]),
ilOffset=11</currentStackTrace>
<exceptionStackTrace>at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.SBADateTimePicker..ctor(),
ilOffset=6 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.DateTimePickerCell.InitializeComponent(),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.DateTimePickerCell..ctor(),
ilOffset=6 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanySelectAccountingPeriodPage.InitializeComponent(),
ilOffset=27 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanySelectAccountingPeriodPage..ctor(WizardControlBase,
Int32, Step), ilOffset=9 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizard.WizardPages(),
ilOffset=258 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardEnUS.WizardPages(),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizard..ctor(),
ilOffset=320 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizard..ctor(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardEnUS..ctor(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardFormEnUS.GetCompanyWizard(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.CreateCompanyWizardForm..ctor(CompanyAccountHolder),
ilOffset=12 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.CompanyWizardFormEnUS..ctor(CompanyAccountHolder),
ilOffset=0 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.EnUS.UI.SBAApplicationEnUS.get_CompanyWizard(),
ilOffset=5 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.AnchorPage.DoBaseAnchorPageItemAction(AnchorPageItem),
ilOffset=9 at
Microsoft.BusinessSolutions.SmallBusinessAccounting.UI.AnchorPage.OnLoad(EventArgs),
ilOffset=91 at System.Windows.Forms.Form.OnCreateControl(), ilOffset=36
at
System.Windows.Forms.Control.CreateControl(Boolean), ilOffset=191 at
System.Windows.Forms.Control.CreateControl(), ilOffset=7 at
System.Windows.Forms.Control.WmShowWindow(Message&), ilOffset=66 at
System.Windows.Forms.Control.WndProc(Message&), ilOffset=1456 at
System.Windows.Forms.ScrollableControl.WndProc(Message&), ilOffset=58
at
System.Windows.Forms.ContainerControl.WndProc(Message&), ilOffset=19 at
System.Windows.Forms.Form.WmShowWindow(Message&), ilOffset=17 at
System.Windows.Forms.Form.WndProc(Message&), ilOffset=546 at
System.Windows.Forms.ControlNativeWindow.OnMessage(Message&),
ilOffset=0
at
System.Windows.Forms.ControlNativeWindow.WndProc(Message&),
ilOffset=142
at
System.Windows.Forms.NativeWindow.Callback(IntPtr, Int32, IntPtr,
IntPtr),
ilOffset=37</exceptionStackTrace>
<exceptionString>System.TypeInitializationException: The type
initializer
for 'Microsoft.BusinessSolutions.SmallBusinessAccounting.Constants'
threw
an
exception. ---> System.AccessViolationException: Attempted to read or
write
protected memory. This is often an indication that other memory is
corrupt.
at System.String.wstrcpy(Char* dmem, Char* smem, Int32 charCount) at
System.String.AppendInPlace(String value, Int32 currentLength) at
System.Text.StringBuilder.Append(String value)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top