andrewdavey / andrewdavey/cassette
Azure + Release = 500 on cassette.axd
- 主要语言
- C#
- 星标
- 531
- 派生
- 139
- PR 合并指标
- 30 天内没有已合并 PR
描述
Everything works great locally and remotely when debug = "true". However, once published in release mode (and settings debug to false), all calls to the cassette.axd file throws a 500 with the following error message:
System.IO.DirectoryNotFoundException: Could not find a part of the path 'script/js/dashboard/b955baf4713c9f6f2c09183f1d4217c560be3960.js'.
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath)
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, IsolatedStorageFile isf)
at System.IO.IsolatedStorage.IsolatedStorageFileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, IsolatedStorageFile isf)
at System.IO.IsolatedStorage.IsolatedStorageFile.OpenFile(String path, FileMode mode, FileAccess access, FileShare share)
at Cassette.IO.IsolatedStorageFile.Open(FileMode mode, FileAccess access, FileShare fileShare)
at Cassette.IO.FileExtensions.OpenRead(IFile file)
at Cassette.CachedBundleContent.OpenStream()
at Cassette.Bundle.OpenStream()
at Cassette.Aspnet.BundleRequestHandler`1.SendBundle(Bundle bundle, String actualETag)
at Cassette.Aspnet.BundleRequestHandler`1.ProcessRequest(String path)
at Cassette.Aspnet.CassetteHttpHandler.CallBundleHandler(String pathInfo)
at Cassette.Aspnet.CassetteHttpHandler.CallPathInfoHandler(String pathInfo)
at Cassette.Aspnet.CassetteHttpHandler.ProcessRequest()
at Cassette.Aspnet.CassetteHttpHandler.System.Web.IHttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
Raw url: /cassette.axd/script/b955baf4713c9f6f2c09183f1d4217c560be3960/js/dashboard
(The path differs per bundle but same error message).
Any ideas what is causing this error?
Thanks
Mike
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。