Answered by:
Generating Early bound class file from CRMSvcUtil.exe tool

Question
-
Hi All,
I am creating a Web appplication where i need to coonect with some of the CRM entities.
In order to do this i am trying to create a CRM.cs file using CRMSvcUtil.exe tool.
I downloaded the Microsoft Dynamics CRM 2011 Development kit.
Then ran a crmsvcutil.exe inside bin folder of SDk with the below environment details.
CrmSvcUtil.exe /url:http://<Servername>/<OrgName>/XRMServices/2011/Organization.svc/<o:p></o:p>
out:<ProxyFileName>.cs /username:<admin username> /password:<admin password> /domain:<your domain> /namespace:<enter namespace> /serviceContextName:<OrganizationServiceContext> which i found in some post.But this did not generate any file for me.
Please give any idea in resolving this .
Thanks in advance.
blrSvsTech
Wednesday, December 18, 2013 7:19 AM
Answers
-
Hello,
It seems you are not writing command correctly, so it showing what are the possible options for this command
Please make sure you are providing correct optionset for example below command is to connectv Claims Authentication – Active Directory
CrmSvcUtil.exe /url:https://myport:555/MyOrg/XRMServices/2011/Organization.svc /out:GeneratedCode.cs /username:administrator /password:password
Please Check this for other options
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.- Proposed as answer by HIMBAPModerator Wednesday, December 18, 2013 7:51 AM
- Marked as answer by blrSvsTech Thursday, December 19, 2013 1:14 PM
Wednesday, December 18, 2013 7:51 AMModerator
All replies
-
Hello,
Did you get any error ?? if not you should see that file in the same folder unless you won't specifically provide path for that file
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.Wednesday, December 18, 2013 7:24 AMModerator -
Hello Mahendar,
After running command i am getting this.
Thanks.
blrSvsTech
Wednesday, December 18, 2013 7:31 AM -
Hello,
It seems you are not writing command correctly, so it showing what are the possible options for this command
Please make sure you are providing correct optionset for example below command is to connectv Claims Authentication – Active Directory
CrmSvcUtil.exe /url:https://myport:555/MyOrg/XRMServices/2011/Organization.svc /out:GeneratedCode.cs /username:administrator /password:password
Please Check this for other options
Our Website | Our Blog | Follow US | My Facebook Page | Microsoft Dynamics CRM 2011 Application Design
Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.- Proposed as answer by HIMBAPModerator Wednesday, December 18, 2013 7:51 AM
- Marked as answer by blrSvsTech Thursday, December 19, 2013 1:14 PM
Wednesday, December 18, 2013 7:51 AMModerator -
Hello Mahendar,
Great thanks for your help.
blrSvsTech
Thursday, December 19, 2013 1:15 PM