Vinay Thakkar wrote:
I have a site for the year 2009 which is live now and i want to make some changes to it and create a 2010 site and then make it live.
i m finding an error exporting template for Parent Portal.
Error: is currently unavailable.
DotNetNuke.Services.Exceptions.ModuleLoadException: Access to the path 'C:\inetpub\wwwroot\Sotec\iSpace Sotec\Portals\_default\Sotec 2010.template' is denied. ---> System.UnauthorizedAccessException: Access to the path 'C:\inetpub\wwwroot\Sotec\iSpace Sotec\Portals\_default\Sotec 2010.template' is denied. at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy) at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) at System.Xml.XmlWriter.Create(String outputFileName, XmlWriterSettings settings) at DotNetNuke.Modules.Admin.Portals.Template.cmdExport_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\Sotec\iSpace Sotec\DesktopModules\Admin\Portals\Template.ascx.vb:line 327 --- End of inner exception stack trace ---
Any kind of help is highly appreciated.
Based on the error, seems like a permissions issue. Depending on your operating system you should check and make sure that the NetworkService or equivalent account for ASP.NET applications has full permissions to the entire DotNetNuke directory.