December 1, 2008
Upon trying to enable the feature for publishing in MOSS, I ran across this security error. Access denied. at Microsoft.SharePoint.Administration.SPPersistedObject.Update().
Under site settings logged in as site collection admin, go to Site Collection Administration -> Site Collection Features.
Office SharePoint Server Publishing Infrastructure
Provides centralized libraries, content types, master pages and page layouts and enables page scheduling and other publishing functionality for a site collection.
Click the Activate and this is where the error is happening.
Upon some wide searches I found this great post that provided a great work around. Here are the basic steps and link.
1. Open IIS Admin.
2. Location the Web Site for your WSS web application.
3. Goto to the properties and select the ‘Home Directory’ tab.
4. Change the AppPool to be the same as Central Administration.
5. IISRESET
6. Activate the Publishing Infrastructure feature on your site.
7. Change to AppPool back to the original.
8. IISRESET.
Activating Office SharePoint Server Publishing Infrastructure – Access Denied
Leave a Comment » |
Joel's Blog (CRM 4.0 & .Net development) | Tagged: moss 2007, sharepoint 2007, sharepoint server publishing feature, site collection features error, try catch, try catch consulting |
Permalink
Posted by Joel Kriel
August 20, 2008
Here is a simple javascript to format telephone numbers in CRM. This is to be used in the onChange event at the field level. Throw this in there to format telephone numbers using (XXX) XXX-XXXX. Pretty simple code that I found and slightly modified to meet our clients need.
var oField = event.srcElement;
if (typeof(oField) != “undefined” && oField != null)
{
var sTmp = oField.DataValue.replace(/[^0-9]/g, “”);
switch (sTmp.length)
{
case 10:
oField.DataValue = “(” + sTmp.substr(0, 3) + “) ” + sTmp.substr(3, 3) + “-” + sTmp.substr(6, 4);
break;
default:
alert(‘Phone must contain 10 numbers.’);
break;
}
}
I found this code while searching google. It is from Mitch Milam’s blog and the entry is for CRM 3.0 SDK: Phone number format example bug fix. Thanks Mitch!
1 Comment |
Joel's Blog (CRM 4.0 & .Net development) | Tagged: crm 4.0, crm 4.0 onchange javascript, crm telephone format, javascript try catch, try catch consulting |
Permalink
Posted by Joel Kriel
June 20, 2008
Upon trying to customize the view of the “Marketing List Members” in the Marketing List entity, I hit a road block (typical in CRM 4.0 I have come to realize..). My first instinct was to go under the Contact entity, look for the associated view and modify the view from there. Much to my surpirse, the view didn’t match what I was seeing in the Marketing List. Hmm….
After a short while on Google, I found that the Marketing List Members does not use a view that is available from the Contact entity. Of course it doesn’t! It uses a built in view call “All Members”. In order to modify this, you must use the Advance Find feature, pull up the “All Members” view and modify it there. See the details at Customizing Marketing List from the Microsoft CRM Team Blog site.
Good Luck!!
Leave a Comment » |
Joel's Blog (CRM 4.0 & .Net development) | Tagged: All Members, Marketing List Members, Marketing List View, Microsoft CRM 4.0, try catch, try catch computer consulting, try catch consulting |
Permalink
Posted by Joel Kriel