MSCRM-Admin
Exchange 2003 Tips
Prequisite for installation of Exchange Server:
IIS, SMTP, WWW service ,NNTP, W3SVC
NET Framework
ASP.NET
Then run Forestprep.exe
The run domainprep.exe
Standard port numbers for SMTP, POP3, IMAP4, RPC, LDAP and Global Catalog:
25 SMTP
110 POP3
143 IMAP4
135 RPC
389 LDAP
636 LDAP (SSL)
3268 Global Catalog
465 SMTP/SSL
993 IMAP4/SSL
563 IMAP4/SSL
53 DNS
80 HTTP
88 Kerberos
102 X.400
110 POP3
119 NNTP
137 - NetBIOS Session Service
139 [...]
jQuery 1.4.2 Visual Cheet Sheet
jQuery cheet sheet for those web developers: jquery-visual-cheat-sheet-1-4-2.pdf
Setup failed to determine whether a supported version of Microsoft Outlook is installed - Outlook 2010
I recently tried to install the CRM client with my install of office 2010 (on Windows 7) and got an error and couldn’t continue.
“Setup failed to determine whether a supported version of Microsoft Outlook is installed”
The Fix:
Right click the install window on the taskbar and click “Close Window” - It will give you a choice “Do you really [...]
CRM 4: IFD Authentication using C#
A very common question is: “How do i run a plugin/custom web application against a IFD deployment?”
You should use the below code:
CrmDiscoveryService disco = new CrmDiscoveryService();
disco.Url = “https://YOUR.IFD.URL/MSCRMServices/2007/SPLA/CrmDiscoveryService.asmx”;
RetrieveOrganizationsRequest orgRequest = new RetrieveOrganizationsRequest();
orgRequest.UserId = @”username”;
orgRequest.Password = “password”;
RetrieveOrganizationsResponse orgResponse = (RetrieveOrganizationsResponse)disco.Execute(orgRequest);
OrganizationDetail orgInfo = null;
foreach (OrganizationDetail orgdetail in orgResponse.OrganizationDetails)
{
if (orgdetail.OrganizationName.Equals(”OrgName”))
{
orgInfo [...]
Backup and restore your SharePoint website using SharePoint Designer
Found this PDF on how to backup and restore your SharePoint (SPWeb) website using SharePoint Designer: backup-restore-share-point-2007.pdf
Kudos to the Creator of the PDF.
SP - Uploading files to SharePoint document library
here we go, just some simple upload code that uploads documents into a document library.
It also checks if the same file exist in the destination library before upload.
SPSite site = new SPSite(”http://mysharepointsite”);
SPWeb web = site.OpenWeb();
web.AllowUnsafeUpdates = true; // i always add this in to prevent security errors
Stream fStream = postedFile.InputStream;
byte[] contents = new byte[fStream.Length];
fStream.Read(contents, 0, (int)fStream.Length);
fStream.Close();
string [...]
CRM 4 - Update Rollup 9
Well, update roll up 9 is out (how the hell did we get to 9??)! Jeez with all these update packs there needs to be a full job to implement all these updates on servers and implement the necessary changes the update pack doesn’t.
KB article: http://support.microsoft.com/default.aspx?kbid=977650
Download: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=5869f2b3-d1a0-4f71-8be3-fde6e8053a2e
Mini Preview Window for Contact Lookup Field
Looks cool doesn’t it. well here goes nothing..
to achieve the above you will need the following (click read more link..)
// the following code is for the hover over lookup window
function OnCrmPageLoad()
{
/*
Reference the to Lookup, Provide the lookup (control) id.
*/
var PrvToLui = new LookupPreview(”new_primarycontactid”);
/*
Add Account Preview Information ,
returns [...]
Update Filename or List Item name programmatically in SharePoint/WSS
As simple as it sounds, it ain’t simple.
you would of thought the following would work:
SPFile file = web.GetFile(strUrl);
file.name = “mynameFilename.txt”;
file.Update();
does not compute..
There are 2 ways I’ve found of accomplishing this:
1. using the SPFile.MoveTo method:
string strUrl = “http://mysharepointsite/myolddocumentlibrary/Filename.txt”;
string newFileUrl = “http://mysharepointsite/mynewdocumentlibrary/mynewFilename.txt”;
SPSite site = new SPSite(”http://mysharepointsite”);
SPWeb web = site.OpenWeb();
web.AllowUnsafeUpdates = true; // this will stop it from erroring out due to [...]
Sharepoint 2010 Preview Sneakpeak
view it at: http://sharepoint.microsoft.com/2010/sneak_peek/pages/default.aspx