cancel
Showing results for 
Search instead for 
Did you mean: 

WebTools: New Theme can't be created

Former Member
0 Kudos

Hi All,

I got a testing licence for WebTools, but I can't create any new theme with error message as " Failed to create directory " when I click save and close icon. There used to be a duplicate button in NetPoint 5.96 which is obviously cancelled in WebTools.

Anybody has idea at this stage?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I just had this problem myself and I tried all sorts of permissions to get it to work. I finally just created a folder manually under the themes folder with the same name as the zip file and then the import worked.

Former Member
0 Kudos

Make sure you are resetting permissions on all child objects set to inherit permissions from the assets folder as well.

Answers (2)

Answers (2)

Former Member
0 Kudos

I have been experiencing this message while trying to modify the BASIC theme. It seems that no matter what I do, I cannot get around this message when trying to change anything on the theme. As soon as I click the "save" icon, I get this "denied" message.

I've tried...

> Adding ASPNET user to have full permissions to the directory structure

> Adding ASPNET in IIS as a user with full permissions to the entire default site

> Changing the "manager" user to allow full permissions for site "design" (actually added all roles for permissions)

> Copying the "basic" theme to another theme and editing the new theme

Nothing appears in any log... and I don't really know where to look. The userID for logon is an administrator, and I can go directly to the folder to edit the file directly. But I cannot change the theme from the site when logged in doing administration.

Does anyone have any thoughts on this?

By the way, this server is NOT joined to a domain, but is setup as a stand-alone Windows 2003 server. (Not that this should make any difference.)

Former Member
0 Kudos

Hey Terry .... the user you need to give permissions to seems to change based on the OS and probably other factors as well so the 3 I usually try (if they exist) in order are

1) NETWORK SERVICE

2) IUSR_<whatever>

3) ASPNET

Add the user(s) to the "assets" folder.

Make sure you are adding/modifying the local account user and not domain user.

Also, make sure you click the Advanced button and the checkox to "Replace permissions on all child objects ..."

Former Member
0 Kudos

Awesome!... Thanks Steven.

I could have played with that for days before getting the right combination.

~ terry o.

Former Member
0 Kudos

There's one more user to try as well

IIS_WPG

I figured I would add it to this thread for future reference.

Former Member
0 Kudos

From memory I think the only one that is relevant for Windows 2008 Server is NETWORK SERVICE - all the others apply to older Operating Systems

Former Member
0 Kudos

It has to do with which user or group you have set for the application pool in IIS. By default this is a local group named Network Service in IIS 6 and IIS 7.

For IIS 6, expand the application pools folder in the left hand pane, and view the properties of the application pool being used for web tools. By default this is "DefaultAppPool", so if you didnt specify one this is likely it.

Choose the Identity tab and the name of the group or user in the dropdown will be the one responsible for writing to the Inetpub\wwwroot\B1Webtools\assets\ directory so it needs write access specified on that folders permissions(NTFS)

Former Member
0 Kudos

OK, I found the place where to duplicate a theme, but failed with following message:

An Internal Error has occurred.

Version 2007.0.620.0

Message Access to the path 'C:\InetPub\wwwroot\B1WebTools\assets\common\themes\test01' is denied.

Source mscorlib

Stack at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)

at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)

at System.IO.Directory.CreateDirectory(String path)

at netpoint.api.common.NPTheme.CopyAssetFiles(String copyURL, String newAssetsURL)

at netpoint.api.common.NPTheme.Copy(String copyThemeCode, String newThemeCode, String themesFolderURL)

at netpoint.admin.common.themes.themeClone.btnSave_Click(Object sender, ImageClickEventArgs e)

at System.Web.UI.WebControls.ImageButton.OnClick(ImageClickEventArgs e)

at System.Web.UI.WebControls.ImageButton.RaisePostBackEvent(String eventArgument)

at System.Web.UI.WebControls.ImageButton.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)

at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)

at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)

at System.Web.UI.Page.Proc

Our technical people have been notified.

We're sorry for the inconvenience.

Anybody may figure it out?

Thanks.

Former Member
0 Kudos

Hi Ryan,

possibly ASP.NET doesn't have write access to the Themes directory (when you copy a theme it needs to create a new folder and files)

Go to the themes folder and add full permissions for

IWAM_[your server name] and IUSR_[your server name]

and then give it a go.

Former Member
0 Kudos

You should give write permission to the assets directory and its child objects to the local group Network Service, as the IIS Application pool uses this group as its credentials.

If that doesnt work add the local user ASPNET. Make sure these are local and not on your domain.