Edventures in Normalcy

Grouping Customer Origins in EdgeCast Rules

Posted by Rose Bush on November 12th, 2012

Edgecast Rules based on Hostname or IP Address, only if you have a common naming convention for the Directory Name, for example:

prefix1_example.net
prefix2_example.org

You can then create a rule:
IF ‘URL Path Directory’ ‘Matches’ Value:
/123456/prefix1_* (I used 123456 in place of the CDN origin path, update this to your settings) ‘Ignore Case’, ‘Relative To’:’Root’
then you can group by prefix on folder name, and have rules for them that way.

MySQL to MySQL move of data!

Posted by Rose Bush on November 12th, 2012

Sometimes you want to move a database between hosts, this is an easy way to cut down on the clutter created in the process, is to output the backup directly to the new host.

An Error Occurred
Page:

/Admin/Defaults/frmSiteDefaults.aspx

Message

The page or resource that you are accessing is unavailable or an error has occurred.

This error occurred at 11/8/2012 11:00:16 AM and has been logged.

 

In my Event viewer I saw this error:

Event code: 3005
Event message: An unhandled exception has occurred.
Event time: 11/8/2012 11:00:16 AM
Event time (UTC): 11/8/2012 4:00:16 PM
Event ID: 12ca4076f62c476eab139235f1d047bc
Event sequence: 26
Event occurrence: 1
Event detail code: 0

Application information:
Application domain: 8bad665c-1-129968638742097055
Trust level: Full
Application Virtual Path: /
Application Path: C:\Program Files (x86)\SmarterTools\SmarterStats\MRS\
Machine name: HaHaMachineName

Process information:
Process ID: 2572
Process name: SSWebSvr.exe
Account name: NT AUTHORITY\SYSTEM

Exception information:
Exception type: Exception
Exception message: There was a problem retrieving the information from the remote web server. Please contact support.
at SSWeb.HelperClasses.ServiceCommunication.GetSeoSearchEngines(Int32 serverId)
at SSWeb.UserControls.SiteSeoSearchEngineSettings.PopulateList(Int32 serverId)
at SSWeb.UserControls.SiteSeoSearchEngineSettings.LoadDefaultSettings(Int32 serverId, ConfigSettings settings)
at SSWeb.Admin.Defaults.frmSiteDefaults.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at SSWeb.HelperClasses.CustomPage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Request information:
Request URL: http://localhost:9999/Admin/Defaults/frmSiteDefaults.aspx
Request path: /Admin/Defaults/frmSiteDefaults.aspx
User host address: 127.0.0.1
User:
Is authenticated: False
Authentication Type:
Thread account name: NT AUTHORITY\SYSTEM

Thread information:
Thread ID: 5
Thread account name: NT AUTHORITY\SYSTEM
Is impersonating: False
Stack trace: at SSWeb.HelperClasses.ServiceCommunication.GetSeoSearchEngines(Int32 serverId)
at SSWeb.UserControls.SiteSeoSearchEngineSettings.PopulateList(Int32 serverId)
at SSWeb.UserControls.SiteSeoSearchEngineSettings.LoadDefaultSettings(Int32 serverId, ConfigSettings settings)
at SSWeb.Admin.Defaults.frmSiteDefaults.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at SSWeb.HelperClasses.CustomPage.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

Custom event details:

 

 

Soo, I tracked this down to what seems to be a bug with the latest installer as of version SmarterStats 7.6.4682.  http://forums.smartertools.com/showthread.php/33031-An-error-occurred-while-loading-the-configuration-settings

 

As best as I can tell, SmarterTools describes this as:
FIXED: Configuring the Included Web Server to listen on All IP Addresses will now function correctly.

This is found in SmarterStats 7 Release Notes.  The update was released on 2012-11-08.

Slash versus Backslash

Posted by Rose Bush on November 7th, 2012

Slash versus Backslash, I saw this image, after googling,

Adding a new user to SQL server 2005, 2008, 2010

Posted by Rose Bush on November 7th, 2012

Make sure you give the user sufficient permissions to the DB they are being given access to, typically being db_datareader, db_datawriter, db_ddladmin, and public.

 

There is also a SQL statement you can run:

I have not tested this script, use at your own risk.  In my example, I give the last two roles that seem to be not included in scripts mentioned on other sites.

An inside view as to what apache has going on

Posted by Rose Bush on November 5th, 2012

A friend pointed me to this as an option, when trying to find out exactly what is going on with apache, you can run this:

“This one-liner will use strace to attach to all of the currently running apache processes output and piped from the initial “ps auxw” command into some awk.” This has been rewritten to make it a little more flexible with finding the running process, as the original only searched for sbin/apache, and on my server, apache is run from an odd location.

Convert a WS_FTP configuration file to a format for FileZilla.

Posted by Rose Bush on October 31st, 2012

I originally read about this script here.  Decided to include the script below:

 

Windows Vista, 7, Server 2008, 2008 R2 and newer Windows operating systems do not allow a user that is NOT the local Administrator access to the UNC location of c$ as it is considered an administrative share. This is a security within UAC (That I recommend leaving intact, I like security). Wiki makes mention of re enabling the access here.  There is mention of this in a answer page on Microsoft here.  A workaround is to create a folder and share that, then from the second machine UNC to \\hostname\sharename replacing ‘hostname’ with the hostname or IP and replacing ‘sharename’ with the name of the share created.  I failed to realize this right away and was trying to connect to \\hostname\c$\sharename unsuccessfully.

The following text will output the SQL statement to recreate all databases:

You will need to set Results to Text so that the output is correctly formatted. You can then copy users/logins as seen here: http://support.microsoft.com/kb/918992.

When going to http://127.0.0.1:8086/login.aspx?ReturnUrl=%2fInterface%2fDefault.aspx:
I would receive the following error:

The file ‘/Skins/B9106EEE-DB03-489D-A19D-8647A55EC15C/control/login_3.ascx’ does not exist.
Source:
WHA.Helm.ControlPanel.dll /login.aspx Page_Load
Stack Trace:
at System.Web.UI.Util.CheckVirtualFileExists(VirtualPath virtualPath) at System.Web.Compilation.BuildManager.GetVPathBuildResultInternal(VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResultWithNoAssert(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.Compilation.BuildManager.GetVPathBuildResult(HttpContext context, VirtualPath virtualPath, Boolean noBuild, Boolean allowCrossApp, Boolean allowBuildInPrecompile) at System.Web.UI.TemplateControl.LoadControl(VirtualPath virtualPath) at System.Web.UI.TemplateControl.LoadControl(String virtualPath) at WHA.Helm.ControlPanel.loginpage.Page_Load(Object sender, EventArgs e)
Probing Paths:
C:\Program Files\Parallels\Helm4\ControlPanel\bin

 

This error was resolved by installing the Skins (Helm Configuration Tool -> Installed Modules -> select the ones under Control Panel Skins).

Copyright © 2026 Edventures in Normalcy. All rights reserved.