November Happy Hour will be moved to Thursday December 5th.

Installation fails with err msg "The application relative virtual path '~/upload/' cannot be made absolute, because the path to the application is not known"

Vote:
 

Error log and stack trace:

Started a transacted install
Copied extension_edit.gif
Copied Dropit.ComponentArt.Web.UI.dll
Copied Dropit.Extension.dll
Copied Dropit.Extension.UI.dll
Copied x3.png
Copied about.aspx
Copied Help.aspx
Copied style.css
Copied CompleteImportingScript.sql
Copied ajax10.config
Copied ajax35.config
Copied dropit.extension.config
Copied extension.episerverdata
Copied extension.upgrade.episerverdata
Copied update.config
Copied web.config.xmlupdate
Copied web.config.xmlupdate.iis6
Copied web.config.xmlupdate.iis7
Copied AccessControl.ascx
Copied ActionButtonControl.ascx
Copied AddGroupDialog.ascx
Copied ConfirmDialog.ascx
Copied ExportData.ascx
Copied ExtensionCategories.ascx
Copied ExtensionCategoryAdd.ascx
Copied ExtensionSettings.ascx
Copied ExtensionTemplateList.ascx
Copied FunctionPropertyAdd.ascx
Copied FunctionTypeAccess.ascx
Copied FunctionTypeAdd.ascx
Copied FunctionTypeAvailableContentArea.ascx
Copied FunctionTypeInformation.ascx
Copied FunctionTypeList.ascx
Copied FunctionTypeProperties.ascx
Copied FunctionTypeRules.ascx
Copied Install.ascx
Copied PageTypeAccess.ascx
Copied PageTypeAdd.ascx
Copied PageTypeInformation.ascx
Copied PageTypeList.ascx
Copied PageTypeProperties.ascx
Copied PageTypeRules.ascx
Copied SettingDefaultAccessFunctionType.ascx
Copied SettingDefaultAccessPageType.ascx
Copied ExtensionEditPageType.aspx
Copied ExtensionManager.aspx
Copied Install.aspx
Copied MembershipAccessLevel.aspx
Copied AccessRightsControl.ascx
Copied ConfirmDialog.ascx
Copied EditPageControl.ascx
Copied EditTool.ascx
Copied ExtensionDialog.ascx
Copied ExtensionToolButtonControl.ascx
Copied ExtensionXFormData.ascx
Copied FunctionBar.ascx
Copied LanguageBranchControl.ascx
Copied MessageBox.ascx
Copied RssReader.ascx
Copied UsingInPages.ascx
Copied VersionControl.ascx
Copied VersionList.ascx
Copied ClipboardHandler.ashx
Copied CreateContentFunction.aspx
Copied DeleteContentFunction.aspx
Copied FavoriteHandler.ashx
Copied LanguageBranchHandler.ashx
Copied LoadFunctionBar.aspx
Copied LoadPageStruct.aspx
Copied ReloadContentFunction.aspx
Copied SaveAsGlobalFunction.aspx
Copied SaveExtensionPage.aspx
Copied TestHarness.ashx
Copied UpdateFunctionBar.aspx
Copied VersionListHandler.ashx
Copied blank.htm
Copied ExtensionData.aspx
Copied ExtensionNewPage.aspx
Copied ExtensionShadow.aspx
Copied ExtensionWorkspace.aspx
Copied FunctionAccessRights.aspx
Copied PagePropertyEditor.aspx
Copied PropertyEditor.aspx
Copied TemplateAccessRights.aspx
Copied TemplatePropertyEditor.aspx
Copied Add.gif
Copied AddOff.gif
Copied Cancel.gif
Copied Check.gif
Copied CheckOff.gif
Copied Clear.gif
Copied Delete.gif
Copied DeleteOff.gif
Copied Down.gif
Copied DownOff.gif
Copied Edit.gif
Copied EditOff.gif
Copied Save.gif
Copied Up.gif
Copied UpOff.gif
Copied alpha.png
Copied bottom-left.png
Copied bottom-mid.png
Copied bottom-right.png
Copied bottom.gif
Copied bottom_content.gif
Copied bottom_left.gif
Copied bottom_mid.gif
Copied bottom_right.gif
Copied close-down.png
Copied close-hover.png
Copied close.gif
Copied close.png
Copied error.png
Copied left.gif
Copied left.png
Copied right.gif
Copied right.png
Copied spacer.gif
Copied top-left.png
Copied top-mid.png
Copied top-right.png
Copied top.gif
Copied top_left.gif
Copied top_mid.gif
Copied top_right.gif
Copied warning.png
Copied 1st_panel_collapse.png
Copied 1st_panel_expand.png
Copied 2nd_panel_collapse.png
Copied 2nd_panel_expand.png
Copied clipboard.gif
Copied clipboard.png
Copied close.gif
Copied collapse.gif
Copied combined_block.gif
Copied content_block.gif
Copied content_layout.png
Copied expand.gif
Copied favorites.gif
Copied favorites.png
Copied fb_collapse.gif
Copied fb_expand.gif
Copied fb_reset.gif
Copied fb_restore.gif
Copied folder.collapse.gif
Copied folder.expand.gif
Copied folder.gif
Copied fold_down.gif
Copied fold_up.gif
Copied global.gif
Copied global_functions.png
Copied hand_closed.cur
Copied hand_open.cur
Copied item.gif
Copied layout_block.gif
Copied left_drag.png
Copied left_hover.png
Copied left_normal.png
Copied line.gif
Copied line.png
Copied middle_drag.png
Copied middle_hover.png
Copied middle_normal.png
Copied my_favorites.png
Copied recyclebin.gif
Copied reset.gif
Copied reset.png
Copied restore.gif
Copied right_drag.png
Copied right_hover.png
Copied right_normal.png
Copied spacer.gif
Copied trash.png
Copied type_combined.gif
Copied type_content.gif
Copied type_layout.gif
Copied alpha.png
Copied bottom-left.png
Copied bottom-mid.png
Copied bottom-right.png
Copied bottom.gif
Copied bottom_content.gif
Copied bottom_left.gif
Copied bottom_mid.gif
Copied bottom_right.gif
Copied cb_bottom_left.gif
Copied cb_bottom_mid.gif
Copied cb_bottom_right.gif
Copied cb_left_mid.gif
Copied cb_right_mid.gif
Copied cb_top_left.gif
Copied cb_top_mid.gif
Copied cb_top_right.gif
Copied close.png
Copied item_drag_left.gif
Copied item_drag_mid.gif
Copied item_drag_right.gif
Copied left.gif
Copied left.png
Copied right.gif
Copied right.png
Copied spacer.gif
Copied top-left.png
Copied top-mid.png
Copied top-right.png
Copied top.gif
Copied top_left.gif
Copied top_mid.gif
Copied top_right.gif
Copied arrow_right.gif
Copied arrow_right_hover.gif
Copied break_bg.gif
Copied gray.gif
Copied group_background.gif
Copied scroll_down.gif
Copied scroll_up.gif
Copied add_to_favorites.png
Copied add_to_favorites_over.png
Copied copy.gif
Copied copy_over.gif
Copied edit.gif
Copied edit_over.gif
Copied properties.gif
Copied properties_over.gif
Copied remove.gif
Copied remove_over.gif
Copied combined_block.gif
Copied content_block.gif
Copied copy.gif
Copied copy.png
Copied dot.gif
Copied dot2.gif
Copied edit.gif
Copied error_block.gif
Copied global_block.gif
Copied hand_closed.cur
Copied hand_closed.gif
Copied hand_open.cur
Copied hand_open.gif
Copied layout_block.gif
Copied properties.gif
Copied properties.png
Copied remove.gif
Copied remove.png
Copied tool_separator.gif
Copied unavailable_edit.gif
Copied unavailable_rule.png
Copied unknown_block.gif
Copied background.gif
Copied background2.gif
Copied top_left.gif
Copied top_left2.gif
Copied top_left_active.gif
Copied top_left_active2.gif
Copied top_mid.gif
Copied top_mid2.gif
Copied top_mid_active.gif
Copied top_mid_active2.gif
Copied top_right.gif
Copied top_right2.gif
Copied top_right_active.gif
Copied top_right_active2.gif
Copied release.jpg
Copied standard.jpg
Copied start.jpg
Copied backgroundgradient.gif
Copied break.gif
Copied button_left.jpg
Copied button_right.jpg
Copied cancel.gif
Copied cancel.png
Copied editpage.gif
Copied saveandpublish.gif
Copied saveandview.gif
Copied saveastemplate.gif
Copied savenpublish.png
Copied savenview.png
Copied savetemplate.png
Copied tbc_background.gif
Copied tb_background.gif
Copied dash.gif
Copied dashminus.gif
Copied dashplus.gif
Copied i.gif
Copied l.gif
Copied lminus.gif
Copied lplus.gif
Copied minus.gif
Copied noexpand.gif
Copied plus.gif
Copied r.gif
Copied rminus.gif
Copied rplus.gif
Copied t.gif
Copied tminus.gif
Copied tplus.gif
Copied picDisabled.jpg
Copied picEnabled.jpg
Copied admin_spinner.gif
Copied clear.gif
Copied Composer_white.png
Copied Composer_white_small.png
Copied extension3.gif
Copied extension_edit.gif
Copied fb_spinner.gif
Copied help.gif
Copied history_close.gif
Copied movedown.gif
Copied movedownD.gif
Copied moveup.gif
Copied moveupD.gif
Copied spacer.gif
Copied spinner.gif
Copied spinner1.gif
Copied spinner2.gif
Copied spinner3.gif
Copied text_rich.png
Copied x3bg.gif
Copied errorIcon.png
Copied firebug.css
Copied firebug.html
Copied firebug.js
Copied firebugx.js
Copied infoIcon.png
Copied warningIcon.png
Copied Cookies.js
Copied Diagnostics.js
Copied Extension.CallbackClipboard.js
Copied Extension.CallbackContentFunction.js
Copied Extension.CallbackExtensionPage.js
Copied Extension.CallbackFavorite.js
Copied Extension.CallbackFunctionBar.js
Copied Extension.CallbackLanguageBranch.js
Copied Extension.CallbackObject.js
Copied Extension.CallbackVersionList.js
Copied Extension.ContentArea.js
Copied Extension.ContentFunction.js
Copied Extension.ExtensionClient.js
Copied Extension.HistoryManager.js
Copied Extension.js
Copied Extension.LanguageManager.js
Copied Extension.Page.js
Copied Extension.Rule.js
Copied Extension.ToolButtonControl.js
Copied Extension.UI.AddGroupDialog.js
Copied Extension.UI.BaseItem.js
Copied Extension.UI.BaseModalDialog.js
Copied Extension.UI.BasePanel.js
Copied Extension.UI.CategoryItem.js
Copied Extension.UI.CategoryPanel.js
Copied Extension.UI.ClipboardItem.js
Copied Extension.UI.ClipboardPanel.js
Copied Extension.UI.ConfirmDialog.js
Copied Extension.UI.ContextMenu.js
Copied Extension.UI.ExtensionDialog.js
Copied Extension.UI.FunctionBar.js
Copied Extension.UI.LanguageBranch.js
Copied Extension.UI.MessageBox.js
Copied Extension.UI.PropertiesDialog.js
Copied Extension.UI.RecycleBinPanel.js
Copied Extension.UI.SlidingPanel.js
Copied Extension.UI.TemplateItem.js
Copied Extension.UI.VersionList.js
Copied ExtensionMembershipAccessLevel.js
Copied JSFx.js
Copied Program.js
Copied prototype.js
Copied rico.js
Copied Utils.js
Copied x3.js
Copied ExtensionUI.master
Copied common.css
Copied dialog.css
Copied ext3core.css
Copied functionbar.css
Copied menustyle.css
Copied multipage.css
Copied sortablegrid.css
Copied tabstyle.css
Copied toolbar.css
Copied toolbutton.css
Copied treestyle.css
Copied x3.css
Copied blank.htm
Copied ExtensionDynamicContentControl.ascx
Copied ExtensionPageControl.ascx
Copied ResourceHandler.ashx
Copied Dropit.Extension_EN.xml
Copied Dropit.Extension_SV.xml
Copied Install Composer.metadata
Copied Upgrade Composer.metadata
An error has occured and the transaction will be rolled back
Rolledback

An unhandled error has occured:
The application relative virtual path '~/upload/' cannot be made absolute, beca
use the path to the application is not known.
When executing


At C:\Program Files\EPiServer\CMS\5.2.375.236\Install\Modules\Extension 3.2\Ins
tall Composer.ps1:123 char:20
+ 		Add-EPiServerData  <<<< $episerverDataFile $selectedWebApplication.Physical
Path $selectedWebApplication.ApplicationName

False
=
Get-EPiIsBulkInstalling
Error - System.Management.Automation.CmdletInvocationException: The application relative virtual path '~/upload/' cannot be made absolute, because the path to the application is not known. ---> System.Web.HttpException: The application relative virtual path '~/upload/' cannot be made absolute, because the path to the application is not known.
   at System.Web.VirtualPath.get_VirtualPathString()
   at System.Web.VirtualPathUtility.ToAbsolute(String virtualPath)
   at EPiServer.Web.Hosting.VirtualPathPageMappingProvider..ctor(String name, NameValueCollection configParameters)   at EPiServer.Install.InstallationManager.Install(Installer installer)
   at EPiServer.Install.CMS.Modules.ModulesInstallationManager.ImportData(InstallationManager installationManager, String destinationDirectory, String virtualDirectory, String importSource, DatabaseDestination destination, Boolean updateStartPageAttribute)
   at EPiServer.Install.CMS.Modules.CmdLets.AddEPiServerData.ProcessRecord()
   at System.Management.Automation.Cmdlet.DoProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
   --- End of inner exception stack trace ---
   at System.Management.Automation.Internal.PipelineProcessor.SynchronousExecuteEnumerate(Object input, Hashtable errorResults, Boolean enumerate)
   at System.Management.Automation.Parser.PipelineNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList)
   at System.Management.Automation.Parser.StatementListNode.Execute(Array input, Pipe outputPipe, ArrayList& resultList)

 

#37661
Mar 16, 2010 11:25
Vote:
 

There is a bug that the mapping Virtual Path Providers in EPiServer.Legacy4 does not work in a non-web context (e.g. installer), this has been fixed in CMS6. The workaround for EPiServer5 is to outcomment those providers from web.config (if present) during installtion or upgrade.

#37806
Mar 19, 2010 23:29
Vote:
 

You can try to comment out all the "upload" stuff in the web.config file before installation

#37970
Mar 25, 2010 3:46
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.