DNN Fail to install Authentication Provider sd file specified in the dnn could not be found in the zip file

I am trying to install a third party Authentication Provider. When I try to install the zipped folder using the install extension wizard it fails to locate the file even though its both in the zip and in the folder DesktopModules/AuthenticationServices/Fellows/ on my site. I'm confused as I have been able to install other modules and it had no problem reading the files.

Part of the .dnn file code:

<components>
    <component type="AuthenticationSystem">
      <authenticationService>
        <type>FellowsAuthentication</type>
        <settingsControlSrc>DesktopModules/AuthenticationServices/Fellows/Settings.ascx</settingsControlSrc>
        <loginControlSrc>DesktopModules/AuthenticationServices/Fellows/Login.ascx</loginControlSrc>
        <logoffControlSrc />
      </authenticationService>
    </component>
    <component type="File">
      <files>
        <basePath>DesktopModules/AuthenticationServices/Fellows</basePath>
        <file>
          <path>App_LocalResources</path>
          <name>Login.ascx.resx</name>
           </file>

I get the error message:

  Failure File specified in the dnn could not be found in the zip file: - E:\DNN\Install\Temp\z2ypiwfl\App_LocalResources\Login.ascx.resx

It's weird that it seems to be trying to read them from a temp folder. Why is that?

Upvotes: 0

Views: 190

Answers (1)

VDWWD
VDWWD

Reputation: 35564

The problem is in the zip file itself. While installing, dnn expects the files to be in a temp folder.

\Install\Temp\j1hnum0c\FellowsAuthentication.dnn

However in the zip there are folders zipped inside along with the files \AuthenticationServices\Fellows, so the unzipped path in the DNN temp folder becomes

\Install\Temp\j1hnum0c\AuthenticationServices\Fellows\FellowsAuthentication.dnn

Therefore the installer cannot find the .dnn file and install fails. Unzip the files and re-zip the contents of Fellows in the zip. Then it works, tested it.

The zip file only should contain.

FellowsAuthentication.dnn
Login.ascx
Login.ascx.cs
Settings.ascx
Settings.ascx.cs

App_LocalResources
    Login.ascx.resx
    Settings.ascx.resx

Upvotes: 1

Related Questions