|
|
Posted 09/07/2006 22:07:22 |
|
|
Supreme Being
      
Group: Customers
Last Login: 22/09/2008 15:59:25
Posts: 693,
Visits: 2,418
|
|
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
|
|
|
|
Posted 09/07/2006 22:13:38 |
|
|
Supreme Being
      
Group: Customers
Last Login: 22/09/2008 15:59:25
Posts: 693,
Visits: 2,418
|
|
| 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
|
|
|
|
Posted 10/07/2006 09:07:08 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 2 days ago @ 16:29:04
Posts: 1,956,
Visits: 3,018
|
|
| 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/
|
|
|
|
Posted 10/07/2006 09:54:44 |
|
|
Supreme Being
      
Group: Customers
Last Login: 22/09/2008 15:59:25
Posts: 693,
Visits: 2,418
|
|
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 objectAlso, 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
|
|
|
|
Posted 11/07/2006 08:18:11 |
|
|
Supreme Being
      
Group: Customers
Last Login: 22/09/2008 15:59:25
Posts: 693,
Visits: 2,418
|
|
|
|
|
Posted 11/07/2006 22:27:27 |
|
|
Supreme Being
      
Group: Customers
Last Login: 22/09/2008 15:59:25
Posts: 693,
Visits: 2,418
|
|
|
|
|
Posted 14/07/2006 07:52:04 |
|
|
IF.NET 4.2 Coming Soon
      
Group: Administrators
Last Login: 2 days ago @ 16:29:04
Posts: 1,956,
Visits: 3,018
|
|
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/
|
|
|
|
Posted 16/07/2006 19:46:51 |
|
|
Supreme Being
      
Group: Customers
Last Login: 22/09/2008 15:59:25
Posts: 693,
Visits: 2,418
|
|
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
|
|
|
|