Again, this is really bad I think . Rating Control doesn’t exist in Blog template site in SharePoint 2010, even if you have activated Rating feature in Posts list. I think there’s a good solution out there in internet, but I have a different one. It’s not the best solution I think, but can be comparable. The easy way, but good enough.
9 Jun 2011
Add OOTB Rating Control in SharePoint 2010 Blog Site
6 Jun 2011
My Development Environment to Develop SharePoint 2010 Solutions
Well, I don’t know if this tips would help much for you. But this is my best Development Environment when I want to create SharePoint 2010 Solutions. And I’m about to share to you all, so I hope it helps.
My Development Environment (DE) is using Windows 2008 R2. But I’m adding some UI feature for extra comfort usability, and more like Windows 7, and of course, Kung Fu Panda 2 themes, downloaded from Microsoft’s theme pack website . And not only that! I want my development environment works faster, faster to deploy (well, at the first deploy, you can’t refuse if it slower, but better on next deployment), faster to install DLL, and recycle IIS, and faster to debug IIS processes.
Recycle IIS Application using Command Line
I’m actually don’t know if there’s an application which can recycle IIS Application Pool using command line, but I haven’t found one. So, I would like to create this small app.
I hope the app could help you all. It’s based on .NET Framework 2.0 (CMIIW ). And I’m sure it’ll comin’ handy.
Here’s the link, enjoy.
Tips: Set Default SharePoint Content Database in Web Application
This day I would like to write a small tips, simple but useful tips to maintain your SharePoint Database growth. Basically, when you create a web application, you must configure the Web Application, the SQL Database name for Default Content Database. For a serious disk space matter, if in your web application in the next implementation will be used as Document Center, or anything else which needs a big space, you might want to separate your Default Content Database for each Site Collections.
You could have multiple Content Database, but you don’t know what is the default Content Database if you create a Site Collection. Well, I think this is not the trick, but a small tips and feature that you sometimes doesn’t realize it exist.
19 Mei 2011
How to Get SharePoint 2010 Web Analytics Programmatically? Finally Found!
You probably know that one biggest challenge is how to get SharePoint 2010 Web Analytics data in Web Analytics Report programmatically. It’s a little stupid (I suppose) if Microsoft doesn’t provide API to access this cool feature. Although there’s an API in a method like GetUsageData(), but this thing doesn’t enough. We want more detailed and mimicking the SharePoint Web Analytics Report.
I’d rather write my own code about HttpModule or use a third party Analytics feature like Google Analytics than searching entire database for those kind of reports. But, that’s just became a nightmare if you see that the portal is not published to the Internet.
Well, after 2 days full searching (really – no sleeping at all ) in entire SharePoint 2010 Web Analytics Database, I found how to do it. By the way, accessing Database generated by SharePoint 2010 isn’t really supported by Microsoft. But I think it’s OK as long as you don’t write or update any data to them, go on, express yourself.
21 Mar 2011
Hide “Revert to Template” in Modified SharePoint 2010 Wiki Page
- http://ranaictiu-technicalblog.blogspot.com/2010_05_01_archive.html (probably one of a good solution but too much customization)
- http://nikspatel.wordpress.com/2010/04/11/how-to-hide-revert-to-template-status-on-the-spd-customized-pages/ (Huh?! I have one question about this solution. What about any other notifications which isn’t “Revert to Template” notification?!)
- http://social.technet.microsoft.com/Forums/en/sharepoint2010customization/thread/61a953cc-6480-429f-bbee-a34988c1e031 (you can say, there’s one good solution, posted by Dalibor MSFT)
When you create Wiki Pages using Out of the box SharePoint, actually the page you’ve created was marked and created based on Site Definitions. So, you need to create the page which isn’t marked as “based from Site Definitions” page.
Open Site Pages library.
Right click on empty space, point to New and then ASPX.
Open the modified page using right click, and then Edit File in Advanced Mode.
Copy all of the markups.
Paste it in the newly created ASPX file, save the file, and you’re done!
14 Jan 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.
7 Jan 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.
- 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.
- 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
=========================================================================== - 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.
8 Des 2010
Write Windows Event Log using Command Line
Last week I’ve created this small application using VS 2010, targeted to Microsoft.NET Framework 3.5. It’s a small application with simple code, but it’s very useful to Log your message to Windows Event Log in a DOS Batch file environment.
Click to download EventLogger.exe
It’s very simple to use. See the example below.
To create an event log entry with “Error” flag.
SharePoint Open in Windows Explorer Too Slow?
When you try to open SharePoint Library with Open in Windows Explorer feature, sometimes we feel that the process are too slow. This thing is really really frustrating and annoying if you work with bigger files, maybe more than 100 MBs. I’ve found in the internet, couldn’t remember the links, but this is the tips, just turn off the “Automatically detect settings” in LAN Settings in Internet Options. What??? What is that? Here’s the short instructions (for you who don’t know where it is) …
- Open your Internet Explorer or Open your Control Panel
- Open Internet Options (in Control Panel). From Internet Explorer, you need to browse to the Tools menu before you see Internet Options menu.
- Open Connections tab, and click LAN Settings.
- Uncheck the Automatically detect settings. Click OK.
- You’ve done your job.