<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx</link><description>With Project Server 2007 being a WSS 3.0 application you may come across either of these error messages. The Unexpected error can appear on web part pages, and the Unknown error is more likely on pages without web parts. The two errors are really telling</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#1950957</link><pubDate>Mon, 26 Mar 2007 11:45:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1950957</guid><dc:creator>Vince Rothwell</dc:creator><description>&lt;P&gt;Brian,&lt;/P&gt;
&lt;P&gt;You also may want to have a look at this. It will mean you can see more debug information and may save &amp;nbsp;a PSS call.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://blog.thekid.me.uk/archive/2007/02/15/a-solution-to-quot-an-unexpected-error-has-occurred-quot-in-wss-v3.aspx" target=_new rel=nofollow&gt;http://blog.thekid.me.uk/archive/2007/02/15/a-solution-to-quot-an-unexpected-error-has-occurred-quot-in-wss-v3.aspx&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards, Vince&lt;/P&gt;</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#1952655</link><pubDate>Mon, 26 Mar 2007 17:55:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1952655</guid><dc:creator>BriSmith</dc:creator><description>&lt;p&gt;Thanks Vince - very useful! &amp;nbsp;I'll try it out on a couple of scenarios where I can make the error appear. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Brian.&lt;/p&gt;
</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#1999299</link><pubDate>Sat, 31 Mar 2007 14:42:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1999299</guid><dc:creator>Sharat Sanketi</dc:creator><description>&lt;P&gt;Brian,&lt;/P&gt;
&lt;P&gt;I am using Virtual PC 2004 to connect to a development image with hosts Project Server 2007. I have connected the network adapter from the physical server on which it is hosted with the virtual adapter in the image. Then, I have assigned a unique static IP to the image so that it &amp;nbsp;I accessible from our network. However, once we did this, the PWA (Project Web Access" has stopped functioning. Whenever we try to open it, it gives the error "An unexpected error has occured". Even when I open IIS and try to open the site (Project Server site), it tells me that the page is not found.&lt;/P&gt;
&lt;P&gt;What could be the reason and how can I resolve this?&lt;/P&gt;
&lt;P&gt;Sharat&lt;/P&gt;</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#2015197</link><pubDate>Tue, 03 Apr 2007 03:59:38 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2015197</guid><dc:creator>BriSmith</dc:creator><description>&lt;p&gt;Hi Sharat,&lt;/p&gt;
&lt;p&gt;I can only give you some general thoughts here - then you may need to go to &lt;a rel="nofollow" target="_new" href="http://support.microsoft.com"&gt;http://support.microsoft.com&lt;/a&gt; or the newsgroups. &amp;nbsp;You don't say how you are connecting, but I have seen similar issues to this when trying to use IP addresses where DNS is not configured correctly. &amp;nbsp;WSS knows its own server names and will redirect to the name - even if you initially connect via a direct IP address. &amp;nbsp;Either configuration of Alternate Access Mappings or a local hosts file will help if this is the cause of your issue.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Brian.&lt;/p&gt;
</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#4480292</link><pubDate>Mon, 20 Aug 2007 17:27:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4480292</guid><dc:creator>Sunanda Yalamanchili</dc:creator><description>&lt;P&gt;I tried all the above suggestions, but couldnot overcome the error. I am getting this error when I try to open mytasks page. I am the only member facing this problem in the company. All others face this error when they submit task updates using "Submit selected" button. &lt;/P&gt;
&lt;P&gt;Do we need to apply any patch? any clue to solve the problem would be highly appreciated.&lt;/P&gt;
&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;
&lt;P&gt;Sunanda&lt;/P&gt;</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#4741776</link><pubDate>Tue, 04 Sep 2007 16:39:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4741776</guid><dc:creator>Maarten</dc:creator><description>&lt;P&gt;Brian,&lt;/P&gt;
&lt;P&gt;I am having the unexpected error on the MyTasks page with one particular user (!) in a fully operational system, so I cannot (not being a programmer) fiddle about in a web.config file (which one in particular ?) too much with the risc of screwing things up for the rest of the 350 users. On the other hand I have a complete copy of this system in my virtual. Can you point me to the right web.config file in this case ?&lt;/P&gt;
&lt;P&gt;Thanks in advance !&lt;/P&gt;</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#4749098</link><pubDate>Wed, 05 Sep 2007 00:12:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4749098</guid><dc:creator>BriSmith</dc:creator><description>&lt;p&gt;Glad you are thinking about your users Maarten. &amp;nbsp;The web.config should be the one for port 80 by default - so would normally be found in c:\inetpub\wwwroot\wss\virtualdirectories\80.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Brian.&lt;/p&gt;
</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#4764585</link><pubDate>Wed, 05 Sep 2007 16:46:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4764585</guid><dc:creator>Maarten</dc:creator><description>&lt;P&gt;Another addition to the discussion is this: I spoke to my colleague and he mentioned that after a resource is assigned to a task in a projectplan and reported hours on the task the projectmanager assigns a second resource to the task. The first assigned resource gets the same error message. Once the second assignment is deleted from the plan the troubled resource gets to see his MyTasks-page again. This is clearly a bug. If ss, do you know this will be solved soon by the project-group ? &amp;nbsp;&lt;/P&gt;</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#8415102</link><pubDate>Mon, 21 Apr 2008 21:04:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8415102</guid><dc:creator>Kermit</dc:creator><description>&lt;p&gt;The latest hotfix (KB950816) contains a fix (QFE20994)that has eliminated this and other symptoms on the MyTasks page. I have tested for a customer and it works well.&lt;/p&gt;</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#8417277</link><pubDate>Wed, 23 Apr 2008 00:31:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8417277</guid><dc:creator>BriSmith</dc:creator><description>&lt;p&gt;Thanks Kermit - most if not all scenarios giving this error should now be addressed. &amp;nbsp;You may need to re-publish to completely fix the problem after applying a hotfix.&lt;/p&gt;
</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#8850261</link><pubDate>Tue, 12 Aug 2008 11:08:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8850261</guid><dc:creator>Syntax</dc:creator><description>&lt;p&gt;I have a problem with Sharepoint 2007 and Project server 2007, i get an error message when i try to view my tasks. i have about 3500 tasks &amp;nbsp; assigned to me but cant access the page. &lt;/p&gt;
&lt;p&gt;Please help.&lt;/p&gt;</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#8852219</link><pubDate>Tue, 12 Aug 2008 19:33:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8852219</guid><dc:creator>BriSmith</dc:creator><description>&lt;p&gt;Hi Syntax,&lt;/p&gt;
&lt;p&gt;With 3500 tasks it could be time-out issues, or data issues with one or more tasks. &amp;nbsp;The full error message may help identify which. We have addressed many of the data issues with hotfixes and the infrastructure update - what release level are you running?&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;
</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#9398303</link><pubDate>Thu, 05 Feb 2009 15:19:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9398303</guid><dc:creator>Omkar.Damle</dc:creator><description>&lt;p&gt;Unknown Error in WSS 3.0 When i have restored a WSS 3.0 backup on WSS 3.0 SP1 with new installation. &lt;/p&gt;
&lt;p&gt;This is really a challange for MOSS Administrators.&lt;/p&gt;
&lt;p&gt;I dont know how to get out of it.&lt;/p&gt;
&lt;p&gt;and What will happen when i upgrade WSS 3.0 to MOSS 2007. Dose this site Really Work?&lt;/p&gt;
&lt;p&gt;Help for this issue strongly appriciated.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Omkar.Damle. &lt;/p&gt;</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#9399014</link><pubDate>Thu, 05 Feb 2009 19:29:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9399014</guid><dc:creator>BriSmith</dc:creator><description>&lt;p&gt;Not sure what the error means in your case, but turning custom errors off and showing the stack trace for that web app may give a better error to troubleshoot.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Brian&lt;/p&gt;
</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#9892485</link><pubDate>Tue, 08 Sep 2009 12:56:41 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9892485</guid><dc:creator>Alexandr</dc:creator><description>&lt;p&gt;I do have such error type with PS 2007 SP2.&lt;/p&gt;
&lt;p&gt;When some of PS users try to open any timesheet &lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://uasrv21/pwa/Timesheet.aspx?tsUID=9c12218c-3a0a-4a9b-9ee1-9189993271b7&amp;amp;Source=http://uasrv21/pwa/_layouts/pwa/timesheet/mytssummary.aspx"&gt;http://uasrv21/pwa/Timesheet.aspx?tsUID=9c12218c-3a0a-4a9b-9ee1-9189993271b7&amp;amp;Source=http://uasrv21/pwa/_layouts/pwa/timesheet/mytssummary.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;they get this error. When i enabled callstack the error description is as follows:&lt;/p&gt;
&lt;p&gt;Specified cast is not valid. &lt;/p&gt;
&lt;p&gt;Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;/p&gt;
&lt;p&gt;Exception Details: System.InvalidCastException: Specified cast is not valid.&lt;/p&gt;
&lt;p&gt;Source Error: &lt;/p&gt;
&lt;p&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below &lt;/p&gt;
&lt;p&gt;Stack Trace: &lt;/p&gt;
&lt;p&gt;[InvalidCastException: Specified cast is not valid.]&lt;/p&gt;
&lt;p&gt; &amp;nbsp; Microsoft.Office.Project.PWA.WebParts.TimesheetPart.LoadTimesheetData(GetTSDataModeEnum LoadingMode, Guid resUID, Guid prdUID, Navigation ps) +12473&lt;/p&gt;
&lt;p&gt; &amp;nbsp; Microsoft.Office.Project.PWA.WebParts.TimesheetPart.OnLoad(EventArgs e) +2145&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.LoadRecursive() +50&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.LoadRecursive() +141&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.LoadRecursive() +141&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.LoadRecursive() +141&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.LoadRecursive() +141&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.LoadRecursive() +141&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627&lt;/p&gt;</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#9898974</link><pubDate>Thu, 24 Sep 2009 17:25:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9898974</guid><dc:creator>Joseph</dc:creator><description>&lt;p&gt;I am also getting the same error message as Alexandr. &amp;nbsp;I am have SP2 and the August CU installed. &amp;nbsp;After turning custom errors off and showing stack trace, I get the following:&lt;/p&gt;
&lt;p&gt;[InvalidCastException: Specified cast is not valid.]&lt;/p&gt;
&lt;p&gt; &amp;nbsp; Microsoft.Office.Project.PWA.WebParts.TimesheetPart.LoadTimesheetData(GetTSDataModeEnum LoadingMode, Guid resUID, Guid prdUID, Navigation ps) +11592&lt;/p&gt;
&lt;p&gt; &amp;nbsp; Microsoft.Office.Project.PWA.WebParts.TimesheetPart.OnLoad(EventArgs e) +1825&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.LoadRecursive() +47&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.LoadRecursive() +131&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.LoadRecursive() +131&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.LoadRecursive() +131&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.LoadRecursive() +131&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Control.LoadRecursive() +131&lt;/p&gt;
&lt;p&gt; &amp;nbsp; System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436&lt;/p&gt;</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#9899511</link><pubDate>Fri, 25 Sep 2009 17:27:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9899511</guid><dc:creator>Joseph</dc:creator><description>&lt;p&gt;Just in case this may help anyone, I was able to resolve the Specified cast is not valid problem w/ the help of Microsoft. &amp;nbsp;I had a few assignments that had null values for the assn_start_date and assn_finish_date in the msp_assignments table. &amp;nbsp;I used this query to find the problem assignments (I added the task date fields just to see if there was a difference between them and the assn_date fields):&lt;/p&gt;
&lt;p&gt;select a.assn_uid, a.proj_uid, a.task_uid, r.res_name, p.proj_name, t.task_name, a.assn_start_date, a.assn_finish_date, t.task_start_date, t.task_finish_date&lt;/p&gt;
&lt;p&gt;from dbo.msp_projects as p inner join dbo.msp_assignments as a &lt;/p&gt;
&lt;p&gt;on p.proj_uid = a.proj_uid inner join dbo.msp_tasks as t&lt;/p&gt;
&lt;p&gt;on a.task_uid = t.task_uid inner join dbo.msp_resources as r&lt;/p&gt;
&lt;p&gt;on r.res_uid = a.res_uid &lt;/p&gt;
&lt;p&gt;where assn_start_date is null&lt;/p&gt;
&lt;p&gt;The project plan showed start/finish dates for the task. &amp;nbsp;I re-published the plan and the assignments updated w/ the correct dates. &amp;nbsp;Once those were gone, I was able to open up the problem timesheets.&lt;/p&gt;
&lt;p&gt;Joseph&lt;/p&gt;</description></item><item><title>re: An Unexpected Error Has Occurred, or Unknown Error in WSS 3.0</title><link>http://blogs.msdn.com/brismith/archive/2007/03/23/an-unexpected-error-has-occurred-or-unknown-error-in-wss-3-0.aspx#9906054</link><pubDate>Mon, 12 Oct 2009 09:36:16 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9906054</guid><dc:creator>Adrian</dc:creator><description>&lt;p&gt;I received this error and it was down to a project being recorded with an invalid calendar UID (I have not bothered investigating why this happened as we are only testing). &lt;/p&gt;
&lt;p&gt;To fix it I simply updated the CAL_UID column in MSP_PROJECTS to the base calendar UID and all is working fine again (select CAL_UID from dbo.MSP_CALENDARS where CAL_IS_BASE_CAL = 1)&lt;/p&gt;</description></item></channel></rss>