SmartCode Solutions Web Forum




Server Control Accepts connections at design time

Author Message
 Posted Friday, September 15, 2006
Forum Member

Forum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum MemberForum Member

Group: Forum Members
Last Login: Thursday, February 15, 2007
Posts: 25, Visits: 25
I've noticed that the server control accepts connection at design-time.  This behavior should be modified so that it does not actually run at design-time.  Also, it may be a good idea to set the AcceptConnections property to False by default.  Lastly, when I set the property to False on the design form it sets itself back to True after closing and re-opening the form.  This is a bit annoying.
Post #1116
Add to Twitter Add to Facebook
 Posted Monday, September 18, 2006
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: Friday, May 18, 2012
Posts: 1,624, Visits: 3,043
Thanks for the bug report! Yes the behaviour you are describing is a known bug. Basically the bug is that the ActiveX doesn't detect "Design-time state". This will be fixed of course.

In the current beta this design-time unawares causes one small problem. Currently the ActiveX uses a mutex, to prevent several ActiveXes to run at once. If you instantiate a second copy of ServerX the control will refuse to create.
This causes the following problem. If you have a Windows Form or ASP.NET page with ServerX on it open in Visual Studio, and you start debugging your application, the control won't be instantiate for the debugging application since there is an instance of the ActiveX in VS designer. To workaround this problem you should close Windows Form/ASP.NET page in VS before started your application.


http://www.s-code.com/App_Themes/Default/images/blue_line.gif
We are looking for investors and business partners. Please contact us for more details

Kindest Regards,
SmartCode Solutions Support
Post #1141
Add to Twitter Add to Facebook
 Posted Monday, October 09, 2006
Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Administrators
Last Login: Friday, May 18, 2012
Posts: 1,624, Visits: 3,043
Fixed in upcoming 1.0.6 beta build.

http://www.s-code.com/App_Themes/Default/images/blue_line.gif
We are looking for investors and business partners. Please contact us for more details

Kindest Regards,
SmartCode Solutions Support
Post #1181
Add to Twitter Add to Facebook


Similar Topics

Expand / Collapse

Reading This Topic

Expand / Collapse