Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 638291
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T20:43:01+00:00 2026-05-13T20:43:01+00:00

Hi i’m having problems assigning a value to a custom field. i’ve added multiple

  • 0

Hi i’m having problems assigning a value to a custom field.

  • i’ve added multiple custom fields to
    our Dynamics CRM 4.0 installation.
    i’ve pressed publish.

  • I’ve gone to Settings ->
    Customization -> Download Web
    Description Files, and downloaded the wsdl replacing my current one in the project

  • I’ve pressed Update Web Reference

In my code I recieve the BusinessEntity

opportunity o = (opportunity)crmService.Retrieve(EntityName.opportunity.ToString(), guid, new AllColumns());

I am aware that getting AllColumns is bad practice

When I then try and assign a value to a custom property like this

o.custom_stringproperty = "string value";

I get the following error when trying to compile

‘CrmProxy.CrmSdk.opportunity’ does not contain a definition for ‘custom_stringproperty’ and no extension method ‘custom_stringproperty’ accepting a first argument of type ‘CrmProxy.CrmSdk.opportunity’ could be found (are you missing a
using directive or an assembly reference?)

In Reference.cs the property is there in the opportunity class, intellisense shows the actual field when i look into the o. object.

I can’t for the life of me figure out what causes this, i’ve removed the reference and added it again, i’ve cleaned the project and rebuild it. i’ve tried lots of things, I hope anyone here can point me in the right direction or knows the cause for this error.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T20:43:01+00:00Added an answer on May 13, 2026 at 8:43 pm

    I found out what caused this error, I also use parts of this project in SSIS and thus have it deployed in the GAC, the solution I where trying to compile had the proper project included, but for some reason looked in the GAC when doing a compile, and looked in the project when doing intellisense. thus when I deployed the updated version of the project into GAC to use it in SSIS, the compile error went away because the project dll and the gac version now where the same.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 411k
  • Answers 411k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Possibly, Tag based data can be compressed fairly easily using… May 15, 2026 at 7:41 am
  • Editorial Team
    Editorial Team added an answer 2>&1 redirects standard error to standard out. | pipes the… May 15, 2026 at 7:41 am
  • Editorial Team
    Editorial Team added an answer This is tricky, you have to do following steps, Set… May 15, 2026 at 7:41 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.