Larry Brouwer

... just my personal technology sandbox

  • About
  • Blog
  • Archives
  • Contact

Connect

  • Email
  • Facebook
  • LinkedIn

Powered by Genesis

Fixing SqlServer Database Mail for HCMGA

April 28, 2010 By Larry Brouwer Leave a Comment

I got a call this morning that Master Gardener’s system is not sending emails. So now I’m in troubleshooting mode. I first logged onto the server and checked the Simple Mail Transfer Protocol (SMTP) service. It’s running. I then went into the application and sent out a test message. Did not receive it. I then went into SqlServer Management Studio (SSMS) and logged into prod. Clicked on Management. Then right clicked Database Mail and selected Send Test E-Mail. I sent a test email out from there. I did not receive the email. I then right-clicked and selected View Database Mail Log. There are many errors being displayed. The error message follows:

Message
The mail could not be sent to the recipients because of the mail server failure. (Sending Mail using Account 20 (2010-04-28T09:37:27). Exception Message: Cannot send mails to mail server. (Mailbox unavailable. The server response was: 5.7.1 Unable to relay for [email recipient]).)

[Read more…]

Filed Under: Daily Log Tagged With: AWStats, Database Mail, SMTP, SqlServer, SSMS, WordPress

IIS7 Statistics Reporting with Log Parser and AWStats

April 26, 2010 By Larry Brouwer Leave a Comment

Today, I decided that I needed to see a little bit more about the traffic hitting my website. So I set off attempting to find a tool that will help me do just that. After doing some Googling, I ran across a Microsoft utility called Log Parser. So I downloaded and installed it. A great post to read about Log Parser is by Steve Bunting. Another post by Jeff Atwood here. Microsoft Technet has an article about how Log Parser works here. Log Parser is not officially a supported Microsoft tool, the forum site can be found here. Another article from Symantec discusses the fields for parsing and some examples here. I played around with Log Parser some and got some rudimentary results. But since I didn’t want to recreate the wheel, I decided to keep searching.

After Googling on “IIS7 Statistics”, I stumbled upon AWStats. I decided to install it. The documentation for installing on Windows Server 2008 is pretty weak. I found a  great guide to installing AWStats here. The steps can be summarized as follows:

[Read more…]

Filed Under: Notable Tagged With: AWStats, IIS7, Log Parser

Adding AWStats to DotNetNuke (DNN)

April 26, 2010 By Larry Brouwer Leave a Comment

I’ve just configured AWStats to work with IIS7 on my web server (see my post, IIS7 Statistics Reporting with Log Parser and AWStats), and now I would like to integrate it into my DotNetNuke (DNN) website.

Here’s an outline of what I would like to do:

  1. Be able to log into my DNN web site as an authenticated user and navigate to a web statistics page. I don’t want anonymous users to view my stats.
  2. Create a script that runs in the background to keep the statistics up to date and have it re-generate the html page for the stats.
  3. See if I can programmatically adjust the LoadPlugin=”timezone –7” for US Central daylight savings or standard time. I really don’t want to have to remember this 2x per year.

So the first thing I did was to open the IIS7 Manager and navigate to my DNN website. I then Right Clicked on it and selected ‘Add Virtual Directory…’. I then choose ‘Statistics’ for my Alias, and navigated to the correct directory path of the AWStats webroot or ‘C:\AWStats\wwwroot’. I then opened up IE and navigated to my web site at https://www.larrybrouwer.com/stats/larrybrouwer_com_stats.html, and it displayed just fine.

[Read more…]

Filed Under: Notable Tagged With: AWStats, DotNetNuke, IIS7

Recent Posts

  • Weaver’s Bamboo “Bambusa textilis” clumping bamboo for sale
  • configuring NTP Service on FreeNas, XenServer, and virtualized Windows Server 2012 R2 Domain Controller
  • CentOS 7 Warning: Your Magento folder does not have sufficient write permissions.
  • AOE Scheduler 1.3.0 cron issue with Magento 1.9.2.2

Tag cloud

Azure .NET Framework AWStats CentOS Silverlight Windows 7 OpenCart PST OfficeLive SMTP D-Link Visual Studio eCommerce Log Parser Port 25 WordPress Outlook Connector Tools Outlook 2007 Exchange 2010 SBS2011 TomatoCart Security iframe Blogs Scanpst.exe BlogEngine.Net clumping bamboo MySQL SSL Spam SmarterMail Yahoo Mail PHP Live Writer DotNetNuke Comcast ASP.Net web.config DIR-655 Database Mail SqlServer Linux Maytag redirect