Free Hit Counter

Monday, July 13, 2009

SharePoint - Standard Edition error when accessing all the links under Central Administration -> Application Management

SQLException while Executing the cache invalidation simple timer job. We will not abort the job, and will retry in 60 seconds: System.Data.SqlClient.SqlException: The stored procedure 'proc_ar_GetCacheInvalidationCountersWithCount' can’t be found



StackTrace:



System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
System.Data.SqlClient.SqlDataReader.ConsumeMetaData()
System.Data.SqlClient.SqlDataReader.get_MetaData()
System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async)
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, DbAsyncResult result)
System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior)
Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior)
Microsoft.Office.Server.Data.SqlSession.ExecuteReader(SqlCommand command)
Microsoft.Office.Server.ApplicationRegistry.Infrastructure.CacheInvalidationStateTracker.CheckStatus(Object stateInfo)


RESOLUTION:

Rebooting the development box solved the problem.

Friday, June 26, 2009

Nice try Microsoft....but still....bing sucks!!!

Try this one if you have a blog. When I do a google search with my first and last name the my blog get listed as the first URL suggestion. I tested searching in Yahoo, Altavista, Lycos, AOL and they concurred that my blog as the first suggested link. But in bing search, not only that I lost first position in the search result, my blog was COMPLETELY AVOIDED in the search result. I wonder it because blogspot belong to google? I hope atleast in future Microsoft Bing don't bring in a biased result :)
(Please note: I'm not against Microsoft in any way as I use, build, & support Microsoft's Platforms and Products!!! I only feel that they CANNOT compete with GOOGLE in search engines). Atleast in OS business Windows we can say Windows is second to MAC but not with their search. Oh, BTW, I also say their Maps for Driving Direction is far better than any other competitors (mapquest, yahoo, google etc) as it is accurate in calculating the Travel Time. If you follow google to go to your office you may end up going late by 10 minutes ;)

Thursday, April 30, 2009

SharePoint SDK 1.5 Update

Wassup with the BDC Application Definition Editor ?
Lots of Developers (SharePoint BDC) had problems with BDC Application Definition Editor which came along with SharePoint SDK 1.3. It was buggy and it worked with SQL 2000 but not with SQL Server 2005. The problem was the Tables and Views that BDC access should be a .dbo object.

Now this seem to have been fixed in the newly named editor, Application Definition Editor. You may see while installing SharePoint SDK it would show as Version 1.4 ;)
Now, the BDC Metaman is going get a hit as this tool is what we want and its free :)

Tuesday, March 31, 2009

SharePoint Designer is FREE!!!!

You can download from the following link:

http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=baa3ad86-bfc1-4bd4-9812-d9e710d44f42

Friday, March 27, 2009

SilverLight vs JQuery in SharePoint

Just like most of the so called SharePoint MVP,say Sahil Malik, I'm not so dumb to passionately follow a product and say hey thats cool :). These dumb MVP do not get involved in outright projects from scratch to finish. They just make u scratch ur head after u believed their words :). One such dumbest thing is to use SilverLight within SharePoint sites which I saw Sahil Malik was boasting of too much! These guys what they do is learn at the expenses of their clients and just walk away to another company. As an architect/developer or Senior Consultant you have to be aware of what is the smartest way to achieve the desired result using a specific

Problem:

1. You must have all users to download SilverLight to work on their browser.
2. You cannot have some of the controls in HTML and other stuffs in SilverLight. Better write everything in SilverLight. Otherwise, as a designer you may not get the layouts you want as well as problems with Z-Index.
3. Oh yeah, the learning curve is very high and though you may use SilverLight plugins nailing down bugs will give you headache. You may have to higher SilverLight person who knows nothing about SharePoint :)
4. SilverLight 1.0 -> 2.0-> 3.0 is disparate. Lots of versions and changes within 2 years. I see people who invested money on 1.0 now needs more money to upgrade to newer version.

Why JQuery?
1. Simplicity of the plugins that are available.
2. An experienced Javascript person can easily understand the code very well. No learning curve here.
3. Hey it is free and you can do minor tweak when needed.
4. Javascript has been used now for over a decade and easy to handle problems find resources to solve problem.
5. Lot of stuff SilverLight boast of, can be done with JQuery.

But, this does not mean green flag to JQuery either. JQuery is also evolving but you have more control being used to Javascript. One thing that comes to my mind is that SharePoint is not conformant to XHTML standards. This means that Microsoft Employees are still ignorant of building Tabless Master Pages, User Controls, Web Parts etc. They rely on Tables to create the layout of the Master pages/page layouts/ASPX pages. You will be in trouble in you replace all the tables tag to div in SharePoint. JQuery in this area may be a trouble.

I have built really cool sites with JQuery but there is one thing to note, the more JS script used on a page, the performance can go bad. This is because some of the free controls you get on the internet may have badly written loops which would affect you page loading time. So you have the knife in ur hand, handle it with care. Try to be creative, like rounded corner, box shadows, fish eye, tabbed pages, carousel and so on. Try to balance out what need to be accomplished in a given time, which is the best route for the best result and are there any compromise in scalability and portability? Sky is the limit for JQuery!

Tuesday, March 10, 2009

VSeWSS 1.3 CTP released!

Now you can generate the code for the publishing sites as well. This is really cool!
Here is the download link:

http://www.microsoft.com/downloads/details.aspx?FamilyID=B2C0B628-5CAB-48C1-8CAE-C34C1CCBDC0A&displaylang=en

UPDATE:
Screencast is found at:

http://channel9.msdn.com/posts/kirke/SharePoint-for-Developers-Part-1-Introducing-VSeWSS-13/

Saturday, December 13, 2008

The Web Application at could not be found. Verify that you have typed the URL correctly.

The Web Application at "http: site path " could not be found. Verify that you have typed the URL correctly. If the URL should be serving existing content, the system administrator may need to add a new request URL mapping to the intended application.

Resolution:

Make sure the following are correct in your setup:


· The user has permissions to access the Windows SharePoint Services site or the SharePoint Server 2007 site through which the code iterates.

· The user is a server farm administrator.

· The user has Read and Write permissions on the content database.

· The user is a site collection administrator.
Free Counter
Free Hit Counter