0

我有一个 web 应用程序,它在免费主机上使用 Entity Framework 和 ITextSharp 从数据库制作 pdf 文件。(somee.com)但是如果我制作了几个不同的文件,默认的临时文件夹会变满,我会得到一个“没有足够的磁盘空间”的异常。所以我决定将 temp 文件夹更改为我的 webapplication 文件夹 /App_Data/Temp。

<compilation debug="true" targetFramework="4.0" tempDirectory="D:\DZHosts\LocalUser\user\webapp\App_Data\Temp">

但在那之后,我无法使用我的应用程序,因为我得到一个异常:

System.IO.FileLoadException: Could not load file or assembly 'EntityFramework' or one of its dependencies. There is not enough space on the disk. (Exception from HRESULT: 0x80070070)

我有足够的空间。我该怎么办?

4

0 回答 0