I seem to have a problem retrieving a sequence number from ASP using OO4O. Using ADODB, everything works correctly, however, using OO4O it seems to burn off an additional sequence number (ie it increments by 2 each time).
strSQL = "select sicontractnum.nextval as thenum from dual"
set rsContractNum = dbConn.CreateDynaset(strSQL,0)
response.write rsContractNum.Fields("thenum")
rsContractNum.Close
set rsContractNum = nothing
dbConn is a connection object created from the connection pool during session startup.
I've created asp reports getting datas from Oracle. The server im using is 8i while client is 9i. Does Asp support oracle 9i. I mean while retrieving numeric datas from oracle it displays only 0. But if the same query is run in oracle to test it, it displays properly.
Do I have to download any patch or driver where IIS is compatible with oracle 9i. Any ideas whats wrong. Did u guyz understand what im trying to say. For ur better understanding Im sending a doc attachment.
Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] Selected collating sequence not supported by the operating system.
anyone knows wat's wrong with this?I am using asp, msaccess2003, using DSN, and winXP SP2
I have an issue with the search functionality page, on my text search box, if I type "bought by" with quotes to search for these 2 words in sequence in my database for reports that contain these 2 words in sequence, I get an error on the results page. Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Oracle][ODBC][Ora]ORA-20000: Oracle Text error: DRG-51030: wildcard query expansion resulted in too many terms
/basic_results.asp, line 289
and my basic_results page code is attached as a txt file.
I'm working on asp project, access 2000 at backend.I can write arabic text and arabic numbers in textbox and save them in database.but if i see these records, arabic text and arabic numbers,it is ok,if my computer is arabicenable.
If my computer is not arabic enable then it show arabic number into english numbers. how can i show arabic numbers instead of english numbers if my computer is not arabic enable.i'm working on a project i have to complete it.How can i convert english numbers that are coming from database and convert that numbers in arabic for show.
I have use
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256"> I shall be very thankful to you for this purpose.
looking for code to write a seuqence of numbers to a table in access. user selects quantity to populate, lets say 50 . so the table would need to be populated with the first number of trackid0001 up to trackid0050 through the script
I have a website where I present the price of some products. The products and its prices are stored in a database. I want to loop through the products and order them by the price, starting with te cheapest. This is easy if I could use the price in the database. But some of the products have discounted prices. The discount is given on the website, so therefore I cant order the recordset by the price column, I have to set the looping sequence of the recordset in another way.
I am trying to sort out validation for a form to display the error message in sequence. ie; when you click continue with blank form fields the first message should read: "Please enter your previous address (Line 1)" but instead it starts with PostCode then time at the address then town? Code:
I have a "Digital Dashboard" that basically has 4 IFrame sections. The page flows in the following order: Messages, Stocks, Weather, User Links. Please note that this order needs to stay that way. Everything but the Stocks section is pulled from our dB. I am using the server control InetCtls.Inet to obtain the stock data from Yahoo Finance.
The question I have is can I load the page using the dB driven sources first and then the external source (e.g., Messages, Weather, Links, Stocks). In other words, I need to page to render the Stock portion last. What currently happens is the page loads, then "pauses" while loading the stock information, and then finally loads the remaining content. The pause is caused by the "screen scraping." If I can give the appearance that the page has fully loaded, and then load the stocks last, that would be perfect. I tried looking at script defer, but I don't think that is what I want.
In summary, I have 1 asp page that contains 4 IFrames. I need to load the page out of sequence. Is this possible? Any help would be much appreciated. We are running IIS 5.0 w/ asp 3.0.
In my application I get the error 'function sequence error' when i try to use RS.MoveFirst . This happens only in one screen but the same doesn't happen in another 2 screens where i am using RS.Movefirst. Code:
I'm trying to access an access database by including the DB's password within the connection string. I try to connect to the DB, but I get and "Incorrect Password" error. What am I doing wrong?
set conn=Server.CreateObject("ADODB.Connection") conn.Provider="Microsoft.Jet.OLEDB.4.0"; uid=admin; pwd="pass" conn.Open(Server.Mappath("maindb.mdb")) set rsUpdateEntry = Server.CreateObject("ADODB.recordset")
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.