DNN Forums

Ask questions about your website to get help learning DNN and help resolve issues.

Exception Thrown When Opening an App homepage - Exception has been thrown by the target of an invocation.

 1 Replies
 1 Subscribed to this topic
 40 Subscribed to this forum
Sort:
Author
Messages
New Around Here
Posts: 3
New Around Here

Good Day Sir/Madam.

Trust you well

Our team has taken over a DNN site that we have limited knowledge on. We currently running DNN7 and trying to migrate existing apps to DNN8 on a new server.

We successfully compiled and install an app as an module/extenstion on DNN8, but when opening the homepage of the app, there is critical exception thrown. We have other apps running on the same site with no issues, this proves the DNN local database(SQL Express) is accessible. The only difference is that the app in question is deployed as an extension 

 Please can you advise the possible causes for this exception or what could we look at. 

InnerMessage:Exception has been thrown by the target of an invocation.

InnerStackTrace:

   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)

   at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)

   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)

   at System.Web.UI.WebControls.ObjectDataSourceView.InvokeMethod(ObjectDataSourceMethod method, Boolean disposeInstance, Object& instance)

   at System.Web.UI.WebControls.ObjectDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments)

   at System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback)

   at System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound()

   at System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls()

   at System.Web.UI.Control.EnsureChildControls()

   at System.Web.UI.WebControls.CompositeDataBoundControl.get_Controls()

   at ClientDependency.Core.ControlExtensions.FlattenChildren(Control control)

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Linq.Enumerable.d__17`2.MoveNext()

   at System.Linq.Enumerable.d__59`1.MoveNext()

   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

   at ClientDependency.Core.Controls.ClientDependencyLoader.FindDependencies(Control control)

   at ClientDependency.Core.Controls.ClientDependencyLoader.RegisterClientDependencies(WebFormsFileRegistrationProvider provider, Control control, IEnumerable`1 paths)

   at ClientDependency.Core.Controls.ClientDependencyLoader.OnPreRender(EventArgs e)

   at DotNetNuke.Web.Client.ClientResourceManagement.ClientResourceLoader.OnPreRender(EventArgs e)

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Control.PreRenderRecursiveInternal()

   at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Source:

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:


Any advice will be valuable. Thank you very much!

Senior Member
Posts: 1607
Senior Member
MVP
MVP
You're an MVP!
New Poster
New Poster
Congrats on posting!

That is a very ambiguous message.  The root cause could be anything at this point.  You should try pulling a copy of this website into a development environment, and then duplicating the error(s) while debugging the site.  

In addition, you may be able to get lucky and find more related errors in the Log4NET log file.  

These Forums are for the discussion of the open source CMS DNN platform and ecosystem.

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

  1. If you have (suspected) security issues, please DO NOT post them in the forums but instead follow the official DNN security policy
  2. No Advertising. This includes the promotion of commercial and non-commercial products or services which are not directly related to DNN.
  3. 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.
  4. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  5. No Flaming or Trolling.
  6. No Profanity, Racism, or Prejudice.
  7. Site Moderators have the final word on approving / removing a thread or post or comment.
  8. English language posting only, please.

Would you like to help us?

Awesome! Simply post in the forums using the link below and we'll get you started.

Get Involved