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

HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Creating DNN5 package: Input string ws not in a correct formatCreating DNN5 package: Input string ws not in a correct format
Previous
 
Next
New Post
3/13/2009 9:59 PM
 

Folks,

I've tried creating a package in a DNN501 install, and I getting the error "Input string was not in a correct format" in this routine:

Private Sub CreatePackage()
            Dim manifestName As String = txtManifestName.Text
            If String.IsNullOrEmpty(manifestName) Then
                manifestName = txtArchiveName.Text.ToLower().Replace("zip", "dnn")
            End If
            If chkPackage.Checked Then
                'Use the installer to parse the manifest and load the files that need to be packaged
                Dim installer As New Installer(Package, Request.MapPath(".")) <<<<<<------------------ On this line.  The MapPath looks right.
                For Each file As InstallFile In installer.InstallerInfo.Files.Values
                    _Writer.AddFile(file)
                Next

                _Writer.CreatePackage(Path.Combine(HostMapPath, txtArchiveName.Text), manifestName, Package.Manifest, Not chkUseManifest.Checked)
            ElseIf chkManifest.Checked Then
                _Writer.WriteManifest(manifestName, Package.Manifest)
            End If

            phInstallLogs.Controls.Add(_Writer.Log.GetLogsTable)
        End Sub

What gives?  I've attached by manifest file.  Is there something wrong with it?

As always, thanks a bunch.

AldenG

<dotnetnuke type="Package" version="5.0">
  <packages>
    <package name="SIMS.Teachers" type="Module" version="5.0.0">
      <friendlyName>SIMS Teachers</friendlyName>
      <description />
      <owner>
        <name />
        <organization />
        <url />
        <email />
      </owner>
      <license />
      <releaseNotes />
      <components>
        <component type="Script">
          <scripts>
            <basePath>DesktopModules\SIMS Teachers</basePath>
            <script type="Install">
              <name>01.00.00.SIMSTeachers.sqldataprovider</name>
              <version>01.00.00.SIMSTeachers</version>
            </script>
          </scripts>
        </component>
        <component type="Module">
          <desktopModule>
            <moduleName>SIMS.Teachers</moduleName>
            <foldername>SIMS Teachers</foldername>
            <businessControllerClass>DotNetNuke.Modules.DharmaTalks.TeachersController</businessControllerClass>
            <supportedFeatures>
              <supportedFeature type="Searchable" />
            </supportedFeatures>
            <moduleDefinitions>
              <moduleDefinition>
                <friendlyName>Teacher List</friendlyName>
                <defaultCacheTime>0</defaultCacheTime>
                <moduleControls>
                  <moduleControl>
                    <controlKey />
                    <controlSrc>DesktopModules/SIMS Teachers/ViewTeachers.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>Teacher List</controlTitle>
                    <controlType>View</controlType>
                    <iconFile />
                    <helpUrl />
                  </moduleControl>
                  <moduleControl>
                    <controlKey>Edit</controlKey>
                    <controlSrc>DesktopModules/SIMS Teachers/EditTeacher.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>Edit Teacher</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                  </moduleControl>
                  <moduleControl>
                    <controlKey>Settings</controlKey>
                    <controlSrc>DesktopModules/SIMS Teachers/SettingsTeachers.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>Teacher List Settings</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                  </moduleControl>
                </moduleControls>
              </moduleDefinition>
              <moduleDefinition>
                <friendlyName>Teacher Detail</friendlyName>
                <defaultCacheTime>0</defaultCacheTime>
                <moduleControls>
                  <moduleControl>
                    <controlKey />
                    <controlSrc>DesktopModules/SIMS Teachers/ViewTeacher.ascx</controlSrc>
                    <supportsPartialRendering>True</supportsPartialRendering>
                    <controlTitle>View Teacher</controlTitle>
                    <controlType>View</controlType>
                    <iconFile />
                    <helpUrl />
                  </moduleControl>
                  <moduleControl>
                    <controlKey>Settings</controlKey>
                    <controlSrc>DesktopModules/SIMS Teachers/SettingsTeacher.ascx</controlSrc>
                    <supportsPartialRendering>False</supportsPartialRendering>
                    <controlTitle>Teacher Detail Settings</controlTitle>
                    <controlType>Edit</controlType>
                    <iconFile />
                    <helpUrl />
                  </moduleControl>
                </moduleControls>
              </moduleDefinition>
            </moduleDefinitions>
          </desktopModule>
          <eventMessage>
            <processorType>DotNetNuke.Entities.Modules.EventMessageProcessor, DotNetNuke</processorType>
            <processorCommand>UpgradeModule</processorCommand>
            <attributes>
              <businessControllerClass>DotNetNuke.Modules.DharmaTalks.TeachersController</businessControllerClass>
              <desktopModuleID>[DESKTOPMODULEID]</desktopModuleID>
              <upgradeVersionsList>01.00.00.SIMSTeachers</upgradeVersionsList>
            </attributes>
          </eventMessage>
        </component>
        <component type="File">
          <files>
            <basePath>DesktopModules\SIMS Teachers</basePath>
            <file>
              <name>EditTeacher.ascx</name>
            </file>
            <file>
              <name>EditTeacher.ascx.cs</name>
            </file>
            <file>
              <name>Module.css</name>
            </file>
            <file>
              <name>SettingsTeacher.ascx</name>
            </file>
            <file>
              <name>SettingsTeacher.ascx.cs</name>
            </file>
            <file>
              <name>SettingsTeachers.ascx</name>
            </file>
            <file>
              <name>SettingsTeachers.ascx.cs</name>
            </file>
            <file>
              <name>ViewTeacher.ascx</name>
            </file>
            <file>
              <name>ViewTeacher.ascx.cs</name>
            </file>
            <file>
              <name>ViewTeachers.ascx</name>
            </file>
            <file>
              <name>ViewTeachers.ascx.cs</name>
            </file>
          </files>
        </component>
      </components>
    </package>
  </packages>
</dotnetnuke>

 
Previous
 
Next
HomeHomeDevelopment and...Development and...DNN Platform (o...DNN Platform (o...Creating DNN5 package: Input string ws not in a correct formatCreating DNN5 package: Input string ws not in a correct format


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