Answers.Body: <p>On the Contribution Page setup, below the checkbox to enable 'on behalf of' there is help text explaining that it uses the "On Behalf Of Organization" profile - unless you change it.  You are seeing an error relating to profiles when you enable the section that says it uses a profile, so that is a good clue as to the cause of the problem.</p>
  
  <p>Let's step through the various causes suggested in the error message:</p>
  
  <p>1) Is Profile (gid=9) disabled?</p>
  
  <p>Go to <code>Administer &gt; Custom Data and Screens &gt; Profiles</code>  Click the <code>Reserved Profiles</code> tab.  Id 9 is 'On Behalf of Organization' in a default config (4.7) which corresponds with the help text.<br>
   It is a reserved profile, so you don't have the option to disable it.  This is not the cause of the problem.</p>
  
  <p>2) Is Profile (gid=9) set to be used as 'overviews'?</p>
  
  <p>This is not obvious as there is no setting described as 'overviews'.  But since this is core behaviour and you can't change it, let's assume that is correct for now.</p>
  
  <p>3) Does Profile (gid=9) exist?</p>
  
  <p>Yes - we have just seen it in the listing. (Arguably this should be the first cause listed!)</p>
  
  <p>4) Do you have access to the Profile?</p>
  
  <p>This is the last of the suggested causes and also corresponds to the behaviour you are seeing that the problem depends on whether or not you are logged in.</p>
  
  <p>Now we need to check permissions.  You don't mention which CMS you are using, but I'll use Drupal here.</p>
  
  <p>Go to the Drupal <code>People &gt; Permissions</code> page. In the CiviCRM section, look for settings relating to 'profiles' and see what permissions your anonymous users have.  It is not always obvious which permissions are relevant but we are using the profile to enter new data rather than view data so 'profile create' looks likely.</p>
  
  <p>Is 'CiviCRM: profile create' enabled for anonymous users?  Probably not.  Enable it, save and try to view the contribution page again when not logged in.</p>
  
  <p>Warning: Be wary of granting new permissions if you don't understand what they mean, particularly for anonymous users as you can inadvertently expose far more data than intended.  You can find confirmation that 'profile create' is appropriate <a href="https://docs.civicrm.org/user/en/latest/initial-set-up/permissions-and-access-control/#collecting-data-from-anonymous-visitors-using-profiles" rel="noreferrer">in the documentation</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-24T10:15:03.637Z
Answers.LastActivityDate: 2018-01-24T10:15:03.637Z
Answers.UserDisplayName: Aidan
Body: <blockquote>
    <p>The requested Profile (gid = 9 ) is disabled OR not set to be used as
    'overviews' OR the Profile with this ID does not exist OR you do not
    have access to this Profile. Contact the administrator for further
    assistance.</p>
  </blockquote>
  
  <p>I get an error as given in title for when I enable contribution form for membership renewal with settings "On behalf of" tick marked and I get that only when I view it as anonymous,but when I view it as logged in user ,I don't get the error</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-24T08:10:50.423Z
Comments.Text: What version of CiviCRM are you using?
Comments.UserDisplayName: Pradeep Nayak
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-24T14:06:34.163Z
Comments.Text: @PradeepNayak I am using the latest version 4.7.29
Comments.UserDisplayName: harshal
Tags: <civicontribute><profile><contribution-page>
Title: The requested Profile (gid = 9 ) is disabled OR not set to be used
ThreadText: # The requested Profile (gid = 9 ) is disabled OR not set to be used
  
  (Asked by: username_0 on 2018-01-24)
  
  > The requested Profile (gid = 9 ) is disabled OR not set to be used as
  > 'overviews' OR the Profile with this ID does not exist OR you do not
  > have access to this Profile. Contact the administrator for further
  > assistance.
  
  I get an error as given in title for when I enable contribution form for membership renewal with settings "On behalf of" tick marked and I get that only when I view it as anonymous,but when I view it as logged in user ,I don't get the error
  
  **Tags:** civicontribute, profile, contribution-page
  
  > **Comments:**
  > **username_1**: What version of CiviCRM are you using?  
  > **username_0**: @PradeepNayak I am using the latest version 4.7.29  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-01-24. Score: 5 | Accepted answer
  
  On the Contribution Page setup, below the checkbox to enable 'on behalf of' there is help text explaining that it uses the "On Behalf Of Organization" profile - unless you change it. You are seeing an error relating to profiles when you enable the section that says it uses a profile, so that is a good clue as to the cause of the problem.
  
  Let's step through the various causes suggested in the error message:
  
  1) Is Profile (gid=9) disabled?
  
  Go to `Administer > Custom Data and Screens > Profiles` Click the `Reserved Profiles` tab. Id 9 is 'On Behalf of Organization' in a default config (4.7) which corresponds with the help text.  
  It is a reserved profile, so you don't have the option to disable it. This is not the cause of the problem.
  
  2) Is Profile (gid=9) set to be used as 'overviews'?
  
  This is not obvious as there is no setting described as 'overviews'. But since this is core behaviour and you can't change it, let's assume that is correct for now.
  
  3) Does Profile (gid=9) exist?
  
  Yes - we have just seen it in the listing. (Arguably this should be the first cause listed!)
  
  4) Do you have access to the Profile?
  
  This is the last of the suggested causes and also corresponds to the behaviour you are seeing that the problem depends on whether or not you are logged in.
  
  Now we need to check permissions. You don't mention which CMS you are using, but I'll use Drupal here.
  
  Go to the Drupal `People > Permissions` page. In the CiviCRM section, look for settings relating to 'profiles' and see what permissions your anonymous users have. It is not always obvious which permissions are relevant but we are using the profile to enter new data rather than view data so 'profile create' looks likely.
  
  Is 'CiviCRM: profile create' enabled for anonymous users? Probably not. Enable it, save and try to view the contribution page again when not logged in.
  
  Warning: Be wary of granting new permissions if you don't understand what they mean, particularly for anonymous users as you can inadvertently expose far more data than intended. You can find confirmation that 'profile create' is appropriate [in the documentation](https://docs.civicrm.org/user/en/latest/initial-set-up/permissions-and-access-control/#collecting-data-from-anonymous-visitors-using-profiles).
  
  
  ---
  
  