Page 1 of 1

Hi Please Help

Posted: Sun 23 Aug 2009 21:47
by burak.ogutken
Hello All

i using dotConnect for SQL in inherit project, working perfect but i have a little problem when i create child form from inherit form i everytime taking this warning

Warning 1 Object reference not set to an instance of an object. 0 0

everytime i must to press ignore and continue where is the problem if anyone have idea how to fix this problem please help me bcs going crzy

thank you for all helps

detail


Instances of this error (1)

1. Hide Call Stack

at Devart.Common.Design.DbConnectionSerializer.AfterDeserialize(Object& resObject, CodeStatementCollection statements)
at Devart.Common.Design.ReferenceSerializer.Deserialize(IDesignerSerializationManager manager, Object codeObject)
at System.ComponentModel.Design.Serialization.TypeCodeDomSerializer.DeserializeName(IDesignerSerializationManager manager, String name, CodeStatementCollection statements)

Help with this error

Posted: Mon 24 Aug 2009 20:53
by burak.ogutken
is anyone have ? 17 view not have any idea ?

Posted: Tue 25 Aug 2009 13:16
by Shalex
We cannot reproduce the problem with the latest 2.05.39 version. I have created the Form1 instance with the SqlConnection object, then Form2 was created as an instance of the Form2 class inherited from Form1. As a result, Form Designer of Form2 contained the instance of SqlConnection inherited from the base form. There were no errors.

Please try the 2.05.39 version. If the problem persists, please provide us the steps we should follow to reproduce the issue. A test project will be appreciated.

Posted: Tue 25 Aug 2009 15:41
by burak.ogutken
hello

thank you for reply im using

Devart.Data.SqlServer.SqlConnection,
Devart.Data.SqlServer, Version=2.5.39.0

and problem still continue how can i fix this problem

Posted: Tue 25 Aug 2009 17:40
by burak.ogutken
i created normal form project and i didnt recieve that warning
normally im usign devexpress ribbon form maybe for this reason reciving this problem

so how can i fix this problem ?

Posted: Thu 27 Aug 2009 10:12
by Shalex
I have tried DevExpress RibbonForm v9.1 (9.1.5.0) and performed the steps mentioned in my post above. There were no errors. Please provide us with the exact steps to reproduce the problem. Does this problem persist in different environment?

Posted: Sun 30 Aug 2009 21:45
by burak.ogutken
im sending sample project with standart form and giving that warning message..


http://www.atlasjetva.org/DevartTest.rar