forrester
-
9/12/2006 11:01:37 PM
vs2005 cmsmetadatafolder question
I am doing a little experiment with a test site in asp.net2.0/c#/vs2005. I have put the following CMSMetadataFolder value in my web.config:
<add key="CMSMetadataFolder" value="~/CMSDesk/Metadata" /> <add key="CMSFilesFolder" value="" /> <add key="CMSLicenseKey" value="license key" /> <add key="CMSParentFrameName" value="application" /> <add key="CMSCacheMinutes" value="0" /> <add key="CMSCachePageInfoMinutes" value="0" /> <add key="CMSWebSiteBaseAliasPath" value="" /> <add key="CMSUseFriendlyURLs" value="true" /> <add key="CMSWebApplicationVirtualPath" value="" /> <add key="CMSUseMultilingualSupport" value="true" /> <add key="CMSDefaultCultureCode" value="en-us" /> <add key="CMSSendWorkflowEmails" value="true" /> <add key="CMSSchedulerInterval" value="120" /> <add key="CMSSMTPServer" value="localhost" /> <add key="CMSSendWorkflowEmailsFrom" value="myname@domain.com" /> <add key="CMSSecuredAreas" value="/partners" /> <add key="CMSSecuredAreasLogonPage" value="~/WebLogon.aspx" /> <add key="CMSWysiwygEditor" value="FCKEditor" /> <add key="CMSStoreFilesInDatabase" value="false" /> <add key="CMSFriendlyURLStyle" value=".aspx" /> <add key="CMSExcludedDirectories" value="/ControlsExamples" /> <add key="CMSUseOutputFilter" value="true" /> <add key="CMSFixFormAction" value="true" /> <add key="CMSGenerateFriendlyUrlFiles" value="true" /> <add key="CMSSendNewslettersFrom" value="myname@domain.com" /> <add key="CMSDefaultAliasPath" value="" /> <add key="CMSSendForumPostsFrom" value="myname@domain.com" /> <add key="CMSForbiddenFileSystemCharacters" value=" " /> <add key="CMSFileUpload" value="/Upload" />
After I did this, I migrated my test site (also set up as multilingual) from my localhost to a production site (http://www.domain.com/customer_area/Templates/TemplateTwo). The site shows up and works, but when I log into the cmsdesk and click on the "content" I get the following error on each page:
######################### Server Error in '/customer_area/TestSite' Application. 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: /customer_area/TestSite/cmsdesk/content/~/Contact.aspx
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42 #########################
I noticed that it adds the tildy (~) sign before the page name. I saw in a previous thread that you have not tested this, but I was wondering if you might have any thoughts on it. If there is a solution to this, it would be easier to use the tildy sign than making sure my virtual path is correct when I deploy a site.
Thanks, forrester
|