Dnn.Platform: [v9.11.0] Creating language pack failed

Hi I ran into a problem with version 9.11.00. When we want to export a language pack or create a language pack, in the path of the Install/Language folder there is only a broken zip file with a size of 0 KB.

Screenshots

error

Description of problem

AbsoluteURL:/API/PersonaBar/SiteSettings/CreateLanguagePack

DefaultDataProvider:DotNetNuke.Data.SqlDataProvider, DotNetNuke

ExceptionGUID:4a198918-4c55-4a66-b6ba-df94c04a4f0c

AssemblyVersion:

PortalId:-1

UserId:-1

TabId:-1

RawUrl:

Referrer:

UserAgent:

ExceptionHash:RZtXK2N4ELvbDovBleRLgMh08MQ=

Message:Central Directory corrupt.

StackTrace:

at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory() at System.IO.Compression.ZipArchive.Init(Stream stream, ZipArchiveMode mode, Boolean leaveOpen) at DotNetNuke.Services.Installer.Writers.PackageWriterBase.CreateZipFile(String zipFileName)

InnerMessage:An attempt was made to move the file pointer before the beginning of the file.

InnerStackTrace:

at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.SeekCore(Int64 offset, SeekOrigin origin) at System.IO.FileStream.Seek(Int64 offset, SeekOrigin origin) at System.IO.Compression.ZipArchive.ReadEndOfCentralDirectory()

Source:System.IO.Compression

FileName:

FileLineNumber:0

FileColumnNumber:0

Method:

Server Name: srv68467

Affected version

  • 10.00.00 alpha build
  • 09.11.00 release
  • 09.10.02 release

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 1
  • Comments: 23 (18 by maintainers)

Commits related to this issue

Most upvoted comments

That’s nice but a pull request would be nicer

I just tested creating a core language file without issues. Did you ensure, the windows account used by ASP.Net has write permission for the target folder?