Does the machine you publish to have EPiServer installed? And also is the machine your publishing to running 64bit version of windows? If not you need to install episerver and then change the virtual paths in the config to go to Program Files with out the (x86).
What url are you trying to access when you get the 404? And what have you put in your siteURL in the episerver.config?
I am trying to access http://mysite.dk/secure/ which redirect to http://mysite.dk/Util/login.aspx?ReturnUrl=%2fsecure%2f
And these is my site settings
siteUrl="http://mysite.dk/" uiUrl="~/secure/CMS/" utilUrl="~/util/"
Do you get the 404 when you try access the login.aspx? or is it after you have logged in and it tries to redirect back to /secure ?
Do you have the <location path="util"> in your web.config?
Is the machine a new one? Or does it run other .Net sites already?
Petter thanks a lot for you help
I think i found the problem .. i am publishing the website as precompiled site (Sorry i had to mention but i didn't know this was the problem)
Virtualpaths doesn't work in precompiled sites .. So i used this workaround here: http://sunali.com/2008/01/09/virtualpathprovider-in-precompiled-web-sites/
It's working now ... thanks again :)
I have the episerver site working on my development invironment .. but when publishing it the admin url gives me 404
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Util/login.aspx
First i was creating the site in IIS manually, theni used the deployment center then adding my site files .. but in both cases it can't find the admin path
I have the virtual paths set on episerver.config
<add name="UI" virtualPath="~/secure/CMS/" physicalPath="C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\application\UI\CMS" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />
<add name="WebServiceFiles" virtualPath="~/WebServices/" physicalPath="C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\application\webservices" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />
<add name="EPiServerCMS" virtualPath="~/secure/CMS" physicalPath="C:\Program Files (x86)\EPiServer\CMS\6.1.379.0\application\UI\EPiServer\CMS" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />
<add name="EPiServerShell" virtualPath="~/secure/Shell" physicalPath="C:\Program Files (x86)\EPiServer\Framework\6.2.267.1\Application\UI" type="EPiServer.Web.Hosting.VirtualPathNonUnifiedProvider,EPiServer" />
And i ensured that the physical paths contain the files.
What i am missing here?