When Gmail doesn’t work in Outlook behind a firewall

If you have Gmail setup in Outlook on a computer and you are not able to send any mail, it may be a problem with the way the firewall is handling traffic. If you don’t have access to the firewall, here is a method that may help.

Go to the server settings for the Gmail account in Outlook and set the SMTP server port to 587. Also, set the encryption to Auto.

That’s it!

Building Permits Can Help With Insurance Claims

Another tip I got from reading “Grounding and Bonding for the Radio Amateur” by Ward Silver was this line from page 1.11.

Being “out of code” may also affect your ability to successfully make a future insurance claim or renew your insurance.

This got me to thinking about the projects I would like to do around the house.  Even though the projects seem like minor modifications to the house (adding outdoor lights to the back of the house), I should probably check with the city.  This will accomplish a couple of things.  One is the city will be verifying the safety of the modification, and the other is that the insurance company will not be able to say the modification invalidates my coverage.

Grounding a Portable Generator

I was reading “Grounding and Bonding for the Radio Amateur” by Ward Silver to learn what I need to do for safely setting up my radio station.  I’ve only read the first chapter, but I’m finding the information very useful.

A brief reference to grounding a portable generator piqued my interest because I have a generator and have never grounded it.  The book references an document published by OSHA regarding grounding a portable generator titled “Grounding Requirements for Portable Generators“.

I haven’t grounded my generator in the past, but this got me to thinking about it.  There is an outlet on the generator that has a ground prong, but if I don’t ground the generator what does it do?  Probably nothing!

So I will be reading that article and the manufacturer’s manual for my generator to make sure I properly ground it in the future.

Veterinary Behaviorist

OK. Off the topics of my usual posts, but I have a dog named Buster.  He has separation anxiety to the max.  So much so that we have him on Fluoxetine (doggy Prozac).

I have talked to the director of training at the SPCA, and she recommends seeing a veterinary behaviorist.  She gave us two in the area that have good reputations.  I am putting them here for anyone else who may benefit from the information.

Dr. Karen Sweda, Los Angeles, 310 473-2951
Stephanie Swartz, Tustin, 949-342-6644 website

Also, she recommended other resources to help with reading a dog’s body language and managing multiple dogs in the house.

iOS App – Sue Sternberg’s Dog Park Assistant  – Body language
Managing Your Multi-dog Household – Patricia McConnell

Migrating phpBB database to 1&1 hosting

I recently had a project where we were moving our hosting to 1&1.  This included moving our phpBB database to the new host.

Some of this was based on the KB article at phpbb.com .

Somethings to note:

  1. Before exporting the database, change the default board to prosilver.
  2. On 1&1 hosting, the database user name starts with dbo and is not exactly the same as the database name as it is with some hosts.
  3. Use BigDump to populate the database.  Otherwise, the phpAdmin times out and does not populate all the tables.
  4. BigDump only processes .sql and .gz files.  To get the .sql file into 1&1, zip it and upload it.  Then unzip it.
  5. If the phpBB version is more current than the database, download the new phpBB version from phpBB. Unzip into a new folder.  Rezip the install folder and upload to the phpBB folder on the new host.  Unzip it there.

Remote Web Workplace Internal Error 2825 When Connecting Remotely

I encountered an error when trying to connect to a server using Remote Web Workplace (RWW) from a Windows 8 PC to a Windows 2012 Server.  The RWW was on our SBS2008 server.  I was able to connect to Windows XP and the SBS2008 server itself.  I just was not able to connect to the Windows 2012 servers.

After some searching, I found this post that had information to fix the problem.  This ended up working: SBS 2008 – Is Network Level Authentication (NLA) supported through Remote Web Workplace (RWW)??

Essentially, a web file needs to be modified to change the way Remote Desktop Clients 6.1 connect to the servers.

Using Notepad, modify the following file:

C:\Program Files\Windows Small Business Server\Bin\webapp\Remote\tsweb.aspx

Add the following line to the configRdp61OnlySettings sub:

MsRdpClient.AdvancedSettings6.EnableCredSspSupport = TRUE

When you are finished the configRdp61OnlySettings sub should look similar to this:

sub configRdp61OnlySettings
 ' If GatewayCredSharing is not set, customer will see two logon prompts - for TSG and TS server, but we should continue
 On Error Resume Next
 if (<%=UseTsGatewayFlag%>) then 
 ' Pass the credentials used for the gateway to the remote computer
 MsRdpClient.TransportSettings2.GatewayCredSharing = 1
 MsRdpClient.TransportSettings2.GatewayDomain = "<%=RWWUtilities.QuoteVbscriptString(strQualifiedDomainName)%>"
 end if
 MsRdpClient.AdvancedSettings6.EnableCredSspSupport = TRUE
end sub

Try the connection. It should work.

Error Creating Project Without NuGet Installed

It’s frustrating when you get a new application installed and you just want to create a little project to see how it works when the whole process is interrupted with an error message.  Not just any error message but the cryptic kind that refuses to go any further until you take care of the problem.

This is what happened after I installed Visual Studio 2012 and wanted to create an MVC4 project.  I clicked the button and wham!  The message below was displayed.  The project directory was created, but none of the files were created, not even the solution file.

NuGet Error Message

Error indicating NuGet is not installed

I searched for a solution but after a while I figured I would just try to understand what the error was trying to tell me.  It is basically saying that the NuGet Package Manager is not installed.  Now, I thought that this would have been part of the installation so I was looking for something else.  However, I found that my best guess was to go to the Extensions manager and see what was there.

I found that NuGet indeed was NOT installed.  I found it under the gallery, the first item there.  So I installed it and tried creating another project.  This time it worked.

So, what I learned from this is that I need to read the error message and try to understand what it is telling me.  It may save me some time from searching for an answer I could come up with myself.

Assigning Active Directory Groups In Team Foundation Server 2012

I was setting up a project in Team Foundation Server Express 2012 (TFS) using the tutorial in the help document to get started.  The aspect of using Active Directory groups to manage members in TFS appealed to my since of simplifying the management of the server.  Using the groups to manage the membership permissions allows you to add members to the groups instead of adding/deleting members individually.  This creates more consistency in the security assignments and reduces the errors that may occur with individual assignment.

Everything was going well. I added three groups to the domain to manage the contributors, project administrators, and restricted access as recommended in the tutorial.  It was a little confusing as to where to put the names of the groups.  In the Active Directory group setup, you have a Group Name and a Group Name (pre-Windows 2000) to enter.  So what do I put where?

New Active Directory Group Dialog Box

Adding a group to Active Directory

I put the long name into the Group Name field and a shortened name into the pre-Windows 2000 field. Excuse my ignorance, but I didn’t know when you would use which.  I figured I didn’t really need to worry about the pre-Windows 2000 name because all my computers and servers were post-Windows 2000.  So the name I entered into the pre-Windows 2000 was simply a shortened version of the group name.

OK, so all my groups are setup, and I’m ready to create a project and assign the groups.  I start Team Explorer in Visual Studio 2012 and link to the Team Foundation Server.  I create a project and click on the security link.  I click on the groups tab to get to the TFS groups.  I click on the Contributors group to show the membership.  There is one TFS member prepopulated in the list.

I click on the members tab and then click the add button to add a user (or group).  It displays the dialog to select the user or group you want to add, and much to my surprise, the groups I created aren’t there.  I figured I must have set them up wrong.  The list showed some users and predefined groups, but not my groups.  I tried various things to move the groups around in AD, but nothing changed.

Add Windows User or Group Dialog

Entering a group that wasn’t on the list.

There was a message at the top of the dialog to enter the group name if it didn’t show, and it would find it.  So I entered the group name and…it gave me an error.  I checked the spelling, and it still gave me an error.  Again, I thought I had configured something wrong, so I searched for answers.

TFS Project Add Member Error Message

An error occurred. The Windows identity doesn’t exist.

I finally came upon a post that indicated that because TFS is now a web server, it doesn’t have access to AD until you post it.  This didn’t make much sense to me since it still verifies that you have a valid group.  But it did have some information about the group name.  Instead of using the post-Windows 2000 group name, use the pre-Windows 2000 group name.  OK, this didn’t make sense since this is a post-Windows 2000 environment, but I tried it anyway and it worked!

So, when setting up groups in TFS, make sure you use the pre-Windows 2000 name.  This also means that the name you give it is significant.  It doesn’t show in the AD list, but you need to use it in TFS.