@@IDENTITY

This is the code I used to use with Dreamweaver to return the
record ID when the record is created.
Set commInsert = Server.CreateObject("ADODB.Connection")
commInsert.Open MM_editConnection
commInsert.Execute(MM_editQuery)
Set rsNewID = commInsert.Execute("SELECT @@IDENTITY")
Session("newAdded") = rsNewID(0)
rsNewID.Close
Set rsNewID = Nothing
This doesn't work with the way Dreamweaver connects to db's
now. How would I use "SELECT @@IDENTITY" or "SELECT
SCOPE_IDENTITY()" to return the record ID? Below is an example of
how Dreamweaver creates db connections now.
Dim MM_editCmd
Set MM_editCmd = Server.CreateObject ("ADODB.Command")
MM_editCmd.ActiveConnection = MM_banList_STRING
MM_editCmd.CommandText = "INSERT INTO banList (lastName,
firstName, midInit, AKA, gender, race, address, city, [state], zip,
ssNumber, dob, dateAdded, reason, ourBar, policeBar, addedBy)
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)"
MM_editCmd.Prepared = true
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param1", 202, 1, 20,
Request.Form("lastName")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param2", 202, 1, 20,
Request.Form("firstName")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param3", 202, 1, 1,
Request.Form("midInit")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param4", 202, 1, 20,
Request.Form("AKA")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param5", 202, 1, 1,
Request.Form("gender")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param6", 202, 1, 10,
Request.Form("race")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param7", 202, 1, 30,
Request.Form("address")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param8", 202, 1, 15,
Request.Form("city")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param9", 202, 1, 2,
Request.Form("state")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param10", 202, 1, 5,
Request.Form("zip")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param11", 202, 1, 11,
Request.Form("ssNumber")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param12", 202, 1, 10,
Request.Form("dob")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param13", 202, 1, 11,
Request.Form("dateAdded")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param14", 203, 1, 1073741823,
Request.Form("reason")) ' adLongVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param15", 202, 1, 1,
MM_IIF(Request.Form("ourBar"), "Y", "N")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param16", 202, 1, 1,
MM_IIF(Request.Form("policeBar"), "Y", "N")) ' adVarWChar
MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param17", 202, 1, 25,
Request.Form("addedBy")) ' adVarWChar
MM_editCmd.Execute
MM_editCmd.ActiveConnection.Close

Try:
Set rsNewID = commInsert.Execute("set nocount on;" &
MM_editQuery & ";SELECT
@@IDENTITY")
Jules
http://www.charon.co.uk/products.aspx
Charon Cart
Ecommerce for ASP/ASP.NET
"jdrinkert" <[email protected]> wrote in
message
news:[email protected]...
> This is the code I used to use with Dreamweaver to
return the record ID
> when
> the record is created.
>
> Set commInsert = Server.CreateObject("ADODB.Connection")
> commInsert.Open MM_editConnection
> commInsert.Execute(MM_editQuery)
> Set rsNewID = commInsert.Execute("SELECT @@IDENTITY")
> Session("newAdded") = rsNewID(0)
> rsNewID.Close
> Set rsNewID = Nothing
>
> This doesn't work with the way Dreamweaver connects to
db's now. How
> would I
> use "SELECT @@IDENTITY" or "SELECT SCOPE_IDENTITY()" to
return the record
> ID?
> Below is an example of how Dreamweaver creates db
connections now.
>
> Dim MM_editCmd
> Set MM_editCmd = Server.CreateObject ("ADODB.Command")
> MM_editCmd.ActiveConnection = MM_banList_STRING
> MM_editCmd.CommandText = "INSERT INTO banList (lastName,
firstName,
> midInit, AKA, gender, race, address, city, [state], zip,
ssNumber, dob,
> dateAdded, reason, ourBar, policeBar, addedBy) VALUES
> ?, ?,
> ?, ?, ?, ?, ?, ?, ?, ?, ?)"
> MM_editCmd.Prepared = true
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param1", 202,
> 1,
> 20, Request.Form("lastName")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param2", 202,
> 1,
> 20, Request.Form("firstName")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param3", 202,
> 1,
> 1, Request.Form("midInit")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param4", 202,
> 1,
> 20, Request.Form("AKA")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param5", 202,
> 1,
> 1, Request.Form("gender")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param6", 202,
> 1,
> 10, Request.Form("race")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param7", 202,
> 1,
> 30, Request.Form("address")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param8", 202,
> 1,
> 15, Request.Form("city")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param9", 202,
> 1,
> 2, Request.Form("state")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param10",
> 202, 1,
> 5, Request.Form("zip")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param11",
> 202, 1,
> 11, Request.Form("ssNumber")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param12",
> 202, 1,
> 10, Request.Form("dob")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param13",
> 202, 1,
> 11, Request.Form("dateAdded")) ' adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param14",
> 203, 1,
> 1073741823, Request.Form("reason")) ' adLongVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param15",
> 202, 1,
> 1, MM_IIF(Request.Form("ourBar"), "Y", "N")) '
adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param16",
> 202, 1,
> 1, MM_IIF(Request.Form("policeBar"), "Y", "N")) '
adVarWChar
> MM_editCmd.Parameters.Append
MM_editCmd.CreateParameter("param17",
> 202, 1,
> 25, Request.Form("addedBy")) ' adVarWChar
> MM_editCmd.Execute
> MM_editCmd.ActiveConnection.Close
>

Similar Messages

  • I publish identical podcasts under different URLs.  How can I combine them into one?

    Over the years, my URL has changed a couple of times.  I didn't know (until recently) how to notify iTunes that the podcast location and URL had changed.  So, now after a number of years, I have three identical podcasts, each with different a different URL and a different list of subscribers.  I have them pointing to the same source file now, but I would love to combine the podcasts into one so that the subscribers from each are merged together and they don't show up as three possible subscriptions in iTunes.  Is this possible?

    You can't merge them: all you can do is to ask to have two of them deleted, and of course if you do that you will lose any ratings. However existing subscribers should all be using the same feed if the three Store pages are all using the same feed, and so removing two of them won't have any effect on subscribers.
    The method of getting a podcast removed is detailed here:
    http://www.apple.com/itunes/podcasts/specs.html#removing
    When you explain why you want each one of the two you choose removed, specifically say that the same feed is in use in three places, so you can't use the 'itunes:block' tag (because this would block all three).

  • How can I link my iCloud identity to my iTunes account?

    I signed for itunes in the early 2000's and icloud some years later with a different user name and password. It always gives me trouble-the wrong identity alwys pops up on ios devices and downloads. I now have match and genius, gift accounts for children and grandchildren and all manner of confusion. I would like to link the two accounts, but I haven't been able to find a way. If I try to simply merge the user names I am prevented from doing so by the iTunes account.

    Publish your iCloud calendar to your Google account using BusyCal.

  • Error when upgrading Oracle Identity Manager 9.1.0.1 to OIM 9.1.0.2

    Hello friends,
    I upgraded Oracle Identity Manager 9.1.0.1 to Oracle Identity Manager 9.1.0.2,after the running the command to apply the patch:
    OIM_HOME/xellerate/setup/patch_weblogic.cmd/sh WEBLOGIC_ADMIN_PASSWORD OIM_DB_USER_PASSWORD
    I get the error:
    [wldeploy] [BasicOperation.execute():445] : Initiating deploy operation for app, Xellerate, on targets:
    [wldeploy] [BasicOperation.execute():447] : AdminServer
    [wldeploy] Task 2 initiated: [Deployer:149026]deploy application Xellerate on AdminServer.
    [wldeploy] dumping Exception stack
    [wldeploy] Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    [wldeploy] Target state: deploy failed on Server AdminServer
    [wldeploy]
    [wldeploy]
    [wldeploy] There are 2 nested errors:
    [wldeploy]
    [wldeploy] weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    [wldeploy] and
    [wldeploy]
    [wldeploy] weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    [wldeploy] Target Assignments:
    [wldeploy] + Xellerate AdminServer
    [wldeploy] weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    [wldeploy] Target state: deploy failed on Server AdminServer
    [wldeploy]
    [wldeploy]
    [wldeploy] There are 2 nested errors:
    [wldeploy]
    [wldeploy] weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    [wldeploy] and
    [wldeploy]
    [wldeploy] weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    [wldeploy] [ServerConnectionImpl.close():332] : Closing DM connection
    [wldeploy] [ServerConnectionImpl.close():352] : Unregistered all listeners
    [wldeploy] [ServerConnectionImpl.closeJMX():372] : Closed JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():384] : Closed Runtime JMX connection
    [wldeploy] [ServerConnectionImpl.closeJMX():396] : Closed Edit JMX connection
    [ant] Exiting C:\oracle\xellerate\setup\weblogic-setup.xml.
    BUILD FAILED
    C:\oracle\xellerate\Setup\setup.xml:448: The following error occurred while executing this line:
    C:\oracle\xellerate\setup\weblogic-setup.xml:310: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Caused by: C:\oracle\xellerate\setup\weblogic-setup.xml:310: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Caused by: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    --- Nested Exception ---
    C:\oracle\xellerate\setup\weblogic-setup.xml:310: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Caused by: weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    --- Nested Exception ---
    weblogic.Deployer$DeployerException: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Caused by: weblogic.deploy.api.tools.deployer.DeployerException: Task 2 failed: [Deployer:149026]deploy application Xellerate on AdminServer.
    Target state: deploy failed on Server AdminServer
    There are 2 nested errors:
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the remote interface either does not exist in the bean class, or it is not a public method. Each method in the remote interface must have a corresponding public method in the bean class.
    and
    weblogic.ejb.container.compliance.ComplianceException: In EJB tcGroupOperations, method getMemberGroups(long,int,int,java.lang.String,boolean) defined in the local interface either does not exist in the bean class, or it is not a public method. Each method in the local interface must have a corresponding public method in the bean class.
    Total time: 4 minutes 35 seconds
    How do I deal with this question?
    Thanks.

    This error generally occur if your server is up and you are running patch for upgrade, and its very common error.
    follow the troubleshoot step and get it done.
    page 36
    Troubleshooting the Application of the Patch on Oracle WebLogic Server
    http://docs.oracle.com/cd/E14899_01/doc.9102/e14764.pdf

  • Cannot install Windows-Identity-Foundation

    Hello, I've tried to install "Windows-Identity-Foundation" feature, but without success (OS is Windows 8.1 Professional).
    I can not find this feature in the UI (ControlPanel -> Programs&Features -> "Turn Windows Features on or off").
    So I've tried to install it via command line (dism tool).
    I've checked feature via executing command "dism /online /Get-FeatureInfo /FeatureName:Windows-Identity-Foundation"
    this command line is returning correct output on working machine,
    but on my machine it returns:
    > Error: 0x800f080c
    > Feature name Windows-Identity-Foundation is unknown.
    > A Windows feature name was not recognized.
    So I can't install it via the "dism /online /Enable-Feature /FeatureName:Windows-Identity-Foundation" command.
    That issue is occurs not only with the "Windows-Identity-Foundation", but also with some other features (for example "Legacy Components").
    Next I googled that this issue may be fixed via calling "sfc /scannow" to restore the packages,
    but "sfc" is ended with message "Windows Resource Protection found corrupt files but was unable to fix some of them.";
    the log file contains the next errors:
    * STATUS_OBJECT_NAME_NOT_FOUND #5186404# from Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile(
    * Error STATUS_OBJECT_NAME_NOT_FOUND originated in function Windows::Rtl::SystemImplementation::DirectFileSystemProvider::SysCreateFile expression
    (full logs I put in the onedrive http://1drv.ms/1BILQWs )
    so that errors are not clear to me,
    please guide me how I can try to fix this issue?
    any advice is welcome.

    Just have tried to execute "InstallFeature" with /Sourceand locate image with windows installation files
    >dism /online /enable-feature /featurename:Windows-Identity-Foundation /Source:G:\sources\sxs
    and the response:
    Error: 0x800f080c
    Feature name Windows-Identity-Foundation is unknown.
    A Windows feature name was not recognized.
    The dism.log file contains errors:
    * Failed to get the Update through CBS. - CDISMPackage::Internal_OpenFeature
    * Failed to get the underlying CBS Feature - CDISMPackage::OpenFeature
    * Feature name windows-identity-foundation is unknown. - CPackageManagerCLIHandler::Private_GetFeaturesFromCommandLine
    * Unknown features were specified on the command-line. - CPackageManagerCLIHandler::Private_GetFeaturesFromCommandLine
    * Failed to get the Feature List from the command line. - CPackageManagerCLIHandler::Private_ProcessFeatureChange
    * Failed while processing command enable-feature. - CPackageManagerCLIHandler::ExecuteCmdLine
    Full log file copied to onedrive: http://1drv.ms/18TpVSf .
    I am accepting any advice.

  • Multiple AD External Identity Sources in ISE 1.2

    First I guess is it possible to have multiple AD entries for External Identity Sources in ISE 1.2? When I display Active Directory (AD1) it displays my four ISE servers with a status of connected but I see no where to add anything additional. I did not originally set this up so figure I am missing something somewhere if this is possible. I though maybe add under LDAP and then it would roll into AD or something but I have nothing listed under LDAP either.
    What I am trying to do is figure out how to have ISE cover our two different domains. We ahve one big forest but currently that is split into two AD domains based upon our two divisions.  am trying to see if possibly I can simply get through the existing configuration to pull security groups from the other domain into the dictionary but so far that has proven not do able.
    Brent

    Saurav,
    I was beginning to think that might be the solution. Now I just need to go through the release notes and make sure there are no issues with it running on ACS-2111 appliance. We are currently using this as the secondary Admin but knew we would have to move off something. I think management is hoping later than sooner especially since we are still in that initial roll out phase.
    How does the system handle the fact that this is all centralized but I have users authenticating from the different time zones? I have been reading about everything pointing to the same NTP server but took that to simply be the servers in the ISE Cluster. Will this also impact all the switches and network devices involved in the authentication process?
    Brent

  • How to get JDev 10.1.2/ADF working with MS SQL Server Identity Column

    Hello JDevTeam & JDevelopers,
    I want to use JDev/ADF with a MS SQL Server 2005 database that contains tables employing IDENTITY Columns.
    Using JDev/ADF and DBSequence with an Oracle database employing before triggers/sequences accomplishes what I am trying to do except I want to accomplish the same thing using a MSSQL Server 2005 database. Unfortunately I cannot change the database.
    I have been able to select records but I am unable to insert records (due to my lack of knowledge) when using MS/SQL Server Identity Columns with JDev/ADF.
    The following are the steps taken thus far.
    Step1: Create table named test in the 2005 MSSQL Server (see script below).
    Step2: Register 3rd Party JDBC Driver with JDeveloper; Using use Tools/Manage Libraries. Create a new entry in User Libraries with the following;
         Library Name     = Ms2005Jdbc
         Class Path     = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu\sqljdbc.jar
         (note: Latest TYPE 4 JDBC driver for Microsoft SQL Server 2005 - free at http://msdn.microsoft.com/data/ref/jdbc/)
    Step3:Create New Database Connection;
         Connection Name = testconn1
         Type = Third Party JDBC Driver
         Authentication Username = sa, Password = password, Check Deploy Password
         Connection
              Driver Class = com.microsoft.sqlserver.jdbc.SQLServerDriver     
              Library = Ms2005Jdbc     
              Classpath = C:\dev\Ms2005Jdbc\sqljdbc_1.0\enu
              URL = jdbc:sqlserver://192.168.1.151:1433;instanceName=sqlexpress;databaseName=test
         Test Connection = Success!
    Step5: Create a new application workspace using Web Application default template
    Step6: In Model project, Create new Business Components Diagram.
    Step7: Create new Entity Object. Goto to connections/testconn1, open tables and drag table test onto the diagram.
    Step8: Generate Default Data Model Components by right-clicking on Entity Object. Except all the defaults.
    When I test the Appmodule I select the view object and can scroll through all the records without error. If I try to insert a record, I get JBO-27014: Attribute testid in test is required.
    Going back to the EntityObject I deselect the Mandatory attribute and re-run the test. Now when I try to insert it accepts the value for testname but it does not update the PK testid like it would using an "JDev/ADF/DBSequence/Oracle database/before trigger/sequence" solution.
    Going back to the EntityObject and selecting refresh on insert does not solve this problem either. Changing the URL connection string and adding "SelectMethod=cursor" did not help and changing the SQl Flavor to SQLServer produced errors in the Business Components Browser. I've tried overriding isAttributeChanged() and other things as well.
    I am totally stuck! Can anyone provide a solution?
    Thanks for you help,
    BG...
    Create table named test
    use [testdb]
    go
    set ansi_nulls on
    go
    set quoted_identifier on
    go
    create table [test](
         [testid] [int] identity(0,1) not null,
         [testname] [nvarchar](50) collate sql_latin1_general_cp1_ci_as not null,
    constraint [pk_test] primary key nonclustered
         [testid] asc
    )with (pad_index = off, ignore_dup_key = off) on [primary]
    ) on [primary]

    Figured it out!
    When using the MS SQL Server 2000 Database with the MS JDBC 2000 Driver you specify the SQL Flavor to SQLServer. However setting the SQL Flavor to SQLServer with MS SQL Server 2005 Database and the MS JDBC 2005 Driver will *** fail ***.
    When working with the MS SQL Server 2005 Database and the MS JDBC 2005 Driver you set the SQL Flavor to SQL92 and the Type Map to Java.
    If using a named instance like I am you would specify the URL = jdbc:sqlserver://<db host ip address>:<listening port>;instanceName=<your instance name>;selectMethod=cursor;databaseName=<your database name> (note: leave out the < >)
    The 2005 Driver Class is different then the 2000 and is specified as com.microsoft.sqlserver.jdbc.SQLServerDriver
    Note: In a default MS SQL Server 2005 installation the listening port will change *** everytime *** the host is restarted! You can override this though.
    For the primary key you need to deselect the Mandatory attribute in the EntityObject editor.
    Set Refresh on insert/update = no.
    Set Updateable = never.
    Now my Primary Keys which get their values from the Identity Column are working with ADF in a predictable way.
    Simple enough but I have been away from this stuff for awhile.
    BG...

  • Unable to log-in in Oracle Identity Manager Design Console

    Hello,
    I successfully installed OIM9.1.0.1 Identity Manager on Jboss4.2.3.GA App server and could login to OIM using http://llocalhost:8080/xlWebApp on my window Server 2003 system without any problem.
    Then I installed the Design Console on my window XP system. However, after successfully installing the Design Console, I could not login using the xelsysadm user ID.
    I checked to make sure that xlconfig.xml contains the right URL file under oim_designConsole directories.
    The error I get from the Design Console login window is:
    Internal Login
    Oracle Identity Manager Design Console Could not log you in.
    In the dos-command window, I got the error:
    WARN,22 Apr 2009 16:31:52,160,[org.jboss.remoting.marshal.MarshalFactory],Could
    not find marshaller for data type 'invocation'. Object in collection is null
    WARN,22 Apr 2009 16:31:52,160,[org.jboss.remoting.marshal.MarshalFactory],Found
    marshaller fully qualified class name within locator parameters, but was unable
    to load class: org.jboss.invocation.unified.marshall.InvocationMarshaller
    WARN,22 Apr 2009 16:31:52,160,[org.jboss.remoting.marshal.MarshalFactory],Could
    not find marshaller for data type 'invocation'. Object in collection is null
    java.lang.reflect.UndeclaredThrowableException
    at $Proxy0.create(Unknown Source)
    at com.thortech.xl.dataaccess.tcDataBaseClient$1.run(Unknown Source)
    at Thor.API.Security.LoginHandler.jbossLoginSession.runAs(Unknown Source
    at com.thortech.xl.dataaccess.tcDataBaseClient.bindToInstance(Unknown So
    urce)
    at com.thortech.xl.dataaccess.tcDataBaseClient.<init>(Unknown Source)
    at com.thortech.xl.server.tcDataBaseClient.<init>(Unknown Source)
    at com.thortech.xl.client.dataobj.tcDataBaseClient.<init>(Unknown Source
    at com.thortech.xl.client.base.tcAppWindow.internalLogin(Unknown Source)
    at com.thortech.xl.client.base.tcAppWindow.login(Unknown Source)
    at com.thortech.xl.client.base.tcAppWindow.<init>(Unknown Source)
    at com.thortech.xl.client.base.tcAppWindow.main(Unknown Source)
    Caused by: org.jboss.remoting.marshal.InvalidMarshallingResource: Can not find a
    valid marshaller for data type: invocation
    at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.jav
    a:78)
    at org.jboss.remoting.Client.invoke(Client.java:226)
    at org.jboss.remoting.Client.invoke(Client.java:189)
    at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(Un
    ifiedInvokerProxy.java:184)
    at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerIntercep
    tor.java:227)
    at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav
    a:167)
    at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.
    java:46)
    at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:5
    5)
    at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:169)
    at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
    I would really appreciate your help in this regards.
    Thanks for helping me resolve this issue.
    Regards,
    Dhirendra

    vBackup the original file log4j-1.2.8.jar in oimclient/xlclient/ext
    copy the log4j.jar from JBOSS folder - JBOSS/server/default
    Paste the file in client folder with original log4j-1.2.8.jar
    Rename log4j.jar file to log4j-1.2.8.jar
    start ur JBOSS.. this shd work.

  • Safari keeps dropping down this error message when ever i try to log on to any website safai can't verify the identity of the website ( e.g.. any address ) and the drop down has three choices to click on or else you can't go foward., they are check certif

    Safari keeps dropping down this error message when ever i try to log on to any website safai can't verify the identity of the website ( e.g.. any address ) and the drop down has three choices to click on or else you can't go foward., they are check certificate ______ cancel ______ continue....  This thing is so annoying when trying to go somewhere i just want the error message to go away.

    In your Keychain under 'login' delete the VeriSign certificates and then quit and restart all browsers/itunes/app store.
    http://apple.stackexchange.com/questions/180570/invalid-certificate-after-securi ty-update-2015-004-in-mavericks

  • Relationship cannot be created between identical business partners

    Hello,
    I am implementing CRM 5.0 and trying to create business partner relationships to the identical business partner.  For example, I am trying to makbe BP#1 have te relationship 'Has a Contact of' to BP#1.  However, I am getting the error message:
    'Relationship cannot be created between identical business partners'.
    (Message no. R1776)
    Has anyone ever encountered this error?  Is there any way to create a relationship in SAP-CRM to the same business partner?
    Thanks much for your help,
    Dan

    Hi Daniel
    In short: No, it is not possible to have a relationship "between" a BP and itself.
    In long: In R/3 there are partner roles like Sold to, ship to and others. When CRM was designed the people at SAP did want to simplify a bit and implemented the following logic for partner determination: If there is no relationship of a searched type, the BP itself is taken. As a result a relationship pointing to its source is not allowed as it would duplicate the information already existing.
    Hope this helps,
    Kai

  • Using smart previews on iMac to control two sets of identical original files on two external drives --- render previews setting when using smart previews

    I’m just getting started with Lightroom and if someone can help me I’ll be very appreciative.
    I’m using an iMac with a 1TB drive and two external 2.5 TB drives for backup.  My active files are on all three drives and I’m running out of room on the iMac drive.
    With the smart previews capability of Lightroom 5, I’m hoping to remove all the active files from the iMac drive.  I hope to import existing images into the LR catalog from two identical drives with identical folders and have both sets of images reflect the changes I make using smart previews on my iMac.
    I just created two identical test folders of junk images on the external drives and was following a beginners tutorial on importing. However, I see nothing about using smart previews on my iMac that, when connected, will update more than one external drive at the same time.
    I’m also wondering if, when using smart previews, it matters how I set the render previews during the import process.
    Many thanks for any help,
    Karl Hentz

    I don't see any way to use smart previews to update both external drives at the same time. The smart previews are linked to a specific set of images. But it seems to me that if both drives are in fact identical, once the catalog is updated when one of those drives is connected those changes should also apply to the files on the other drive. It's actually the catalog that gets updated, not the images.  Smart previews and regular import previews are completely unrelated. How you have your import previews configured will have no effect on your smart previews.
    Incidentally, in order for my suggestion to work it would be necessary to only have one of those external drives connected. And when the other EHD is connected it would have to have the same drive letter or name. In other words it would have to appear to the iMac that it is precisely the same drive.

  • Confusion with a current state of Oracle Identity Management

    I would like to know if anyone has successfully implemented the complete suite of IdM. If yes, please share this experience. I want to clarify the definition of "successful integration". It should include the following:
    - SSO for Partner applications
    - SSO for External (third parties) applications
    - Provisioning and Synchronization
    - Delegated Administration
    - WNA with Kerberos
    - SAML implementation (optional)
    I would appreciate all answers on this subject

    To restart from your initial question, it's quite strange because the components you mention are all included in the AS10g Enterprise Edition or in AS10g Portal, and are perfectly integrated. I know numerous customers which use Oracle Portal, for instance, and leverage on SSO (patner or external), Delegated Administration (DAS) , Synchro with AD server and Windows native authentication, without a single line of specific code. Provisioning is done automatically by DIP in the case of Portal with AD, as well, or with a Human resource system. Even the password synchro can be made betwwen AD and OID (Oracle LDAP)
    Now, it's a sligthy different discussion if we consider the recent acquisitions made by Oracle, and which are sold in the so call : Oracle Identity management 10g.
    OAM (previously Oblix) is a more ambitious product that Oracle SSO.
    OIM (provisioning and identity management) is far more sophisticated than Oracle DIP.
    The goal, for Oracle, is to unify the workflow engine and the Human interface (with ADF). This task is probably on the rails for the next year.
    OVD (previously OctetSting) is an architectural component which allow virtualisation of LDAP server.
    About Federation, OIF allow all existing Oracle Portal customer (using SSO) to rely on SAML tokens in order to trust partners site.
    So, in my opinion, acquisitions oblige to make a substantial effort to unify human interface and make arbitration between some concepts, but it's within the Oracle means.

  • Exchange Online Management cmdlets return Display Name instead of Identity

    Hello,
    We've got an issue when managing our Exchange Online environment using remote PowerShell.
    We use Exchange management cmdlets to manage Exchange Online mailboxes. When we run, for example, the
    Get-MailboxPermission or Get-RecipientPermission
    cmdlets, it returns Display Names of the users with mailbox rights. Previously, when we initially tested remote PowerShell with Exchange Online, the cmdlets returned the
    Identity property, which is unique and worked well for us. However, currently the cmdlets return the
    Display Name, which is not unique and causes us issues. For example, in our environment there can exist two or more users with the same Display Name (see highlighted on the screenshot):
    In cases when only one of the users is granted a permission, we cannot distinguish programmatically, which of the 2 users this is. Also, we cannot run cmdlets, such as
    Get-SecurityPrincipal, to get more info about the principals who are granted the permission.
    Is it possible to get the old behavior of the cmdlets back so that they return the unique
    Identity instead of the non-unique Display Name? Or how do we workaround this?

    Hello,
    Can anyone update on this? The issue causes us HUGE problems :(

  • Anybody else not a Verizon customer getting nowhere w/Verizon identity theft unit

    I am not a Verizon Wireless customer.  I was, but I changed over in 2011 because the coverage with another carrier was better than where we previously lived for 17 years.  We are middle aged, fiscally very conservative and sound, and expected no problems whatsoever when my husband decided to retire in June and for us to move out of state, selling our real property and buying our dream home in the place we choose to retire.  We had a regular monthly credit report company but last summer they stopped offering the low cost arrangement our credit card offered years ago.  We lost a family member after a six month decline and had no reason to believe anything was wrong.  My husband ordered up his report and score and was way up as we expected.  I then ordered mine and I fell off my chair (literally).  My score had dropped by one hundred points because someone opened a Verizon Wireless account last October in my name, ran up the account to more than a thousand dollars, and bailed.  Supposedly, it was sent to collections but since the phone seems to have been ordered in New York and I haven't lived there since 1970 (as a kid), I knew it wasn't me.  I went through all of the required steps, wrote my dispute out, sent proof of my police report, complained to the Federal Trade Commission, and spoke to a representative named Justin who confirmed that it was clear it was not my account (he could not legally give me more at that time but that should no longer apply).  I get an e-mail that gives me a report number and tells me to sit tight, basically.
    Crickets chirping.
    A few days ago, I get an e-mail from the previously very helpful Justin that says something to the effect of "oh, that's just a collection account.  All is good! Bye!!"  Wait, what?  I can't get the e-mail to let me reply so I wait for the new reports to come out, expecting that my fully documented case of identity theft will be resolved.
    It is now a month and when I ordered my three reports and score for the new quarter, voila!  MY SCORE ACTUALLY WENT DOWN MORE!!!!!!
    I am on my 4th call today, and taking screenshots every five minutes I wait.  After more than two hours of being lied to "your representative will be with you in a few brief moments), I am ready to go off the grid or start collecting names and contacts of those who are not customers of Verizon Wireless whose identity has been stolen because I believe we are not restricted from filing a class action suit because we have no contractual relationship with Verizon Wireless.
    Okay...after more than 30 minutes on call 4, I was patched through to the Fraud Department to a representative named Greg.  He patiently listened to my rant about how horrible their internal phone system is, he remained completely cool and calm, I calmed down, confirmed that I know he is not the problem nor can he effectuate any major changes, he took my number in case we were disconnected (which, surprisingly, we were not) and an hour later the fraudulent account has been closed out, my credit reports will be corrected, and I will receive information with which to pursue the harm the thief committed.
    There has to be an easier way and I will remind these companies that ignoring or ******* off the victims didn't do the Roman C. Church any good either.  It is unfair that there are those who seem to believe anything they can get away with is okay and that companies who employ people etc get ripped off, but as the collateral damage victim, I can't spread out my losses.  I urge Verizon Wireless to make it a priority to service all identity theft victims, especially since some of the thefts come from Verizon Wireless employees.  Otherwise, they are creeping ever closer to a huge, huge lawsuit.
    Thank you Greg at Verizon Wireless Fraud Division.

    I am sorry this happened to you. We found out today that the Galaxy phone my wife purchased for me and put 300.00 cash downpayment on was stolen by an employee. Of course calling does not do a thing. All they do is say sorry and hang up. I will find a way to get that money and then leave this company. It just stinks that they take the word of an employee (who by the way was not there two weeks later) and we spoke to the manager who said he would take care of it but did not.  We are out 300.00 and screwed I guess. WE WILL BE LEAVING THIS COMPANY.
    I know they don't care but it made me feel good to type in caps. I really do not care who is my carrier anymore, they cannot be as bad as this one,
    Bill Moore

  • Display warning if 2 names are identical

    Can someone please help me with this. My array program is below. I need to edit it to make a message display 'This password has been chosen' if to names are identical. I have played around with it and I can get the warning to appear but all the time. The code below makes the warning cycle continuously down the page. If anyone could help I would be very gratefull.
    import java.io.*;
    public class Arraylist
    public static void main(String[] args)
    String members[] = {"Fred","Brenda","John"};
    System.out.println("full member: "+members[0]);
    while (members==members)
    System.out.println("this password has been chosen");

    I'm going to assume for a moment that this is a serious question and not a troll.
    It should be obvious that (members==members) is going to return true always.
    At what point are you checking to see if there is a duplicate? Is it only in the original array, or are you adding items later?
    In either case, some classes that should help you are:
    HashSet (or anything implementing the Set interface)
    HashMap (or anything implementing the Map interface)
    both are found in java.util.
    Hope this helps.

  • Connection Pooling and Connection Identity

    On this link:
    http://java.sun.com/products/jndi/tutorial/ldap/connect/config.html
    I read that: "The LDAP provider maintains pools of connections; each pool holds connections (either in-use or idle) that have the same connection identity."
    This to me suggested that if I am doing "simple" authentication then the "connection identity" consists of:
    1) connection controls
    2) host name, port number as specified in the "java.naming.provider.url" property, referral, or URL supplied to the initial context
    3) java.naming.security.protocol
    4) java.naming.ldap.version
    5) java.naming.security.principal
    6) java.naming.security.credentials
    But when I run a test where user1, user2 and user3 login over and over again, I see (from tracing the conenctions) that 3 TCP connections are bing reused for user1, 2 and 3.
    Now this is good as it shows that pooled connections are being reused...BUT what I don't understand is why do I keep seeing new bind requests on each of these connections for the same user? for example, the TCP connection for user1 shows a series of BIND requests for user1.
    Now my question is this:
    IF each pool holds connections that have the same connection identity, and
    IF user principal and password are part of the simple "connection identity"
    THEN why do I see multiple BINDs? Shouldn't they not be needed anymore once the 1st BIND happens successfully?
    Looking forward to hearing from the experts :)
    Cheers!

    what DBMS and what JDBC driver are you using?

Maybe you are looking for