You need to sign in to do that
Don't have an account?
Problem deploying with apex class
I've been working in a development edition environment and have built something that uses an apex page and an apex class. I'm now trying to deploy this to our company's salesforce account so they can test it out. We have an enterprise account, I believe. When I use "Deploy To Server" from ForceIDE, I enter the username, password and security token of a sys admin on the company account. In the screen where it shows me what it will deploy, the apex class is not checked and when I click on it, it says "Component Type not permissible in destination organization".
This is my first attempt at salesforce development and am stuck. Any thoughts on what I'm missing?
Just to be clear, my code is at 92% test coverage -- so that is not the problem.
Thanks
John
What version are you deploying to? (i.e. free, enterpise, etc etc) Does it allow this item?
Also, Make sure you have the "Author Apex" permission checked in your profile.
I've been told it is an enterprise edition. I have the "Apex Author" box checked on my profile in the Developer edition. I went to do the same for the account that I'm trying to deploy to in the enterprise version but that doesn't have the "Profiles" section where you do that.
Here is the info about salesforce editions:
http://www.sfdcstatic.com/assets/pdf/datasheets/DS_SalesCloud_EdCompare.pdf
You don't have profiles or pagelayouts (unless you pay) in professional edition. So I am not sure how you get "author apex" in professional but I think the lack of that permission is your problem. I recommend doing some reasearch and see if this is on by default in pro or if it is simply enabled in a different location.
It's not professional version -- I'm working in development edition -- as mentioned here http://wiki.developerforce.com/page/About. I have the checkbox and it is checked. The problem appears to be on the side of the environment I'm trying to deploy into -- which is enterprise.
Thanks
John
The destination system is the issue. When logged into that system, does your address bar say you have enterpise edition? SFDC always shows the edition at the end of the address bar.
If so, then you should have the profiles section as long as you have permission to get to that section. If you don't, contact your sysad and get them to give you author apex. If you do, grant it to your self.
Thanks for the responses thus far. When logged in to the non-developer environment, the address bar says: https://na5.salesforce.com/home/home.jsp
Opps, I mean Title bar, not address bar. In the title bar you should see "<some info> - salesforce.com - <edition name> edition"
Ugh. It says Professional Edition. Looks like I got some bum information. Thanks so much -- at least I know what's going on now.
will you please give the Screen shot of you Profile Setting???
I don't have a server to host the image on but the setting is called "Author Apex" and can be found in the "Administrative Permissions" portion of the profile. This setting is in the left hand column 3rd row under the administrative permissions.