DNN Blog

How to prepare your DNN 5 site to run Linq to SQL modules

by Michael Washington on Monday, December 29, 2008 7:02 PM

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

Author

My personal DotNetNuke blog.

3 comment(s) so far...

Sebastian Leupold 12/30/2008

IMO it would be preferable to have a manifest option to request V 3.5

 
Charles Nurse 12/30/2008

@Sebastian<br><br>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.

 
tino 1/17/2009

I've done a clean install of dnn5<br>When I click on "Update Site to current Framework" I get:<br>Error: Object reference not set to an instance of an object. <br>I've uninstalled and reinstalled several times.<br>Im using Vista and the starter kit with VS2008

Attend A Webinar
Start  Professional Edition Trial
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 (DNN) provides a suite of solutions that make designing, building and managing feature-rich sites and communities fast, easy and cost-effective. The DotNetNuke Platform CMS is the foundation for more than one million websites worldwide. DNN Social, our newest solution, enables businesses to create immersive, interactive communities. Thousands of organizations like True Value Hardware, Bose, Cornell University, Glacier Water, Dannon, Delphi, USAA, NASCAR, Northern Health and the City of Denver have leveraged DNN to deploy highly engaging business- critical websites. Our rapid growth in product sales and deployments resulted in DotNetNuke Corp. being named one of the fastest growing private companies in America by Inc. Magazine in 2011 and 2012.