Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Razor Host Module Problem with Data AccessRazor Host Module Problem with Data Access
Previous
 
Next
New Post
2/9/2013 4:05 PM
 

I have DNN 7 out on a host server (3essentials) using .Net Framework 4.0.
When trying to use the razor host module to access the users table, I get no records and I get the following error in my log file:

InnerException: Unable to find the requested .Net Framework Data Provider. It may not be installed.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Data.Common.DbProviderFactories.GetFactory
StackTrace:

Message: System.ArgumentException: Unable to find the requested .Net Framework Data Provider. It may not be installed. at System.Data.Common.DbProviderFactories.GetFactory(String providerInvariantName) at WebMatrix.Data.DbProviderFactoryWrapper.CreateConnection(String connectionString) at WebMatrix.Data.Database.<>c__DisplayClass15.<OpenConnectionStringInternal>b__14() at WebMatrix.Data.Database.get_Connection() at WebMatrix.Data.Database.EnsureConnectionOpen() at WebMatrix.Data.Database.<QueryInternal>d__0.MoveNext() at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source) at WebMatrix.Data.Database.Query(String commandText, Object[] parameters) at ASP._Page_DesktopModules_RazorModules_RazorHost_Scripts__UserPhoneList_cshtml.Execute() in e:\inetpub\vhosts\masbo.net\httpdocs\DesktopModules\RazorModules\RazorHost\Scripts\_UserPhoneList.cshtml:line 35 at System.Web.WebPages.WebPageBase.ExecutePageHierarchy() at System.Web.WebPages.WebPageBase.ExecutePageHierarchy(WebPageContext pageContext, TextWriter writer, WebPageRenderingBase startPage) at DotNetNuke.Web.Razor.RazorEngine.Render(TextWriter writer)

I know the razor code is ok.  Is anyone else having this problem.  Can anyone offer guidance?

Tnx,
J

 
New Post
3/11/2013 10:21 AM
 
My host provider has provided me with the same error. My website was getting killed and they have to restart the site again. Definately interested in knowing what the solution is here.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Using Modules a...Using Modules a...Razor Host Module Problem with Data AccessRazor Host Module Problem with Data Access


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out