DNN3.0.9 - An unhandled error has occurred.

Last post 02-08-2005 2:48 AM by informerx4u. 15 replies.

Sort Posts:

  • DNN3.0.9 - An unhandled error has occurred.

    01-25-2005, 5:58 PM
    • Contributor
      6,015 point Contributor
    • leupold
    • Member since 06-01-2004, 9:17 AM
    • Karlsruhe / Germany
    • Posts 1,197
    I received an unhandled error after installing a custom module (Just after a fresh install of DNN 3.0.9). Log entry:

    AssemblyVersion: 03.00.09
    Method: System.Web.FileChangesMonitor.FindDirectoryMonitor
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    PortalID: 0
    PortalName: DNN
    UserID: 1
    UserName: host
    ActiveTabID: 35
    ActiveTabName: Start
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer:
    ExceptionGUID: dc479d3c-36ba-4d67-95ad-23110cd3ce24
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    InnerException: Verzeichnis <path>\Host\File Manager\tabid\19\ctl\Edit\mid\323\ftype\Module\rtab\18\portalid\0\App_GlobalResources' existiert nicht. Das Überwachen der Dateiänderungen konnte nicht gestartet werden.
    Message: Verzeichnis '<path>\Host\File Manager\tabid\19\ctl\Edit\mid\323\ftype\Module\rtab\18\portalid\0\App_GlobalResources' existiert nicht. Das Überwachen der Dateiänderungen konnte nicht gestartet werden.
    StackTrace:
    Source:
    Server-Name: <ServerName>


    Could be solved by restarting the application (just did dummy changes of the web.config).
  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-25-2005, 8:16 PM
    • Contributor
      4,430 point Contributor
    • jan_olsmar
    • Member since 02-06-2004, 12:10 PM
    • Sweden
    • Posts 886
    I get the same error in a lot of pages.
    It happenes after beeing inactive some time.
    Jan O
    www.olsmar.com
  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-25-2005, 10:56 PM
    • Contributor
      2,810 point Contributor
    • cnurse
    • Member since 11-05-2003, 3:46 PM
    • Langley, BC, Canada
    • Posts 562
    Logged as an issue

    see

    http://support.dotnetnuke.us/ViewIssue.aspx?id=541
    Charles Nurse
    Keydance Computer Services
    Langley, BC, Canada
  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-26-2005, 5:35 AM
    • Contributor
      2,800 point Contributor
    • SchelianHP
    • Member since 02-27-2003, 1:59 AM
    • Germany
    • Posts 560
    I have the same problem.
    I think I have solved it for now with disabling the caching feature.

  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-26-2005, 7:03 AM
    • Contributor
      2,800 point Contributor
    • SchelianHP
    • Member since 02-27-2003, 1:59 AM
    • Germany
    • Posts 560
    In my last post I have thougt the problem could be solved with disabling the chache.
    Sorry it does not solve the problem.

    If there is a while with no activity on the Website the error:

    "An unhandled error has occurred"

    allredy occured.


    For now I will deinstall the new Beta Version !

  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-26-2005, 9:21 AM
    • Contributor
      4,430 point Contributor
    • jan_olsmar
    • Member since 02-06-2004, 12:10 PM
    • Sweden
    • Posts 886
    I think you can temporary fix this if you change in IIS.
    Change the time for timeout in IIS.

    It seems to crach after the worker processes are ended.
    Jan O
    www.olsmar.com
  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-26-2005, 9:27 AM
    • Contributor
      2,800 point Contributor
    • SchelianHP
    • Member since 02-27-2003, 1:59 AM
    • Germany
    • Posts 560
    Change to what time .

    My actual Connection timeout is setup to 120 seconds.
    But the error did not appear after that period.

    Or is there another timeout which do you mean..

    Thanks in advance
  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-26-2005, 10:15 AM
    • Contributor
      4,430 point Contributor
    • jan_olsmar
    • Member since 02-06-2004, 12:10 PM
    • Sweden
    • Posts 886
    I talk about the worker process.
    In my case I set it in Pool properties - Perfomance - Timout for inactivity.

    This in a Server 2003 IIs6 enviorment.

    Jan O
    Jan O
    www.olsmar.com
  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-26-2005, 3:22 PM
    • Contributor
      2,800 point Contributor
    • SchelianHP
    • Member since 02-27-2003, 1:59 AM
    • Germany
    • Posts 560
    Jan thanks,
    I have now for test puproses disabled the Timeout for inactivity.

    I will give it a try.

  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-27-2005, 8:10 AM
    Seems to be an issue with components\Localization\Localization.vb line 543:
    Dim filePath As String = Path.Combine(Common.Globals.ApplicationMapPath, Localization.SupportedLocalesFile.Substring(2).Replace("/", "\"))

    It is returning, for example, D:\DNN\Home\tabid\35\App_GlobalResources\Locales.xml and not D:\DNN\App_GlobalResources\Locales.xml

    As a 'quick fix' I have commented line 543, uncommented line 542 and re-compiled. Seems to work ok now.
  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-27-2005, 7:17 PM
    • Contributor
      2,810 point Contributor
    • cnurse
    • Member since 11-05-2003, 3:46 PM
    • Langley, BC, Canada
    • Posts 562
    Rather than use the previously commented out line can those of you experiencing this issue try this fix.

    Replace the offending line in Localization.vb with

    Dim filePath As String = Common.Globals.ApplicationMapPath & Localization.SupportedLocalesFile.Substring(1).Replace("/", "\")


    There are good reasons not to use the Context.
    Charles Nurse
    Keydance Computer Services
    Langley, BC, Canada
  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-28-2005, 12:08 AM
    • Member
      95 point Member
    • Hector
    • Member since 06-18-2002, 5:51 PM
    • Posts 19
    "Rather than use the previously commented out line can those of you experiencing this issue try this fix.

    Replace the offending line in Localization.vb with

    Dim filePath As String = Common.Globals.ApplicationMapPath & Localization.SupportedLocalesFile.Substring(1).Replace("/", "\")


    There are good reasons not to use the Context."

    That didn't work. Happy's solution did the trick.
  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-28-2005, 4:37 AM
    Charles

    Made the change you suggested, and has been working fine for a while now. Will keep you posted.

    [Edit] Hector's post displayed after mine.

    Charles' suggestion is working fine for me, but obviously causing issues for others.
  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-28-2005, 6:04 AM
    Change failed in the usual way with File Manager! Going back to HttpContext works.
  • Re: DNN3.0.9 - An unhandled error has occurred.

    01-28-2005, 5:57 PM
    • Member
      335 point Member
    • sjcmp
    • Member since 01-25-2005, 5:59 PM
    • NJ US
    • Posts 67
    I get the same error. It seems to be "fixed" by going back and reapplying the global permissions of NETWORK SERVICE to the DotNetNuke directory and child objects. Though after futher editing the new portal, the problem eventually returns and I have to reset the permissions again.
Page 1 of 2 (16 items) 1 2 Next >