Welcome to MSDN Blogs Sign in | Join | Help

December 2006 - Posts

MOSS 2007 : CMS 2002 Migration Issue : How to rename a resource Gallery Item?

Unfortunately MCMS 2002 Site Manager doesnt allow you to rename the resource gallery item. In some situation you may end up duplicate entries in the resource gallery item names. MCMS 2002 allows you to have multiple resource items with same name. The
Posted by Karthikeyan | 1 Comments

WSS 2.0 : How to upload images by using Imaging WebService

Here you go for the sample code. try { //create imaging web service object localhost.Imaging img = new ImagingTest.localhost.Imaging(); //set url img.Url = http://localhost:8081/sites/site1/_vti_bin/Imaging.asmx ; //Set credential img.Credentials = System.Net.CredentialCache.DefaultCredentials;
Posted by Karthikeyan | 0 Comments
Filed under:

WSS 2.0 : "Getting unauthorized access" error when ‘User must change password at next logon’ is enabled

Problem Background : When you enable "user must change password at next logon", then the corresponding user will face the unauthentication issues. To resolves this, you may enable IISADMPWD for WSS How to enable the IISADMPWD for WSS? To register iispwchg.dll,
Posted by Karthikeyan | 1 Comments
Filed under:

WSS 2.0 : How to enable document library eventhandlers by default

Open the Site definition folder. If you use default Site definition, STS, then open the folder from the following location. “C:\program files\common files\Microsoft Shared\web server extensions\60\template\1033\STS Note: Modifying the default files is
Posted by Karthikeyan | 0 Comments
Filed under:

WSS 2.0 : stsadm - can't delete wppack with slash in its name

If you install a wppack by using stsadm with slash "/", then you will not be able to uninstall it by using the stsadm tool :( . The story not endup here, you will not be able to install the latest version of your webpart :(. However SharePoint object
Posted by Karthikeyan | 0 Comments
Filed under:

WSS 2.0 : How to programmatically enable/disable the rights at Virtual server level?

To enable all rights at the virtual server level vServer.Config.Properties["virtualserverpermsmask"] = "-1"; To disable the “Manage Site Groups” permission at the virtual server level vServer.Config.Properties["virtualserverpermsmask"] = "2113867535";
Posted by Karthikeyan | 0 Comments

WSS 2.0 : How to save properties of webpart from webpart code

There are two methods, SaveChanges and SaveProperties provided by WSS which sometimes misleading users. Here I provide details for which method to use and when to use. SPWebPartCollection.SaveChanges() - This method is used to save the changes made in
Posted by Karthikeyan | 0 Comments
Filed under:

WSS 2.0 : Technical details about localizing webpart and .dwp file

Problem : You are localizing the SharePoint web parts. You localiz display text and custom property names/descriptions using the ResourceManager and satellite assemblies. However, the web part “dwp” files in the cab file contain a title and description
Posted by Karthikeyan | 1 Comments
Filed under:

WSS 2.0 : How to reset Password in WSS - Account Creation Mode

Consider the following scenario. You installed WSS in Account Creation Mode. If a user forgets their password, they currently have to contact the admin and they in turn need to go into the site administration and manually reset the password. This issue
Posted by Karthikeyan | 1 Comments
Filed under:

WSS 2.0 : Explicit Impersonation cannot work with SPRoleCollection

The following code will fail if the user doesnot have Admin previlage SPRoleCollection RC = CurrentWeb.CurrentUser.Roles; The CurrentWeb.CurrentUser.Roles method requires Manage Site Groups permission and the impersonation does not work with SPRoleCollection
Posted by Karthikeyan | 0 Comments

MCMS 2002 : You cannot add NT Authority domain and Authenticated users in CMS

PROBLEM: You cannot add NT Authority domain and Authenticated users in MCMS 2002 Site Manager RESOLUTION: 1. Create a local user group 2. Add the Authenticated users to the newly created local user group 3. Add the local user group in CMS
Posted by Karthikeyan | 0 Comments

MCMS 2002 : Getting “Unable to cast object of type system.net.filewebresponse

PROBLEM ======== Getting “Unable to cast object of type system.net.filewebresponse to type system.net.httpwebresponse” error message in client side import scirpt RESOLUTION ============ The sdo package path has been specified as standard windows physical

SPS 2003 : How to enable your custom fields (columns) for search

Here you go for the steps to enalbe your custom fields to search. Step 1: Add the custom column (EmpName) in the Shared Documents document library Step 2: Add a document into the shared documents with custom column values Step 3: Crawl the content database
Posted by Karthikeyan | 0 Comments
Filed under:

WSS 2.0 : How to differentiate workspace site and team site.

The following is the sample code snippet for how to differentiate workspace site and team site. Also this code list out all the workspace site in the server. SPGlobalAdmin globalAdmin = new SPGlobalAdmin(); //Get all the virtual servers. foreach(SPVirtualServer
Posted by Karthikeyan | 0 Comments
Filed under:

WSS 2.0 : The server instance specified was not found. Please specify the server's address and port.

Consider the following scenario. You enabled SSL for your SharePoint Site. You pass a Fully Qualified Domain Name (FQDN) name to a SPSite object. You use the SPWeb object to retrieve a property/call a method in Windows SharePoint Services (WSS) 2.0, you
Posted by Karthikeyan | 0 Comments

WSS 2.0: The field values are not visibile when you update field Meta Data through Front Page RPC calls.

PROBLEM: The field values are invisibile when you update field's Meta Data through Front Page RPC calls. Use pair of DataType and Access Level (for e.g., SW) from any of the following characters while you update meta data. Any other character may cause
Posted by Karthikeyan | 0 Comments

WSS 2.0 : Getting "Assembly, TagPrefix, and Namespace are required on Register directives" error message

When you edit a site in front page and and specify the register tag for the user control as <%@ Register TagPrefix="AO" TagName="Header" Src="~/usercontrol.ascx" %>, you will get the "Assembly, TagPrefix, and Namespace are required on Register directives"
Posted by Karthikeyan | 0 Comments

MCMS 2002 : How to install SQL DMO and SMO without installing SQL server 2005?

When you connect to MCMS 2002 DB in DCA you may get either SQL DMO needed / SQL SMO required error messages. To install SQL DMO and SMO with out installing the SQL server 2005 in the MCMS server machine,; -Install backward compatibility tools for SQL
Posted by Karthikeyan | 0 Comments
 
Page view tracker