Technical support This forum is closed.
Version 1.x > Technical support > CMSDesk\Metadata' containing metadatas does not exist. View modes: 
User avatar
Member
Member
lpalafox - 3/9/2006 5:39:01 PM
   
CMSDesk\Metadata' containing metadatas does not exist.

Folder 'C:\Inetpub\wwwroot\CMSDesk\Metadata' containing metadatas does not exist.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: Folder 'C:\Inetpub\wwwroot\CMSDesk\Metadata' containing metadatas does not exist.

Source Error:


Line 83: 'Rewrite URL and try to call the Scheduler procedure
Line 84: If specialFiles.IndexOf(";" & currentFile & ";") < 0 AndAlso Not excludedLocation Then
Line 85: Kentico.CMS.UrlRewritingEngine.UrlRewriter.RewriteUrl(Functions.GetConnectionString)
Line 86: Scheduler.StartInterval()
Line 87: End If


Source File: C:\Inetpub\wwwroot\KenticoCMS\App_Code\Global.asax.vb Line: 85

Stack Trace:


[Exception: Folder 'C:\Inetpub\wwwroot\CMSDesk\Metadata' containing metadatas does not exist.]
Kentico.CMS.MetadataEngine.MetadataProvider.EnsureApplications() +170
Kentico.CMS.MetadataEngine.MetadataProvider.GetQuery(String queryName) +276
Kentico.CMS.DataEngine.GeneralConnection.RunQuery(String queryName, Object[,] params) +10
Kentico.CMS.DataEngine.GeneralConnection.ExecuteQuery(String queryName, Object[,] params) +8
Kentico.CMS.UrlRewritingEngine.UrlRewriter.GetAliasPathByUrlPath(String urlPath, String connectionString) +247
Kentico.CMS.UrlRewritingEngine.UrlRewriter.RewriteUrl(String connectionString) +530
CorporateSite.Global.Application_BeginRequest(Object sender, EventArgs e) in C:\Inetpub\wwwroot\KenticoCMS\App_Code\Global.asax.vb:85
System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

User avatar
Guest
admin - 3/9/2006 6:26:53 PM
   
Re: CMSDesk\Metadata' containing metadatas does not exist.
Hello,

Thank you for your message. This error is most likely caused by incorrect settings in your web.config. Please check the value of the following keys in the web.config:

CMSMetadataFolder
CMSWebApplicationVirtualPath

If you run the web site in the root, they will be:

CMSMetadataFolder: /cmsdesk/metadata
CMSWebApplicationVirtualPath: /

If you run the web site in a sub-folder /myproject, they will be:

CMSMetadataFolder: /myproject/cmsdesk/metadata
CMSWebApplicationVirtualPath: /myproject

Best Regards,



User avatar
Member
Member
lpalafox - 3/9/2006 6:36:46 PM
   
Re: CMSDesk\Metadata' containing metadatas does not exist.
hello, thanks but next error is
File 'C:\Inetpub\wwwroot\KenticoCMS\cmsdesk\CMSDesk\Metadata\CMS\User\queries.config' does not exist.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Exception: File 'C:\Inetpub\wwwroot\KenticoCMS\cmsdesk\CMSDesk\Metadata\CMS\User\queries.config' does not exist.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[Exception: File 'C:\Inetpub\wwwroot\KenticoCMS\cmsdesk\CMSDesk\Metadata\CMS\User\queries.config' does not exist.]
Kentico.CMS.MetadataEngine.MetadataProvider.EnsureQueries(String applicationName, String className) +494
Kentico.CMS.MetadataEngine.MetadataProvider.GetQuery(String queryName) +286
Kentico.CMS.DataEngine.GeneralConnection.RunQuery(String queryName, Object[,] params) +10
Kentico.CMS.DataEngine.GeneralConnection.ExecuteQuery(String queryName, Object[,] params) +8
Kentico.CMS.TreeEngine.TreeSecurityProvider.AuthenticateUser(String userName, String password) +128
Kentico.CMS.CMSControls.LogonForm.CheckPassword(Object sender, EventArgs e) +245
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

User avatar
Guest
admin - 3/9/2006 6:40:39 PM
   
Re: CMSDesk\Metadata' containing metadatas does not exist.
Well, could you please write me what values you have in the following web.config values now?

CMSMetadataFolder
CMSWebApplicationVirtualPath

Thank you.

Best Regards,

User avatar
Member
Member
lpalafox - 3/9/2006 6:45:16 PM
   
Re: CMSDesk\Metadata' containing metadatas does not exist.
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<configSections>
<section name="microsoft.web.services3" type="Microsoft.Web.Services3.Configuration.WebServicesConfiguration, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</configSections>
<appSettings>
<add key="CMSConnectionString" value="Persist Security Info=False;Integrated Security=SSPI;database=UIC_AC_Produccion;server=06-2-cgsi-3952;Current Language=English;" />
<add key="CMSMetadataFolder" value="CMSDesk/Metadata" />
<add key="CMSFilesFolder" value="" />
<add key="CMSLicenseKey" value="CS01-EEEE-09-20060324-36DEEC" />
<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="false" />
<add key="CMSDefaultCultureCode" value="en-us" />
<add key="CMSSendWorkflowEmails" value="true" />
<add key="CMSSchedulerInterval" value="1" />
<add key="CMSSMTPServer" value="localhost" />
<add key="CMSSendWorkflowEmailsFrom" value="automail@yourdomain.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="false" />
<add key="CMSSendNewslettersFrom" value="automail@yourdomain.com" />
<add key="CMSDefaultAliasPath" value="/home" />
<add key="CMSSendForumPostsFrom" value="automail@yourdomain.com" />
</appSettings>
<system.web>
<pages validateRequest="false">
<namespaces>
<add namespace="Microsoft.VisualBasic" />
<add namespace="System.Data" />
<add namespace="System.Drawing" />
</namespaces>
</pages>
<!-- DYNAMIC DEBUG COMPILATION
Set compilation debug="true" to insert debugging symbols (.pdb information)
into the compiled page. Because this creates a larger file that executes
more slowly, you should set this value to true only when debugging and to
false at all other times. For more information, refer to the documentation about
debugging ASP.NET files.
-->
<compilation defaultLanguage="vb" debug="true" strict="true">
<assemblies>
<add assembly="Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add assembly="Microsoft.VisualBasic, Version=8.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
</assemblies>
</compilation>
<!-- CUSTOM ERROR MESSAGES
Set customErrors mode="On" or "RemoteOnly" to enable custom error messages, "Off" to disable.
Add <error> tags for each of the errors you want to handle.

"On" Always display custom (friendly) messages.
"Off" Always display detailed ASP.NET error information.
"RemoteOnly" Display custom (friendly) messages only to users not running
on the local Web server. This setting is recommended for security purposes, so
that you do not display application detail information to remote clients.
-->
<customErrors mode="Off" />
<!-- AUTHENTICATION
This section sets the authentication policies of the application. Possible modes are "Windows",
"Forms", "Passport" and "None"

"None" No authentication is performed.
"Windows" IIS performs authentication (Basic, Digest, or Integrated Windows) according to
its settings for the application. Anonymous access must be disabled in IIS.
"Forms" You provide a custom form (Web page) for users to enter their credentials, and then
you authenticate them in your application. A user credential token is stored in a cookie.
"Passport" Authentication is performed via a centralized authentication service provided
by Microsoft that offers a single logon and core profile services for member sites.
-->
<authentication mode="Forms">
<forms name="CMSCookie" loginUrl="~/cmsdesk/logon.aspx" protection="All" path="/" slidingExpiration="true" timeout="60">
</forms>
</authentication>
<!-- <authentication mode="Windows"/> -->
<!-- AUTHORIZATION
This section sets the authorization policies of the application. You can allow or deny access
to application resources by user or role. Wildcards: "*" mean everyone, "?" means anonymous
(unauthenticated) users.
-->
<authorization>
<allow users="*" />
<!-- Allow all users -->
<!-- <allow users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
<deny users="[comma separated list of users]"
roles="[comma separated list of roles]"/>
-->
</authorization>
<!-- APPLICATION-LEVEL TRACE LOGGING
Application-level tracing enables trace log output for every page within an application.
Set trace enabled="true" to enable application trace logging. If pageOutput="true", the
trace information will be displayed at the bottom of each page. Otherwise, you can view the
application trace log by browsing the "trace.axd" page from your web application
root.
-->
<trace enabled="false" requestLimit="10" pageOutput="false" traceMode="SortByTime" localOnly="true" />
<!-- SESSION STATE SETTINGS
By default ASP.NET uses cookies to identify which requests belong to a particular session.
If cookies are not available, a session can be tracked by adding a session identifier to the URL.
To disable cookies, set sessionState cookieless="true".
-->
<sessionState mode="InProc" stateConnectionString="tcpip=127.0.0.1:42424" sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes" cookieless="false" timeout="20" />
<!-- GLOBALIZATION
This section sets the globalization settings of the application.
-->
<globalization requestEncoding="utf-8" responseEncoding="utf-8" culture="en-US" uiCulture="en-US" />
<machineKey validationKey="48D5420B3133626A149238482CC86B904789D8B8D4415576D1AA560FB3137FB6BCD0515BE0EBD6203AFB35481BAC27ABE20D8DCA4946965572F8E16DFC2EEBC0" decryptionKey="C947D882DFD5A6C3783FDA6A950D72F1004AECB94BD46AD0" validation="SHA1" />
<webServices>
<soapServerProtocolFactory type="Microsoft.Web.Services3.WseProtocolFactory, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<soapExtensionImporterTypes>
<add type="Microsoft.Web.Services3.Description.WseExtensionImporter, Microsoft.Web.Services3, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
</soapExtensionImporterTypes>
</webServices>
<xhtmlConformance mode="Legacy" />
</system.web>
<location path="cmsdesk">
<system.web>
<authorization>
<deny users="?" />
</authorization>
</system.web>
</location>
<location path="cmsdesk/calendar">
<system.web>
<authorization>
<allow users="?" />
</authorization>
</system.web>
</location>
<location path="cmsdesk/design">
<system.web>
<authorization>
<allow users="?" />
</authorization>
</system.web>
</location>
<location path="cmsdesk/install.aspx">
<system.web>
<authorization>
<allow users="?" />
</authorization>
</system.web>
</location>
<location path="cmsdesk/tools/forums/CMSForums.css">
<system.web>
<authorization>
<allow users="?" />
</authorization>
</system.web>
</location>
<microsoft.web.services3>
<security>
<securityTokenManager>
<add type="Kentico.CMS.SyncWebService.WebServiceAuthorization" namespace="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" localName="UsernameToken" />
</securityTokenManager>
<x509 allowTestRoot="true" verifyTrust="true" />
</security>
<policy fileName="wse3policyCache.config" />
<diagnostics>
<trace enabled="true" input="InputTrace.webinfo" output="OutputTrace.webinfo" />
</diagnostics>
</microsoft.web.services3>
</configuration>

User avatar
Guest
admin - 3/9/2006 6:54:37 PM
   
Re: CMSDesk\Metadata' containing metadatas does not exist.
Could you please set either:

CMSMetadataFolder: /cmsdesk/metadata
CMSWebApplicationVirtualPath: /

or:

CMSMetadataFolder: /kenticocms/cmsdesk/metadata
CMSWebApplicationVirtualPath: /kenticocms

Regards,

User avatar
Member
Member
lpalafox - 3/9/2006 6:59:41 PM
   
Re: CMSDesk\Metadata' containing metadatas does not exist.
Thanks, but The trial version expires in 14 days.

User avatar
Guest
admin - 3/9/2006 7:21:33 PM
   
Re: CMSDesk\Metadata' containing metadatas does not exist.
No problem. Please put the following license key into your web.config, into the CMSLicenseKey value:

CS01-096C-09-20060409-E0A11B

Best Regards,