# Altium error at compilation

I got this error in Altium when I try to compile schematic. i don't understand what is the problem exactly. I have searched online and didn't find any solution so far. does anybody already had this problem ?

Details of the error below This is the sheet

Here are the parameters of the page

• Post a picture of you schematic please. Also Altium has a recommendation to avoid this error, did you try it? – Bence Kaulics Jun 21 '16 at 10:11
• Check the parameters of this component. You might have different types (Integer and string) for the same parameter! In other word, two same parameters with different types – G. Zambrotta Jun 21 '16 at 10:30
• the problem is altium doesn't mention where. it just give the sheet id, but not the components – chris Jun 21 '16 at 10:47
• How many different components do you have on that sheet? – Bence Kaulics Jun 21 '16 at 10:58
• Just check all components on that sheet and check if there is two same parameters with different types! that's it. – G. Zambrotta Jun 21 '16 at 11:23

The format of the error message is:

Same parameter contains different types <Object> <Types> ,


So the Object in your error message is 1 - MCU.SchDoc

Open up 1 - MCU.SchDoc, right click on the page background (not on a component), select Options, then Document Parameters.

Look through the list of parameters to see if you can find a parameter name duplicated, and delete the one that you don't want or is wrong.

• I have done this but didn't find any parameters. I have added screenshot of the parameters option above in the thread. I don't see where the problem is. – chris Jun 21 '16 at 11:50
• Just a wild guess: Maybe sheet number or something like that is automatically added as parameter by Altium Designer. Maybe you could change some of the parameters that could be integers to integer and see if that makes the error go away. – cx05 Jun 21 '16 at 12:00
• @chris the error message lists parameter DocumentNumber twice, once with the value 9, again with the value 3. And again in the sheet parameters it has the value 1. One of these could be an INTEGER, the others STRING. – Steve G Jun 21 '16 at 12:06
• You need to look at the unique IDs of the parameters. As you can see, two are listed in the error message details. One will be on the page you posted the pictures from, the other one might be on a different page. Double click on the parameters to open a property window that shows the UniqueID. Altium will report the page where the error occurred, not the page where the parameter was first set with different type. Once you've found one of the IDs look for a similar named parameter on a sheet or component with different type. – cx05 Jun 21 '16 at 12:20

Sometimes it gives you this error if you haven't annotate the different schematic sheets! Go to 'Tool--> Annotation --> Number Schematic Sheets' and make the appropriate configuration for the different sheets.

I know this is a 2 year old post but I've just had the exact same issue in AD 18.1.9 so thought it would be worth noting my solution

The solution for me was relating to templates:

Go to Design -> Templates Select a new template (either your own or use Altium built in ones under general)

Then once you're at the update template prompt select All schematic documents in current project and replace all matching parameters

As shown here:

Just like yourself I went through every parameter by hand an could not find any differences / issues. This seemed to be the only way to reset them all.

After doing this you will need to go back through each sheet and enter your parameters by hand

My guess to why this works is that it seems Altium hides certain parameters such as sheet unique ids. Updating the template seems to reset these parameters causing the compilation to go away

Let me know if this works, id be interested to hear back

Fixing this problem is quite tedious process, go through each page, check properties of every parameter, it should be same in all pages. I was having the issue for document number and sheet number, which was set as string and integer in two different pages. After correcting them, the errors stopped.

Good luck

• one more update, this issue has nothing to do with Parameter manager :) – Chand Nov 4 '16 at 14:14