Mark Rhodes

A blog by Mark Rhodes for Sharepoint and CRM and occasionally other stuff too!

Add to Technorati Favorites

Posted: by

Comments

stsadm runs slowy « Point Deep said:

Pingback from  stsadm runs slowy « Point Deep

# October 21, 2008 3:23 PM

rwoods@city.pg.bc.ca said:

I am using the following query myself to look for pending approvals:

SELECT

AllUserData.tp_DirName,

'http://SiteName/' + AllUserData.tp_DirName,

AllUserData.tp_LeafName,

case

when AllUserData.tp_ContentType = 'Item' then

'http://SiteName/' + AllUserData.tp_DirName + '/DispForm.aspx?ID=' + AllUserData.tp_LeafName

else

'http://SiteName/' + AllUserData.tp_DirName + '/' + AllUserData.tp_LeafName

end as Link,

AllUserData.tp_ContentType,

AllUserData.nvarchar1,

AllUserData.nvarchar2,

AllUserData.tp_ModerationStatus,

AllUserData.tp_DeleteTransactionId,

AllUserData.tp_IsCurrent

FROM

WSS_Content_2d87952795724429861dc3a8b7a4b24c.dbo.AllUserData AllUserData

WHERE

(AllUserData.tp_ModerationStatus=2)

AND (AllUserData.tp_DeleteTransactionId=0x0)

AND (AllUserData.tp_IsCurrent=1)

ORDER

BY AllUserData.tp_DirName,

AllUserData.tp_LeafName">

I have this on a hidden page on my site.  This gives me the URL to the list and the item requiring Approvals

# December 12, 2008 3:24 AM

Mark Rhodes said:

Hi Mr Woods,

Wow, very nice query indeed.  This has just replaced my own version.

Thank you!

Mark

# December 16, 2008 1:54 PM

Mark Rhodes said:

Audit Log Reporting seems to be one of those topics within SharePoint that is still a little misunderstood

# January 2, 2009 12:23 PM

Mark Rhodes said:

A long while ago I put together an article after having a hell of a time getting Project 2007 and SQL

# May 28, 2009 11:49 AM

jorke said:

# July 6, 2009 9:36 PM

Mark_Walczak said:

Hey Mark:

Big Fan....and thank you for the great post! You saved me a couple hours of research and potentially a head-ache. I ran into a similar issue as you described above the other day.  The only difference I determined was that the environment in which I was seeing this happen in was slightly different.  Their are no Roll-Up's applied, and only two of the four lines of code were missing. I added the two lines to the Web.Config, IISRESET, and we were back to Publishing Workflows!

Thanks!

- Mark Walczak

# July 10, 2009 11:24 PM

SharePoint file size limit | rapid-DEV.net said:

Pingback from  SharePoint file size limit | rapid-DEV.net

# July 25, 2009 5:05 AM

Maximum upload limit on SharePoint Size? | SharePoint Perth said:

Pingback from  Maximum upload limit on SharePoint Size? | SharePoint Perth

# October 5, 2009 5:08 PM

janice_lagundi said:

Thanks Mark on this post.

The word ExecutionTimeOut should be typed  as "executionTimeout":

 <location path="upload.aspx">

   <system.web>

     <httpRuntime maxRequestLength="2097151" executionTimeout="999999"/>

   </system.web>

 </location>

# October 6, 2009 7:35 PM

Work, You Stupid Thing » MS CRM 4.0 Unable to Publish Workflows said:

Pingback from  Work, You Stupid Thing &raquo; MS CRM 4.0 Unable to Publish Workflows

# October 12, 2009 3:30 PM

jjhems said:

I've been struggling with this very issue last weekend. I finally pulled it of, but I had to roam throug numerous google search results, MS KB articles, and more.

I've gathered all the info I found in a (long) blog entry: therealboerke.spaces.live.com/.../cns!EE6469678100A3EE!167.entry

# November 4, 2009 4:33 PM

setras said:

Thank you Mark.  Great post! Saved me a few hours today.  

# November 5, 2009 4:44 AM

HMS said:

Thank you!  Saved me a couple hours as well.

# November 12, 2009 7:30 AM

tonyko said:

For pages pending approval, I just use a Content Query Web Part and set the parameters to look for all sites within my site collection for document types within document libraries where the Approval column = "Pending", also on a hidden page on my site.

# December 2, 2009 6:45 AM

bradgcoza said:

Welldone!  I was having such issues with this one after resoring a site collection from an SSO Authentication provider to an NTLM.

Welldone you really helped me out alot!

# December 2, 2009 10:37 PM

apfrehm said:

I have a theory on this, and let me start by saying that this is a mostly uneducated guess based upon semi-related information I have learned from others:

Today I experienced the same issue, and the only missing line was the System.Globalization line.  While this was similar to what you reported, I have not installed any updates recently.  That being said, making the changes fixed it.  An IISReset alone would not.  This got me thinking back to what a coworker once suggested about IISReset, how clearing out the temporary files wouldn't always happen, but making even the smallest change to web.config would.  Is this really an issue of those references being missing, or is this just purging out some bad data from temporary files / cache?

Again, I know barely anything about IIS, just something I thought of based upon second-hand information.

# December 15, 2009 8:37 AM

rtebar said:

Great! you're right, I got the same problem and your solution resolve the problem.

Thanks!

# December 15, 2009 9:16 PM

Mark Rhodes said:

Hi Apfrehm,

In theory both a IIS Reset and a modification to the web.config should trigger a JIT (Just In Time) Compile.

I think the temporary files should only be regenerated upon an IIS Reset, not the web.config changes.  I've seen a few scripts out there that stop iis, then delete all temporary files, then start it up again.  Maybe this is what you are after?

Mark

# December 15, 2009 11:13 PM

apfrehm said:

Recompiling, that was it.  That's what was necessary for my workflow to publish.  I'm not entirely sure what happened to cause it to fail in the first place, however the recompiling worked.

What I would still need to try is removing the line from web.config that I had added, running IIS Reset again, and testing to see if I could still publish workflows.  If that's the case, then I guess something just compiled incorrectly at one point and needed to be recompiled.

# December 16, 2009 3:12 AM

KenJ said:

Thanks for the article Mark. It saved us a lot of time. We are at UR2 and moving to UR8 this week. The problem showed up as soon as we put UR8 on our test system. We were only missing the last line (CultureInfo) but that was enough to trigger the problem for us in moving past UR2. Adding the missing line and iisreset fixed it immediately. Thanks again for blogging about it.

# January 27, 2010 2:51 AM

fgalarraga said:

Thanks for the article!  Had the same issues, even moved up to Rollup 9 and I still had to add the "CultureInfo" to web.config to fix the problem. Could this only be an issue if you have multiple MUI installed? Thanks for blogging about this, saved me hours of work!

# March 3, 2010 8:48 AM