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...Administration ...Administration ...Error: Attempt to access the method failedError: Attempt to access the method failed
Previous
 
Next
New Post
6/18/2007 11:35 PM
 

Here is the event log error that I keep receiving.  After reading some threads, it seems to me that this is a common issue with 1and1.com hosting.  I would at least like to understand the error before taking any further action.  Can anyone help?  Speculate?

Thanks

Brian Culver

---------------------------------------------------

AssemblyVersion: 04.05.03
PortalID: 0
PortalName: CodeCountry.com
UserID: -1
UserName:
ActiveTabID: 36
ActiveTabName: Home
RawURL: /portal/default.aspx
AbsoluteURL: /portal/default.aspx
AbsoluteURLReferrer:
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4
DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
ExceptionGUID: 487c77ca-9e54-4ff6-a284-61cc15bd95d6
InnerException: Attempt to access the method failed.
FileName:
FileLineNumber: 0
FileColumnNumber: 0
Method: System.Reflection.MethodBase.PerformSecurityCheck
StackTrace:
Message: DotNetNuke.Services.Exceptions.PageLoadException: Attempt to access the method failed. ---> System.MethodAccessException: Attempt to access the method failed.at System.Reflection.MethodBase.PerformSecurityCheck(Object obj, RuntimeMethodHandle method, IntPtr parent, UInt32 invocationFlags)at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks)at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)at System.Reflection.MethodBase.Invoke(Object obj, Object[] parameters)at System.Web.Handlers.ScriptResourceHandler.EncryptString(String s)at System.Web.Handlers.ScriptResourceHandler.RuntimeScriptResourceHandler.System.Web.Handlers.IScriptResourceHandler.GetScriptResourceUrl(Assembly assembly, String resourceName, CultureInfo culture, Boolean zip, Boolean notifyScriptLoaded)at System.Web.UI.ScriptReference.GetUrlFromName(ScriptManager scriptManager, IControl scriptManagerControl, Boolean zip)at System.Web.UI.ScriptReference.GetUrl(ScriptManager scriptManager, IControl scriptManagerControl, Boolean zip)at System.Web.UI.ScriptManager.RegisterScripts()at System.Web.UI.ScriptManager.OnPagePreRenderComplete(Object sender, EventArgs e)at System.Web.UI.Page.OnPreRenderComplete(EventArgs e)at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)--- End of inner exception stack trace ---
Source:

 
New Post
7/4/2007 12:18 PM
 

I am also continuously getting this messge while trying to even use the application. Of course I am failry new to dnn and am still trying to getit to work. Also 1 common thing with Brian is that I am hosting on 1and1 as well.

I had a tough time trying to get it to install in the first place. Even now the installation is working only if I install the package as http://mysite.com/dnn/. I cannot get it to work for http://mysite.com/

Any ideas from your experience, Brian, with 1and1.com

Cheers,

Kush

 
New Post
7/31/2007 2:15 AM
 

I am getting the same error, also hosting with 1.and1.com

Help!

An error has occurred.
DotNetNuke.Services.Exceptions.PageLoadException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. ---> System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.FileIOPermission, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed. at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet) at System.Security.CodeAccessPermission.Demand() at System.IO.Path.GetFullPath(String path) at System.Web.Util.FileUtil.IsSuspiciousPhysicalPath(String physicalPath, Boolean& pathTooLong) at System.Web.Util.FileUtil.IsSuspiciousPhysicalPath(String physicalPath) at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.CachedPathData.GetConfigPathData(String configPath) at System.Web.Configuration.WebConfigurationManager.GetWebApplicationSection(String sectionName) at DotNetNuke.Framework.Providers.ProviderConfiguration.GetProviderConfiguration(String strProvider) at DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) at DotNetNuke.Modules.NavigationProvider.NavigationProvider.Instance(String FriendlyName) at DotNetNuke.UI.Skins.NavObjectBase.InitializeNavControl(Control objParent, String strDefaultProvider) at DotNetNuke.UI.Skins.Controls.Nav.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Control.AddedControl(Control control, Int32 index) at System.Web.UI.ControlCollection.Add(Control child) at DotNetNuke.Framework.DefaultPage.Page_Init(Object sender, EventArgs e) at System.Web.UI.Control.OnInit(EventArgs e) at System.Web.UI.Page.OnInit(EventArgs e) at DotNetNuke.Framework.PageBase.OnInit(EventArgs e) at System.Web.UI.Control.InitRecursive(Control namingContainer) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) The action that failed was: Demand The type of the first permission that failed was: System.Security.Permissions.FileIOPermission The Zone of the assembly that failed was: MyComputer --- End of inner exception stack trace ---

 
New Post
8/10/2007 7:03 PM
 

Hi TedinSMF,

I have also had a similar problem with DNN and 1and.com  I was able to resolve the FileIOPermission problem by the help of another posting on this forum.  I put everything I learned together on a blog posting.  You can view it at: http://www.programmersanonymous.net/Default.aspx?tabid=54&EntryID=2   I hope that helps.

With regard to the original posting, has anyone been able to resolve the "Attempt to access the method failed" error yet?  I seem to get this error occasionally, but appears to be only when the DNN application is restarting.

Thanks.

Timothy Dalby
http://www.programmersanonymous.net

 
New Post
8/14/2007 12:29 AM
 

Thanks Timothy. I followed all of the steps and I am still getting the Attempt to access the method failed - error, but no longer the public key error. When I use the modified web.config it will not run with the dbo changed in the last step. The site runs, but this error comes up randomly and then the page won't load.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Error: Attempt to access the method failedError: Attempt to access the method failed


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