Showing posts from 2012

how to call any Web Resource image in your web page from CRM 2011

Hi, You can call Web Resource from crm easy. Just add; http(s)://CRM_url:(port)/WebResources/nameOfTheWebResource or /WebResources/nameOfTheWebResource in CRM do not use "Display Name" and "extension". Good Luck,

retrieve,update,assign,create related object records in Microsoft CRM 2011

Hi, here is a sample of how to obtain records from CRM. You need prebuild classes from current Microsoft CRM 2011 do this use crmsvcutil.exe which comes from CRM SDK (...SDK\bin\). Built Class includes both standart Entities and Custom Entities. Usage : crmsvcutil.exe /url:http(s)://crm.???.com(:444)/organization_name/XRMServices/2011/Organization.svc /out:" \OrganizationCodes.cs " /username:muhammet.atalay /password:ILoveCrm /domain:??? /serviceContextName:...ServiceContext Do not forget to add OrganizationCodes.cs into your project. ServiceContext uses as below while retrieving any records via LinQ. ServiceContext context;            context = new ServiceContext((IOrganizationService)_serviceProxy); List contacts = context.ContactSet.Where(c => c.fieldName == criteria).ToList(); you can create a record as follow; Contact conn = new Contact(); set fields _serviceProxy.Create(booking); assign record to a user while creating record exampl

Credentials,tokens sample in Microsoft CRM 2011 from SDK by Late Bind Approach with IFDS deployment

Hi, First of all, Download Microsoft CRM 2011 SDK from Microsoft Web Site.Please ask google for exact URLs. do not forget adding Microsoft.xrm.sdk library from SDKs. IServiceManagement orgServiceManagement = ServiceConfigurationFactory.CreateManagement ( new Uri("http(s)://crm.???.com(:444)/organization_name/XRMServices/2011/Organization.svc")); Set the credentials. AuthenticationCredentials authCredentials = new AuthenticationCredentials(); authCredentials.ClientCredentials = new ClientCredentials(); authCredentials.ClientCredentials.UserName.UserName = "muhammet.atalay"; authCredentials.ClientCredentials.UserName.Password = "I Love CRM"; AuthenticationCredentials tokenCredentials = orgServiceManagement.Authenticate(authCredentials); Retrieve Token SecurityTokenResponse orgTokenResponse = null; if (tokenCredentials != null)

Installation of Microsoft Visual C++ Runtime failed. Exit code: 5100. Result: Asia in Microsoft Dynamics CRM 2011

If you face an error about Installation of one or more missing prerequisite components while installing Microsft Dynamics CRM 2011 server (i met some consultants who get same error while installing CRM for Outlook Client).it is related with version of Microsoft Visual C++ Redistributable package running on the server. Here is the story of me; I wanted to try install Microsoft Dynamics CRM 2011 into Microsoft Windows 2008 R2 x64 Enterprise server which has already Microsoft SQL Server 2012 Developer Edition. I got an error during installing prerequisite. I checked logs from "C:\Users\Administrator\AppData\Roaming\Microsoft\MSCRM\Logs\crm50svrsetup.log" and found; 11:18:45| Info| CmdLine: <"D:\Redist\VcRedist\vcredist_x64.exe" /q /norestart> 11:18:45| Info| WorkingDir: 11:18:53| Info| Installation of Microsoft Visual C++ Runtime failed. Exit code: 5100. Result: Asia 11:18:58| Error| Installation of one or more missing prerequisite c

An error installing Microsoft SQL Server 2008 about .NET Framework 3.5 SP1

Hi, if you are facing an error regarding .Net Framework 3.5 SP1 needs to be installed please follow below; I think the problem is about .NET Framework pre-requirement files have some problem. Copy your SQL setup media to your local hard disk. 1. Download .NetFramework 3.5 SP1 (which corresponds to your architecture - x86, x64 or i64) 2. Do not try to install it by double clicking it, rather extract it first to a location of your choice by issuing this command .exe /x:c:\dotNetFramework35SP1\ for example dotNetFx35Setup.exe /x:c:\dotNetFramework35SP1\ (whatever the name is just use it) 3. Open the folder where you extracted the files. You will find a folder named "wcu" open this folder as well. You will find a folder named "dotNetFramework". 4. Copy everything inside this folder. 5. go to SQL2008 setup folder > FOR EXAMPLE x86, x64 > redist > dotNetFrameworks 6. Paste your files there (replace if prompted). good luck...

an adventure restoring Windows after 3 years

Hi, I just would like to share some tricks, you may need them in future. You should not follow each steps one by one,Just focus on the step the best fitted into your requirements. Couple days ago,i want to do maintenance in my old laptop (Toshiba Satellite Series).The easiest way is; turn it as the first day i bought. Here is step by Step (need 4 GB USB Flash disk and second laptop :)) 1- I backed up all Users directory 2- I figured out,i had a ghost file taken by Norton Ghost in Hiren's Boot CD ( - All in One Bootable CD which has all necessary utilities).I have not got any empty CD to create bootable CD so i have to make bootable USB. Restore from GHOST by Hiren's bootable USB 3- First of all I downloaded Hiren's CD iso file from the web site above. 4- To create bootable USB,insert USB into laptop and set as bootable by 5- Run executable file from zip file 6- Set ap

Oracle SQL Developer unable to find Java Virtual Machinet

if you face an error about unable to find Java Virtual Machine while running Oracle SQL Developer in 64 bit Systems.The problem is related with unsupporting SQL Developer for 64 bit systems. Solution; Oracle SQL developer is NOT support on 64 bits JDK. To solve it, install a 32 bits / x86 JDK and update your SQL developer config file, so that it points to the 32 bits JDK. Fix it! Edit the “sqldeveloper.conf“, which can be found under “{ORACLE_HOME}\sqldeveloper\sqldeveloper\bin\sqldeveloper.conf“, make sure “SetJavaHome” is point to your 32 bits JDK. For example, “SetJavaHome C:\Program Files (x86) \Java\jdk1.6.0_13“. cheers,

some notes about vb6 to conversion based on syntax

Conversion history and architecture will be published later... 1 - fixed sized string with default value VB6 ; Dim sTempPath As String sTempPath = String(255, vbNullChar) VB.NET ; Dim sTempPath As String sTempPath = New String(CChar(vbNullChar), 255) 2- Current Date VB6 ; sLogData = Date & " User : " & PMP_USER_NAME VB.NET; sLogData = Date.Today & " User : " & PMP_USER_NAME 3- Null value VB6; sDate = Null VB.NET; sDate = Nothing 4- Default Property(Attribute) VB6; Tools Menu Procedure Attribute Select "Name" for Property click "Advanced" button set "Procedure ID" combo box and select "(Default)" VB.NET; add "Default" into Property such as : Default Public ReadOnly Property Item (IndexKey As Object) As clsItem 5- Equivalent of Mouse Pointer VB6; Screen.MousePointer = vbHourglas VB.NET; add Windows.Form Reference then Cursor.Current = Cursors.WaitCursor 6- Equivalent of Timer VB6; Tim