Andri Yadi

A geeky technopreneur, trying to do something big with his startup

September 2008 - Posts

  • A Little Bit More Things About WSS 3.0 in Vista

    As we know, working with Windows SharePoint Services (WSS) 3.0 does not require Windows Server anymore, although this approach is not officially supported by Microsoft. You can refer to a solution from Bamboo Solutions to make it possible, that can be found here. Pak Risman has posted about that as well at this link. I won't talk about how to do that in this post. Instead, I talk about few next steps after WSS has been successfully deployed on Vista.

    Currently, I'm preparing WSS demo. Instead of deploying WSS on Windows Server and run it on Virtual PC, it would be great if I can present WSS directly on my Vista. So, I follow the walkthrough carefully and after about a half an hour WSS 3.0 is successfully installed on my Vista without any errors during the installation process. Cool...

    image 
    SharePoint 3.0 Central Administration

    OK, it's time to do more with newly installed WSS. First thing first, I have to Create Web Application so that I can create site and/or site collection. So I click Application Management tab and what I find, there is no Create or Extend Web Application menu. How can I create a web application if the menu is not available.

    image

    It's time to ask my favorite search engine. Looks like some folks experience the same problem, but I can't find comprehensive solution (CMIIW). A folk suggest to create web application using stsadm command from Command Prompt. So I open Command Prompt at working directory C:\Program Files\Common Files\microsoft shared\Web Server Extensions\12\BIN and start type stsadm command. Unfortunately, there's no operation to create web application. Only createweb and createsite those are available, no createwebapp. Wew...

    After more searching, I finally find a site called STSADM Custom Extensions at this link, that allow me to do more with stsadm. The site also tell how to create Web Application using stsadm at this link. So, what I do next are these:

    1. Download STSADM Custom Extensions at this link. You'll get this solution file: Lapointe.SharePoint.STSADM.Commands.WSS.wsp

    2. Add the solution file to WSS. I recommend using stsadm command instead of Solution Manager menu. The command is:

    stsadm -o addsolution -filename "[FULLPATH\Lapointe.SharePoint.STSADM.Commands.WSS.wsp"

    Change [FULLPATH] to your folder full path that contains the solution file

    3. Deploy the solution

    stsadm -o deploysolution -name lapointe.sharepoint.stsadm.commands.wss.wsp -local -allowgacdeployment

    Now, the custom extension should be deployed. To make sure, from SharePoint 3.0 Central Administration, click Operations > Solution Management. You should get:

    image

    And after typing stsadm command, you should find these extra operations.

    image

    Create Web Application

    It's time to create Web Application. Still from command prompt,

    stsadm -o gl-createwebapp -url http://your-url:9482 -directory "C:\your-desired-path" -port 9482 -ownerlogin "domain\youruser" -owneremail "****@***********" -databasename "SharePoint_TestWebApp" -donotcreatesite -description "SharePoint TestWebApp (9482)" -apidname "SharePoint TestWebApp" -apidtype configurableid -apidlogin "domain\youruser" -apidpwd "yourpassword"

    Complete parameters can be found at: http://stsadm.blogspot.com/2007/10/create-web-application.html

    After waiting for couple minutes, it say Operation completed successfully. Lets check it out. Back to SharePoint 3.0 Central Administration, then click Application Management > Web application list. I got this: (at previous command, I use http://dyware-core:9482 as url parameter value)

    image

    That's it. Now I can continue my work to create site and more customizations.

    Useful links:

    Saatnya sahur...

    Share this post: | | | |
  • Internet Explorer 8 Beta 2 Hates asp:Menu Control

    Saat ini saya sedang membangun sebuah aplikasi web yang harus compatible dengan sebanyak mungkin browser yang ada di dunia, tidak terkecuali pendatang baru, Google Chrome dan versi terbaru dari Internet Explorer 8 Beta 2. Aplikasi tsb dibangun dari scratch, dimulai dari MasterPage. Ketika MasterPage di-apply pada page pertama, page tsb dapat ditampilkan dengan baik dan persis sama pada semua browser yang terinstall di laptop. Kebahagiaan itu segera berakhir ketika mencantumkan control asp:Menu untuk keperluan pemenuan.

    Ternyata IE 8 Beta 2 tidak bisa menampilkan sub menu dari asp:Menu, they're displayed just blank. Beginilah tampilan control asp:Menu pada beberapa browser.

    IE 8 Beta 2

    image
    Seperti itulah tampilan asp:Menu pada IE 8 Beta 2. Ketika sebuah menu (yang memiliki sub menu) di-hover (mouse over), hanya border dari sub menu yang ditampilkan, isinya kosong dan transparent.

    IE 7 Compatibility

    Fortunately, di IE 8 ada button image di dekat address bar, untuk menampilkan web page dalam tampilan Compability View yang compatible dengan IE 7. Jika button tersebut diklik, contol asp:Menu - yang ditulis dengan code (declarative code dan CSS styles) yang sama - bisa di-render menjadi seperti berikut, which is the right thing.

    image 

    Sekarang mari kita lihat hasil render pada beberapa browser lain.

    Google Chrome

    image

    Mozilla Firefox 3

    image

    Opera 9

    image

    Semuanya persis sama. So pertanyaannya, what's wrong with IE 8?

    Sebagai informasi, saya menggunakan asp:Menu bersama dengan ASP.NET 2.0 CSS Friendly Control Adapters 1.0, yang bisa me-render menu dengan tampilan lebih baik, lebih friendly terhadap CSS, dan much configurable dengan CSS. Saya kira penggunaan adapter tsb yang membuat masalah dengan IE 8. Tapi setelah digunakan pure asp:Menu, hasilnya tetap sama.

    Setelah google-ing, live-ing, dll, ternyata beberapa orang mengalami hal yang sama. Belum ada workarounds yang resmi dari Microsoft, seperti yang bisa dilihat di https://connect.microsoft.com/IE/feedback/ViewFeedback.aspx?FeedbackID=364930. Di forum asp.net, ada yang berpendapat bahwa mungkin karena IE 8 masih beta.

    As far as I know, sementara ini yang dapat dilakukan adalah "memaksa" IE 8 untuk mem-render page yang compatible dengan IE 7. Caranya adalah dengan menggunakan tag berikut paga bagian <head>:

    <head>
      <!-- Use IE7 mode -->
      <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
      <title>My Web Page</title>
    </head>

    If anyone can tell the better way, without having to emulate IE 7, please let me and others know. Looks like IE 8 needs more attention before release it to RTM.

    That's it, enjoy.

    Share this post: | | | |
    Posted Sep 07 2008, 06:37 PM by andriyadi with no comments
    Filed under:
  • Yet Another IE 8 Review

    Saya akhirnya memutuskan untuk menginstal Internet Explorer 8 Beta 2, walaupun masih versi Beta, setelah Norman mengingatkan lagi pada blognya. Saya nggak akan menulis tentang fitur-fitur baru seperti Web Slices dan Accelerator, karena pasti sudah banyak yang membahas ini, termasuk salah satu geek dan MVP kita, Ronald, pada postingnya di sini dan di sini. Di posting ini saya akan cerita tentang kesan pertama setelah meng-install dan mencoba web browser anyar di Microsoft ini. Beberapa hal yang saya soroti di sini adalah fitur/fungsionalitas yang dari dulu saya inginkan dari sebuah Internet Explorer, tanpa perlu menginstall add-on apapun.

    Awalnya tidak terlalu berharap banyak. Tapi setelah di-oprek-oprek, lumayan banyak barang baru di IE 8 ini. Beberapa diantaranya adalah (list sementara):

    Page Search Form

    Akhirnya, setelah 13 tahun sejak IE pertama kali di-release, form untuk searching pada content page akhirnya berubah bentuk

    image

    JavaScript Error Console

    Error console untuk error JavaScript sedikit lebih friendly. Sayangnya jika salah satu entry error di-click or double click, tidak membawa kita ke code-nya langsung.

    image

    Auto-suggestion Search

    Fitur yang ini sedikit lebih baik daripada yang sudah ada di Firefox

    image

    Developer Tool

    Sesuatu yang saya tunggu-tunggu sebagai developer, IE 8 memuat developer tool. Walaupun nggak sehebat Firebug di Mozilla Firefox, yang sudah mengandung fungsi untuk memantau HTTP request response dan fungsi keren lainnya, developer tool di IE 8 sudah lumayan untuk inspect HTML dan CSS.

    image

    image

    Reopen Last Browsing Session

    Lagi-lagi, sesuatu yang saya nantikan, akhirnya IE 8 memuat fungsi untuk membuka kembali page-page yang sebelumnya sedang dibuka sebelum IE ditutup. Selama ini, sampai IE 7, saya harus men-save page-page yang penting sebelum menutup window IE. Lebih parah lagi, kalau lagi malas men-save page, saya harus meng-hibernate or men-sleep Windows supaya page-page yang sedang dibuka di IE nggak hilang.

    image

    Close Tab

    Another feature that I missed in IE 7

    image

     

    Apalagi ya? [Ngoprek mode: ON]

    Share this post: | | | |