InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


... Expand / Collapse
Author
Message
Posted 09/07/2006 22:07:22


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 30/12/2008 00:19:04
Posts: 693, Visits: 2,419
This has been changed, in 4.1.4, so the following line of code (from the IF docs) no longer works.

Dim CurrentContext As InstantASP.InstantForum.HttpContext.Current = InstantASP.InstantForum.HttpContext.Current.Current

I'm not real bright when it comes to this stuff... can anyone help me out with this line of code, in regard to 4.1.4?

Thanks in advance.

Bare




..:: Bare ::..
http://www.livingformetal.com
Post #11209
Posted 09/07/2006 22:13:38


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 30/12/2008 00:19:04
Posts: 693, Visits: 2,419
Actually, an updated User Authentication / Integration portion of the IF documents would be great at this point.  Especially, since many of the beta testers will probably run into the same issues with their IF integration.

Just a thought.

Wow, I feel "alone" on this forum, this weekend


..:: Bare ::..
http://www.livingformetal.com
Post #11210
Posted 10/07/2006 09:07:08


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: 05/01/2009 11:53:33
Posts: 1,959, Visits: 3,027
Hi Bare,

Hope your very well. Sorry for any delay. I spent most of the weekend resolving some final issues with v4.1.4. To answer your questions yes this has changed with v4.1.4. You will now need to call the current context object like so...

Dim CurrentContext As InstantASP.InstantForum.HttpContext.ForumContext = InstantASP.InstantForum.HttpContext.ForumContext.Current

You can still use the object in the same way. We reworked the internals of this class considerably with v4.1.4 to further improve performance. The name change was implemented as it was found InstantASP.InstantForum.HttpContext.Current.Current was causing confusion.

I believe it was due to the fact the class was called the same as the last element on the namespace. In summary Bare if you've used this in your code you'll need to ensure you replace any occurrence of...

Dim CurrentContext As InstantASP.InstantForum.HttpContext.Current = InstantASP.InstantForum.HttpContext.Current.Current

With...

Dim CurrentContext As InstantASP.InstantForum.HttpContext.ForumContext = InstantASP.InstantForum.HttpContext.ForumContext.Current

I hope this helps. The documentation will be updated later today to reflect the API changes and include upgrade instructions.

Based on several recent requests we are also putting together a .NET v2.0 authentication integration sample which should demonstrate how to integrate InstantForum.NET v4.1.4 with the v2.0 membership controls.

Please don't hesitate to respond Bare if you have any further questions. I'll be closely monitoring this forum till release.


Kindest Regards,

Ryan Healey
Director / Developer

Explore our products...
http://demos.instantasp.co.uk/

Post #11211
Posted 10/07/2006 09:54:44


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 30/12/2008 00:19:04
Posts: 693, Visits: 2,419
When I use the new code, the project builds fine... but anytime that line of code is executed I get a :

Object reference not set to an instance of an object

Also, when I try to use the "insertpost" api... I get the same error... I'm assuming it also has to do with the httpcontext argument.

InstantASP.InstantForum.Business.Posts.InsertPost(bla, bla, bla, bla, "", "bla, "", bla, "", False, InstantASP.InstantForum.HttpContext.ForumContext.Current)




..:: Bare ::..
http://www.livingformetal.com
Post #11215
Posted 11/07/2006 08:18:11


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 30/12/2008 00:19:04
Posts: 693, Visits: 2,419
bump


..:: Bare ::..
http://www.livingformetal.com
Post #11224
Posted 11/07/2006 22:27:27


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 30/12/2008 00:19:04
Posts: 693, Visits: 2,419
Yooo Hooo..  Anyone home?


..:: Bare ::..
http://www.livingformetal.com
Post #11228
Posted 14/07/2006 07:52:04


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: 05/01/2009 11:53:33
Posts: 1,959, Visits: 3,027
Sry Bare, Missed this one. I'll take a look and confirm ASAP.


Kindest Regards,

Ryan Healey
Director / Developer

Explore our products...
http://demos.instantasp.co.uk/

Post #11262
Posted 16/07/2006 19:46:51


Supreme Being

Supreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme BeingSupreme Being

Group: Customers
Last Login: 30/12/2008 00:19:04
Posts: 693, Visits: 2,419
Ryan Healey (7/14/2006)
Sry Bare, Missed this one. I'll take a look and confirm ASAP.

I've downloaded and installed the "new" 4.14 beta & I'm still dealing with this issue.  I'm sure it is something that I'm doing wrong, but I could really use your help, Ryan.


..:: Bare ::..
http://www.livingformetal.com
Post #11274
« Prev Topic | Next Topic »

Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 8:23pm

Powered by InstantForum.NET v4.1.4 © 2009
Execution: 0.125. 10 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.