|
Skin works on SmarterMail, and Track, but won't on Stats
Last post 11-29-2008 2:30 AM by charless. 3 replies.
-
11-04-2008 4:43 PM
|
|
-
ericaDDs


- Joined on 09-28-2007
- Posts 10
|
Skin works on SmarterMail, and Track, but won't on Stats
I'm working on skinning my stats pages, I just have revisions made to the master page, login page and a few bits of css. So, I put up the skin on the Stats server and it doesn't recongnize it being there. So, I figured I'd changed my skin on the server, make a copy and do the couple of changes to the pages. But then when I apply the style and image into the Root.Master and Login.Master. It breaks the interfacer so that it has this Error message: The Skin guide needs to say you need to be able to work with ASP as, the MasterPages are not html like the last version of the pieces.
Server Error in '/' Application. Access to the path 'c:\program files\smartertools\smarterstats\mrs\MasterPages\dds_Skin\Root.Master' is denied. 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.UnauthorizedAccessException: Access to the path 'c:\program files\smartertools\smarterstats\mrs\MasterPages\dds_Skin\Root.Master' is denied.
ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.
To grant ASP.NET access to a file, right-click the file in Explorer, choose "Properties" and select the Security tab. Click "Add" to add the appropriate user or group. Highlight the ASP.NET account, and check the boxes for the desired access.
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:
[UnauthorizedAccessException: Access to the path 'c:\program files\smartertools\smarterstats\mrs\MasterPages\dds_Skin\Root.Master' is denied.] System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath) +651 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) +1038 System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share) +114 System.Web.Hosting.MapPathBasedVirtualFile.Open() +71 System.Web.UI.TemplateParser.ParseFile(String physicalPath, VirtualPath virtualPath) +205 System.Web.UI.TemplateParser.ParseInternal() +125 System.Web.UI.TemplateParser.Parse() +155 System.Web.Compilation.BaseTemplateBuildProvider.get_CodeCompilerType() +105 System.Web.Compilation.BuildProvider.GetCompilerTypeFromBuildProvider(BuildProvider buildProvider) +54 System.Web.Compilation.BuildProvidersCompiler.ProcessBuildProviders() +182 System.Web.Compilation.BuildProvidersCompiler.PerformBuild() +29 System.Web.Compilation.BuildManager.CompileWebFile(VirtualPath virtualPath) +267 System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +582 System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +93 System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) +60 System.Web.UI.MasterPage.CreateMaster(TemplateControl owner, HttpContext context, VirtualPath masterPageFile, IDictionary contentTemplateCollection) +103 System.Web.UI.Page.get_Master() +48 System.Web.UI.Page.ApplyMasterPage() +18 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +685
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 ERica
|
|
-
-
ST-JLance


- Joined on 05-24-2005
- Phoenix, AZ
- Posts 5,241
|
Re: Skin works on SmarterMail, and Track, but won't on Stats
For some reason, file permissions are not being set right on your skin for SmarterStats. What you need to do is open the skin directory in explorer, right click on the directory and click Properties. Go to the security tab, and you will see a list of users allowed to access those files. Find "NETWORK SERVICE" or "ASPNET" in the list. If its not there, you will need to add it. Select it from the list, and check Allow next to Full control. Then, click advanced, then check "Replace all existing inheritable permissions on all descendants .." and OK.
James LanceSenior Developer / Analyst SmarterTools Inc. (877) 357-6278 www.smartertools.comSmarterMail - Windows Mail Server and Microsoft Exchange Alternative SmarterTrack - Help Desk, Ticket Tracking, Live Chat, WhosOn, and Knowledge Base Software SmarterStats - Web Log Analytics and SEO Software
|
|
-
-
ericaDDs


- Joined on 09-28-2007
- Posts 10
|
Re: Skin works on SmarterMail, and Track, but won't on Stats
Ok, I did that, I set the permission on both folders and saved it. I got a new error message: Server Error in '/' Application. Object reference not set to an instance of an object. 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.NullReferenceException: Object reference not set to an instance of an object.
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:
[NullReferenceException: Object reference not set to an instance of an object.] SmarterTools.MasterPages.V5.Login.LoginPageNewLook_Load(Object sender, EventArgs e) +32 System.Web.UI.Control.OnLoad(EventArgs e) +99 System.Web.UI.Control.LoadRecursive() +47 System.Web.UI.Control.LoadRecursive() +131 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436
Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433 Any thoughts? I'm really questioning this universal stamp on this.
Erica
|
|
-
-
charless


- Joined on 11-29-2008
- Posts 1
|
Re: Skin works on SmarterMail, and Track, but won't on Stats
Hi, well i don't have any good knowledge about this, but your replies has given me good to know. Thanks for this discussion.
|
|
Page 1 of 1 (4 items)
|
|
|