DNN Blog

Dec 29

Posted by: Michael Washington
12/29/2008  RssIcon

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)

 img8

2) Log in as Host and from the Host menu, navigate to Host Settings.

 img4

3) Click on the link that says "Update Site to current Framework".

 img6 

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/)

Tags:
Categories:

3 comment(s) so far...


Gravatar

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
Gravatar

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
Gravatar

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
Attend A Webinar
Free Demo Site
Download DotNetNuke Professional Edition Trial
Have Someone Contact Me
Have Someone Contact Me

Like Us on Facebook Join our Network on LinkedIn Follow DNN Corporate on Twitter Follow DNN on Twitter

Advertisers

Sponsors

DotNetNuke Corporation

DotNetNuke Corp. is the steward of the DotNetNuke open source project, the most widely adopted Web Content Management Platform for building web sites and web applications on Microsoft. Organizations use DotNetNuke to quickly develop and deploy interactive and dynamic web sites, intranets, extranets and web applications. The DotNetNuke platform is available in a free Community and subscription-based Professional and Enterprise Editions with an Elite Support option. DotNetNuke Corp. also operates the DotNetNuke Store where users purchase third party apps for the platform.