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

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Is medium trust level supported in 4.7.0?Is medium trust level supported in 4.7.0?
Previous
 
Next
New Post
12/3/2007 3:53 PM
 

Hello!

I've upgraded successfully my DNN installation to 4.7.0 locally, but when I publish it to production I get the error shown below. My production website is running on shared hosting environment with Medium trust level. I've noticed that if I set my local version of DNN from Full to Medium trust level I get the same problem. Is the Medium trust level not supported anymore in DNN?

 


Value cannot be null.
Parameter name: type

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: type

Source Error:

[No relevant source lines]

Source File: Reflection.vb    Line: 227

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: type]
System.Activator.CreateInstance(Type type, Boolean nonPublic) +2843963
System.Activator.CreateInstance(Type type) +6
DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache) in Reflection.vb:227
DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) in Reflection.vb:189
DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectNamespace, String ObjectAssemblyName) in Reflection.vb:94
DotNetNuke.Data.DataProvider.CreateProvider() in DataProvider.vb:44
DotNetNuke.Data.DataProvider..cctor() in DataProvider.vb:39

[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
DotNetNuke.Data.DataProvider.Instance() in DataProvider.vb:50
DotNetNuke.Entities.Portals.PortalAliasController.GetPortalAliasByPortalID(Int32 PortalID) in PortalAliasController.vb:68
DotNetNuke.Entities.Portals.PortalAliasController.GetPortalAliases() in PortalAliasController.vb:87
DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasLookup() in PortalSettings.vb:1231
DotNetNuke.Entities.Portals.PortalSettings.GetPortalAliasInfo(String PortalAlias) in PortalSettings.vb:1086
DotNetNuke.HttpModules.UrlRewriteModule.RewriteUrl(HttpApplication app) +3533
DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +824
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 
New Post
12/4/2007 9:11 AM
 

this looks like a misconfiguration of the database connect string, did you adopt it according to the new location of the database?


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/4/2007 12:21 PM
 

Yes. As I explained I made the following test:

1) Installed 4.7.0 in Full Trust locally. The website starts without the problem

2) changed its trust level to medium by changing web.config: <trust level="Medium" originUrl=".*" />

 

 
New Post
12/5/2007 4:21 AM
 

are you using default location for your portal files (i.e. "portals/0/" ?)


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/5/2007 5:46 AM
 

Yes, I'm using default location. However I think that it is my local problem, because when I install a brand new instance of DNN it works fine with the trust level. Perhaps my website was not upgraded properly from 4.5. I'll post the reason of the issue when I resolve it. Thanks for your help anyway.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Is medium trust level supported in 4.7.0?Is medium trust level supported in 4.7.0?


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