Azure + Release = 500 on cassette.axd

90 views
Skip to first unread message

mi...@driva.co

unread,
Dec 21, 2014, 4:42:32 AM12/21/14
to cass...@googlegroups.com
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)


The bold text changes depending on the bundle it's trying to reference.

Raw url: /cassette.axd/script/b955baf4713c9f6f2c09183f1d4217c560be3960/js/dashboard

Any ideas what is causing this error?

Thanks

Mike

gbiamby

unread,
Dec 21, 2014, 4:43:52 PM12/21/14
to cass...@googlegroups.com
What are you publishing to in Azure? An Azure Website, or a Cloud Service (Web Role)? 

Mike Davis

unread,
Dec 21, 2014, 5:03:23 PM12/21/14
to cass...@googlegroups.com
A cloud service (azure web role)

--
You received this message because you are subscribed to a topic in the Google Groups "Cassette" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cassette/Qkbixdws5tQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cassette+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Michael Dimoudis

unread,
Feb 9, 2015, 12:25:40 AM2/9/15
to cass...@googlegroups.com
Did you find a way to fix this Mike?
Reply all
Reply to author
Forward
0 new messages