Set cnt = Server.CreateObject("ADODB.Connection")
cnt.open "test"," "," "
cnt.close
set cnt = nothing
i have some simple asp code as above running well in http mode,but once i run this in https mode, i got the following error message .
line 3:
[MERANT][ODBC PROGRESS driver]Optional feature not implemented.
what i am using is Merant 3.70 32-bit Progress driver
and the progress db version is 9.1c
any suggestions? thanks a lot in advance
When I try it on original server, it works, but when I moved everything to a different server it does not work. I have checked the dsn name, userid and passs. But no luck.
Error [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
We hosted our asp based application under windows 2000 server with sql server 2000 as backend. All the asp module works fine with internet explorer version 5 but same application is giving odbc error when we run the application in IE 6.
The exact error is : Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified xxxxxxxx/login.asp, line 27
I'm getting Internal Server Error in one of my pages. The server's error log says: ODBC driver does not support the requested properties. there was recently a hosting change but there is no way to find out the configuration of the previous hosting. The current hosting is on win server 2003-IIS , mssql 2000.
My connection string is Application("ConnString") = "Driver={SQL Server};Server=*****;UID=*****;Password=*****;Database=*****"
After some tries in isolating the code that causes the error i believe that the error occures when this:
Server.CreateObject ("ADODB.Command") is executed.
I used following line to connect DB and get following ODBC driver issue oConn.Open "UID=user1;PWD=abcd;DRIVER={Microsoft ODBC for Oracle};SERVER=server1;"
Error message:
Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Driver's SQLAllocHandle on SQL_HANDLE_ENV failed
I have an intranet site that uses basic authentication to allow users to view and update information from an Oracle DB (ver 8.1.6 -- ancient, I know). Anyway, the site worked fine as long as the machine accessing the ASP page was running Win 2k but when an XP machine tried to view the page, the client got an error:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Oracle][ODBC][Ora]ORA-12640: Authentication adapter initilization failed
I tried googling the error and ran across a post that suggested using the Microsoft ODBC driver for Oracle rather than the Oracle ODBC driver. I made the change and things are working fine now. I guess my question is why did this happen? If it was really an ODBC driver problem it would seem to have occured regardless or the OS of the requesting machine. (After all, this is requested through HTTP)
My server was JUST upgraded to 2003, the system had been running fine under 2000, but after the system crash I was convinced to upgrade - that's when it all fell apart. I'm not doing anything fancy with asp, just passing a couple of fields and obtaining the record from the database.
I can disable IUSR_computername and when it prompts me to log in, using the Administrator's password, the ODBC driver fires and connects to the database just fine.
Re-enable the IUSR_ and it goes back to giving the can't load error.It has to be a permissions deal, I just don't know for what directory. Any help would be greatly appreciated, server has been down now for 81 hours.
You can see the error (when server comes back online) at: FinalFinancing.com/stnick/ebook.html
I have a dynamically generated update statement which has a rathe large IN clause making comparisions on an indexed and keyed integer field. Here's the code below: ....
I have sql server express at my PC-windows xp professional, I try to connect to a table via asp (queryString :"Driver={SQL Server};" &"Server=localhost;" & _ "Database=local;" & "Uid=nikos;" & "Pwd=nikos;" but there is an error Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC SQL Server Driver][DBNETLIB]"The SQL server does not exist or there is no permission.
I can login with EMS lite both with sql server Auth. and windows auth.What is fault?
I am trying to peform a multiple deletion of records from a single table "Stockist"
I i keep getting the following Error and can't see where i am going wrong. Can anyone help?
Microsoft OLE DB Provider for ODBC Driverserror '80040e10' [Microsoft][ODBC Microsoft Access Driver] Too few parameters. Expected 2. /RetailerStockProductRemove.asp, line 22
I am urgently finding a set of codes to write data into a form and the data will go to my database. However i have tried a lot of form but couldn't successfully process. Below is one of my problem...
Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver]General error Unable to open registry key 'Temporary (volatile) Jet DSN for process 0x9a8 Thread 0xa08 DBC 0x3041e1c Jet'.
I have this insert statement where instruction field in the DB is a memo field.
SQL="INSERT INTO int ([instruction]) VALUES " & _ "('"&Request.Form("myTextarea")&"')"
objConn.Execute(SQL)
Its giving me error: Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80040E14) [Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.
I have 'upgraded' my website from MS Access Driver to JET 4.0 driver. Additionally I used Include files for the connection string, so that when I put the program on another website, I only have to change 1 file not 160 files. So far so good. The upgrade to the JET driver has had some problems, problems not experienced in 4 months of smooth operation by the MS Access Driver.
The JET Driver did not like square brackets in the SQL string(these are often placed here by Access, when testing strings). The JET driver did not like my field name called 'position'. It totally stuffed up and I had to change the name of my field in the database. Took 3 hours to work out the problem!! The JET Driver did not like the field I called Day, had to change it's name to weekday.
The reason I 'upgraded' to the JET 4.0 driver is that it is meant to be better and it allows me to use a password to protect the database. Can I have a database password using the MS Access Driver, in case I get stuck again, does anyone have the syntax?
I have a frameset,leftframe and rightframe. Leftframe displays links and clicking on these links the appropriate page is shown in the rightframe.The rightframe accepts some inputs and submits to another page (.asp page).This page creates a .PDF report.
When i click on a link for the first time and try to generate a report , the report is displayed, also the progress bar is shown. But when i reload the page and try to generate the report again , though the report is generated in PDF format, the progress bar is not shown. This happens when the PDF is integrated within the browser.
This does not happen when the PDF is shown outside the browser. Can anyone tell me how do i resolve this issue?
I would like to create a progress bar for file uploading stating the percentage left to complete upload. How can this be done? Any reference that I can refer to?
I have a website that lists Word docs and Powerpoint presentations. When a user clicks on the link the open/save dialogue pops up (as it should). I know that when a user chooses to Save the doc, the dialogue finds the file size and updates the estimated download time as it is downloading.
But how can I duplicate that 'progress' when the user chooses to only Open the file? I know that the browser's status bar shows the status of the page (i.e. loading) but my client would like a progress bar for this also.
I have an ASP which is a form (get), and whenever I run it, even though its just sitting there waiting for input, the progress bar at the bottom of the page starts slowly climbing up. Why is it doing that ?
I'm using ASPSmartUpLoad free component in order to upload files in a browser based way, but I would like to add a Progress Bar to my page during the big files uploading, I mean something like the small html windows that appear when you are "downloading" any file. Please, Does anyone could indicate me a way or idea about to do this?
I have a ASP application which let user to download their reports in pdf format. I would like to show a progress bar, or change the mouse cursor to a hourglass while the user is waiting for the file. How to acomplish this? In the asp code, I use response.BinaryWrite to create the pdf file directly to the browser. How to detect when the file is ready?
I need a search in progress page, so when a user clicks my search button they are then directed to a 'searching...' page with an animated gif.
The search in progress page needs to use 'GET' to go and retrieve the results of the search. Once the results come back they replace the search in progress page.
I have an ASP page - that will be making about 7 calls to a database. What I want is to show progress to the users so that they can tell each database call is in progress. The asp calling page works fine, but it only displays when the entire process has been completed. What I want is to be able to show dynimically - step 1 done; step 2 done; etc.
I have some reports which run as SQL statements from an ASP web page. As some of the queries return about 4-5000 records, I would like a progress bar to be shown so the user knows that something is happening, does anyone have suggestions on how to do this or any sample code I can use?