This is a weird problem. The issue occurs only occasionally. There is an image file in the "~/Content/textures/" directory called "highlight.png" (a Kendo UI file). Occasionally when I try to create a new "Event" in the Scheduler I will get a 500 error. Here is the message:
"NetworkError: 500 Internal Server Error - http://mywebsite.azurewebsites.net/error/Error?aspxerrorpath=/Sessions/textures/highlight.png"
You can see it is looking for the file in "~/Sessions/textures/". This is wrong! The "Sessions" component is the controller where this is being execute but the file is actually in "~/Content/textures/". Yes, I have the folder and file included in the VS 2012 project. Another time I got a "404 Not Found" for the same file with the bad path when I looked inside the NET tab of Firebug in the "GET highlight.png" trace. This also succeeds with the right path sometimes.
Does this make any sense to anyone? How could this get the wrong path half the time?
"NetworkError: 500 Internal Server Error - http://mywebsite.azurewebsites.net/error/Error?aspxerrorpath=/Sessions/textures/highlight.png"
You can see it is looking for the file in "~/Sessions/textures/". This is wrong! The "Sessions" component is the controller where this is being execute but the file is actually in "~/Content/textures/". Yes, I have the folder and file included in the VS 2012 project. Another time I got a "404 Not Found" for the same file with the bad path when I looked inside the NET tab of Firebug in the "GET highlight.png" trace. This also succeeds with the right path sometimes.
Does this make any sense to anyone? How could this get the wrong path half the time?