Aricie
The DNN Expert for your web project
DNN Community Forums

write error in desktopmodules directory

Sort:
You are not authorized to post a reply.
Author
Messages


peter schotman











New Member



Posts:




New Member



    dnn495, aricie latest version 1.3.0 and 1.4.3 shared

    a strange error because the module installed just fine.

    I am still getting errors on the module, now in another environment (which I cannot control) I get the following error:

    10-11-2010 10:31:18 General Exception host AssemblyVersion: 04.09.05; PortalID: 0; PortalNa ...
    AssemblyVersion: 04.09.05
    PortalID: 0
    PortalName: xxx
    UserID: 1
    UserName: host
    ActiveTabID: 1006
    ActiveTabName: zoektest peter
    RawURL: /Intranet/Testpaginas/zoektestpeter/tabid/1006/ctl/Module/ModuleId/2933/Default.aspx
    AbsoluteURL: /Default.aspx
    AbsoluteURLReferrer: http://xxx/Intranet/Testp...id/1006/Default.aspx
    UserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; GTB6.6; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; OfficeLiveConnector.1.4; OfficeLivePatch.1.3; .NET4.0C; .NET4.0E)
    DefaultDataProvider: DotNetNuke.Data.SqlDataProvider, DotNetNuke.SqlDataProvider
    ExceptionGUID: aae8f51f-3f7e-45f6-906b-fa83ff2d0e1f
    InnerException: Toegang tot het pad xxx\wwwroot\DesktopModules\Aricie.LuceneSearch is geweigerd. (access is refused)
    FileName:
    FileLineNumber: 0
    FileColumnNumber: 0
    Method: System.IO.__Error.WinIOError
    StackTrace:
    Message: System.UnauthorizedAccessException: Toegang tot het pad xxx\wwwroot\DesktopModules\Aricie.LuceneSearch is geweigerd. bij System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) bij System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity) bij System.IO.DirectoryInfo.Create() bij Aricie.DNN.Settings.SettingsController.SaveFileSettings[T](String fileName, T settings, Boolean createBinarySnapShot)
    Source:
    Server Naam: xxxx

     

    Greetz, Peter



    Stéphane TETARD











    New Member



    Posts:




    New Member



      Hi,

      I guess that user account which is used by application pool doesn't have full access to website's folders and subfolders.
      Our module needs to create a xml file in its folder to save specific configuration.

      Regards,



      peter schotman











      New Member



      Posts:




      New Member



        If your hypothesis is correct: Can you explain why the module can be installed in the first place? From my understanding, the same user is being used for installing as well as creating directories and files. Could it be something else in the module?

        Peter

        You are not authorized to post a reply.