Error-System Type Initialization Exception occured in system data dll

 hello sir,
             because of transferring my project from one pc to another pc i am getting following error:
error massage:
first chance exception of type 'System.TypeInitializationException' occurred in System.Data.dll
Additional information: The type initializer for 'System.Data.Common.DbConnectionOptions' threw an exception.
If there is a handler for this exception, the program may be safely continued.
also attached image of error massage
so how to by pass this error
please help,
regards,
kavi-kalash

Hello,
>>because of transferring my project from one pc to another pc i am getting following error:
This seems to be related with an environment issue, please have a check the worked machine and the non-worked one, to compare if there are some difference.
>>If there is a handler for this exception, the program may be safely continued.
This could be due to missing references. Or it could be due to an error in the app config file. Is it possible for you to post your code about the connect part and the connection string? And here is an article describes how to process the first chance exception:
https://msdn.microsoft.com/en-us/library/dd997368(v=vs.110).aspx
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.

Similar Messages

  • Error "BBP_BD 002: An Exception occured" when changing doc type

    Hi All,
    We are using the BADI BBP_TARGET_OBJTYPE to determine a PR or PO and change the doc type if PR is determined.
    PR/PO is determined correctly but when we tried to assign new doc type for PR getting error "BBP_BD 002: An Exception occured" .
    Below is the code.
    IF wa_item-be_doc_type='ECPO'
          IF wa_item-catalogid IS INITIAL OR wa_item-catalogid CO space
            wa_item-pack_objtype = 'BUS2105'. "PR
            wa_item-be_doc_type = 'ECPR'
          ELSE.
            wa_item-pack_objtype = 'BUS2012'. "PO
          ENDIF.
          MODIFY ct_item FROM wa_item TRANSPORTING pack_objtype.
    END IF
    Can any one tell is this correct or do we need to modify anything?
    Thanks in advance,
    Jagadish
    Edited by: Jagdish Reddy on Aug 17, 2008 3:47 PM

    Hi Dave,
    Thanks for the prompt response!
    We are able to create PR but we want to tie the PR to doc type 'ECPR'. That is why added wa_item-be_doc_type='ECPR'
    If we take out this code it works fine and system creates a PR with doc type 'ECPO'. We do not want this. We want doc type 'ECPR'
    Where is obj_to_gen in the BADI? I do not see that. Is this ina any structure?
    Thanks again.
    Jagadish

  • Error: The type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule`1' threw an exception.

    having problems on new server so I followed instructions to remove Exchange Server 2013 Sp1 using ADSI edit p;er these instructions:
    http://blog.dargel.at/2012/11/20/complete-remove-exchange-2013-using-adsiedit/
    now when I re-run setup for exchange 2013 SP1 I get the error :    
    "Error: The type initializer for 'Microsoft.Exchange.Configuration.Tasks.ThrottlingModule`1' threw an exception."
    David Sheetz MCP

    contrary to what Ed says you can fix this, it is way harder than it should be and I have NEVER had this many issues on a  fresh build! 
    things to note on Exchange 2013
    1. IPv6 MUST work and also DNS set manually, verify port 25 is open on your firewalls!
    2. even if services are running make sure there are no errors in the application event log and check that all services on the Exchange server are set to ACTIVE. to find out type the below command in exchange management shell
    Get-ServerComponentState –Identity servername
    3. The group "everyone" did not have the right "Access this computer from the network". This could be seen by an audit failure in the security log stating that the user
    "<mailbox server name>" did not have the required login type (login type 3).
    Adding everyone to the "Access this computer from the network" right solved the issue. 
    To enable "Access this computer from the network" :
    Run "gpedit.msc"
    Navigate through
    Computer Configuration > Windows Settings > Security Settings > Local Policies > User Rights Assignment
    Double click
    on "Access this computer from the network", and ensure "Everyone" is added.
    4. verify all connectors are setup correctly
    Also I found an error in the event log Event
    ID: 1009 once I fixed that emails started to fly!
    To resolve the issue, use one of the following methods.
    Method 1
    Create a new Active Directory group that is named “ContentSubmitters,” and then grant Admistrators and NetworkService full access to the group. This is a dummy group and should be used as a placeholder only. You might want to add a description so that
    the group is not removed.
    Force or wait for Active Directory replication.
    Restart the following services:
    Microsoft Exchange Search
    Microsoft Exchange Search Host Controller
    Method 2
    You can also resolve this problem by removing a configuration entry that refers to the ContentSubmitters group. This entry is present in four files. Each file is calledWcfConfigurator.xml,
    and you can find each file in the following folder:
    %ExchangeInstallPath%\Bin\Search\Ceres\HostController\Data\Nodes\Fsis\<var style="border:0px;font-family:monospace, monospace;font-size:1em;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;">NODENAME</var>\Configuration\Local
    Here, “%ExchangeInstallPath%” is the Exchange installation root path (available in the environment variable of that name), and the placeholder <var style="border:0px;font-family:monospace, monospace;font-size:1em;font-style:inherit;font-weight:inherit;margin:0px;outline:0px;padding:0px;vertical-align:baseline;">NODENAME</var> represents
    one of the following names. (There is one name for each of the four files that are to be edited.)
    Helpful articles
    http://blog.dargel.at/2012/11/20/complete-remove-exchange-2013-using-adsiedit/
    http://exchangeserverpro.com/exchange-2013-manually-configure-dns-lookups/
    David Sheetz MCP

  • ITunes got an error: An error of type 9037 has occurred

    My playlist sometimes produces this error on play from a Applescript:
    "iTunes got an error: An error of type 9037 has occurred"
    It happens if it is a smart playlist or a playlist. I thought it may be due a bad podcast reference as there was one mp3 podcast file that couldn't be found.
    Any assistance in how to solve this or how to investigate further would be greatly appreciated.
    Jeff

    Hello Mowri,
    Well, I think that the 'file specication' problem is another story and is not the cause of error -10661 because kLSExecutableIncorrectFormat is to be thrown BEFORE the script is run.
    As for 'file specification' (typeFSS), it has been deprecated under OSX.
    Perhaps 10.6 has finished it.
    Instead you can use 'POSIX file' (typeFileURL) or 'file' (typeFile) for both existing and non-existing file system object. And 'alias' (typeAlias) for existing file system object.
    (Note that 'file' (typeFile) cannot be used by itself for some reason but only in conjunction with command.)
    For example, if you're using 'file specification' for 'open for access' command such as -
    set hfspath to "HFS:path:to:new file"
    set fss to hfspath as file specification -- # 'file specification' (typeFSS) is deprecated
    open for access fss with write permission
    you may use 'file' such as -
    set hfspath to "HFS:path:to:new file"
    --set f to hfspath as file -- # you cannot do this for some reason
    --set f to file hfspath -- # NG either
    open for access file hfspath with write permission -- # 'file' (typeFile) is OK in command parameter
    or 'POSIX file' such as -
    set posixpath to "/POSIX/path/to/new file"
    set furl to posixpath as POSIX file -- # 'POSIX file' (typeFileURL) is OK
    open for access furl with write permission
    Hope this may help,
    H
    Message was edited by: Hiroto (fixed typo)

  • Applescript with mysql problem (An error of type 1 has occured)

    Hi all!
    I'm quite new to scripting with applescript...
    Currently I'm trying to get applescript to connect to a remote mysql-database, and execute a insert-command.
    All is working fine, when I just use a select-command.
    But when I try to use my insert-query, I get this error:
    "An error of type 1 has occured".
    I've googled high and low, but cant seem to find out either if this is mysql returning the error-code or if it's applescript returning it.
    set mySQLList to {"/usr/local/mysql-5.1.30-osx10.5-x86/bin/", "/Library/mysql-5.1.30-osx10.5-x86/bin"}
    repeat with i from 1 to the count of mySQLList
         try
              set theResult to do shell script (item i of mySQLList) & "mysql -V"
              set gPathToMySQL to (item i of mySQLList)
              set haveFound to true
              exit repeat
         end try
    end repeat
    set gmySQLCommand to gPathToMySQL & "mysql"
    set theHost to "server"
    set theUser to "username"
    set thePassword to "password"
    set thePort to "3306"
    set theDatabase to "database"
    set theTable to "recivedMail"
    set theLoginString to " -h " & theHost & " -u " & theUser & "  --password=" & thePassword
    set dataBaseString to " -D " & "'" & theDatabase & "'"
    --set theCommand to gmySQLCommand & theLoginString & dataBaseString & " -e \"" & "select count(*) from recivedMail;" & "\""
    set theCommand to gmySQLCommand & theLoginString & dataBaseString & " -e \"" & "INSERT INTO database.recivedMail (sentTo,ticket,dateRecived) VALUES ('[email protected]', 'en ticket', '2009-01-21 17:15:56'); " & "\""
    -- set theCommand to gmySQLCommand & theLoginString & dataBaseString & " -e \"" & "SELECT COUNT(*) FROM recivedMail;" & "\""
    set theResult to ""
    --display dialog theCommand
    try
         set theResult to do shell script theCommand
    on error errMsg
         display dialog errMsg
    end try
    return theResult
    can someone here help me out?

    I just had the same problem you described below. I did some searching on the subject in the forums and there seems to be an issue with A.Pack on dual processor machines. I kept getting errors until I shut one of the processors off. The encoding went thru on the first attempt after that.
    There is a system preference pane called Processor that will allow you to shut off one of the processors. Then launch A.Pack and encode. I believe this preference pane is installed when you install the developer software with xcode. The developer software can be found on the Tiger install disc.
    Also, they have done away with A.Pack and this issue in DVDSP 4. Apparently A.Pack is integrated somehow into Compressor.
    Hope this helps. Good luck.
    Dual 1.25GHz   Mac OS X (10.4.3)   1.25GB Ram 22" Cinema & 17" Acer

  • Visual Studio Just-In-Time Debugger error "An unhandled win32 exception occurred in AcroRd32.exe [31

    I installed Reader X and when I tried opening it, I received a Visual Studio Just-in-time Debugger error "An unhandled win32 exception occurred in AcroRd32.exe [3116].  I uninstalled, rebooted and tried reinstalling and received the same error.
    I tried disabling the just in time debugger mentioned in http://www.programmerfish.com/disable-visual-studio-just-in-time-debugger/ and received the error "An unhandled win32 exception occurred in AcroRd32.exe [4080].  Just-in-time debugging this exception failed with the following error:  No installed debugger has just-in-time debugging enabled.  In Visual Studio, Just-in-time debugging can be enabled.....
    I do have Microsoft Visual Studio 2005 installed.
    Any ideas?

    We discovered that Reader X users that had an older version of PGP installed received this error. We implemented a registry change on these devices which resolved the issued. PGP recognized it was an incompatibility issue on their end, and supposedly, with the newer version of PGP it will be resolved.  In order to resolve this, try using Adobe Readers whitelisting feature.  Below are the steps to follow: 
      i.   Add a registry entry enabling the use of whitelisting:
           [HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Adobe\Acrobat Reader\10.0\FeatureLockDown]
           "bUseWhitelistConfigFile"=dword:00000001
      ii.  Create a whitelist file called "ProtectedModeWhitelistConfig.txt" and place it
           in the Adobe Reader executable path i.e. C:\Program Files\Adobe\Reader 10.0\Reader
      iii. The ProtectedModeWhitelistConfig.txt file will need to contain the string
           SECTION_ALLOW_ANY = *PGPhk*

  • Error:  APP-JA-460651: Exception Occured in Post Query of detail

    Hi All,
    I am getting the below error when I am trying to go to PO localized form from PO std form.
    APP-JA-460651: Exception Occured in Post Query of detail ORA-20120: Currency Conversion Rate Not Defined In The System.
    ORA-06512: at "APPS.JA_CURR_CONV", line 76
    Need help plz.

    Please also see if these docs help.
    India Receiving Transaction Processor Completes In Error "ORA-20120: Currency Conversion Rate Not Defined In The System" [ID 973447.1]
    R12:Interface Trip Stop Erroring out with Message " ORA-20001: ORA-20120: Currency Conversion Rate Not Defined In The System" [ID 1105698.1]
    India Receiving Transaction Processor Showing Following Message "ORA-20120: Currency Conversion Rate Not Defined In The System" [ID 987418.1]
    India Localization Purchase Order Screen Errors With ORA-6512 [ID 465081.1]
    WSHINTERFACES: ORA-20120 Currency Conversion Rate Not Defined In The System [ID 580260.1]
    Thanks,
    Hussein

  • Fatal initialization exception occurs when starting Managed Server

    Hi all,
    First I configured a Adminisistration server and started it. After that I added
    a another server as ManagedServer.These two points to the same Weblogic server.
    When I try to start Managed server by running the script, it gave me following
    error. _______________________________
    <Jun 25, 2001 5:25:11 PM GMT+06:00> <Emergency> <Server> <Unable to initialize
    the server: 'Fatal initialization exception Throwable: java.lang.IllegalAccessError:
    java.security.acl.NotOwnerException java.lang.IllegalAccessError: java.security.acl.NotOwnerException
    at weblogic.security.acl.Realm.getRealm(Realm.java:91) at weblogic.security.acl.Realm.getRealm(Realm.java:36)
    at weblogic.security.acl.Realm.authenticate(Realm.java:183) at weblogic.security.acl.Realm.getAuthenticatedName(Realm.java:233)
    at weblogic.security.acl.internal.Security.authenticate(Security.java:116) at
    weblogic.jndi.WLInitialContextFactoryDelegate.pushUser(WLInitialContextFactoryDelegate.java:444)
    at weblogic.jndi.WLInitialContextFactoryDelegate.newContext(WLInitialContextFactoryDelegate.java:287)
    at weblogic.jndi.WLInitialContextFactoryDelegate.getInitialContext(WLInitialContextFactoryDelegate.java:259)
    at weblogic.jndi.Environment.getContext(Environment.java:135) at weblogic.jndi.Environment.getInitialContext(Environment.java:118)
    at weblogic.management.Admin.initializeRemoteAdminHome(Admin.java:891) at weblogic.management.Admin.start(Admin.java:305)
    at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:331) at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
    at weblogic.Server.main(Server.java:35) ______________________________________________
    I suspect reason for this might be weblogic.policy file. There you need to edit
    some lines replacing the location of the directory in which you installed WebLogic
    Server. I did this but still error occurs.
    Do u have any idea why above error occurs and if it is due to the weblogic.policy
    file entry please tell me how it correctly done.
    I am using WL60(sp2)in Win NT,
    My installed dir: E:\bea\wlserver6.0\
    Thanks Nalika

    Hi
    (It was me and Berit that sent the original question).
    After some experimentation we saw that the managed server did get
    some configuration from the admin server, so the problem was in
    there somewhere.
    I had added an (empty) cluster and machine to the admin server, just
    to test adding. When I removed them everything worked fine afterward.
    So it was some kind of configuration error from our side, but we never
    did find out what it was.
    I guess the lesson is to only define things when you really need them :-)
    Regards
    Mikael
    Timothy Fry wrote:
    We're getting the same problem, but on Solaris 2.7.
    Did you get a solution from bea yet?
    Tim
    "Berit Bylund" <[email protected]> wrote in message
    news:[email protected]..
    Hello
    We are trying to start a managed server (under the examples
    domain, NT 4.0, WLS 6.0 Beta 2)
    We start the managed server with the parameter
    -Dweblogic.management.server=http://127.0.0.1:7001

  • Error: An unhandled win32 exception occurred in sqldeveloperW.exe[5832].

    When I have sqldeveloper open but not working in the tool for a time ( 1/2 hr ) it crashes. I selected the windows debug option and got the error listed in this thread's subject line. I have also noticed at times what I believe is a memory leak. What I have noticed is that I didn't have anything running in the tool at the time but in windows task manager the memory used was just running up. I have experienced where my box would freeze till sqldeveloper crashes. I have also experienced this by just starting the sqldeveloper and attaching to a DB only, not performing any other function, just watched memory run up till app crashed.
    runnig on Visita , java: 1.6.0_10 , slqldeveloper: Version 2.1.0.63
    Anyone else experience this or have an idea of the problem?

    Not an expert at JAVA but looks like GeoRaptor may be the issue, here is what I get:
    Meter Registry started
    Meter Dispatcher has been started
    Meter Updater has been started
    Load: C:\software_kjs\sql_developer\sqldeveloper-2.1.0.63.73\sqldeveloper\sqldev
    eloper\bin\jdev\extensions\GeoRaptorLibs\Settings.xml
    java.io.FileNotFoundException: C:\software_kjs\sql_developer\sqldeveloper-2.1.0.
    63.73\sqldeveloper\sqldeveloper\bin\jdev\extensions\GeoRaptorLibs\Settings.xml (
    The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:106)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at sun.net.www.protocol.file.FileURLConnection.connect(FileURLConnection
    .java:70)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(FileURLCon
    nection.java:161)
    at java.net.URL.openStream(URL.java:1009)
    at oracle.xml.parser.v2.XMLReader.openURL(XMLReader.java:2639)
    at oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:250)
    at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:221)
    at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:155)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:208)
    at org.GeoRaptor.MainSettings.load(Unknown Source)
    at org.GeoRaptor.PreferenceAddin.initialize(Unknown Source)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin(AddinManage
    rImpl.java:407)
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins(AddinManag
    erImpl.java:214)
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins(Ad
    dinManagerImpl.java:128)
    at oracle.ide.IdeCore.initProductAndUserAddins(IdeCore.java:1949)
    at oracle.ide.IdeCore.startupImpl(IdeCore.java:1573)
    at oracle.ide.Ide.startup(Ide.java:703)
    at oracle.ideimpl.DefaultIdeStarter.startIde(DefaultIdeStarter.java:35)
    at oracle.ideimpl.Main.start(Main.java:184)
    at oracle.ideimpl.Main.main(Main.java:146)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.PCLMain.callMain(PCLMain.java:62)
    at oracle.ide.boot.PCLMain.main(PCLMain.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.classloader.util.MainClass.invoke(MainClass.java:128)
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain(IdeLauncher.java:
    189)
    at oracle.ide.boot.IdeLauncher.launchImpl(IdeLauncher.java:89)
    at oracle.ide.boot.IdeLauncher.launch(IdeLauncher.java:65)
    at oracle.ide.boot.IdeLauncher.main(IdeLauncher.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.ide.boot.Launcher.invokeMain(Launcher.java:713)
    at oracle.ide.boot.Launcher.launchImpl(Launcher.java:115)
    at oracle.ide.boot.Launcher.launch(Launcher.java:68)
    at oracle.ide.boot.Launcher.main(Launcher.java:57)
    Exception initializing 'org.GeoRaptor.MenuControler' in extension 'GeoRaptor': o
    racle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.jdeveloper.cm.dt.browser.jdbc.TableNode
    Dependent class: org.GeoRaptor.MenuControler
    Loader: ide-global:11.1.1.0.0
    Code-Source: /C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73
    /sqldeveloper/sqldeveloper/extensions/org.GeoRaptor.jar
    Configuration: extension jar in C:\software_kjs\sql_developer\sqldevel
    oper-2.1.0.63.73\sqldeveloper\sqldeveloper\extensions
    The missing class is not available from any code-source or loader in the system.
    at oracle.classloader.PolicyClassLoader.handleClassNotFound (PolicyClass
    Loader.java:2180) [/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqlde
    veloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.p
    ath), by sun.misc.Launcher$AppClassLoader@24216257]
    at oracle.classloader.PolicyClassLoader.internalLoadClass (PolicyClassLo
    ader.java:1733) [/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldeve
    loper/modules/oracle.classloader_11.1.1.jar (from system property java.class.pat
    h), by sun.misc.Launcher$AppClassLoader@24216257]
    at oracle.classloader.PolicyClassLoader.access$000 (PolicyClassLoader.ja
    va:143) [/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/mo
    dules/oracle.classloader_11.1.1.jar (from system property java.class.path), by s
    un.misc.Launcher$AppClassLoader@24216257]
    at oracle.classloader.PolicyClassLoader$LoadClassAction.run (PolicyClass
    Loader.java:331) [/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldev
    eloper/modules/oracle.classloader_11.1.1.jar (from system property java.class.pa
    th), by sun.misc.Launcher$AppClassLoader@24216257]
    at java.security.AccessController.doPrivileged (Native method) [unknown,
    by unknown]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1692) [/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/mo
    dules/oracle.classloader_11.1.1.jar (from system property java.class.path), by s
    un.misc.Launcher$AppClassLoader@24216257]
    at oracle.classloader.PolicyClassLoader.loadClass (PolicyClassLoader.jav
    a:1674) [/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/mo
    dules/oracle.classloader_11.1.1.jar (from system property java.class.path), by s
    un.misc.Launcher$AppClassLoader@24216257]
    at java.lang.ClassLoader.loadClassInternal (ClassLoader.java:320) [jre b
    ootstrap, by jre.bootstrap:1.6.0_10]
    at org.GeoRaptor.MenuControler.initialize (Unknown source file) [/C:/sof
    tware_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/sqldeveloper/exten
    sions/org.GeoRaptor.jar (from extension jar in C:\software_kjs\sql_developer\sql
    developer-2.1.0.63.73\sqldeveloper\sqldeveloper\extensions), by ide-global:11.1.
    1.0.0]
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddin (AddinManag
    erImpl.java:407) [/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldev
    eloper/ide/lib/ideimpl.jar (from boot classpath entry in oracle.ide.boot.PCLMain
    .BOOT_ENTRIES), by ide-global:11.1.1.0.0]
    at oracle.ideimpl.extension.AddinManagerImpl.initializeAddins (AddinMana
    gerImpl.java:214) [/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqlde
    veloper/ide/lib/ideimpl.jar (from boot classpath entry in oracle.ide.boot.PCLMai
    n.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
    at oracle.ideimpl.extension.AddinManagerImpl.initProductAndUserAddins (A
    ddinManagerImpl.java:128) [/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.
    73/sqldeveloper/ide/lib/ideimpl.jar (from boot classpath entry in oracle.ide.boo
    t.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
    at oracle.ide.IdeCore.initProductAndUserAddins (IdeCore.java:1949) [/C:/
    software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/extensions/
    oracle.ide.jar (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIE
    S), by ide-global:11.1.1.0.0]
    at oracle.ide.IdeCore.startupImpl (IdeCore.java:1573) [/C:/software_kjs/
    sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/extensions/oracle.ide.ja
    r (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-gl
    obal:11.1.1.0.0]
    at oracle.ide.Ide.startup (Ide.java:703) [/C:/software_kjs/sql_developer
    /sqldeveloper-2.1.0.63.73/sqldeveloper/ide/extensions/oracle.ide.jar (from boot
    classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0
    .0]
    at oracle.ideimpl.DefaultIdeStarter.startIde (DefaultIdeStarter.java:35)
    [/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/lib/i
    deimpl.jar (from boot classpath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES),
    by ide-global:11.1.1.0.0]
    at oracle.ideimpl.Main.start (Main.java:184) [/C:/software_kjs/sql_devel
    oper/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/lib/ideimpl.jar (from boot classp
    ath entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
    at oracle.ideimpl.Main.main (Main.java:146) [/C:/software_kjs/sql_develo
    per/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/lib/ideimpl.jar (from boot classpa
    th entry in oracle.ide.boot.PCLMain.BOOT_ENTRIES), by ide-global:11.1.1.0.0]
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
    at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknow
    n]
    at oracle.ide.boot.PCLMain.callMain (PCLMain.java:62) [/C:/software_kjs/
    sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/lib/ide-boot.jar (from <
    classpath> in /file:/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqld
    eveloper/ide/extensions/oracle.ide.jar!/META-INF/extension.xml), by sun.misc.Lau
    ncher$AppClassLoader@24216257]
    at oracle.ide.boot.PCLMain.main (PCLMain.java:54) [/C:/software_kjs/sql_
    developer/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/lib/ide-boot.jar (from <clas
    spath> in /file:/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldevel
    oper/ide/extensions/oracle.ide.jar!/META-INF/extension.xml), by sun.misc.Launche
    r$AppClassLoader@24216257]
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
    at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknow
    n]
    at oracle.classloader.util.MainClass.invoke (MainClass.java:128) [/C:/so
    ftware_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/modules/oracle.cl
    assloader_11.1.1.jar (from system property java.class.path), by sun.misc.Launche
    r$AppClassLoader@24216257]
    at oracle.ide.boot.IdeLauncher.bootClassLoadersAndMain (IdeLauncher.java
    :189) [/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/
    lib/ide-boot.jar (from <classpath> in /file:/C:/software_kjs/sql_developer/sqlde
    veloper-2.1.0.63.73/sqldeveloper/ide/extensions/oracle.ide.jar!/META-INF/extensi
    on.xml), by sun.misc.Launcher$AppClassLoader@24216257]
    at oracle.ide.boot.IdeLauncher.launchImpl (IdeLauncher.java:89) [/C:/sof
    tware_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/lib/ide-boot.j
    ar (from <classpath> in /file:/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.
    63.73/sqldeveloper/ide/extensions/oracle.ide.jar!/META-INF/extension.xml), by su
    n.misc.Launcher$AppClassLoader@24216257]
    at oracle.ide.boot.IdeLauncher.launch (IdeLauncher.java:65) [/C:/softwar
    e_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/lib/ide-boot.jar (
    from <classpath> in /file:/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.7
    3/sqldeveloper/ide/extensions/oracle.ide.jar!/META-INF/extension.xml), by sun.mi
    sc.Launcher$AppClassLoader@24216257]
    at oracle.ide.boot.IdeLauncher.main (IdeLauncher.java:54) [/C:/software_
    kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/lib/ide-boot.jar (fr
    om <classpath> in /file:/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/
    sqldeveloper/ide/extensions/oracle.ide.jar!/META-INF/extension.xml), by sun.misc
    .Launcher$AppClassLoader@24216257]
    at sun.reflect.NativeMethodAccessorImpl.invoke0 (Native method) [unknown
    , by unknown]
    at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl
    .java:39) [unknown, by unknown]
    at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAcce
    ssorImpl.java:25) [unknown, by unknown]
    at java.lang.reflect.Method.invoke (Method.java:597) [unknown, by unknow
    n]
    at oracle.ide.boot.Launcher.invokeMain (Launcher.java:713) [/C:/software
    kjs/sqldeveloper/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/lib/ide-boot.jar (f
    rom <classpath> in /file:/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73
    /sqldeveloper/ide/extensions/oracle.ide.jar!/META-INF/extension.xml), by sun.mis
    c.Launcher$AppClassLoader@24216257]
    at oracle.ide.boot.Launcher.launchImpl (Launcher.java:115) [/C:/software
    kjs/sqldeveloper/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/lib/ide-boot.jar (f
    rom <classpath> in /file:/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73
    /sqldeveloper/ide/extensions/oracle.ide.jar!/META-INF/extension.xml), by sun.mis
    c.Launcher$AppClassLoader@24216257]
    at oracle.ide.boot.Launcher.launch (Launcher.java:68) [/C:/software_kjs/
    sql_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/lib/ide-boot.jar (from <
    classpath> in /file:/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqld
    eveloper/ide/extensions/oracle.ide.jar!/META-INF/extension.xml), by sun.misc.Lau
    ncher$AppClassLoader@24216257]
    at oracle.ide.boot.Launcher.main (Launcher.java:57) [/C:/software_kjs/sq
    l_developer/sqldeveloper-2.1.0.63.73/sqldeveloper/ide/lib/ide-boot.jar (from <cl
    asspath> in /file:/C:/software_kjs/sql_developer/sqldeveloper-2.1.0.63.73/sqldev
    eloper/ide/extensions/oracle.ide.jar!/META-INF/extension.xml), by sun.misc.Launc
    her$AppClassLoader@24216257]
    ** Data Mining CodeGenerator was initialized **
    * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

  • Recurring crash in WWAHost.exe: Error: "An unhandled win32 exception occurred in WWAHost.exe[]". How to diagnose/fix?

    It's now 4days, I keep getting this Error from Start up. Am using
    windows8.1, since about a year now, first time I get any Error.
    I can't tell what really caused it, I am a Web/Desktop programmer and for the past 1 month, I haven't done any
    Desktop programming or windows store Apps, am just using Dreamweaver and
    Firefox for my Current E-commerce Web Apps, now for the past
    4days, this is happening...
    One recurring problem is the following dialog, which
    pops up every few second, and it's annoyingly annoying.

    Hi Erick,
    Did this error appear when you test your Dreamweaver application using Just-In-Time Debugger?
    This problem may because the absolute path of the shell resides in the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\shell with a value c:\windows\explorer.exe or c:\winnt\explorer.exe.
    To resolve this problem, modify the value of the registry key: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\shell with a value explorer.exe.
    For the details, please refer to this article:
    BUG: You receive an "Unhandled Win32 exception" error message you use the Just-In-Time (JIT) debugger
    https://support2.microsoft.com/kb/811191?wa=wsignin1.0
    In addition, I suggest you ask MSDN forum for more professional help:
    https://social.msdn.microsoft.com/Forums/vstudio/en-US/home?forum=vsdebug
    Karen Hu
    TechNet Community Support

  • The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. InnerException: Requested registry access is not allowed.

    I have read some of the other posts for people that got this error, but none seem to apply to me.
    My program has been working for weeks.  I made some minor changes, and started getting the error (full details below).
    I did a TFS "undo pending changes" and still getting the same error, even after logging off.  The one odd thing is that I did change my Windows password this week. The connection string is using a SQL user id and password that has no issues.
    I'm an Admin own my own box (running WIn XP SP3).  I even tried "Run as Admin" on Visual Studio.
    I'm doing a Debug-Start, running a Console-Test-Program that calls a WCF service, which on local machine is hosted by "ASP.NET Development Server".
    We have two other developers, one has the same problem, one does not.  In theory, we have all done "get latest" and are running the same code.
    The SQL Connection is related to a trace database; we are using this library http://ukadcdiagnostics.codeplex.com which has worked fine for months.
    When I do "Start Run" in Visual Studio, I get this error:
    {"The type initializer for 'System.Data.SqlClient.SqlConnection' threw an exception. "}
    with InnerException: {"The type initializer for 'System.Data.SqlClient.SqlConnectionFactory' threw an exception."}
    and it has InnerException: {"Requested registry access is not allowed. "}
    Outmost StackTrace:
       at System.Data.SqlClient.SqlConnection..ctor()
       at System.Data.SqlClient.SqlConnection..ctor(String connectionString)
       at FRB.Diagnostics.Listeners.SqlDataAccessCommand..ctor(String connectionString, String commandText, CommandType commandType)
       at FRB.Diagnostics.Listeners.SqlDataAccessAdapter.CreateCommand()
       at FRB.Diagnostics.Listeners.SqlTraceListener.TraceEventCore(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
       at FRB.Diagnostics.Listeners.CustomTraceListener.FilterTraceEventCore(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String message)
       at FRB.Diagnostics.Listeners.CustomTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args)
       at System.Diagnostics.TraceSource.TraceEvent(TraceEventType eventType, Int32 id, String format, Object[] args)
       at System.Diagnostics.TraceSource.TraceInformation(String message)
       at FRB.EC.AdminService.AdminService.TestHelloWorldWithTrace(String name)
       at SyncInvokeTestHelloWorldWithTrace(Object , Object[] , Object[] )
       at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs)
       at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc)
    Second Inner StackTrace:
       at System.Data.SqlClient.SqlConnection..cctor()
    Third Inner StackTrace:
          at System.Data.SqlClient.SqlConnectionFactory..cctor()
    When I do "Run as Admin", I get this error:
    {"Could not load file or assembly 'FRB.EFDataAccess, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. Access is denied. "}
    Server stack trace:
       at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at FRB.EC.AdminService.ConsoleTester.svcRef.IAdminService.GetDispositionStatusTypeList()
       at FRB.EC.AdminService.ConsoleTester.svcRef.AdminServiceClient.GetDispositionStatusTypeList() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\Service References\svcRef\Reference.cs:line 2459
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.GetDispositionStatusTypeList() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 565
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.ExecuteNewRelease103QueryMethods() in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 189
       at FRB.EC.AdminService.ConsoleTester.ConsoleProgram.Main(String[] args) in C:\SourceEagleConnect\EagleConnect\Dev\WCFServices\FRB.EC.AdminService.ConsoleTester\ConsoleProgram.cs:line 76
       at System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
       at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
       at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
       at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
       at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
       at System.Threading.ThreadHelper.ThreadStart()
    I am also posting the web.config/app.config, but I would rather not focus on that since there were absolutely no changes to it between the time it was working and the time it began failing. 
    Client app.config
    <?xml version="1.0" encoding="utf-8" ?>
    <configuration>
      <connectionStrings>
      </connectionStrings>
      <system.serviceModel>
        <behaviors>
          <serviceBehaviors>
            <behavior name="ServiceBehavior">
              <serviceMetadata httpGetEnabled="true"/>
              <serviceDebug includeExceptionDetailInFaults="false"/>
              <serviceAuthorization impersonateCallerForAllOperations="true"/>
            </behavior>
          </serviceBehaviors>
          <endpointBehaviors>
            <behavior name="FRB.AllowImpersonate">
              <clientCredentials>
                <windows allowedImpersonationLevel="Impersonation"/>
              </clientCredentials>
            </behavior>
          </endpointBehaviors>
        </behaviors>
        <bindings>
          <wsHttpBinding>
            <binding name="WSHttpBinding_IAdminService" closeTimeout="00:01:00"
              openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
              bypassProxyOnLocal="false" transactionFlow="false" hostNameComparisonMode="StrongWildcard"
              maxBufferPoolSize="524288" maxReceivedMessageSize="5565536"
              messageEncoding="Text" textEncoding="utf-8" useDefaultWebProxy="true"
              allowCookies="false">
              <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
                maxBytesPerRead="4096" maxNameTableCharCount="16384" />
              <reliableSession ordered="true" inactivityTimeout="00:10:00"
                enabled="false" />
              <security mode="Message">
                <transport clientCredentialType="Windows" proxyCredentialType="None"
                  realm="" />
                <message clientCredentialType="Windows" negotiateServiceCredential="true"
                  algorithmSuite="Default" />
              </security>
            </binding>
          </wsHttpBinding>
        </bindings>
            <client>
                  <endpoint address="http://localhost:3588/AdminService.svc" binding="wsHttpBinding"
                        bindingConfiguration="WSHttpBinding_IAdminService" contract="svcRef.IAdminService"
                        name="WSHttpBinding_IAdminService">
                        <identity>
                              <dns value="localhost" />
                        </identity>
                  </endpoint>
            </client>
        </system.serviceModel>
    </configuration>
    web.config of WCF service:
      <?xml version="1.0"?>
    <configuration>
        <configSections>
        <section name="FRB.Diagnostics" type="FRB.Diagnostics.Configuration.UkadcDiagnosticsSection, FRB.Diagnostics"/>
      </configSections>
        <appSettings>
           <!-- whatever goes here -->
        </appSettings>
        <!-- connection string section -->
      <connectionStrings>
        <add name="log" connectionString="Data Source=myserver;Initial Catalog=ECWCFLOG_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True" providerName="System.Data.SqlClient"/>
        <add name="DBConn" connectionString="Data Source=myserver;Initial Catalog=ECData_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True" providerName="System.Data.SqlClient"/>
        <add name="EagleConnectEntities" connectionString="metadata=res://*/EagleConnect.csdl|res://*/EagleConnect.ssdl|res://*/EagleConnect.msl;provider=System.Data.SqlClient;provider connection string=&quot;Data Source=myserver;Initial
    Catalog=ECData_SharedDev;User ID=myuser;Password=mypass;MultipleActiveResultSets=True&quot;" providerName="System.Data.EntityClient"/>
      </connectionStrings>
        <!-- FRB.Diagnostics logging section -->
        <FRB.Diagnostics>
            <sqlTraceListeners>
                <sqlTraceListener name="sqlTraceListenerSettings"
                            connectionStringName="log"
                            commandText="INSERT INTO LogStore VALUES(@Source, @ActivityId, @ProcessId, @ThreadId, @EventType, @Message, @Timestamp)"
                            commandType="Text">
                    <parameters>
                        <parameter name="@Source" propertyToken="{Source}"/>
                        <parameter name="@ActivityId" propertyToken="{ActivityId}"/>
                        <parameter name="@ProcessId" propertyToken="{ProcessId}"/>
                        <parameter name="@ThreadId" propertyToken="{ThreadId}"/>
                        <parameter name="@EventType" propertyToken="{EventType}" callToString="true"/>
                        <parameter name="@Message" propertyToken="{Message}"/>
                        <parameter name="@Timestamp" propertyToken="{DateTime}"/>
              <!-- <parameter name="@UserId" propertyToken="{WindowsIdentity}"/> -->
            </parameters>
                </sqlTraceListener>
            </sqlTraceListeners>
            <smtpTraceListeners>
                <smtpTraceListener name="smtpTraceListenerSettings"
                             host="vssmtp"
                             port="25"
                             from="[email protected]"
                             to="[email protected]"
                             subject="AdminService Logging Event: {EventType}, {MachineName}"
                             body="{Message}&#xA;=======&#xA;Process={ProcessId},&#xA;Thread={ThreadId},&#xA;ActivityId={ActivityId}"/>
            </smtpTraceListeners>
        </FRB.Diagnostics>
        <!-- System.Diagnostics logging section -->
        <system.diagnostics>
            <sources>
                <source name="FRB.EC.AdminService" switchValue="All">
                    <listeners>
                        <clear/>
                        <add name="ods"/>
                        <add name="smtp"/>
                        <add name="sql"/>
                    </listeners>
                </source>
                <source name="System.ServiceModel" switchValue="Off" propagateActivity="true">
                    <listeners>
                        <add name="ignored" type="System.Diagnostics.ConsoleTraceListener"/>
                    </listeners>
                </source>
            </sources>
            <sharedListeners>
                <!-- OutputDebugStringTraceListener -->
                <add name="ods"
               type="FRB.Diagnostics.Listeners.OutputDebugStringTraceListener, FRB.Diagnostics"
               initializeData="{ActivityId}|{EventType}: {Message} - {DateTime}, Process={ProcessId}, Thread={ThreadId}"/>
                <!-- SqlTraceListener -->
                <add name="sql"
               type="FRB.Diagnostics.Listeners.SqlTraceListener, FRB.Diagnostics"
               initializeData="sqlTraceListenerSettings"
               traceOutputOptions="Timestamp"/>
                <!-- SmtpTraceListener -->
                <add name="smtp"
               type="FRB.Diagnostics.Listeners.SmtpTraceListener, FRB.Diagnostics"
               initializeData="smtpTraceListenerSettings">
                       <filter type="System.Diagnostics.EventTypeFilter"
                       initializeData="Error"/>
                </add>
            </sharedListeners>
            <trace autoflush="true"/>
        </system.diagnostics>
        <system.web>
        <compilation debug="true" targetFramework="4.0">
        </compilation>
            <roleManager enabled="true" defaultProvider="AspNetWindowsTokenRoleProvider"/>
        </system.web>
        <system.serviceModel>
            <services>
                <service name="FRB.EC.AdminService.AdminService"
                   behaviorConfiguration="FRB.EC.AdminService.AdminServiceBehavior">
                    <!-- Service Endpoints -->
                    <endpoint address="" binding="wsHttpBinding"
                      bindingConfiguration="wsHttpEndpointBinding"
                      contract="FRB.EC.AdminService.IAdminService">
                        <!--
                  Upon deployment, the following identity element should be removed or replaced to reflect the
                  identity under which the deployed service runs. 
                  If removed, WCF will infer an appropriate identity automatically.
              -->
                        <identity>
                            <dns value="localhost"/>
                        </identity>
                    </endpoint>
                    <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange"/>
                </service>
            </services>
            <bindings>
                <wsHttpBinding>
                    <binding name="wsHttpEndpointBinding"
                     maxBufferPoolSize="2147483647"
                     maxReceivedMessageSize="500000000">
                        <readerQuotas maxDepth="2147483647"
                            maxStringContentLength="2147483647"
                            maxArrayLength="2147483647"
                            maxBytesPerRead="2147483647"
                            maxNameTableCharCount="2147483647"/>
                        <security>
                            <message clientCredentialType="Windows"/>
                        </security>
                    </binding>
                </wsHttpBinding>
            </bindings>
            <behaviors>
                <serviceBehaviors>
                    <behavior name="FRB.EC.AdminService.AdminServiceBehavior">
                        <!-- To avoid disclosing metadata information, set the value below to false and
                   remove the metadata endpoint above before deployment -->
                        <serviceMetadata httpGetEnabled="true"/>
                        <!-- To receive exception details in faults for debugging purposes, set the value below to true. 
                   Set to false before deployment to avoid disclosing exception information -->
                        <serviceDebug includeExceptionDetailInFaults="true"/>
                        <serviceCredentials>
                        </serviceCredentials>
                        <!--<serviceAuthorization principalPermissionMode="UseAspNetRoles"
                    roleProviderName="AspNetWindowsTokenRoleProvider"/>-->
                        <serviceAuthorization principalPermissionMode="UseWindowsGroups"
                                    impersonateCallerForAllOperations="true"/>
                    </behavior>
                    <behavior name="FRB.EC.AdminService.IAdminServiceTransportBehavior">
                        <!-- To avoid disclosing metadata information, set the value below to false and
                   remove the metadata endpoint above before deployment -->
                        <serviceMetadata httpGetEnabled="true"/>
                        <!-- To receive exception details in faults for debugging purposes, set the value below to true. 
                   Set to false before deployment to avoid disclosing exception information -->
                        <serviceDebug includeExceptionDetailInFaults="false"/>
                        <serviceCredentials>
                            <clientCertificate>
                                <authentication certificateValidationMode="PeerTrust"/>
                                <!--<authentication certificateValidationMode="Custom" customCertificateValidatorType="DataFactionServices.FRBX509CertificateValidator"/>-->
                            </clientCertificate>
                            <serviceCertificate findValue="WCfServer"
                                    storeLocation="LocalMachine"
                                    storeName="My" x509FindType="FindBySubjectName"/>
                        </serviceCredentials>
                    </behavior>
                </serviceBehaviors>
            </behaviors>
            <serviceHostingEnvironment multipleSiteBindingsEnabled="true"/>
        </system.serviceModel>
        <system.webServer>
            <modules runAllManagedModulesForAllRequests="true"/>
        </system.webServer>
    </configuration>
    Thanks for any help.
    Neal

    I think I found it... this is sure a strange error for what is really happening.
    Apparently it had happened to me before, and fortuantely, I actually added the following comment:
                // Above is related to the WCFLOG SQL Diagnostics Trace 
                // If you get error here an inner exception "requested registry access is not allowed"
                // inside exception "type initializer for System.Data.SqlClient.SqlConnection"
                // then make sure you have impersonation enabled in your client.
                // See AdminConsole web.config or FRB.EC.AdminService.ConsoleTester.app.config for examples
    Now I think I will do a try catch and spit out the same text.
    Still testing to assure that this really was the issue.
          <endpointBehaviors>
            <behavior name="FRB.AllowImpersonate ">
              <clientCredentials>
                <windows allowedImpersonationLevel="Impersonation"/>
              </clientCredentials>
            </behavior>
          </endpointBehaviors>
    The line below in BOLD below is what somehow seemed to disappear from my app.config - probably due to a TFS human error - still checking that also:
            <client>
                  <endpoint address="http://localhost:4998/AdminService.svc"
                                  behaviorConfiguration="FRB.AllowImpersonate"
                                  binding="wsHttpBinding"
                                  bindingConfiguration="WSHttpBinding_IAdminService"
                                 contract="svcRef.IAdminService"
                            name="WSHttpBinding_IAdminService">
                        <identity>
                              <dns value="localhost" />
                        </identity>
                  </endpoint>
            </client>
    Here's how I "idiot-proofed" this error for now, to give an error that actually at least points to a solution:
            public SqlDataAccessCommand(string connectionString, string commandText, CommandType commandType)
                try
                    _connection = new SqlConnection(connectionString);
                    // Above is related to the WCFLOG SQL Diagnostics Trace  
                    // If you get error here an inner exception "requested registry access is not allowed"
                    // inside exception "type initializer for System.Data.SqlClient.SqlConnection"
                    // then make sure you have impersonation enabled in your client.
                    // See AdminConsole web.config or FRB.EC.AdminService.ConsoleTester.app.config for examples
                catch (Exception ex)
                    if (ex.ToString().Contains("The type initializer for"))
                    throw new System.ApplicationException(@"
                    Your client app <endpoint> must be cofigured have a
                  'behaviorConfiguration' attribute like this:
                    behaviorConfiguration='FRB.AllowImpersonate'
                   that points back to a behavior that has this syntax:         
              <behavior name='FRB.AllowImpersonate'>
                 <clientCredentials>
                     <windows allowedImpersonationLevel='Impersonation'/>
                 </clientCredentials>
              </behavior>
              ", ex);
                   else
                        throw ex;
                _command = _connection.CreateCommand();
                _command.CommandText = commandText;
                _command.CommandType = commandType;
                // TODO _command.CommandTimeout = ;
    Neal

  • Endpoint Protection on System Center 2012 Configuration Manager Unhandled exception occurred in your application after changing the excluded files and locations

    I added a number of folders and files in the excluded files and locations and after that I am unable to access the Antimalware Policies it gives the following error( I am new at sccm):
    Unhandled exception occurred in your application. If you click continue the application will ignore this error and attempt to continue. I you click quit the application will close immediately
    Object reference not set to an instance of an oblect
    With the following details:
    See the end of this message for details on invoking
    just-in-time (JIT) debugging instead of this dialog box.
    ************** Exception Text **************
    System.NullReferenceException: Object reference not set to an instance of an object.
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryPropertySingleItem.get_BooleanValue()
       at Microsoft.ConfigurationManagement.AdminConsole.ClientAgentSettings.Utilities.CreateSCIResultObject(IResultObject antimalwareResultObject)
       at Microsoft.ConfigurationManagement.AdminConsole.ClientAgentSettings.Utilities.LoadDefaultSettingObjects(ConnectionManagerBase connectionManager, Dictionary`2& defaultSettingObjects, DialogType dialogType)
       at Microsoft.ConfigurationManagement.AdminConsole.ClientAgentSettings.HomePageControl.InitializePageControl()
       at Microsoft.ConfigurationManagement.AdminConsole.SccmPageControlDialog.OnLoad(EventArgs e)
       at System.Windows.Forms.Form.OnCreateControl()
       at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
       at System.Windows.Forms.Control.CreateControl()
       at System.Windows.Forms.Control.WmShowWindow(Message& m)
       at System.Windows.Forms.Control.WndProc(Message& m)
       at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
       at System.Windows.Forms.ContainerControl.WndProc(Message& m)
       at System.Windows.Forms.Form.WmShowWindow(Message& m)
       at System.Windows.Forms.Form.WndProc(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
       at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
       at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
    ************** Loaded Assemblies **************
    mscorlib
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18051 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
    Microsoft.ConfigurationManagement
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.ConfigurationManagement.exe
    System.Drawing
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18022 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
    System
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18045 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
    System.Windows.Forms
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18046 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
    Microsoft.EnterpriseManagement.UI.ConsoleFramework
        Assembly Version: 7.1.1000.0
        Win32 Version: 7.1.3825.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.EnterpriseManagement.UI.ConsoleFramework.DLL
    Microsoft.ConfigurationManagement.ManagementProvider
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.ConfigurationManagement.ManagementProvider.DLL
    System.Xml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Microsoft.EnterpriseManagement.UI.Foundation
        Assembly Version: 7.1.1000.0
        Win32 Version: 7.1.3825.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.EnterpriseManagement.UI.Foundation.DLL
    System.Core
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
    System.ServiceModel.Web
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18045 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Web/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Web.dll
    System.ServiceModel
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18056 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel/v4.0_4.0.0.0__b77a5c561934e089/System.ServiceModel.dll
    SMDiagnostics
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/SMDiagnostics/v4.0_4.0.0.0__b77a5c561934e089/SMDiagnostics.dll
    System.ServiceModel.Internals
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.ServiceModel.Internals/v4.0_4.0.0.0__31bf3856ad364e35/System.ServiceModel.Internals.dll
    PresentationFramework
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18058
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.dll
    WindowsBase
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
    PresentationCore
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/PresentationCore/v4.0_4.0.0.0__31bf3856ad364e35/PresentationCore.dll
    System.Xaml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18016 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xaml/v4.0_4.0.0.0__b77a5c561934e089/System.Xaml.dll
    System.Configuration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
    AdminUI.SmsTraceListener
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.SmsTraceListener.DLL
    Microsoft.GeneratedCode
        Assembly Version: 1.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Microsoft.EnterpriseManagement.UI.ConsoleFramework.resources
        Assembly Version: 7.1.1000.0
        Win32 Version: 7.1.3825.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/en/Microsoft.EnterpriseManagement.UI.ConsoleFramework.resources.DLL
    Microsoft.EnterpriseManagement.UI.RibbonConsole
        Assembly Version: 1.0.523.0
        Win32 Version: 3.0.2085.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.EnterpriseManagement.UI.RibbonConsole.DLL
    RibbonControlsLibrary
        Assembly Version: 3.5.41019.1
        Win32 Version: 3.5.41019.1
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/RibbonControlsLibrary.DLL
    PresentationFramework.AeroLite
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18046 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.AeroLite/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.AeroLite.dll
    Microsoft.EnterpriseManagement.UI.RibbonLayout
        Assembly Version: 1.0.523.0
        Win32 Version: 3.0.2085.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.EnterpriseManagement.UI.RibbonLayout.DLL
    Microsoft.Windows.Shell
        Assembly Version: 3.5.41019.1
        Win32 Version: 3.5.41019.1
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.Windows.Shell.DLL
    Microsoft.VirtualManager.UI.ViewModel.Core
        Assembly Version: 1.0.523.0
        Win32 Version: 3.0.2085.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.VirtualManager.UI.ViewModel.Core.DLL
    Microsoft.EnterpriseManagement.UI.Controls
        Assembly Version: 7.1.1000.0
        Win32 Version: 7.1.3825.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.EnterpriseManagement.UI.Controls.DLL
    Microsoft.EnterpriseManagement.UI.RibbonData
        Assembly Version: 1.0.523.0
        Win32 Version: 3.0.2085.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.EnterpriseManagement.UI.RibbonData.DLL
    AdminUI.HelpSystem
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.HelpSystem.DLL
    AdminUI.UIResources
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.UIResources.DLL
    AdminUI.PersonalFolders
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.PersonalFolders.DLL
    AdminUI.ConsoleGlobalSearchView
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.ConsoleGlobalSearchView.DLL
    PresentationFramework.Classic
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Classic/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Classic.dll
    Microsoft.EnterpriseManagement.UI.Controls.resources
        Assembly Version: 7.1.1000.0
        Win32 Version: 7.1.3825.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/en/Microsoft.EnterpriseManagement.UI.Controls.resources.DLL
    WindowsFormsIntegration
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/WindowsFormsIntegration/v4.0_4.0.0.0__31bf3856ad364e35/WindowsFormsIntegration.dll
    PresentationFramework-SystemXml
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemXml/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemXml.dll
    PresentationFramework.Aero
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework.Aero/v4.0_4.0.0.0__31bf3856ad364e35/PresentationFramework.Aero.dll
    PresentationFramework-SystemCore
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemCore/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemCore.dll
    UIAutomationProvider
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationProvider/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationProvider.dll
    UIAutomationTypes
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/UIAutomationTypes/v4.0_4.0.0.0__31bf3856ad364e35/UIAutomationTypes.dll
    AdminUI.Controls
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.Controls.DLL
    AdminUI.Common
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.Common.DLL
    Microsoft.EnterpriseManagement.UI.WpfViews
        Assembly Version: 7.1.1000.0
        Win32 Version: 7.1.3825.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.EnterpriseManagement.UI.WpfViews.DLL
    Microsoft.EnterpriseManagement.UI.ViewFramework
        Assembly Version: 7.1.1000.0
        Win32 Version: 7.1.3825.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.EnterpriseManagement.UI.ViewFramework.DLL
    Microsoft.GeneratedCode
        Assembly Version: 1.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Management
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll
    AdminUI.WqlQueryEngine
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.WqlQueryEngine.DLL
    AdminUI.WqlInitializer
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.WqlInitializer.DLL
    Microsoft.GeneratedCode
        Assembly Version: 1.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Microsoft.GeneratedCode
        Assembly Version: 1.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    AdminUI.CollectionMenuActions
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.CollectionMenuActions.DLL
    Microsoft.GeneratedCode
        Assembly Version: 1.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    AdminUI.OSImage
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.OSImage.DLL
    AdminUI.AssetIntelligence
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.AssetIntelligence.DLL
    AdminUI.SoftwareMeteringRule
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.SoftwareMeteringRule.DLL
    AdminUI.DcmProperties
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.DcmProperties.DLL
    AdminUI.UsmPolicy
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.UsmPolicy.DLL
    AdminUI.ClientAgentSettings
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.ClientAgentSettings.DLL
    AdminUI.FirewallPolicy
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.FirewallPolicy.DLL
    AdminUI.LegacySWD
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.LegacySWD.DLL
    AdminUI.ConditionalDeliveryRule
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.ConditionalDeliveryRule.DLL
    AdminUI.VirtualEnvironment
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.VirtualEnvironment.DLL
    AdminUI.SideloadKeys
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.SideloadKeys.DLL
    AdminUI.SoftwareUpdateProperties
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.SoftwareUpdateProperties.DLL
    AdminUI.Driver
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.Driver.DLL
    AdminUI.DriverPackage
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.DriverPackage.DLL
    AdminUI.Subscriptions
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.Subscriptions.DLL
    AdminUI.Queries
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.Queries.DLL
    AdminUI.SrsReporting
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.SrsReporting.DLL
    AdminUI.SiteHierarchyVisualization
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.SiteHierarchyVisualization.DLL
    AdminUI.SystemStatus
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.SystemStatus.DLL
    AdminUI.ClientOperation
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.ClientOperation.DLL
    AdminUI.ClientHealth
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.ClientHealth.DLL
    AdminUI.ContentMonitoring
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.ContentMonitoring.DLL
    AdminUI.AntiMalware
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.AntiMalware.DLL
    AdminUI.CloudServiceRoles
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.CloudServiceRoles.DLL
    AdminUI.SiteHierarchy
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.SiteHierarchy.DLL
    AdminUI.SiteBoundaries
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.SiteBoundaries.DLL
    AdminUI.ExchangeConnector
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.ExchangeConnector.DLL
    AdminUI.Addresses
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.Addresses.DLL
    AdminUI.ActiveDirectory
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.ActiveDirectory.DLL
    AdminUI.AzureServices
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.AzureServices.DLL
    AdminUI.RbacUser
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.RbacUser.DLL
    AdminUI.RbacRole
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.RbacRole.DLL
    AdminUI.RbacCategory
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.RbacCategory.DLL
    AdminUI.Package
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.Package.DLL
    AdminUI.Certificate
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.Certificate.DLL
    AdminUI.SiteSystems
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.SiteSystems.DLL
    AdminUI.HomePageView
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.HomePageView.DLL
    Microsoft.EnterpriseManagement.UI.WpfViews.resources
        Assembly Version: 7.1.1000.0
        Win32 Version: 7.1.3825.0
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/en/Microsoft.EnterpriseManagement.UI.WpfViews.resources.DLL
    Microsoft.GeneratedCode
        Assembly Version: 1.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    AdminUI.ViewCommon
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.ViewCommon.DLL
    Microsoft.GeneratedCode
        Assembly Version: 1.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    Microsoft.GeneratedCode
        Assembly Version: 1.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    AdminUI.AICustomizeCatalog
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.AICustomizeCatalog.DLL
    AdminUI.AISoftwareProducts
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.AISoftwareProducts.DLL
    AdminUI.ConsoleView
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.ConsoleView.DLL
    AdminUI.External.Controls
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.External.Controls.DLL
    Microsoft.GeneratedCode
        Assembly Version: 1.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    System.Data
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.18046 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
    System.Numerics
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
    PresentationFramework-SystemData
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/PresentationFramework-SystemData/v4.0_4.0.0.0__b77a5c561934e089/PresentationFramework-SystemData.dll
    Microsoft.ConfigurationManagement.DialogFramework
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/Microsoft.ConfigurationManagement.DialogFramework.DLL
    Microsoft.GeneratedCode
        Assembly Version: 1.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    AdminUI.DialogFoundation
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.DialogFoundation.DLL
    Accessibility
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929 built by: FX45RTMREL
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
    AdminUI.DetailPanel
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.DetailPanel.DLL
    AdminUI.FeaturesUtilities
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.FeaturesUtilities.DLL
    Microsoft.GeneratedCode
        Assembly Version: 1.0.0.0
        Win32 Version: 4.0.30319.18058 built by: FX45RTMGDR
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
    AdminUI.ConnectionAccount
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.ConnectionAccount.DLL
    System.Runtime.Caching
        Assembly Version: 4.0.0.0
        Win32 Version: 4.0.30319.17929
        CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Caching/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Runtime.Caching.dll
    AdminUI.ConsoleRootActions
        Assembly Version: 5.0.0.0
        Win32 Version: 5.0.7804.1000
        CodeBase: file:///C:/Program%20Files%20(x86)/Microsoft%20Configuration%20Manager/AdminConsole/bin/AdminUI.ConsoleRootActions.DLL
    ************** JIT Debugging **************
    To enable just-in-time (JIT) debugging, the .config file for this
    application or computer (machine.config) must have the
    jitDebugging value set in the system.windows.forms section.
    The application must also be compiled with debugging
    enabled.
    For example:
    <configuration>
        <system.windows.forms jitDebugging="true" />
    </configuration>
    When JIT debugging is enabled, any unhandled exception
    will be sent to the JIT debugger registered on the computer
    rather than be handled by this dialog box.
    When I go and check the Endpoint Protection properties it gives me the following Error:
    The SMS Provider reported and error
    With the following Details:
    ConfigMgr Error Object:
    instance of SMS_ExtendedStatus
     Description = "ERROR ON Property Convert";
     ErrorCode = 0;
     File = "e:\\nts_sccm_release\\sms\\siteserver\\sdk_provider\\smsprov\\sspsitesettingitem.h";
     Line = 377;
     Operation = "ExecQuery";
     ParameterInfo = "SELECT * FROM SMS_SCI_ClientComp WHERE FileType=2 AND SiteCode='CCM' AND ItemName='Antimalware Agent' AND ItemType='Client Component'";
     ProviderName = "WinMgmt";
     StatusCode = 2147749917;
    Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryException
    The SMS Provider reported an error.
    Stack Trace:
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsObject.<GetEnumerator>d__0.MoveNext()
       at Microsoft.ConfigurationManagement.AdminConsole.SiteSystems.EndpointProtectionSpynetControl.InitializePageControl()
       at Microsoft.ConfigurationManagement.AdminConsole.SmsPropertyPage.OnInitialize()
    System.Management.ManagementException
    Unexpected error
    Stack Trace:
       at Microsoft.ConfigurationManagement.ManagementProvider.WqlQueryEngine.WqlQueryResultsObject.<GetEnumerator>d__0.MoveNext()
       at Microsoft.ConfigurationManagement.AdminConsole.SiteSystems.EndpointProtectionSpynetControl.InitializePageControl()
       at Microsoft.ConfigurationManagement.AdminConsole.SmsPropertyPage.OnInitialize()

    Hi,
    If you only add one file into the excluded files and locations, does this error still appear?
    Could you reproduce this error on another system?
    Best Regards,
    Joyce Li
    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.

  • Error 5 - An exception occurred in SMO while trying to manage a service

    Hi
    I use an instrument
    made by myself in vb.net using SMO
    objects to manage a mixed group of about
    80 MS Sql Server (rel. 2005-2008 r2 & 2012)
    With this tool I check the status of services,
    change service accounts and their passwords,
    etc.
    A few days ago one server
    started to return an error when I run
    the first operation on any property of the object
    ManagedComputer just created.
    Error: "Error 5 - An exception occurred in SMO while trying to manage a service"
    This is my code:
    If UserID = "" Then
                '//Use the credentials of current user
                                mc = New ManagedComputer(serverName)
                            Else
                             '// Use the credentials provided by interface
                                mc = New ManagedComputer(serverName, UserID, UserPsw)
                            End If
                            str = ""
                            For x = 0 To mc.Services.Count - 1
                                With mc.Services.Item(x)
                                       servNome = .Parent.Name.ToUpper
                                        srvNome = .Name
                                        srvStato = .ServiceState.ToString
                                        srvStartMode = .StartMode.ToString
                                        srvAccount = .ServiceAccount
                                    End If
                                End With
                            Next
    The instruction mc.Services.Count generates the error below:
    smoex = {"An exception occurred in SMO while trying to manage a service."}
        Microsoft.SqlServer.Management.Smo.FailedOperationException = {"An exception occurred in SMO while trying to manage a service."}
        _HResult = -2146233088
        _message = "An exception occurred in SMO while trying to manage a service."
        Data = {System.Collections.ListDictionaryInternal}
        FailedObject = Nothing
        HelpLink = "http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&ProdVer=11.0.2100.60+((SQL11_RTM).120210-1846+)&EvtSrc=Microsoft.SqlServer.Management.Smo.ExceptionTemplates.InnerWmiException&LinkId=20476"
        HResult = -2146233088
        InnerException = {"Failed to retrieve data for this request."}
        IPForWatsonBuckets = 1670498764
        IsTransient = False
        Message = "An exception occurred in SMO while trying to manage a service."
        Operation = ""
        ProductName = "Microsoft SQL Server"
        ProdVer = "11.0.2100.60 ((SQL11_RTM).120210-1846 )"
        RemoteStackTrace = Nothing
        SmoExceptionType = FailedOperationException {12}
        Source = "Microsoft.SqlServer.SqlWmiManagement"
        StackTrace = "   in Microsoft.SqlServer.Management.Smo.Wmi.WMIProxy.ExecProcess(Object request)     in Microsoft.SqlServer.Management.Smo.Wmi.WmiSmoObject.EnumChildren(String childTypeName, WmiCollectionBase
    coll)     in Microsoft.SqlServer.Management.Smo.Wmi.ServiceCol...
        TargetSite = {System.Object ExecProcess(System.Object)}
        WatsonBuckets = Nothing
    The server not have problems and the local Sql Server Configuration Manager work fine.
    I copied the tool on the server to run it
    locally. Strangely, if I use the credentials of the current logged user the tool works
    (mc = New ManagedComputer(serverName) )
    If I provide explicit the credentials
    (domain\username and password, but  the same of user logged in the server)
    is not working 
    ( mc = New ManagedComputer(serverName, UserID, UserPsw) )
    From a remote server instead
    does not work in both modes.
    The server configuration:os Win 2008 R2 EE Sp1 , Ms Sql 2008 R2 Sp2 10.50.4321
    Any suggestion is
    much appreciated
    Many thanks in advance

    Hi Lydia
    Thanks for your quick
    response.
    Unfortunately I had already considered this hypothesis
    and the security settings on the object WMI
    seems correct.
    The user with which I run the program
    is part of a domain's
    group inserted into
    the local administrators group. This group
    has the flag "Remote Enable" active.
    However, I verified that the
    problem occurred since I updated my tool
    to monitor and manage the new systems Sql
    2012. The tool now uses objects
    SMO 11.0 that I installed in the development environment,
    and on server where it is scheduled
    the tool, through the package
    SharedManagementObjects.msi.
    The documentation says that SMO 11 is
    compatible with SQL 2005
    and higher and, in fact, I only had problems
    with one server. The old version of tool in fact work fine again.
    This information will suggest
    some ideas?
    Thanks again
    Giovanni Camurri

  • The type initializer for B1Wizard.Globalsu2019 threw an except

    Hi All
    I had to reinstall my B1DE few days ago for my 2007. And till today it is still having problem . When I open eventlog or Form Generator ...etc I get:
    ERROR: The type initializer for B1Wizard.Globalsu2019 threw an exception.
    I am using Visual Studio 2005 (VB.net)
    Please help me
    Thanks in Advance
    Bo Peng

    Hi Bo Peng     
    Down load the B1DE 2.1 source code , recompile it and create a new installer .
    Also remove the read only property set for the files and folders inside the directory
    C:\Program Files\SAP\SAP Business One Development Environment.
    If it is not solved then reinstall the DI Api
    Hope this will help
    Regards
    Arun

  • The following ABAP Exception occurred: SERVICEKEY_INVALID error message

    Hello Gurus,
    I am setting up custom LWE and I completed doing that. Now, when I am running the LWE from the portal, I am getting the error "The following ABAP Exception occurred: SERVICEKEY_INVALID" while accessing 'Address', 'Benefits enrollment' 'personal data' etc.
    I do not know how to solve this error. Could anybody please suggest how to solve this problem?
    Thanks and appreciate much for your help with this!!
    Maria Kutty Somori....

    Please read the configuration in note 968360
    This is normally caused because of a missing or misleading
    configuration for the Homepage Framework.
    Please ensure the correct customistion is done for the  in the confirmation link ie V_T7XSSSERLNK
    check the resource table V_T7XSSSERRES in Homepage Customizing to solve
    this issue.

Maybe you are looking for

  • Phone Freezes when trying to delete pictures

    My Iphone 3G freezes up everytime I open a certain picture which was download from an email. I have reset my phone many times. I HAVE to delete it or i am unable to sync the phone with my computer because i have a pc, and pictures taken or downloaded

  • HP Photosmart Premium C309g-m on wireless for a wired PC

    I have a Photosmart Premium C309g-m connected wirelessly to the LAN, as also are several other computers (both Windows and Mac). No problem here, all connect and print fine. I also have an older desktop (windows) connected to the access point wired.

  • Help with Premiere Pro 2.0?

    So this programs really frustrating me with the way things tend to just stop working. I've got a ten-minute documentary due in a few days for school and everything's breaking down on me. Yesterday i added two video tracks to the timeline. Usually wit

  • How to identify the sales group object is been used in how many queries?

    Hi all, I happened to check the where used list for the info object sales group and it shows me the cube and ods, multi provider etc. Is there other way in which i can see the list of queires which are using this info objects in the query ? Thanks

  • ORA-14551: cannot perform a DML operation inside a query

    I have a Java method which is deployed as a Oracle function. This Java method parses a huge XML & populates this data into a set of database tables. I have to call this Oracle function in a unix shell script using sqlplus. Value returned by this func