Jan 14, 2011

Page Not Shown when Opening SharePoint from Web Front End Server

Remember, this is the normal behavior of SharePoint and Windows Server! You’ll be prompted for username and password three times before it’s blanking and not showing anything.

This is really annoying especially when you want to debug your SharePoint site. Microsoft says that when you accessing your site internally (inside from Web Front End Server) using FQDN (Fully Qualified Domain Name), you’ll be prompted username for several times, and then blank. Just blank. But why? They said that to prevent attack from hackers or some stupid guy with no future, trying to hack your site.

This is how to make it up. Open Regedit.exe in your server and find HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Lsa key. If you don’t have one, create one DWORD value (32-bit) with the name DisableLoopbackCheck, and set the value to 1.

That’s it. Recycle your Application Pool, and try to access the SharePoint site inside.

Jan 7, 2011

Multiple Gateway on Different Network Interface

Hello, I’m back and writing again after doing some work. This day I want to talk about multiple gateway. A little tips but it’s good for your daily work, and helping much. My case is when I got to go to the client, and there’s no internet connection on their LAN. I have a modem to connect to the internet, but I want to connect both networks together, how am I able to do that?

Actually it’s simple enough to do that. When you look at Microsoft.com tutorial, it’s too complicated. But in my experience, it’s preety simple.

  1. Configure the default gateway for NIC with the most routes. Usually the network adapter that’s connected to internet. In my case, I don’t need to setup default gateway, coz it’s DHCP when I connect to my modem.
  2. Configure the second NIC which isn’t connected to internet a.k.a LAN, with the static IP, and DNS of your network. But please, just make the default gateway empty, just like this example picture below.
    image
  3. Find the ID of your LAN’s Interface. To do this, open the Command Prompt and type “ROUTE PRINT” (without quotes). My LAN NIC is Realtek, and the ID is 12.
    C:\Users\Administrator>route print
    ===========================================================================
    Interface List
    16...00 f1 d0 00 f1 d0 ......GlobeTrotter HSxPA - Network Interface
    14...02 00 4c 4f 4f 50 ......Microsoft Loopback Adapter
     12...00 23 5a a9 eb 5f ......Realtek RTL8102E/RTL8103E Family PCI-E Fast Ethernet NIC (NDIS 6.20)
      1...........................Software Loopback Interface 1
    13...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter
    15...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #2
    17...00 00 00 00 00 00 00 e0 Microsoft ISATAP Adapter #3
    ===========================================================================
  4. In my LAN, all IPs are started with 10.xxx.xxx.xxx, and the gateway is 10.200.200.7. This step, open Command Prompt and type this “ROUTE ADD 10.0.0.0 MASK 255.0.0.0 10.200.200.7 IF 12” (without quotes).
    C:\Users\Administrator>route add 10.0.0.0 mask 255.0.0.0 10.200.200.7 if 12
    OK!

If it’s “OK!” and then nothing’s to be worried. Your job adding route is done. Now I can remote another server in LAN, and connecting to the Internet through my modem without closing another network.