I need to connect from my ASP page to an access db which has also some Oracle tables linked.
I need to copy some oracle tables in some access table. I have 2 recordset for each "copy process" 1 reading data from oracle and 1 writing them in access.
But I have a big problem: I have to give user/password to ORACLE to use linked tbs.
I have password protected my Access database. I have ASP code that does not include in the password, I am not sure where to place it in the code - and every time it runs it comes up with an 500 internal server error message.
Here is a sample of the code:
....................................... dim Conn, rs set adoCn=server.createobject("ADODB.Connection") adoCn.open "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=True;Data Source=" & server.mappath("fpdb/database.mdb") set rs=createobject("adodb.recordset") .......................................
I have password protected my Access database. I have ASP code that does not include in the password, I am not sure where to place it in the code - and every time it runs it comes up with an 500 internal server error message...
Here is a sample of the code: ....................................... dim Conn, rs set adoCn=server.createobject("ADODB.Connection") adoCn.open "Provider=Microsoft.Jet.OLEDB.4.0;Persist Security Info=True;Data Source=" & server.mappath("fpdb/database.mdb") set rs=createobject("adodb.recordset") .......................................
database.mdb is the password protected file, lets just say ABCD is the password.... how should it look?
I am trying to encrypt the password and then store in Access DB. I have check out already existing threads on Sitepoint and read the artile at 15second.com (Password Encrypt/Decrypt using MDI ). It works for SQLServer. I tried it. It works..
But i am using MS Access Database, and it doesn't have any binary data type in it. So MDI is not working for me here. I havn't find any help.
I am looking for your help now as i have give it up and this thread is the only hope for me now. I need to Encrypt/Decrypt the password while using Access at backend.
I am trying to create a "Members Only" section of my website. I have an Access Database to store usernames and passwords and I am using Frontpage 2003.
I have very little ASP experience and am having trouble finding some help on this subject that is understandable. I already have a global.asa file on the site because I currently have a page with a form that writes to the database.
What I would like to know is how to setup a login screen to get to the members only side of the site which will validate against the password table in the database.
I have a client who wants to password protect a learning course that is set up in modules. Each module needs to have it's own password protection so users can only access them as they progress through the course.
Each user should have their own password (for each module) and, said client would like the password to expire for the user at some (predetermined?) point. Is this possible? It seems like a lot (in terms of setup), but I don't know much about password stuff.
If it is possible, can someone give me an overview of how it works (theoretically) or where to find more specific info on setting something like this up (in ASP.net)
If it isn't possible, can someone suggest what is more reasonable in terms of protecting the modules?
I created sessions to authenticate username and password. How can I utilize this same script to alert the user to change password at 3rd login? In other words when a user logs into a site after the 3 or 4th time which ever, they are prompted to change their password. Code:
I'm building a website using the oracle database engine. i'm conneting to the database using the odbc. the database is created on a webserver. when i'm using the odbc on my local workstation the connection works. but when i'm trying to publish the site i receive the following error: Microsoft OLE DB Provider for ODBC Drivers error '80004005'
Specified driver could not be loaded due to system error 5 (Oracle in OraHome92).
/arabic/news_index.asp, line 46
line 46 is when i'm opening the connection.
Note: what i mean with "my local workstation" is when i call the website using the localhost. and i mean by "publish the site" is by giving the website a dns name.
When I place a record set on an asp page designed in dreamweaver. I get the following error when i try to run d page.
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
Specified driver could not be loaded due to system error 127
I am connected to the database i can see my tables i was able to make a record set but when i place it on the pace and try to prview the page in internet explorer i get the above error. I have used oracle 10g to create the database.
i would like to ask what is the best and easiest way to connect an ASP application to an ORacle database? i will be accessing the database server from our network. do i still need to install anything in my local pc?
I written a procedure in oracle which returns a value. What all I want to do is to hold the value in a ASP vairable. The Oracle procedure,
create or replace procedure tat (j out number,i in nnumber,k in number) is begin j:=i+1; end tat;
I need to get the value of j in a variable & how to pass more parameters. i need this to be handled in asp i will pass through request form and call the procedure, and the procedure will return a value that also has to be hold.
Can I connect oracle using asp?Is it possible?I have done it with msaccess and sql server 2000 before. Can you guide me to create a connection with rdbms oracle with asp.(with dsn or without dsn)
I am trying to write a simple SQL statement which will take a string (startdate) in the format DDMMYYYY and compare it to a date stored in an Oracle database. My SQL is as follows:
<%
"select * from tblhistory where datechanged = '" & startdate & "'"
%>
The field datechanged in the Oracle database is set up using the Sysdate variable, on a previous occasion.
I have a big problem here ....i have an oracle pakage and i need to call this package in ASP , when i use "microsoft odbc for oracle" it work fine . But now we need to change the odbc to "Oracle in OraHome92" ...so evrything in the package call must be change. any one can help me ?? how can i call this package via this odbc driver and how i can retrun a record set from the package?.
i searched the web for a code to connect an 8i oracle database with the ASP and i didn't find anything useful untill now . So if any one can help me in this i will be so greatful , also i wanna know if it is possible for the PWS or is it only working with the IIS
On User Logout,I Close my Asp Application Browser Window, and attempt to shut down oracle database. The window closes, but Oracle Shutdown displays "Stop Active Connections".
Can i avoid this window ? I am not using global.asa.
The following is my logout code : <%Session.Abandon()%> <script language="JavaScript"> parent.window.close(); </script><%dim Executor Set Executor = Server.CreateObject("ASPExec.Execute") Executor.Application = """E:ORAWIN95BINOSTOP73.EXE""/screen" Executor.ShowWindow = false Executor.ExecuteWinApp set Executor=nothing%>
Anyone have any good links on accessing the paging methods in the Microsoft ADO when dealing with Oracle? I've tried just about everything I know, and I can't get those methods to work worth a diddly. Code:
I have had an issue that I have been working on for a couple of days.I am trying to retrieve and display an Oracle CLOB datatype containing a long description using ASP and ADO.
I cannot seem to get the contents of the recordset to display and the RecordSet.Eof and Bof properties are not returning true or false.
i am newbie to this environment,please tell me how to connect asp with oracle, ineed all the steps and sample coding.the sample coding has to show "connected" msg after conecting asp with oracle.
I'm having an asp page and I have data in excel sheet records. what i'm doing is getting those data from excel sheet through VB dll as recordset and storing it in Oracle database.
Eventhough i have a length check for each cells, when there is more than 255 chars in a cell it's throwing an error which is as follows. Error desc : Invalid Use of null Error No : 94.
An error keeps popping up on my ASP application connecting to an Oracle 9i database via a SELECT statement:
Item cannot be found in the collection corresponding to the requested name or ordinal.
However, if I put it an "On Error Resume Next", it works fine, and is able to return the value in question. The SELECT also works fine on the database itself. Here's the SELECT,
sqlstr = "select f_get_dept_name('123') dept_name from myschema.tbl_xyz"
how to add records to Oracle? coz now im doing the registration page for for new equipment,then in the page there got many fields need to fill up which call from 2 different table. so how can i do that?
I'm calling an update procedure from Oracle using ASP..
<pre> With objCommand .CommandText = "{call cust_Update(?, ?, ?)}" .CommandType = adCmdText .Parameters(0).Value = varCus_id .Parameters(1).Value = varf_Name .Parameters(2).Value = varbirthdate .Execute() ............ </pre> the problem I'm having is when entering the birthdate. This is the error I get... Microsoft OLE DB Provider for Oracle error '80040e14' I believe it has something to do with the delimiter in the date string("/"), but not sure? The Oracle procedure birth_date column is in "mm/dd/yy" format: birth_date=to_char(i_birth_date,'mm/dd/yy').... When I pass this in the textbox from the asp in this format I get the error? How can I resolve the ASP to take in the right characters for the birthdate?