You need to sign in to do that
Don't have an account?
LSKoz
Partner Portal Down
Currently getting this when I try to log in to the ISV Partner Portal.
DML currently not allowed An unexpected error has occurred. Your development organization has been notified.
Hi,
I think you are performing DML operation in your constructor. because of that it gives you error.
Solution :- Remove the DML statement from Constructor and write another function in your class and call it through action method of your VF page. see below Example..
Visualforce Page:
Apex Class:
Important :
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Hitesh Patel
SFDC Certified Developer & Administrator
My Blog:- http://mrjavascript.blogspot.in/
Hi LSKoz,
Looks like there is some code that is hitting the DML Governor limit, can you elaborate a bit if the issue is still not resolved.
Also, see the link below,
http://salesforce.stackexchange.com/questions/7615/dml-not-allowed-in-page-action
Regards,
Ashish
It's a bit better now but every now and then I come across this issue.
This is a product of Salesforce, not mine.
Hi LSKoz,
We do not have this recorded at with us at the moment, If this issue can be replicated please let us know or raise a support case so that we can proceed with the Investigation.
Regards,
Ashish, Salesforce.com