Geeks With Blogs
Mahesh Anandan blog

Been a while since i last posted - I guess its because of my recent engagement with sharepoint focusing on various Moss 2007 focusing on Enterprise Search and BDC and some WSS.

I must say Moss 2007 has come a long way from its predecessor, however, What is the most frustrating issue is the "unexpected error" that you get when you deploy anything. Offcourse, I immediately look for the logs and event viewer the configuration analyzer etc.,

I can now reproduce this error on demand on any webpart - that's may way of getting even with this error in sharepoint.

  1.  Forgetting public keyword
  2. typo in webpart file and safe control registration

When i continue to get the problem, Adding this to GAC helps in solving this. offcourse, there are instances where i have to deploy this on both GAC and on the bin folder.

Following changes to the web.config file helped a lot...

 <SharePoint>
    <SafeMode MaxControls="200" CallStack="true" DirectFileDependencies="10"
     TotalFileDependencies="50" AllowPageLevelTrace="true">

Change the CallStack from "false" to "true" and  AllowPageLevelTracing.  Also, remember change the CustomErrors Off and enable debug mode.

This definetly accelerated my debugging time with sharepoint.

Readers, please continue to share your experience and additional recomendation to troubleshoot this issue with moss & wss.

 

Posted on Sunday, July 13, 2008 6:45 PM | Back to top


Comments on this post: WSS 3.0 / MOSS 2007 .. Troubleshoot Unexpected error ...

# re: WSS 3.0 / MOSS 2007 .. Troubleshoot Unexpected error ...
Requesting Gravatar...
If I create a web application and a site collection ( say the web applciation is called extranet ) and then I
type http://extranet and it does not appear what is going on
Left by WFB on Sep 11, 2008 1:06 PM

# re: WSS 3.0 / MOSS 2007 .. Troubleshoot Unexpected error ...
Requesting Gravatar...

Not sure if youare still experiencing this issue,

I am suspecting you probably did not create a site collection in the web application. Every web app requires a root site collection - Let me know if you have that as well, if not, Do create that and try the url. Be sure to create a Root site collection.

Hope this helps

Mahesh.
Left by Mahesh on Sep 15, 2008 11:43 AM

# re: WSS 3.0 / MOSS 2007 .. Troubleshoot Unexpected error ...
Requesting Gravatar...
Correct. In addition -- I found I had to enter the new web application in hosts in my machine
or via DNS
Left by WFB on Sep 15, 2008 11:04 AM

# re: WSS 3.0 / MOSS 2007 .. Troubleshoot Unexpected error ...
Requesting Gravatar...
Excellent, Did you also have to add Alternate Access Mappings as well..

Good luck..

Mahesh
Left by Mahesh on Sep 15, 2008 11:07 AM

# re: WSS 3.0 / MOSS 2007 .. Troubleshoot Unexpected error ...
Requesting Gravatar...
Not familiar with that, I am a SharePoint beginner. What's the best book to get into
that end of things?

-- Thanks very much
Left by WFB on Sep 15, 2008 12:15 PM

# re: WSS 3.0 / MOSS 2007 .. Troubleshoot Unexpected error ...
Requesting Gravatar...
Mostly Sharepoint Administration books is a good place to start. I would personnaly recomend the following two books

1. EXAM 70-630 Book from Microsoft is a good place to start and helps you get certified

2. Beginning Sharepoint 2007 Administration: WSS and Moss 2007 by Goran Husman - its a OK book but thats best you can get

3. Best of all Inside Microsoft Office Sharepoint Server 2007 by P. Tisseghem - this is a resonably good book for Concepts.

Best of all - MSDN has wealth of information - thats where i look for most but don't count on all samples and strategies on MSDN to work.

Good luck

Mahesh
Left by Mahesh on Sep 22, 2008 3:47 PM

# re: WSS 3.0 / MOSS 2007 .. Troubleshoot Unexpected error ...
Requesting Gravatar...
Hey Dushyant,

I was out on a short vacation and just had chance to check this.. Are you still experiencing this issue ? If so, Could you please provide me a little more detail.

I would like to know - what reports ? SSRS ? what templates are you using.. Are you using Moss or WSS 3.0 - most cases if you see 404 it must have something to with the way that site collection was configured it can be as simple as missing root or context site collection to missing alt.access mapping and/or DNS entries..

Mahesh.
Left by Mahesh on Mar 18, 2009 8:19 AM

# re: WSS 3.0 / MOSS 2007 .. Troubleshoot Unexpected error ...
Requesting Gravatar...
Quite inspiring,

this is excellent really helpful, i found it to understand

Thanks for writing, most people don't bother.
Left by Web developer on Oct 08, 2009 6:08 AM

# re: WSS 3.0 / MOSS 2007 .. Troubleshoot Unexpected error ...
Requesting Gravatar...
I'm getting following error when creating a new Shared Data Source.

The request failed with HTTP status 400: Bad Request.

Any Idea?
Left by Sisith on Dec 27, 2009 10:44 PM

# re: WSS 3.0 / MOSS 2007 .. Troubleshoot Unexpected error ...
Requesting Gravatar...
I'm using Windows Server 2003 + WSS 3.0 + SSRS 2008. Thanks.
Left by Sisith on Dec 27, 2009 10:46 PM

Your comment:
 (will show your gravatar)


Copyright © Mahesh Anandan | Powered by: GeeksWithBlogs.net