• Rashmi Tyagi
  • NEWBIE
  • 0 Points
  • Member since 2015

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 3
    Replies
Getting Compile Error::  COMPILE ERROR: Invalid type: MetadataService.SaveResult 
when trying to use MetadataService as below::

MetadataService.MetadataPort service = new MetadataService.MetadataPort();


Not sure how to overcome this problem, FYI:: Our org is using API Version: 34. 

 

Hi people,

 

Today I faced with interesting problem. When I try to Compile all classes I have a 'nice' error 'Maximum view state size limit (135KB) exceeded.'.

 

Did someone have this kind of problem? If so, how to solve this issue?

 

Thanks in advance.

i have created database Dml class i was working fine but i just edited i gave me the error so that why pasted the previous code but now it gives me error  invalid type database.saveresult