Page 1 of 1

Installing AbleCommerce 7.0.6 to the .Net Framework 4.0

Posted: Fri Jan 14, 2011 1:06 am
by calvis
Does anything special have to be done if using ASP.NET 4.0?

This is for a new install.

Thanks

Re: Installing AbleCommerce 7.0.6 to the .Net Framework 4.0

Posted: Fri Jan 14, 2011 7:24 am
by jmestep
I believe there are a couple of posts on the forum where Logan attached a web.config file that would work for 4.0 -- not officially supported, though.

Re: Installing AbleCommerce 7.0.6 to the .Net Framework 4.0

Posted: Sun Jan 16, 2011 8:13 am
by NC Software
I tried several times with my source code solution to move to .NET 4 but could not get it to compile, was a mess. Tried on two separate systems. I'd wait until we get official word and instructions from AC and exactly what needs to be set in the web.config as .NET 4 makes some pretty large changes to the web.config and also we need to use a compatibility mode most likely to keep the controls rendering as they do in .NET 3.5.

This past week Microsoft made a pretty huge release and VS 2010 SP1 is going to be out in April is my guess. It's a shame that AC is not more aggressive in ensuring compatibility with the latest development tools, we seem to be stuck in the past with a "good enough" approach. .NET 4 brings a lot to the table such as security, WCF improvements, performance improvements, on and on, things we all should be using. I would hope that when something like .NET 4 is in the RC phase that AC would already be working so that they can support the major technology at release. 7.0.7 MUST support VS 2010 and .NET 4. It cannot wait for AC 8. It's already too late and must be at the top of the priority list as well as some huge security issues I've reported directly to them as my site has been breached twice already.

Here is the link to the products released this past week, pretty neat stuff:

http://weblogs.asp.net/scottgu/archive/ ... atrix.aspx

Re: Installing AbleCommerce 7.0.6 to the .Net Framework 4.0

Posted: Mon Jan 17, 2011 4:11 pm
by calvis
Able Support gave me a new web.config file that enables my new install to work with ASP .NET 4.0. Now I am have problems with the Dataport utility.

Re: Installing AbleCommerce 7.0.6 to the .Net Framework 4.0

Posted: Wed Jan 19, 2011 9:47 am
by sfeher
Hmmm -- I had attempted this previously (install on a .NET 4 framework) and decided to not bother after I couldn't get it to work. I think (at the time) that AC said they were not ready to support the new .NET 4. This new web.config file might be interesting, but I'm curious -- Do you require the new 4.0 framework? Or are you just trying it on for size?

Re: Installing AbleCommerce 7.0.6 to the .Net Framework 4.0

Posted: Wed Jan 19, 2011 10:02 am
by NC Software
.NET 4 is not required, but it sure would be nice to support if we want. I have other DLL's that are built on .NET 4 so I cannot reference them from a lower version project. For example, if my store is ASP.NEt 3.5 I cannot reference .NET 4 assemblies. However, if it was ASP.NET 4 I could reference prior version assemblies without a problem. This is why the next version of AC (7.0.7) needs to support both Visual Studio 2010 and .NET 4. AC 8 isn't on the 2011 roadmap so we can't live in the past forever here.

Re: Installing AbleCommerce 7.0.6 to the .Net Framework 4.0

Posted: Wed Jan 19, 2011 11:30 am
by calvis
In my case I am moving everything to 64bit and to the latest and greatest. In the process of configuring my Windows 2008 R2 web server ASP.NET 4.0 got installed in the process. I was initially thinking about rebuilding the machine for a lower version of ASP.NET, but heard there was a 4.0 web.config floating around which I requested from Able Support. Initially the web.config did not work until I used the .net 4.0 registration tool (aspnet_regiis -i located in the ASP.NET 4.0 directory) and it fixed the problem where AC 7.0.6 would work.

Now, I am having a problem with the Dataport Tool which may or may not be related to .NET Framework 4.0. (I have an open support case on this) Normally I am not an early adopter when it comes to .NET technologies, but in this case I thought I would proceed and possible give Able feedback in the process. I think moving to 4.0 is inevitably.

Re: Installing AbleCommerce 7.0.6 to the .Net Framework 4.0

Posted: Fri Jan 21, 2011 3:27 pm
by calvis
After a lengthy conversation with Pete Brown with Microsoft about why companies are hesitant with the adoption of ASP .NET 4.0 I decided to build another server using ASP .NET 3.5. I am going to keep my ASP .NET 4.0 server around to test with when Able does decide to move forward with ASP .NET 4.0.

Re: Installing AbleCommerce 7.0.6 to the .Net Framework 4.0

Posted: Fri Jan 21, 2011 3:38 pm
by NC Software
You don't need to build a new server. You can install .NET 4 and it will run .NET 3.5 just fine.