Debugging

Recently I was configuring SharePoint Forms Based Authentication (FBA) to use a custom login screen, Active Directory Membership Provider, and my own Role Provider, when I received the following:Could not load file or assembly 'Microsoft.SharePoint.ApplicationPages, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c' or one of its dependencies. Access is denied. …In the error, we can see that obviously we do not have permission, but who is trying to access the DLL?It is not the Application Pool account, but the Anonymous IIS account. Simple fix, check to see what account is running in Directory Security, give read permission to that user for the _app_bin...

I decided to go ahead and update my dev VM, since the next client will have everything updated, I thought it would be important to also have things up to date. WSS SP 2 installed without a problem, but of course Office Servers Service Pack 2 had issues. The base install just said, Installation Failed. Looking at the logs, "The extraction of the files failed" - http://support.microsoft.com/kb/943589 Still not very helpful.  MSDN/Technet and MS Support sites mentioned that this is due to hard drive space.  In my case I have 16GB free still on my VM...

I was working on a project for the past few months, involving an InfoPath form to collect data, with a SharePoint Designer workflow and reporting handled by SSRS. We are populating reporting tables from the InfoPath form library fields using SharePoint web services and accessing them from within SSIS.In business development studio, just add a script activity, modify the script (I chose c#) then add a reference to the web service, generate the proxy class, and make the call to get your list items.I did not use the view fields xml, just left it blank to return all the...

One thing I run into all the time, after a clean OS install is finished, what are the next steps. Install .Net 2.0, 3.0, 3.5. Turn on IIS. Allow .Net 2.0 in IIS, but this requires you have run c:\windows\Microsoft.Net\Runtime\Framework\v2.0.50727\aspnet_regiis.exe –i Then you can continue with the install. This is nothing new, this problem has been around since SPS2003, but in case it helps someone.

Windows server 2003 with service packs SharePoint SP1 Visual studio 2008 SP1 MSDN documentation Office 2007 SharePoint Designer 2007 VSeWSS 1.3 SPDisposeCheck VSTO SilverLight SDK and tools for 2.0 Windows Live Tools for Visual Studio Ghost Doc Visual SVN Tortoise SVN Debug...

Saw this come up, and thought I would at least blog a link to a KB download and possible fix for some users. http://www.microsoft.com/downloads/details.aspx?FamilyId=17C36612-632E-4C04-9382-987622ED1D64&displaylang=en

So have you used symbols?  Of course you have, but do you know how you are using them?  Generally when a project is built in Visual Studio, a pdb file is generated, allowing you to debug the dll catching your break points etc.  So as long as you are debugging locally you are fine.  What happens in a case where, SharePoint for instance, you are remotely debugging? I mean using remote debugger to attach to processes on a remote server?  You will see that you can attach to the process w3wp.exe no problem, but then what, no symbols are found...

Today, I spent some time trying to fix an error with a Standard OOB workflow for content approval. Root-Cause: Someone removed the Approvers group from the site collection SP Groups. Thankfully, SharePoint told me that "An error has occured in Parallel Approval." - Thanks. When looking over the settings for the workflow in the document library, I saw that Approvers was the group selected, and didn't think much of it, as the role "Approve" was assigned to another group "Site Approvers". The thing I did not notice, was that the name was not...

I am working on a major version release for the end of this year, some of our webparts are being moved from one namespace to another, and from one WSP into another, new feature id's etc. So I created a simple windows application, added a couple controls to it, it does the following: Goes through all our web applications Looks for sites with the old feature In those sites, looks for out specific "old" webparts on pages ...

So I built a new VM a couple of weeks ago on win2k8 and installed WSS, SP1, MOSS, SP1, Project server, all the tools I can think of... Going to deploy my common library, and I get this... "The timer job for this operation has been created, but it will fail because the administrative service for this server is not enabled. If the timer job is scheduled to run at a later time, you can run the jobs all at once using stsadm.exe -o...