Skip to main content

Posts

Showing posts from 2009

MOSS 2007 setup may crash on 64 bit Windows 2003

MOSS 2007 setup program may crash on 64 bit Windows 2003. You can get the following error message: Setup did not complete successfully. We are sorry for the inconvenience. If it is happening with you then just check one thing: Open Terminal Services Configuration. Click Server Settings. Right-click Permission Compatibility, and then click Properties. Select the Full Security check box, and then click OK. Now you should be able to install MOSS 2007. Please note that directly changing the Terminal Services Configuration settings can be dengerous. So, be very careful before changing.

Changing IIS Emulation Modes

In 64 bit Windows 2003, you may need to change the emulation mode of IIS depending upon the cases and conditions. To change the IIS emulation mode to 32 bit to 64 bit and vice versa, do the followings: Open command promp and run the following command cd C:\Inetpub\Adminscripts (I am assuming that C is your windows drive) cscript adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 1 (to make it 32 bit) cscript adsutil.vbs set w3svc/AppPools/Enable32bitAppOnWin64 0 (to make it 64 bit) iisreset

When ReportServer.resx is gone

I recieved the following error which I never experienced before in our Sharepoint portal which has SSRS configured in MOSS integrated mode: The resource object with classname "ReportServer" and key "SharedDataSource" was not found. After searching for a while, I found that the ReportServer.resx file was not there inside the App_GlobalResources folder in the virtual directory of the respective portal. I just copied the ReportServer.resx from App_GlobalResources folder under wwwroot and finally pasted it inside the portal's virtual directory. Problem suddenly vanished.

Capacity Planning for MOSS 2007

For a fresh MOSS Administrator like me, it's very important to know the maximum capacity of sharepoint objects like lists, libraries, pages, sites, users etc and to get the optimum performance benefit upto these limits. Limits that are used over here are can be used to design a portal or a farm to get the best out of MOSS 2007 and crossing this limit may cause MOSS 2007 to create performance bottlenecks: Site collections (Database scope) : 50000 Web sites (Web site scope)  : 2000 Web sites (Site collection) : 250000 (Nested Subsites) Documents (Folder scope) : 2000 Documents (Library scope) : 2 million (Nested Folders) Users ( Web site scope) : 2 million Items (List scope) : 2000 Web Parts (Page scope)  : 100 Web Part personalization (Page scope) : 10000 Document size (File scope) : 50 MB  (2 GB if WSS SP1 is applied) Checkout this link:  http://blogs.msdn.com/bgeoffro/archive/2008/03/19/list-attachments-over-50mb-need-more-than-an-increase-in-maximum-upload-si

Deleting an user's mysite

Recently I had a requirement to delete a user's mysite as the user had left the organisation. The simplest way I found was to directly go to the sharepoint mysite by using the following url: http://(mysite_url)/personal/(user_name)/_layouts/settings.aspx The username should not include the domain id. Clicked on "Delete this site" option in the highlighted oval and the job was done.

Sharepoint 2010 public beta is out

There is a good news friends. Few days ago, I got a newsletter from Microsoft and I came to know that much waited Sharepoint 2010 beta version is available to downloaded. You need to get registered yourself first if you don't have the Windows Live ID. There are true trial versions to be downloaded. One is Intranet and CAL Version and the other one is Internet Version. Well the Internet Version may cost you around 561 MB. I have downloaded and it is the time for me to try it. Meanwhile, you can check the following link to download brand new Sharepoint 2010 beta: http://sharepoint2010.microsoft.com/try-it/Pages/Trial.aspx

Some facts on Sharepoint 2010

By following Lee Richardson's blog , I came to know about few good and few shocking news about Sharepoint 2010. Lets start with some good news: (i) Sharepoint 2010 will have inline list editing with AJAX Support. (ii) Workflows created using Sharepoint designer can be resued by the same way what Visual Studio does (iii) Sharepoint 2010 will support ASP.NET Data Services API. (iv) BDC will also insert or update the data. (v) You can edit Sharepoint Solutions without touching XML! Whooo!!! To me, shocking news is related to the requirement part: (i) Windows Server 2008 will be needed. So what will happen to me if I have Windows 2003? (ii) 64 bit SQL Server 2005/2008 is needed. (iii) There will be no support for Sharepoint 2010 in IE6. I am not sure whether it is because of AJAX or not.

HTTP/1.1 404 Connection: close Date: Tue, 19 May 2009 05:36:09 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET MicrosoftSharePointTeamServices: 12

You may recieve the following error after creating a web application in MOSS 2007: HTTP/1.1 404 Connection: close Date: Tue, 19 May 2009 05:36:09 GMT Server: Microsoft-IIS/6.0 X-Powered-By: ASP.NET MicrosoftSharePointTeamServices: 12.0.0.6219 It probably means that there is no site collection created for the newly created web application. So just go to Central Administration >> Application Management >> Create Site Collection. Create a site collection under the web application and you will stop recieving the error.

Error connecting to undo manager of source file

This error is very confusing and irriritating as it does not give any clear indication about what the problem is. I got this error when I was using Visual Studio 2008 to compile and run a web application. Steps that I followed to overcome this issue were as follows: (i) I deleted the source file (designer.cs) from the project. But before that, I took a backup of the designer.cs file to be in a safer position. (ii) Then I right clicked on the ASPX page and select "Covert to Web Application". Finally, I compiled the page and executed it within Visual Studio without the error.

The report server cannot decrypt the symmetric key that is used to access sensitive or encrypted data in a report server database...

In SQL Server Report Manager page, sometimes you may recieve the following error: Don't worry. Just go to SQL Server Reporting Services 2008 Configuration Manager. Go to Encryption Keys tab. Click on the Delete Encrypted Content button. It will sove the issue.

New Features in ASP.NET 4.0

ASP.NET 4.0 is bringing few exciting features that any ASP.NET developer can be interested to explore. So check out the new features of ASP.NET 4.0 by following the links shown below: http://www.asp.net/learn/whitepapers/aspnet40/ [ ^ ] Download the whitepaper at: http://download.microsoft.com/download/D/E/D/DEDB44F1-230D-456C-A4FC-D20914D38990/ASP.NET4.0_and_Visual_Studio_2010_Web_Development_Beta_1_Overview.doc [ ^ ]

Sharepoint development improvements in Visual Studio 2010

Coding in Sharepoint is not so easy as developers get very minimum support from Visual Studio. For example, if a developer has to make a Web part then he or she has to go to Visual Studio and write down plenty of codes for creating a single control. Manytimes we also use SmartPart right. Hopefully, Microsoft Visual Studio 2010 will offer various features that will make Sharepoint developers' life much more comfortable. I am quickly listing and briefing all those: Web Part Designer: Developer will get designer support for creating web parts. It will work quite similar like the Smart Part but in a better way. Debugging: Debugging Sharepoint applications will be done by "F5". Yeppi, it will be same like any other program in Visual Studio. Sharepoint Server Explorer: All Sharepoint items like lists, document libraries, features and templates will be viewable with in Visual Studio and developers can change and manipulate it directly. Isn't it good guys? WSP Import an

Microsoft SharePoint 2010 is coming

Microsoft recently announced that they are going to remove office word from the next version of SharePoint Server. As part of the Exchange Server 2010's public beta realease (and 14 waves of products), they have also announced about the next version of SharePoint Server and they are calling it as Microsoft Sharepoint 2010. What about the MOSS word? It sounds interesting as they think that office word may confuse users. It's not a big issue but definetely we all are waiting for the next version of this product. Technical preview will be relased in the third quarter of 2009 and we can expect the final version on somewhere around first half of 2010. Following links can be useful in this context: http://blogs.msdn.com/sharepoint/archive/2009/04/14/microsoft-sharepoint-14-is-now-microsoft-sharepoint-2010.aspx http://www.microsoft.com/presspass/features/2009/Apr09/04-15Office2010.mspx

ReportBuilder's RSAccessDenied error in SharePoint Integrated Mode

We have an environment where we are wirking with SSRS as SharePoint Integrated Mode. While accessing SSRS Reports thorugh Sharepoint site, we had a requirement that the reports have to be opened using ReportBuilder to make some slight changes and deploy quickly without any dependancies. Well, opening a report using report builder is not an issue but whenever user is trying to run the report from report builder, it is showing the following error: Believe it or not, I spent almost 3-4 hours to find the issue. I thought it might be a user right related issue so I went to IIS and then try to implement the integrated windows authentication and other stuffs which I found by googling over the internet. But the issue was something completely different from what I was thinking. I went to SharePoint Central Administration -> Set Server Defaults (Under Reporting Services Section). I noticed that the Enable Ad hoc Report Execution option was unchecked. This was the culprit. By checking th

Handling the error : "The form cannot be displayed because session state is not available."

While developing Sharepoint Workflows, if you may recieve the following error: "The form cannot be displayed because session state is not available." To solve this issue, just go to the web.config file of your Sharepoint site and add the following lines under the httpModules section within angular brackets: add type="System.Web.SessionState.SessionStateModule" name="Session" If this line is already there as commented then uncomment it and you will not recieve this error again.

10 Powerful features for Sharepoint

Windows Sharepoint Services 3.0 and Microsoft Office Sharepoint Server 2007 provide very powerful and wide range of feature riched applicationd which can be very useful for Social Networking and daily computing in any bussiness environment. In this post, I am going to list down 10 very powerful features freely available at codeplex: Podcasting Kit for SharePoint (PKS): Podcasting Kit for Sharepoint (PKS) helps to save time and money for an organization to deliver the next generation knowledgement management solution using social media. Any podcast enabled device along with the general web users can access this highly user interactive sharepoint feature. It is built with Silverlight 2.0 and Microsoft Expression Encoder 2.0 to provide the podcasting solution. To view more and to download the February 2009 beta edition, just go to http://pks.codeplex.com/ . Community Kit for SharePoint(CKS): Community Kit for Sharepoint (CKS) is a bouquet of rich features which make existing features in

Programmatically Playing With SSRS Subscriptions

SQL Server Reporting Services offers programmatically handling various report subscriptions. You can read the specific subscriptions and change those in code-behind as required. I assume that you are already aware about the subscription mechanism in reporting services. For some of you who are not aware about this, I would like to write that subscription in reporting services is nothing but a automated service (sql server job) defined and set by you to deliver reports at specific time or in specific events. You also define in which format the report will be presented to the user. Now whatever subscription properties you have set, everything will be stored in the ReportServer database. Schedule, Subscriptions and ReportSchedule tables contain alll those informations. Now create a Windows or Web Application. Add a Web Reference towords ReportingService2006. If SSRS is isntalled on your system then you can easily find the ReportService2006.asmx in the following url: http://servername

IIS Manager Showing Blank Screen

I was shocked by one problem that I experienced while developing a SharePoint application. I was trying to open IIS Manager but it was showing me a blank screen. Even if I was trying to connect to localhost, it was denying. After being disturbed for a while, I came to know that OWSTimer.exe wants to access IIS ADSI (Active Directory Service Interface). OWSTime.exe has multiple threads and those are trying to access the IIS at the same time. That is why IIS Server Manager suddenly goes blank. OWSTimer.exe is a Windows Sharepoint Services timer process which is responsible to execute defined tasks in specific time interval in background. I restarted the OWSTimer.exe service and believe me it worked like a magic. Restarting IIS also forces all running threads to release their access. So that also would have solved my problem. By the way, this may be a small issue but when I experienced it, felt quite surprised.