ASPX templates
Version 7.x > ASPX templates > Template saving error View modes: 
User avatar
Certified Developer 13
Certified Developer 13
hutnyk.roman-gmail - 11/14/2012 3:10:44 AM
   
Template saving error
Hello,

I'm getting an error when attempt to save template changes:
Message: Could not find a part of the path '\\nas72v1\iis$'.
Stack Trace:
at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, Object dirSecurityObj)
at System.IO.Directory.CreateDirectory(String path)
at CMS.CMSStorage.Directory.CreateDirectory(String path)
at CMS.IO.Directory.CreateDirectory(String path)
at CMS.IO.DirectoryHelper.EnsureDiskPathInternal(String path, String startingPath)
at CMS.DataEngine.AbstractInfo`1.SetExternalColumnData(String columnName, Object data, Boolean deleteUnusedFiles)
at CMS.DataEngine.AbstractInfo`1.SaveExternalColumns(Boolean deleteUnusedFiles)
at CMS.DataEngine.AbstractInfo`1.UpdateData()
at CMS.Synchronization.SynchronizedInfo`1.UpdateData()
at CMS.DataEngine.AbstractInfoProvider`2.SetInfo(InfoType info)
at CMS.PortalEngine.PageTemplateInfoProvider.SetPageTemplateInfoInternal(PageTemplateInfo template)
at CMS.FormControls.UIForm.SaveDataInternal()

Source code is located on remote machine @ \\nas72v1\iis$\inetpub\MyApp

Application is running on IIS with my account, which has read/write permissions to the folder source code is located, but in the error description i can see only the part of path ('\\nas72v1\iis$'). I thought it might be '$' sign in path, but we also have other application those are mapped to the similar path: \\nas72v1\iis$\inetpub\MyApp1 and they do work correctly.

The version of Kentico is 7.0
IIS 7.5
Framework 4.0

Another question is why does CMS try to create folder in a file system when i'm trying to save page template?

User avatar
Certified Developer 13
Certified Developer 13
hutnyk.roman-gmail - 11/14/2012 4:00:03 AM
   
RE:Template saving error
One more interesting fact:

i can create folder or file in cms tree, but i'm unable to create a page. ((

Thanks,
Roman

User avatar
Kentico Support
Kentico Support
kentico_radekm - 11/28/2012 9:03:23 AM
   
RE:Template saving error
Hello.

By "other application those are mapped to the similar path" you mean other CMS instance, or totally different non-KCMS application?

The reason it writes to the file system is that application needs to save CSS and layout into the file, which is being processed then. So there is technical reason for this.


Best Regards,
Radek Macalik