Parse.Initialize在Heroku上托管的.NET Core 2.2上使用Parse .NET SDK抛出IOException

问题描述 投票:0回答:1

以下代码

ParseClient.Initialize (new ParseClient.Configuration
{
    ApplicationID = "APPID",
    Key = ".NET KEY",
    ServerURI = "SERVER URL"
});

投掷System.IO.IOException: The file '/app/heroku_output/[HEROKU APP NAME]' already exists.

堆栈跟踪:

at System.IO.FileSystem.CreateDirectory(String fullPath)
at System.IO.Directory.CreateDirectory(String path)
at Parse.Internal.Utilities.StorageManager.get_PersistentStorageFileWrapper()
at Parse.Common.Internal.StorageController..ctor()
at Parse.Core.Internal.ParseCorePlugins.get_StorageController()
at Parse.Core.Internal.ParseCorePlugins.get_CurrentUserController()
at Parse.Core.Internal.ParseCorePlugins.<get_SubclassingController>b__54_0()
at Parse.Core.Internal.ObjectSubclassingController.RegisterSubclass(Type type)
at Parse.ParseClient.Initialize(Configuration configuration)
at api.Startup.ConfigureServices(IServiceCollection services) in /tmp/build_ee0c61a720b09ce072787bbc64b4001d/Startup.cs:line 50
c# heroku parse-platform .net-core back4app
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.