Developer forum

Forum » Dynamicweb 9.0 Upgrade issues » File upload
Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

I am having an issue on a solution that recently upgraded from 9.9.8 to 9.10.4, I cannot use the file uploader.
 

[InvalidOperationException: The view 'SelectFile' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Files/System/Views/Admin/FileDialog/SelectFile.cshtml
~/Files/System/Views/Admin/FileDialog/SelectFile.vbhtml
~/Files/System/Views/AdminShared/SelectFile.cshtml
~/Files/System/Views/AdminShared/SelectFile.vbhtml
~/Areas/Admin/Views/FileDialog/SelectFile.cshtml
~/Areas/Admin/Views/FileDialog/SelectFile.vbhtml
~/Areas/Admin/Views/Shared/SelectFile.cshtml
~/Areas/Admin/Views/Shared/SelectFile.vbhtml
~/Admin/Areas/Admin/Views/FileDialog/SelectFile.cshtml
~/Admin/Areas/Admin/Views/FileDialog/SelectFile.vbhtml
~/Admin/Areas/Admin/Views/Shared/SelectFile.cshtml
~/Admin/Areas/Admin/Views/Shared/SelectFile.vbhtml
~/Files/System/Views/FileDialog/SelectFile.cshtml
~/Files/System/Views/FileDialog/SelectFile.vbhtml
~/Files/System/Views/Shared/SelectFile.cshtml
~/Files/System/Views/Shared/SelectFile.vbhtml
~/Views/FileDialog/SelectFile.cshtml
~/Views/FileDialog/SelectFile.vbhtml
~/Views/Shared/SelectFile.cshtml
~/Views/Shared/SelectFile.vbhtml
~/Files/System/Views/Admin/FileDialog/SelectFile.aspx
~/Files/System/Views/Admin/FileDialog/SelectFile.ascx
~/Files/System/Views/Admin/Shared/SelectFile.aspx
~/Files/System/Views/Admin/Shared/SelectFile.ascx
~/Areas/Admin/Views/FileDialog/SelectFile.aspx
~/Areas/Admin/Views/FileDialog/SelectFile.ascx
~/Areas/Admin/Views/Shared/SelectFile.aspx
~/Areas/Admin/Views/Shared/SelectFile.ascx
~/Admin/Areas/Admin/Views/FileDialog/SelectFile.aspx
~/Admin/Areas/Admin/Views/FileDialog/SelectFile.ascx
~/Admin/Areas/Admin/Views/Shared/SelectFile.aspx
~/Admin/Areas/Admin/Views/Shared/SelectFile.ascx
~/Files/System/Views/FileDialog/SelectFile.aspx
~/Files/System/Views/FileDialog/SelectFile.ascx
~/Files/System/Views/Shared/SelectFile.aspx
~/Files/System/Views/Shared/SelectFile.ascx
~/Views/FileDialog/SelectFile.aspx
~/Views/FileDialog/SelectFile.ascx
~/Views/Shared/SelectFile.aspx
~/Views/Shared/SelectFile.ascx
~/Files/System/Views/Admin/FileDialog/SelectFile.e
~/Files/System/Views/Admin/Shared/SelectFile.e
~/Areas/Admin/Views/FileDialog/SelectFile.e
~/Areas/Admin/Views/Shared/SelectFile.e
Resource: Dynamicweb.Management.Files.Dialogs.FileDialogController.SelectFile.e (Dynamicweb.Management.Files.dll)
Method: Dynamicweb.Management.Files.Dialogs.FileDialogViews.SelectFile() (Dynamicweb.Management.Files.dll)]
   System.Web.Mvc.ViewResult.FindView(ControllerContext context) +511
   System.Web.Mvc.ViewResultBase.ExecuteResult(ControllerContext context) +143
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +91
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultFilterRecursive(IList`1 filters, Int32 filterIndex, ResultExecutingContext preContext, ControllerContext controllerContext, ActionResult actionResult) +795
   System.Web.Mvc.ControllerActionInvoker.InvokeActionResultWithFilters(ControllerContext controllerContext, IList`1 filters, ActionResult actionResult) +81
   System.Web.Mvc.Async.<>c__DisplayClass21.<BeginInvokeAction>b__1e(IAsyncResult asyncResult) +188
   System.Web.Mvc.Async.AsyncControllerActionInvoker.EndInvokeAction(IAsyncResult asyncResult) +38
   System.Web.Mvc.Controller.<BeginExecuteCore>b__1d(IAsyncResult asyncResult, ExecuteCoreState innerState) +32
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.Controller.EndExecuteCore(IAsyncResult asyncResult) +52
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +39
   System.Web.Mvc.Controller.EndExecute(IAsyncResult asyncResult) +38
   System.Web.Mvc.MvcHandler.<BeginProcessRequest>b__5(IAsyncResult asyncResult, ProcessRequestState innerState) +46
   System.Web.Mvc.Async.WrappedAsyncVoid`1.CallEndDelegate(IAsyncResult asyncResult) +73
   System.Web.Mvc.MvcHandler.EndProcessRequest(IAsyncResult asyncResult) +38
   System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +431
   System.Web.HttpApplication.ExecuteStepImpl(IExecutionStep step) +75
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +158

Replies

 
Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

BTW, the title of this thread is not correct. It is not a file upload problem but a file selector problem.

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Can you share a screen dump...?

 
Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

The screen dump is just this error as well

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Yeah, but I cannot see where you are or what you did.... What button did you click? Steps to reproduce would be great!

It does seems like something in your installation has gone wrong.

 
Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

Sorry for the poor description, was in a hurry. It is happening everytime I click on the file selector like this one, as soon as I click it I get a page with the error.

 
Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

Any ideas yet on this? We have a client that really needs this feature to be up and running, and the reason for us to upgrade to 9.10 was that in 9.9 we had cookie domain issues, so we cannot downgrade. 
https://doc.dynamicweb.com/forum?PID=1605&ThreadID=74963

P.S: I can upload the update logs if you want.
 

Regards.

Unnsteinn

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Unnstein

This issue is very similar to your other post. I think you are missing some files from your installation.

I think you have to copy over the application again to get the missing files.

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum