Duplicate type name with abstrac inherited type

The problem I'm facing is that Oracle tools fail to assemble web services because my model classes inherit from an abstract class and the assembler does not seem to recognize this:
build.xml:90: oracle.j2ee.ws.common.tools.api.ValidationException: com.util.model.audit.AbstractAuditModelJdk14 - Duplicate type name "com.util.model.audit.AbstractAuditModelJdk14" for Java
type "{http://model.security.com/}AbstractModeloAuditoriaJdk14" found. To remove this error do not specify a single typeNamespace for all value types or specify a mapping file. This error could also be caused when an
erroneous type has been used more than once.
Is there a way to solve this issue?
This thread is related to an old one: I'm writing the thread to refer to an old one: Re: Duplicate type name
Edited by: NuMegathor on Oct 7, 2011 12:03 PM
Edited by: NuMegathor on Oct 7, 2011 1:15 PM

Hello,
Currently Oracle does not have a supported configuration to deploy JAX-WS based WS and the Reference Implementation, this should come in a patch later on.
Also in a general manner when you need to manipulate the class loader of your container and application you should use the OracleAS ClassLoader Framework
Regards
Tugdual Grall

Similar Messages

  • Mail 6.2 Duplicate Last Name with Exchange 2010

    When I am composing an email my Exchange 2010 domain contacts show up with two last names (eg. John Smith Smith).  I've followed the recommendations of a couple different discussions including deleting the Exchange contacts and then re-adding them, but eventually the problem comes back.  I've also deleted all previous recipients that had duplicate last names, but the problem persists.  Any help would be greatly appreciated.
    Best regards,
    Jim

    This is the sole reason I went out and bought MS Office for osx.  I tried to deal with this for the last couple of weeks, but couldn't take it anymore.  It may seem minor to the product mgrs in Cupertino, but it's an extremely annoying behavior which keeps this Mac from being able to stand on it's on in the work environment.  Hopefully this will get fixed before I have to renew my Office payment.

  • JPA -- Inheritance with duplicate column names

    Hi,
    I have the following problem:
    I have two tables. Let's call them BASE_TABLE and CHILD_TABLE. They are mapped through Join Inheritance in Java. In other words:
    @Inheritance(strategy=InheritanceType.JOINED)Let's say, the tables look like:
    BASE_TABLE (
        ID NUMBER(18),
        TYPE VARCHAR2(1),
        CODE NUMBER(5))
    CHILD_TABLE (
        ID NUMBER(18),
        CODE NUMBER(5),
        NAME VARCHAR2(50))Here's where the problem lies: I have duplicate column names. In my example, this is the CODE column. When mapping to Java classes, I can have something like:
    @Entity
    @Table(name="BASE_TABLE")
    @Inheritance(strategy=InheritanceType.JOINED)
    @DiscriminatorColumn(name="TYPE", discriminatorType=DiscriminatorType.STRING)
    @DiscriminatorValue("0")
    class BaseEntity {
        @Column(name="CODE")
        private Integer code;
        public Integer getCode_Base() {
            return code;
        public setCode_Base(Integer code) {
            this.code = code;
    @Entity
    @Table(name="CHILD_TABLE")
    @DiscriminatorValue("1")
    @PrimaryKeyJoinColumn(name="ID")
    class ChildEntity extends BaseEntity {
        @Column(name="CODE")
        private Integer code;
        public Integer getCode() {
            return code;
        public setCode(Integer code) {
            this.code = code;
    }The trouble is, that TopLink only handles ONE of the CODE columns. When SELECTing, it only selects the CODE column from table BASE_TABLE. When generating DML statements, again it only uses the CODE column from table BASE_TABLE.
    I wasn't able to make it use BOTH columns.
    Please, help. The DB design cannot be changed at the moment. However, I must find a way to make TopLink Essentials use both CODE columns, not just the one from BASE_TABLE.
    Thank you in advance!
    Best regards,
    Bisser

    Hi Chris,
    I was under the impression, that since the attributes were private, they would be treated as two different attributes by TopLink Essentials.
    Java definitely treats them as two different attributes, and not as one overriding the other. I had made sure that I could set both of them with different values (via the differently named accessors) and, indeed, both values were there. I printed them both out on the console, just to make sure. They were printed out ok, the values were indeed different.
    But TopLink Essentials was ignoring one of them.
    Now that you told me that I should use different names for the attributes, I did just that. And lo and behold, it worked!!! I couldn't even imagine that it would matter to TopLink what the names were, given that they were in two different entities that were mapped to two different tables, inheritance or not.
    As I said, Java treats them as two completely different attributes, unlike TopLink Essentials. In future, I will know that even the attribute names matter. Thank you again.
    Best regards,
    Bisser

  • ValidationException: Duplicate type name

    I am trying to deploy an ejb web service to oc4j 10.1.3.1.1 from JDeveloper 10.1.3.2. During deployment I get this exception thrown:
    07/04/19 09:53:03 oracle.j2ee.ws.common.tools.api.ValidationException: gov.mi.mdch.mcirhl7.data.Select - Duplicate type name "gov.mi.mdch.mcirhl7.data.Select" for Java type "{http://service.ejb.mcirhl7.mdch.mi.gov/}Select" found. To remove this error do not specify a single typeNamespace for all value types or specify a mapping file. This error could also be caused when an erroneous type has been used more than once.
    07/04/19 09:53:03      at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:247)
    07/04/19 09:53:03      at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:173)
    07/04/19 09:53:03      at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:72)
    07/04/19 09:53:03      at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator$DeploymentCompileTool.run(DeploymentGenerator.java:200)
    07/04/19 09:53:03      at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator.generateDeploymentArtifacts(DeploymentGenerator.java:131)
    07/04/19 09:53:03      at oracle.j2ee.ws.common.metadata.annotation.EJBWebServiceAnnotationParser.parseAnnotatedBean(EJBWebServiceAnnotationParser.java:165)
    07/04/19 09:53:03      at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
    07/04/19 09:53:03      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/04/19 09:53:03      at java.lang.reflect.Method.invoke(Method.java:585)
    07/04/19 09:53:03      at oracle.j2ee.ws.server.deployment.oc4j.WebServiceAnnotationListener.parseAnnotatedClass(WebServiceAnnotationListener.java:85)
    07/04/19 09:53:03      at com.evermind.server.ejb.AnnotationParser.notifyAnnotationListeners(AnnotationParser.java:201)
    07/04/19 09:53:03      at com.evermind.server.ejb.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
    07/04/19 09:53:03      at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackageDeployment.java:939)
    07/04/19 09:53:03      at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:832)
    07/04/19 09:53:03      at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
    07/04/19 09:53:03      at com.evermind.server.Application.setConfig(Application.java:439)
    07/04/19 09:53:03      at com.evermind.server.Application.setConfig(Application.java:340)
    07/04/19 09:53:03      at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
    07/04/19 09:53:03      at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
    07/04/19 09:53:03      at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
    07/04/19 09:53:03      at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    07/04/19 09:53:03      at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    07/04/19 09:53:03      at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    07/04/19 09:53:03      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    07/04/19 09:53:03      at java.lang.Thread.run(Thread.java:595)
    My interface looks like this:
    package gov.mi.mdch.mcirhl7.ejb.service;
    @WebService
    public interface CodeDataServiceWebService extends Remote {
    List<ServiceType> queryServiceTypeFindAll()
    throws RemoteException;
    List<Version> queryVersionFindAll()
    throws RemoteException;
    This interface is implemented with a simple stateless session bean (where I do not have any web service specific annotations, mainly because JDeveloper did insert any there when it auto-generated the web service interface). Both Version and ServiceType are EJB 3.0 entity beans which extend gov.mi.mdch.mcirhl7.data.Select. If I change ServiceType so that it does not extend Select, then it deploys fine. Same if I just comment out queryServiceTypeFindAll() altogether. However, when I successfully deploy the web service, the generated WSDL and mapping file make no mention of the Select class, so I don't see why there's a problem with that class when more than one of my List types extends it.
    I've been searching for a solution to this problem for most of the week to no avail. Any thoughts? Thanks.
    Joel
    Subject was edited by: user570454

    Joel,
    You may have some encounter some backward incompatibility between the code generated for 10.1.3.2, when you run the application in the embedded container and when you deploy on a remote instance using 10.1.3.1.
    It may be worth trying to re-assemble the application using JDev 10.1.3.1 or use the command line (or ant integration) of WSA to build the application that you target at the 10.1.3.1 instance using the same version of the tooling.
    Chapter 18 of the user guide provide details about ant commands.
    http://download.oracle.com/docs/cd/B32110_01/web.1013/b28974/wsassemble.htm#CHDDBCCA
    You may also want to report this using the metalink/support channel, so that the potential bugs behind this can be addressed for you.
    -Eric

  • How to solve 'Microsoft.Advertising.WinRT.UI.winmd' contains duplicate type names.

    Hi,
    I am developing windows store 8.1 app. I need to perform unit testing of my app . When I add the project (to be tested) to unit test
    library project by using Add reference I am getting these errors:
    Error
    5
     The .winmd file 'Microsoft.Advertising.WinRT.UI.winmd' contains duplicate type names. Type 'Microsoft.Advertising.WinRT.UI.AdControl'
    is already registered with the in-process server 'CLRHost.dll'.
    UnitTestLibrary
    Error
    6
     The .winmd file 'Microsoft.Advertising.WinRT.UI.winmd' contains duplicate type names. Type 'Microsoft.Advertising.WinRT.UI.AdSettingsFlyout'
    is already registered with the in-process server 'CLRHost.dll'.
    UnitTestLibrary
    Error
    7
     The .winmd file 'Microsoft.Advertising.WinRT.UI.winmd' contains duplicate type names. Type 
    I found a blog here . I tried it but i coudn't see the xml file in this path C:\Program
    Files (x86)\Microsoft SDKs\Windows\v8.0\ExtensionSDKs\MSAdvertisingXaml\6.1\SDKManifest.xml
    I found the file in C:\Program Files (x86)\Microsoft SDKs\Windows\v8.1\ExtensionSDKs\MSAdvertisingXaml\8.1 . But when i tried to update it is displaying an access denied  message  

    Hi Alok,
    Thank you for posting in MSDN forum.
    Based on your issue, to check if the issue is related to the specified unit test or the VS IDE issue. I suggest you can refer the following document to re-create a simple new unit test with windows store app and then add the windows store app as reference
    to the Unit test project check this issue.
    https://msdn.microsoft.com/en-us/library/windows/apps/jj159318.aspx
    (1)If you did not get same error message in the new unit test project, I doubt that maybe you did not reference the windows store app successfully. So please refer the above document to reference it again check this issue.
    If you still could not reference successfully, please share me the mainly code for the windows store and unit test project.
    Or you could share me your solution include the reference project and unit test project.
    You could upload your sample to the OneDrive and then copy link here.
    (2) If you get same error message in the new unit test, I suggest you could try to repair or re-install the VS IDE and then check this issue again.
    Hope it help you!
    Best Regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SQL Developer 2.1.0.63 duplicate TNS names displayed in the Connection Type

    I'm running SQL Developer 2.1.0.63. The New Connection window displays duplicate Alias names when you select the Connection Type of TNS. I've made sure that the TNS_ADMIN variable name is all in upper case in the Environment Settings but I haven't had any luck eliminating the duplicates. I've tried filling in the TNSNames directory on the preferences setting but this didn't help either. I've also checked my system and I don't have multiple version of TNSNAMES (we keep a public copy on a network share). Does anybody have any suggestions?
    We also have SQL Developer 1.5.5 and we don't have this duplicate problem in that version.

    I found the problem, it was in the TNSNames file. SQL Developer 2.1 is more sensitive to a messy TNSNames file. This past fall we reworked our environment with new hardware and OS software, during the multiple rounds of testing we created various temporary test databases. The entries that were added to the TNSNames file never got cleaned up and in some cases were added in a random fashion. After I went in and cleaned up some of the old, dead entries I noticed that there were duplicate entries for one of our Development databases. After I removed the duplicate entry in the TNSNAMES file all of the duplicates displayed on the Connection Type screen disappeared. Problem solved.

  • OC4J  10.1.3 WSA -assemble "Duplicate type name" error

    I am trying to expose a Java class as a web service using the WSA tool assemble command. The return result of one of the methods is reasonably complex and includes two variables the classes of which both extend the same base class e.g. (bean bits missing for brevity)
    public class Value extends DatasetMember {
    private double value;
    public class Text extends DatasetMember {
    private String value;
    When I attempt to assemble the web service wsa spits out
    Error: uk.gov.ecoconnect.webservices.datatypes.DatasetMember - Duplicate type name "uk.gov.ecoconnect.webservices.datatypes.DatasetMember" for Java type "{http://uk.gov.ecoconnect.webservices.datatypes/}DatasetMember" found. To remove this error do not specify a single typeNamespace for all value types or specify a mapping file. This error could also be caused when an erroneous type has been used more than once.
    If I use AXIS against the same classes I get at correctly generated wsdl file.
    Is there any way to get wsa to generate as wsdl that utilises the <extension> element?
    Is there an alternative OC4J mechanism that I could use to achieve this?
    I'm guessing that if the answer to the above questions is no I guess I'm going to have to move to using AXIS instead.

    Hi Tzhang,
    Thanks for the udpate.
    What spcific changes you made to make this work? can you please share that with us?
    By looking at the exception, it looks like it's failing when trying to clear the datasource connection cache. I even opened the admin_ejb app. All it has is some MDB using JMS queues. But I didn't find any datasource references in that application.
    Regards,
    Rajesh

  • Duplicate type name

    Hi all!
    I am trying to deploy a WebService with apstract classes/methods
    but I get error:
    <2007-05-11 12:09:00,698> <INFO> <collaxa> <ServerManager::loadProcesses> Done loading processes for all domains
    07/05/11 12:11:16 oracle.j2ee.ws.common.tools.api.ValidationException: com.boss.wita.types.order._1.AbstractProduct - Duplicate type name "com.boss.wita.types.order._1.AbstractProduct" for Java type "{http://xmlns.oracle.com/TryWitaAbstractWS}AbstractProduct" found. To remove this error do not specify a single typeNamespace for all value types or specify a mapping file. This error could also be caused when an erroneous type has been used more than once.
    07/05/11 12:11:16      at oracle.j2ee.ws.common.processor.modeler.rmi.RmiModeler.buildModel(RmiModeler.java:247)
    07/05/11 12:11:16      at oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:173)
    07/05/11 12:11:16      at oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:72)
    07/05/11 12:11:16      at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator$DeploymentCompileTool.run(DeploymentGenerator.java:200)
    07/05/11 12:11:16      at oracle.j2ee.ws.common.metadata.annotation.DeploymentGenerator.generateDeploymentArtifacts(DeploymentGenerator.java:131)
    07/05/11 12:11:16      at oracle.j2ee.ws.common.metadata.annotation.EJBWebServiceAnnotationParser.parseAnnotatedBean(EJBWebServiceAnnotationParser.java:165)
    07/05/11 12:11:16      at sun.reflect.GeneratedMethodAccessor79.invoke(Unknown Source)
    07/05/11 12:11:16      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    07/05/11 12:11:16      at java.lang.reflect.Method.invoke(Method.java:585)
    07/05/11 12:11:16      at oracle.j2ee.ws.server.deployment.oc4j.WebServiceAnnotationListener.parseAnnotatedClass(WebServiceAnnotationListener.java:85)
    07/05/11 12:11:16      at com.evermind.server.ejb.AnnotationParser.notifyAnnotationListeners(AnnotationParser.java:201)
    07/05/11 12:11:16      at com.evermind.server.ejb.AnnotationParser.parseAnnotations(AnnotationParser.java:73)
    07/05/11 12:11:16      at com.evermind.server.ejb.EJBPackageDeployment.parseMetaData(EJBPackageDeployment.java:939)
    07/05/11 12:11:16      at com.evermind.server.ejb.EJBContainer.postInit(EJBContainer.java:832)
    07/05/11 12:11:16      at com.evermind.server.ApplicationStateRunning.initializeApplication(ApplicationStateRunning.java:217)
    07/05/11 12:11:16      at com.evermind.server.Application.setConfig(Application.java:413)
    07/05/11 12:11:16      at com.evermind.server.Application.setConfig(Application.java:314)
    07/05/11 12:11:16      at com.evermind.server.ApplicationServer.addApplication(ApplicationServer.java:1853)
    07/05/11 12:11:16      at oracle.oc4j.admin.internal.ApplicationDeployer.addApplication(ApplicationDeployer.java:512)
    07/05/11 12:11:16      at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:196)
    07/05/11 12:11:16      at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
    07/05/11 12:11:16      at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
    07/05/11 12:11:16      at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
    07/05/11 12:11:16      at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:298)
    There are some similar posts but without any suggestion until now.
    I am not even sure what was ment by Duplicate type name
    or "do not specify a single typeNamespace for all value types or specify a mapping file".
    How could I write mapping file?
    In WSDL I have declared following namespaces:
    xmlns:o="http://wita.boss.com/types/order/1"
    xmlns:np="http://wita.boss.com/types/newproduct/1"
    Anybody help??

    Hello,
    Currently Oracle does not have a supported configuration to deploy JAX-WS based WS and the Reference Implementation, this should come in a patch later on.
    Also in a general manner when you need to manipulate the class loader of your container and application you should use the OracleAS ClassLoader Framework
    Regards
    Tugdual Grall

  • Same Input name with different data type cause the reflection exception

    I have a proxy contains couple RFCs. Two RFCs contain an argument named IN_COMPANY_CODE with data type of ZTRE_FX_BUKRSTable. Another RFC contains the same argument name of IN_COMPANY_CODE but hold different data type (String). All RFCs are in the same proxy. Complie and build the application with no issue.
    But when I ran the RFC, it generates the reflection exception below:
    Method SAPProxy1.Z_F_Tre_R_Pre_Trade_Fx can not be reflected. --> There was an error reflecting 'In_Company_Code'. > The XML element named 'IN_5fCOMPANY_--5fCODE' from namespace '' references distinct types System.String and MSTRFOREX.ZTRE_FX_BUKRSTable. Use XML attributes to specify another XML name or namespace for the element or types.
    I realize the conflict introduced by the same name with difference data type. But I would like to know if this is fixable as a bug or if there is any best practice and/or some manual intervention to make it work.

    Please install fix from OSS note 506603. After this, right-click .sapwsdl file and select "Run custom tool".

  • Each time i try to connect my ipod it keeps coming up with a duplicate file name was specified,

    can some one help me,  each time i plug my ipod into the computor it keeps saying ,, a duplicate file name was specified, how can i change this file name ,,it seems to be the name of the ipod ,,?

    Hi stelincs,
    You should be able to change the name of your iPod classic in the iTunes application.   Here's how:
    Change the name of your iPhone, iPad, or iPod - Apple Support
    https://support.apple.com/en-us/HT201997
    Use your computer
    Connect your device and open iTunes.
    Click the Device button in the upper right corner. (If viewing the iTunes Store, click the Library button in the upper-right corner first.) If you don't see your device, choose Hide Sidebar from the View menu.
    Next to the picture of your device, double-click the name of your device.
    Type the new name for your device and press Return on the keyboard.
    Sync the device (press Sync in the bottom right corner of the screen).
    Last Modified: Feb 4, 2015
    Cheers,
    - Judy

  • When I plug in my ipod it comes up with an error saying, "ipod "Skye" cannot be synced, duplicate file name specified." it wont let me put any songs on my ipod? Help!

    my computer deleted all of my songs off my ipod one time with i unplugged it, i think i unplugged it too soon and it wasn't finished ejecting. now every time i plug it in it gives me an error saying "the ipod 'Skye' cannot be synced, a duplicate file name was specified." It wont let me put any songs on my ipod now.

    Never mind.  I found out how to fix the problem
    - Go to "Computer"
    - Right click on your IPod icon
    - Click "Properties"
    - Go to the "Tools" tab
    - Under "Error -checking" cilck the "Check now..." button
    After doing all of that, ITunes now works like normal for me.

  • Every time i try to sync my iphone with my music on itunes, it says, "The iPhone "KORA" cannot be synced. A duplicate file name was specified."

    I need help

    Hi korasaurous,
    Thanks for visiting Apple Support Communities.
    You may find the troubleshooting steps in this article helpful with resolving the error message you're seeing:
    iTunes: Troubleshooting issues with third-party iTunes plug-ins
    http://support.apple.com/kb/ts3430
    There are several ways an add-on can cause iTunes to act erratically, such as those listed below:
    You see this alert while syncing: "... cannot be synced. A duplicate file name was specified."
    Best Regards,
    Jeremy

  • Podcasts broken in 9.2 with error "A duplicate file name was specified"

    Ever since the 9.2 upgrade my podcasts have not been able to update. The following error message is displayed when I click the icon next to the podcast:
    +There was a problem downloading "... podcast name ...". A duplicate file name was specified.+
    Digging in the iTunes download directory I see that a directory entry is created for each podcast (with a .tmp suffix). Inside there is a download.mp3 that is zero bytes in size.
    I've tried reorganizing the library, restarting, reinstalling, etc.
    Not sure if this matters, but I've been mounting my itunes library via nfs for the past five years or so without any issue.
    I tried to see what iTunes was up to via dtrace/iosnoop but it appears that they've gone and restricted that at the OS level -- so no luck there. Any luck here?

    Close iTunes, delete the download directory, and restart.
    tt2

  • HT1351 My ipod won't sync with itunes because it says a duplicate file name exist

    My ipod won't sync with itunes because it says a duplicate file name exist

    Connect via cable and configure in the "Summary" tab:

  • Help with iTunes ERROR: duplicate file name specified - where/how?

    When starting up iTunes (version 10.6.1) I get an error message:
    Duplicate file name was specified.
    Needless to say, no clue as to what file name it is referring to. Furthermore, there are 5 songs which I can not play, bought from the iTiunes store. Contacted the iTunes store - they "enabled" the download for those 5 songs. When I connect to the iTunes store, login and check for downloads etc. I get the error message:
    Unable to check for available downloads. Duplicate file name was specified.

    The way to fix this is
    1. Go to Computer
    2. Click Operating System Hard-Drive (C:)
    3. Scroll to Program Files (or) Program Files (x86)
    4. Scroll to iTunes, open it
    5. Find iTunes.exe
    6. Right Click and go to Properties
    7. Click Compatibility you will see something that stats
    Privilege level
    Run this program as an administrator.
    8. Click this and Click Apply and then Ok NOW Open iTunes
    This worked on mine let me know if it doesnt!

Maybe you are looking for