All About SharePoint

Liedong(Ken) Zheng,SharePoint Leader at SIMPLOT

Archive for November, 2008

Wrap Ajax Tabs into Multiple Lines

Posted by ken zheng on November 28, 2008

Just add

.ajax__tab_default .ajax__tab_header {white-space:normal!important;}

into your css.

They will do

Posted in .Net | Tagged: | Leave a Comment »

Assembly ‘X’ could not be uninstalled because it is required by another application

Posted by ken zheng on November 26, 2008

Chances are that your assembly has a pin in the registry which stops it from being uninstalled. You can find these here:
* HKEY_CURRENT_USER\Software\Microsoft\Installer\Assemblies\Global
* HKEY_LOCAL_MACHINE\Software\Classes\Installer\Assemblies\Global

Just remove the keys, and you can now uninstall them from the GAC.

Posted in .Net | 1 Comment »

Registry editing has been disabled by your administrator

Posted by ken zheng on November 26, 2008

If you get this message when trying to run regedit. Download the vb script and run it.

http://praveenkumarg.blogspot.com/2008/10/registry-editing-has-been-disabled-by.html

Posted in Tools | Tagged: | 1 Comment »

PageRequestManagerParserErrorException “error parsing near ‘”

Posted by ken zheng on November 25, 2008

I had this problem when I use Ajax updatePanel.
Most often this error appears when we use Response.Write to modify rendered output, I am not aware of this error with load balancing, but just check, may it will be the reson:

1) check if you have the code that calls Respose.Write in code behind(just search for it in solution)

2) check if you have tag in markup

3) if you found one of above, replace them with literals and assign text to that literals in OnPrerender event of the page, it should solve the issue.

If you dont have Response.Write calls in the code, try to look at this article to find more:

http://weblogs.asp.net/leftslipper/archive/2007/02/26/sys-webforms-pagerequestmanagerparsererrorexception-what-it-is-and-how-to-avoid-it.aspx

Posted in AJAX, Sharepoint | Tagged: | 1 Comment »

K2 Deployment Error:Object reference not set to an instance of an object

Posted by ken zheng on November 21, 2008

I got this error when trying to deploy a workflow to SharePoint, after I try
– In Visual Studio, click Tools | Options
– Scroll down to the Projects and Solutions section in the left pane
– Select Build and Run in the left pane
– Under “MSBuild project build output verbosity”, set it to “Diagnostic”

The msbuider message seems showing deploy successfully.

And even the version of the workflow process has been increased. So I assume the deployment is sucessful.

Anyone has idea?

Posted in Sharepoint | Tagged: | 1 Comment »

Customize the “NewForm.aspx” page for a SharePoint List

Posted by ken zheng on November 18, 2008

If you You use Microsoft Office SharePoint Designer 2007 to customize the NewForm.aspx page of a list in a Microsoft Office SharePoint Server 2007 site or in a Microsoft Windows SharePoint Services 3.0 site. Then, you connect to the list by using a Web browser. In this scenario, you experience the following symptoms:• If you click New to create a new item in the list, you receive the following message:
Invalid page URL:
• If you click an existing item in the list, you receive the following error message:
An unexpected error has occurred
Additionally, you might view the properties of the list in SharePoint Designer 2007 and then specify the NewForm.aspx page in the New item form box. When you do this, the NewForm.aspx page appears to be saved as the new item form when you click OK. However, the next time that you view the properties of the list, the New item form box is empty.

If you want to customize the controls that appear on the NewForm.aspx page, and if you do not want to show the default List Form Web Part, you can hide the List Form Web Part. To do this, follow these steps: 1. Start SharePoint Designer 2007, and then open the NewForm.aspx page for the list.
2. Right-click the List Form Web Part, and then click Web Part Properties.
3. Expand Layout, click to select the Hidden check box, and then click OK.

http://blah.winsmarts.com/2007-5-Customize_the_-and-quot;NewFormaspx-and-quot;_page_for_a_SharePoint_List.aspx

Posted in Sharepoint | Tagged: | Leave a Comment »

This item cannot be deleted because it is still referenced by other pages

Posted by ken zheng on November 17, 2008

Apparently its because when you reset a master page to a site definition, MOSS somehow disconnects the copy file from the sharepoint server – consequently you cannot delete it and get the very annoying “This item cannot be deleted because it is still referenced by other pages”

There is a very easy workaround it seems – using sharepoint designer, create a new folder and move the culprit files into a new folder. Delete the folder and the files magically dissappear – no hiding, no frustration.

I’ve heard this also works for other MOSS file types locked in the same limbo hell.

Posted in Sharepoint | Tagged: | 5 Comments »

Slideshow feature on picture library has no play /stop buttons‏

Posted by ken zheng on November 17, 2008

I got this issue and found out if you have
html form {
height:100%;
}

in the style sheet that will cause the problem. Once I commented out, the paly buttons appear.

Posted in Sharepoint | Leave a Comment »

 
Follow

Get every new post delivered to your Inbox.

Join 28 other followers