Wednesday, December 14, 2011

Jscript error in adding two Project Server 2010 web parts in a single page.

Environment: PWA 2010

Issue:

I had a client requirement to add an additional Project Center web part in Tasks page. I used the following steps to perform this task

1.      Go to PWA and open Tasks page
2.      Click Site Actions >>Edit Page
3.      Click “Add a Web Part”
4.      Select “Project Web App” from Categories option. Select Project Center web part and click “Add” to the page
5.      Adjust your web parts location as required



6.      Click “Page” tab >> “Stop Editing” from ribbon.



7.      You get the following Jscript error “Object Required”



8.      If you try to send your progress using “My Tasks” web part, you can see all the commands within the ribbon of “Tasks” tab are grayed out because of the JS script error.




Solution:

To fix the issue (work around), you need to follow the five steps (i.e. 1 – 5) as mentioned above and rather than clicking “Stop Editing”, click any available link (e.g. click Project Center link) to get the page out from the Edit mode. Now the web parts within this page is working all set without any JScript error. For some unknown reason, clicking “Stop Editing” button is causing the Jscript error.

Thursday, December 1, 2011

Accessing Issue in opening the SharePoint 2010 Central Administration site from the User computer other than the Server itself

Issue

Server OS: Windows Server 2008 R2 –Enterprise version
Environment: MS EPM 2010

After the installation of SharePoint/Project Server 2010 software, when I tried to access SharePoint Central Administration site from my computer, the IE browser displayed the blank screen (see Fig-A). However, I had no problem in accessing the Central Admin site on the server. Keep in mind, I am using port # 999 not default port # i.e. 80.



                                                               (Fig - A)

Solution:
In Windows Server 2008 operating system, Microsoft introduced more security and restricted in accessing any SharePoint site which is not on port# 80 (Default port), by default. In Windows server 2003, you can access any sites hosted on different ports number without any issue as there were no restrictions.

Here are the following steps to access Central admin from any user computer



Steps:
  1. Login to your server.
  2. Click Start>> Administration Tools >> Server Manager
  3. Expand Configuration option available under Server Manager on the left pane (see Fig – B)
  4. (Fig -B)
  5. Select “Inbound Rules” available under “Windows Firewalls with Advanced Security” (an option of Configuration) – See Fig C
  6.                          
                                                        ( Fig – C )
     Create a new Inbound rule by clicking “New Rule”. You can see this option on the top of the right site (See Fig – D)
                                                                        (Fig - D)
        6.    Under “Rule Type” step, select  Port “option and click Next (See Fig –E)
    Fig – E )
        7.     Under  Protocol and Port” step, select “TCP” &“Specific local ports” option and enter port number 999 as an example (See Fig – F) and click Next
    (Fig – F)
    8-      Under “Action” step, choose “Allow the connection” option and click Next (see Fig –G)
                                                                         (  Fig – G )
    9-           9. Under “Profile” step, select all the available options and click Next (See Fig –H)
                                                                           ( Fig - H )
     10.    In the last “Action” step, enter any desired name (e.g. Microsoft Project Server 2010 Central Administration) of the rule and click Finish (See Fig –I)
                                                                        (See Fig – I)
    After following all the mentioned steps, you would be able to open Central Administration site without any issue. Thanks to my good buddy and colleague “Somesh Janjirala” who rightly informed me about this.