Сторінка 1 з 1

Ошибка при запуске m.e.doc

Додано: 02 лютого 2012, 14:02
dmitry_mayak_zp
Windows XP SP2, сразу после установки при запуске программы выдаёт ошибку:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: Font 'Verdana' does not support style 'Regular'.
at System.Drawing.Font.CreateNativeFont()
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(SerializationInfo info, StreamingContext context)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._SerializationInvoke(Object target, SignatureStruct& declaringTypeSig, SerializationInfo info, StreamingContext context)
at System.Reflection.RuntimeConstructorInfo.SerializationInvoke(Object target, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.CompleteISerializableObject(Object obj, SerializationInfo info, StreamingContext context)
at System.Runtime.Serialization.ObjectManager.FixupSpecialObject(ObjectHolder holder)
at System.Runtime.Serialization.ObjectManager.DoFixups()
at System.Runtime.Serialization.Formatters.Binary.ObjectReader.Deserialize(HeaderHandler handler, __BinaryParser serParser, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deserialize(Stream serializationStream, HeaderHandler handler, Boolean fCheck, Boolean isCrossAppDomain, IMethodCallMessage methodCallMessage)
at System.Resources.ResourceReader.DeserializeObject(Int32 typeIndex)
at System.Resources.ResourceReader.LoadObjectV2(Int32 pos, ResourceTypeCode& typeCode)
at System.Resources.ResourceReader.LoadObject(Int32 pos)
at System.Resources.ResourceReader.ResourceEnumerator.get_Entry()
at System.Resources.ResourceReader.ResourceEnumerator.get_Current()
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet& resourceSet)
at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName, CultureInfo culture)
at System.ComponentModel.ComponentResourceManager.ApplyResources(Object value, String objectName)
at ZvitGUI.Org.Wizard.UCWOWay.InitializeComponent()
at ZvitGUI.Org.Wizard.UCWOWay..ctor()
at ZvitGUI.Org.Wizard.FormSheetMain.ShowWizard()
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle._InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)
at ezvit.FormLoginOrg.RunFirmWizard()
at ezvit.FormLoginOrg.Init(Boolean allowEdit)
at ezvit.FormLoginOrg.Init()
at ezvit.Program.LoginOrg(FormSplash splash, Int64& code, String& edrpou, String& dept, String& name)
at ezvit.Program.Main(String[] args) typeCode)
at System.Resources.ResourceReader.LoadObject(Int32 pos)
at System.Resources.ResourceReader.ResourceEnumerator.get_Entry()
at System.Resources.ResourceReader.ResourceEnumerator.get_Current()
at System.ComponentModel.ComponentResourceManager.FillResources(CultureInfo culture, ResourceSet

Re: Ошибка при запуске m.e.doc

Додано: 02 лютого 2012, 14:05
artcom

Re: Ошибка при запуске m.e.doc

Додано: 02 лютого 2012, 14:53
dmitry_mayak_zp
Было бы всё так просто, я б не писал сюда.

Re: Ошибка при запуске m.e.doc

Додано: 02 лютого 2012, 15:17
skirillov
Фонт Verdana пробывали подсунуть с другого компа?

Re: Ошибка при запуске m.e.doc

Додано: 02 лютого 2012, 15:35
dmitry_mayak_zp
Не пробывал.Поможет?

Re: Ошибка при запуске m.e.doc

Додано: 02 лютого 2012, 15:50
skirillov
Честно - незнаю. Судя по ошибке похоже, что да.
Медок не может воспользоваться данным фонтом, поскольку не видит в нем стиля Regular, походу кто-то фонт заменил. Может темы рабочего стола, может левосборочная винда сама по себе, может дизайнеры балуються.
В любом случае, если что - я не разработчик и можно не прислушываться к моим советам :D

Re: Ошибка при запуске m.e.doc

Додано: 02 лютого 2012, 16:28
dmitry_mayak_zp
:D У клиентки действительно на компе и винда левосборочная и темы левые...Чего там только нет! :lol:

Медка так и нет...

Re: Ошибка при запуске m.e.doc

Додано: 02 лютого 2012, 19:25
Родин Евгений
Все именно так...
Думаю Вы знаете, где находятся устаноавленные шрифты, но на всякий случай (может кому-то пригодится):
C:\Windows\Fonts\