MonoX support board

Start the conversation, ask questions and share tips and solutions with fellow developers.

Non-registered users can only browse through our support boards. Please register now if you want to post your questions. It takes a second and it is completely free. Alternatively, you can log in without registration using your credentials at major sites such as Google, Microsoft Live, OpenId, Facebook, LinkedIn or Yahoo.

Manually deleted .aspx files show in admin UI pages list and log errors  (Mono Support )

Viewed 10229 time(s), 5 post(s) 03.06.2014 17:35:07by Zoomicon
Zoomicon

Zoomicon

03.06.2014 17:35:07

I see error log entries like:

2014-06-03 18:02:33,763 [101] ERROR MonoX [BaseHttpApplication] - Application Error
</br>System.Web.HttpException (0x80004005): The file '/gallery/clips.aspx' does not exist.
</br>   at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath)
</br>   at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
</br>   at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile, Boolean throwIfNotFound, Boolean ensureIsUpToDate)
</br>   at System.Web.Compilation.BuildManager.GetVirtualPathObjectFactory(VirtualPath virtualPath, HttpContext context, Boolean allowCrossApp, Boolean throwIfNotFound)
</br>   at System.Web.Compilation.BuildManager.CreateInstanceFromVirtualPath(VirtualPath virtualPath, Type requiredBaseType, HttpContext context, Boolean allowCrossApp)
</br>   at System.Web.UI.PageHandlerFactory.GetHandlerHelper(HttpContext context, String requestType, VirtualPath virtualPath, String physicalPath)
</br>   at System.Web.HttpApplication.MaterializeHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
</br>   at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)

The respective page had been deleted manually and was still showing in the admin UI at pages list. Now I deleted it from there too, so hope it stops logging it now

I'd expect such pages to disappear automatically from the list and also manually added pages to appear there

Dieser Inhalt wurde noch nicht bewertet. 
2793 Reputation 345 Total posts
mzilic

mzilic

05.06.2014 09:40:36
Hello,

Thanks for your feedback, we've logged this in our issue tracking system. Also, Kristijan explained we will implement a utility to allow users to remove orphaned pages.

Regards,
Mario
Dieser Inhalt wurde noch nicht bewertet. 
2218 Reputation 300 Total posts
Zoomicon

Zoomicon

05.06.2014 09:54:16

thanks,

copying my reply from that thread regarding the "utility":

you could change the pages list to show in red color any broken page URLs (or the whole row, but guess the red URL [and more redish on mouse over or something] points the user to the problem [the missing page / broken URL] exactly mentally). Refreshing the list (think there is such button) would update the colours in case you've manually edited files in between.

BTW, Windows does have shell notifications that one can use to see folder changes (there could even be ASP.net API to wrap that functionality of folder-change-monitoring, but not sure) and could even refresh the list remotely on the browser (say using SingalR), but don't need to go to that extent

Dieser Inhalt wurde noch nicht bewertet. 
2793 Reputation 345 Total posts
mzilic

mzilic

05.06.2014 16:12:44
Hello,

I believe that the Utility which Kristijan mentioned is the best solution to this, we will take your suggestions as well into consideration. Thank you.

Also, SignalR for example doesn't work well with Medium Trust environments.

Regards,
Mario
Dieser Inhalt wurde noch nicht bewertet. 
2218 Reputation 300 Total posts
Zoomicon

Zoomicon

06.06.2014 11:38:41

I thought Medium Trust was going away (Microsoft is promoting some other scheme I think now). Don't remember more at the moment.

Dieser Inhalt wurde noch nicht bewertet. 
2793 Reputation 345 Total posts