Trouble Creating Users Via Web Form
I'm having trouble creating user in a 9i database via web front end.
I use the following sql to create the user
strSQL="CREATE USER"""+strUser+"""PROFILE ""DEFAULT"" IDENTIFIED BY ""HELLO"" DEFAULT TABLESPACE ""DATA"" TEMPORARY TABLESPACE ""TEMP"" ACCOUNT UNLOCK"
I then execute another two sql statments to grant "connect" thus
strSQL="GRANT ""CONNECT"" TO "+strUser+""""
strSQL="ALTER USER """ strUser"""DEFAULT ROLE ALL"
Whenever I try connecting using the new users details, but get an error message that the server had problems accessing the LDAP directory service(ORA-28030).
I'm happy that the SQL is correect as I created the account that I wanted using Enterprise Console and coppied the SQL it produced. I'm assuming that there's something in the background that is not being triggered when creating the user via the web front end.
Can anyone tell me where I'm going wrong?
Thanks
Jason
My apologies, I didn't realise HTML DB was a product. I thought it was a forum for questions regarding HTML and databases.
Doh!!!
Jason
Similar Messages
-
HFM - log that shows if a user has loaded data via web form or excel load.
I can see any data loads that are coming from FDM, but is there a log that shows any data entered into HFM via web forms or submitted through an excel file? Any input is appreciated.
ThanksYou could enable Data Audit to capture data changes made by users, though this will not capture which method users chose to change the data. That is, HFM can show that data changed, and who changed it, but cannot tell whether the data was changed through a form, grid, smart view, or FDM. If you want to prevent users from changing data through forms, grids, or smart view, you can secure those input methods, but you cannot capture which one is used.
--Chris -
Error when create user via OIM web
Hi Gurus..
I hava some problem when I creating new user via web OIM, error appear while inpute the start date value.
Need help for you guys,
This is the error code.
<Error> <oracle.adfinternal.view.faces.config.rich.RegistrationConfigurator> <BEA-000000> <ADF_FACES-60096:Server Exception during PPR, #5
java.lang.NullPointerException
at oracle.iam.identitytaskflow.utils.UserManagerValidationUtils.handleAccountEndDateValidation(UserManagerValidationUtils.java:237)
at oracle.iam.identitytaskflow.utils.UserManagerValidationUtils.processDateValidations(UserManagerValidationUtils.java:589)
at oracle.iam.identitytaskflow.utils.UserManagerValidationUtils.processDateValidation(UserManagerValidationUtils.java:543)
at oracle.iam.identitytaskflow.common.components.UIInputDate$DateValueValueChangeListener.processValueChange(UIInputDate.java:135)
at javax.faces.event.ValueChangeEvent.processListener(ValueChangeEvent.java:134)
at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcast(UIXComponentBase.java:675)
at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:210)
at org.apache.myfaces.trinidad.component.UIXSelectInput.broadcast(UIXSelectInput.java:216)
at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:902)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:357)
at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:186)probably yes but I am not so sure about that, I have checked the User.xml for make sure this but I can't found something wrong. any clue Shashank?
Regards,
-Rius- -
Create users via the CLI interface on a SX20
Hi
Are there some who know how to create users via the CLI interface on a SX20. You can do this via the web interface but I have many video installations where I need to create a user account. Therefore, it would be easiest if I can make it through the CLI interface.
Best regards
JesperUnless there's a very well hidden command somewhere, then no. As far as I know, this can only be done for the remote supportuser account;
xcommand UserManagement ?
xCommand UserManagement RemoteSupportUser Create
ExpiryDays: <1..31>
xCommand UserManagement RemoteSupportUser Delete
xCommand UserManagement RemoteSupportUser DisablePermanently
Confirm(r): <Yes>
xCommand UserManagement RemoteSupportUser GetState
/jens
Please rate replies and mark question(s) as "answered" if applicable. -
Meta-data creation via web forms?
Hi,
I know this question would turn out to be more of a would-be-nice to have request for Hyperion Planning. Nonetheless, I would like to confirm that it is not already available in version 11.
Does the new version provide the capability to create meta-data (members or properties) via Hyperion web forms fro Hyperion Planning?
Ofcourse I am fully aware of the downside of the above, just want to make sure.
I know only Dodeca provides such a feature via Excel which I think is pretty cool.
Thanks for your responses..Hi,
The quick answer is no, you have to remember that planning has to push any metadata changes down to essbase, I am not sure how many would want users constantly changing hierarchies and refreshing planning.
There is always EPMA to manage the metadata.
There is the ability in 11.1.2 to do adhoc analysis on forms and then save them as personalized views
Cheers
John
http://john-goodwin.blogspot.com/ -
Error while Creating user using Custome form
Hi,
I created a custom form same as create user form
updated in xlDefaultAdmin.properties,xlWebAdmin_en_US.properties,struts-config.xml
on this custom every thing is working fine but when on submit(Create User) it gives me below error
in Admin Console : You do not have permissions to perform this operation.
in App server log: maoRejections:You do not have permission to insert this object.My response is based on the following assumptions:
Your custom form is similar to that of CreateUser form in all manners. The logic at the back-end has been written by you as well. As soon as you get all the values you call the createUser API of OIM to create the user. You have wriiten your custom action classes as well.
The insert error may be due to the reason that the user which you are using to create the user doesn't have sufficient permissions. In other words, if this is done through Java code then while instaniating the API, the user used must be missing these permissions.
If the error is due to this permission for users then we can give these additional permissions to individual users, if in case its not and you have some other scenario then just give me more details, probably I can help you for it.
Thanks
Sunny -
I want to create a user in a form trigger such as Pre_insert or other trigger
CREATE USER :daten.oracle_user PROFILE "DEFAULT" IDENTIFIED BY "xy"
PASSWORD EXPIRE DEFAULT
TABLESPACE "USERS" TEMPORARY
TABLESPACE "TEMP" ACCOUNT UNLOCK;
GRANT "CONNECT" TO :daten.oracle_user;
GRANT "DBA" TO :daten.oracle_user;
doesn't work when I compile. how can I solve the problem to create an user from a form??
answers in german highly recomended.
I use
ORACLE FORMS DEVELOPER AND FORMS SERVER 6i (Patch 2) RELEASE NOTES
and I belive its an 8.i database version. but I am not shureOk I tried it in a button-trigger and it worked.
one more I learened:
DDL (Data Definition Language) commands like CREATE, DROP and ALTER are not directly supported from Forms because your Forms are not suppose to manipulate the database structure.
A statement like CREATE TABLE X (A DATE); will result in error:
Encountered the symbol "CREATE" which is a reserved word.
However, you can use the FORMS_DDL built-in to execute DDL statements. Eg:
FORMS_DDL('CREATE TABLE X (A DATE)');
FORMS_DDL can also be used to create dynamic SQL statements at runtime. The FORMS_SUCCESS built-in can be used to determine if the last executed built-in was successful.
I got it from:
http://www.orafaq.com/wiki/Forms_FAQ
but thanks a lot!! your answer solved me the problem and after googling the meaning of "forms_ddl" I understood the technik
regard
robert koch -
Create user from oracle form builder 10g
dear all,
anyone to help me? I want to try, to create a new user from form builder oracle 10g in windows, I use a default script like 'create user user_name identified 123' in toad 9.0 for oracle and the result is success but when I try to combine with form builder oracle 10g this script doesn't work...I hope somebody can help me to solve my problem..
thank you,,,
Dedy Prasetyo T.Dear Francois,,
I've tried the way you suggested and success. but how if I take the value of user_name and password from the data block to insert table dba_users ? would you like to help me?
regard,
Dedy P.T -
SAP Security User Accountable Web Form
We are in process of creating users into SAP System. We have created a form where power users can fill it out their information with thier access they need and superviser can approved it. After that they will send that form to the security person.
When that person leaves, supervisor has to send an another form again.
Is there anyway we can automate this process through SAP?
Thanks.Hello Krishna,
have a look at this Weblog: <a href="/people/john.astill/blog/2005/07/21/php-user-management-part-1 User Management Part 1</a>. It lists all the required BAPI's. Could be a starting point.
Regards
Gregor -
Cannot create user using Web Site Administration Tool with Oracle Express
Hello,
I am following the tutorial here to add roles/memberships/profiles etc. using the Oracle providers supplied by Oracle:
http://www.oracle.com/technology/obe/11gr2_db_prod/appdev/dotnet/aspprovider/aspprovider_otn.htm?_template=/ocom/print
This tutorial fails at step 7: When I click Create user (on the security tab) the web page brings me to a page that says:
"An error was encountered. Please return to the previous page and try again."
Does anyone have any idea why this is happening?
Also, does anyone know if log files are created that I may take a look at to get more details about the error?
Thank you,
John DeAngelisHi John,
This is the forum for the Oracle Provider for OLE DB. You may want to post your question the forum for Oracle Providers for ASP.NET.
Oracle Providers for ASP.NET
as it will be seen by a wider audience using that product.
J.B. -
Trouble Creating a Master-Detail Form
I am trying to create a Master-Detail Form for two tables: Employee and Employee tools. I am using the wizard to create the form. I am just using the defaults and haven't added any code. The form updates the detail rows fine, but I get an error every time I add a new row. Below is an excerpt of the error. It appears that the Checksum is changing. Since this is generated code, is there a bug in APEX. Any thoughts on how to overcome this?
Thanks,
JOhn
Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "A884FA378C851786DDFE3A33709CB23C", item checksum = "EF2E77BFA1386ECCC11B7C3B2A464E60"., update "EMPLOYEES"."GLASSES" set "FK_PAYROLL_NUMBER" = :b1, "PURCHASE_DATE" = :b2, "OPTICIAN" = :b3, "COST" = :b4, "CHECK_NUMBER" = :b5Hi,
You can have multiple regions with data from different tables on a single page.
It all depends on the design of your database and pages, how you're going to solve this. Sometimes you need to create a database view to select data from multiple tables, sometimes you'll just create more than 1 region on your page.
Just try and play a little with Apex to learn some of the tricks. Also the built-in help is very good. You can select a 2-day developer guide to get a feeling of what is possible.
Good luck! -
Hi
How can i create a pdf from my webform which i have filled partially.
I need it to be emailed (with the data that are filled) so that i can download it and then complete the form later.
Also i need to create the pdf dynamically (number of fields in my webform changes depending on a particular selection).
The webform is created using perl.
Anybody please help me in this.
Thanks in advance.
Regards
RaheshHi,
I would like to make the process automatic. For that I have installed the LiveCycle ES trial version and started working on it. I tried to generate PDF from http://localhost:8080/adminui/secured/admin.faces, but the generated PDF was real mess. The genereated PDF didn't have the text boxes and the drop down as designed.
Now I doubt, if LiveCycle will help in meeting my requirements.
I can give you a brief about my requirements. Please go through and let me know if LiveCycle can help me with this.
I have a webform (say "http://mydomain.com/invoice.php") which contains input boxes for entering invoice number, customer code, customer name, address, country, state, city, Total Amount, Comments etc. Here country and state fields are dropdowns. When I enter a customer code, all the information related to the customer are populated in the respective fields in the web form. And some fields will be filled in manually. From this web form, I want to generate a PDF with the required data and then email it to our customers. Also I should be able to download the PDF file.
Also when the customer download the pdf, there should be the data which we have populated through our code. Also they must be able to edit certain fields and must not be able to edit other fields. After the process of updating the PDF file, the customer must be able to save the file with customer updates.
I want to know whether I would be able to accomplish this project through Livecycle?.
Awaiting your guidance.
Thanks
Rahesh -
Creating users via the admin console
Hi,
I'm trying to create a user via the admin console. The user will have to
authenticate via Membership, and will require a username and password.
However, when creating the user via the admin console it does not allow you
to specify a default password (or by using the command line 'ipsadmin create
user /domain/user.xml', unless there is some XML field specified in the file
to do that? If so, what is it? Specify an attribute in the
"iwtAuthMembership-password"?) After creating a user via the console, I
tried logging in using a blank password and a password the same as the
username, but neither worked. Is this password set as default to something,
and if so to what?
Also, is there some existing means for a user who has already created a
membership account to change their password? If not, then I guess I will
have to develop some code to modify the "iwtAuthMembership-password"
attribute.
Thanks,
MarkHi,
After you have created the user via the console, then the user will be added to a particular role.From the console go that particular domain and then to the role under which the user was created.Then select the Users link you can see the users list.From that list select the user for whom a password is needed,then it will lead you to a screen where you can see a link named Authentication.Expand that link and click on the Membership link there you can enter the username and password for the user -
Creating Users via Command Line/Terminal
Hey Everyone!
A Happy New Year to all! I hope that it was a good way to end your 2005 and I hope your 2006 looks to be promising!
Now back to the tough stuff.
Does anyone have a detailed example of how to create a user (user name, short name, password) assign them to a group(s), and set an expiration date for that account?
I'm guessing that there is a single string that could be entered into Terminal that would do all of this. I've read the man page for dscl but I honestly dont know how to interpret it as I'm not TOO fluent with Terminal yet. Yes I understand it can be dangerous to work inside Terminal which is why I'm asking for an assistance in translating the man page to englishdscl -u $ADMIN -P $PASSWORD /LDAPv3/127.0.0.1 -create /Users/$shortname
dscl -u $ADMIN -P $PASSWORD /LDAPv3/127.0.0.1 -create /Users/$shortname UniqueID $4
dscl -u $ADMIN -P $PASSWORD /LDAPv3/127.0.0.1 -create /Users/$shortname RealName $shortnam
PowerMac G4 1.25DP Mac OS X (10.4.1) -
I have a feb form that has a 28 save limit. When users save the form and return to submitt them they get a error message that says the form has expired or has been submitted. The form is open and it was not submitted. Any thoughts.
Form deadline is tomorrow and people are getting angry when I tell them to recreate the form.Hi;
Can you forward me any of the emails from your users with their saved link that is not working and we can look into it?
Send to [email protected]
Thanks,
Josh
Maybe you are looking for
-
How do I transfer a site to another member to use?
How do I transfer a site to another member to use?
-
How can I hook up my iPad 3 to a tv.
Is there an adapter to go from ipad3 to HDMI? I have a camera connection kit if that helps get to USB.... I have a 1st gen Apple TV but I guess it doesn't support air play.
-
My artwork and images keep resizing at random how to I stop this from happening ?
I have tried to PIN / LOCK the images but nothing is working, pulling my hair out - When I add an image to a slideshow then upload to FTP then i go online all the images are mis aligned and re sized - I have to go back and re-set them all again. done
-
IMovie on my iPad is crashing all the time
Hi I have the newest iPad 32 giga (wifi+4g) & I am using iMovie Since my ipad2 with no problems at all But on the new iPad The iMovie is crashing & quitting suddenly all the time I have updated the iMovie to the latest software but the same bad perf
-
[All Platforms][Playlists] Option to see popular playlists a song appears on
I really would love to see the ability to right click on a song and see which public playlists it appears on. After listening to the radio for on of my genres for a couple of days I'm tired of spotify's suggestions and would like to see what other pe