Archive
Monthly
Go
|
|
DNN Blog
Dec
29
Posted by:
Michael Washington
12/29/2008
Now that DNN5 is here you can follow these simple steps to run modules that use Linq to SQL. 1) Install ASP.NET 3.5 (or higher installed on the server)  2) Log in as Host and from the Host menu, navigate to Host Settings.  3) Click on the link that says "Update Site to current Framework". 4) The site will now be upgraded and you can now install and run Linq to SQL modules. Note: If you have any problems, for example you have partially upgraded the site using the upgrade wizard in Visual Studio, you can install and run this program to upgrade your site: LinqPrep Note: Use http://www.codeplex.com/DNNLinqToSqlAdapter to create DotNetNuke modules that work with the DotNetNuke object qualifier option setting in the web.config site (see: http://blogs.law.harvard.edu/brandonhaynes/2008/10/14/using-the-linq-to-sql-adapter-in-a-dotnetnuke-module/)
3 comment(s) so far...
Re: How to prepare your DNN 5 site to run Linq to SQL modules
IMO it would be preferable to have a manifest option to request V 3.5
By Sebastian Leupold on
12/30/2008
|
Re: How to prepare your DNN 5 site to run Linq to SQL modules
@Sebastian
When installing a LINQ to SQL based module you can include a "Config" component in the new manifest that does this for you as part of the module install. Michael is describing how to set up your site to develop LINQ to SQL modules.
By Charles Nurse on
12/30/2008
|
Re: How to prepare your DNN 5 site to run Linq to SQL modules
I've done a clean install of dnn5 When I click on "Update Site to current Framework" I get: Error: Object reference not set to an instance of an object. I've uninstalled and reinstalled several times. Im using Vista and the starter kit with VS2008
By tino on
1/17/2009
|
|