Non-persistant Method Of Connecting To MySQL
I have currently got a web site hosted by a hosting company, but when say more than 15 people view it at the same time it crashed, my host company recommend me using non-persistant method of connecting to mySQL, now i dont really know what that means, and the only explanations i can find is in php and I have no idea about that either.
Can someone please explain what non-persistant method of connecting to mySQL and have you got any example code i can loook at to change the coding I have.
View Complete Forum Thread with Replies
Related Forum Messages:
Connecting To Mysql From ASP
I am trying to connect to MySQL from ASP. Yes, i downloaded the mysql odbc driver and installed it. I have also set up the dsn correctly. connection is successful but queries are not being successfully executed. here goes the code:
View Replies !
Connecting .asp Page To MySQL
I'm trying to get an asp page talking to MySQL, which i have working locally using the myodbc 3.51 driver installed, but its not working when i upload the page to the web server. (im using Dreamweaver). I have installed the myodbc 3.51 driver on my local machine, and am able to connect to the mysql db from a .asp page with DreamWeaver OK. The connection file needs to change obviously ....
View Replies !
Asp.net Connecting To Mysql Database At Ftp Server
currently i m working on a web-based project using asp.net and mysql database. i using MySQL Connector/Net to connect my asp.net page to the to MySQL database server. My database is stored in the ftp server. In short, i m trying to connect my asp.net page to the ftp database server. Code:
View Replies !
Connecting Name To ID
I have a db table with 3 rows (ID, date, points). How can I in my script tell that ID 1=Mike and ID 2=Thomas and ID 3=William without making a new field in my table?
View Replies !
Connecting To Db
I am trying to connect to remote mySQL db and getting "Data source name not found and no default driver specified" My connection string looks like this - Conn.Open "Driver={mySQL ODBC 2.50 Driver}; Server=Station1; Port=3306; Option=4; Database=cds; Uid=andy" Is there anything wrong with it? I can't figure it out
View Replies !
Connecting Asp
how to fetch values from a specific record from access in asp.and how to compare data entered in a form with data in record and if comparison returns true then how to open desired page.
View Replies !
Connecting To SQL DB
I have a form that submits the information to a SQL database. The form has a two radiobuttons name="Cheese" with value="yes" OR value="no" and then collects contact info. The form submits to the SQL DB and I want to create a display page that will show the form and sort the form based on the name="Cheese" yes or no. All yes values will display form info under the yes column. All no values will display form info under the no column. So there are two columns displaying the information based the results of the SQL row name=Cheese. How do I connect to the DB and "sort" the info based on this value and dynamically show this information on my site? Code:
View Replies !
Connecting To DB
I have just purchased my domain name, and subscribed to a hosting service that supports ASP. I tried to copy my asp files over to my new domain, and I get the following error: The application is using arguments that are of the wrong type, are out of acceptable range, or are in conflict with one another. The line that is referenced is: MyConnection.Open DSNName ..here is the code I've been using on DomainDLX (free) to connect to the database ...
View Replies !
Connecting To DB Using DW
I am using a DSN connection created using Dreamweaver and an ASP page. The connection works fine on the local computer (i click the "test" button) but when I upload the files to my server I get the following error: "Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /mkoenig/survey.asp, line 120 and the line that it is referring to: MM_editCmd.ActiveConnection = MM_editConnection my editConnection is set to QUERY which is a DSN variable pointing to the database on my hdd?
View Replies !
Connecting > Anyone
is there a way i can map or find out the driver that the server i am on is using? and what is a 500 internal error of here is another question. i just upgraded to an NT server, i want to use ASP and databases etc,, what info do i need from my host to get this done?
View Replies !
Connecting Db To Asp
Im using abyss web sever to run asp. Now Ive downloaded a specialst software called activehtml which will help run asp- my questions are not based upon this but are far simpler. Im using frontpage to code asp and trying to connect a access database to it. Both the web server and database are on my laptop. My questions are as follows: 1) As the access database is on my laptop i.e. in a folder, how do I connect it to the asp page that I am coding? I do realise some sort of code such as Code:
View Replies !
ASP Method
I have downloaded the DiscIDCalc program from CDDB. I've used it a lot because I've written my own application for my CD collections (keeping track of the track information of each CD, track duration etc). I've already got all my CDs into the application, I'm now just going through each of the disc again just to add in the DiscID information. I do it by running the DiscIDCalc program, generating the DiscID, and then then copying and pasting this DiscID into my application and then save it. if anyone has successfully generated the DiscID within an asp page? Now I have to have my browser up and this DiscIDCalc program up. Just want to know if there's a way to incorporate the two together (even if it means I'm not using the DiscIDCalc anymore.). This DiscIDCalc has a documentation for its DiscIDCalcDLL.dll but it's not something that I can CreateObject with, so I'm quite clueless... I don't want to use VB to write APIs for that
View Replies !
Using Get Method
I use query string to search for records by using GET method. This method will generate querystring automatically by using the form name. Using search field together with drop down is fine but the problem is when i didn't enter any keyword or left the search field blank it won't display any result. Unless I put "%" in the search field. How do I make the querystring change to "%" whenever the field is blank so that all records will be displayed.
View Replies !
Connecting ASP To SQL Server
I don't know why I am getting this Error Microsoft OLE DB Provider for SQL Server (0x80004005) [DBNETLIB][ConnectionOpen (Connect()).]SQL Server does not exist or access denied. The Code I have used is Dim cnDB ' As ADODB.Connection Set cnDB = Server.CreateObject("ADODB.Connection") cnDB.ConnectionString = _ "Provider=SQLOLEDB;" _ & "Data Source=ENTERPRISE;" _ & "Initial Catalog=SchQry;" _ & "User ID=3453;" _ & "Password=aw33;" cnDB.Open
View Replies !
Connecting To The Database...
I have moved my database from an sql2000 server to an SQL7 server I am trying to connect to the database using windows authentication (no need for username and password) but I keep getting this error: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified I have already created a DSN driver named "projects" to point at the server This is the code I have used: set con = Server.CreateObject("ADODB.connection") ' Use the object to open the inventory ODBC DSN con.Open ("dsn=projects,"",""") Can you please help me set it up?
View Replies !
Connecting To An Access DB
I know absolutely nothing about connecting Access databases. However, I know a tad bit of VB.NET (my site is written in ASP, though). I need some help connecting to the DB. Here's the script I'm currently using (I removed the database, account name and site name for security): Code:
View Replies !
Connecting To Database.
I have set my sitein the following directory "C:InetpupwwwrootShevi" In this I have all my html and asp files.I also have a database called "guest.mdb" I use this code to connect to my database and read and write..But it doesn't work..Sometimes it just shows the records in the databse but when I try to submit a new record (through a form) it gives me errors. set Conn = Server.CreateObject("ADODB.Connection") Conn.Open("DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & server.MapPath("sheviguest.mdb")) set rs=server.CreateObject("ADODB.Recordset") rs.CursorType = adOpenKeyset rs.open "SELECT * FROM Guestbook", Conn Is the part in blue correct? If not tell me how
View Replies !
Connecting To MSSQL Db From Web
In our office we use RMS (Residential Management System) and they use an MSSQL database to store all the data. we can access this database using access and have made several...several queries to pull out info, save it to another access database, then upload it to the web and pull data from it. the server that houses the MSSQL database is online and i was wondering if it is possible to connect to it and pull out information. we wouldnt want to change anything, just view. so to connect to it, what all do i need to do?
View Replies !
Connecting With Dreamweaver
Im using dream weaver to connect to my database. I hav e made my connection successfully, added my recordset succesfully....however when i insert my dynamic text..... I get this: Code:
View Replies !
Connecting To Database
I've created a MySQL database and i'm trying to connect to it to retrieve data using MyODBC and ASP.. I tested it on IIS 5.0 but it keeps saying that it couldn't connect to the database..
View Replies !
Connecting To Localhost
I have got a scenario where an asp script needs to request via xmlhttp a file sitting on the same server. The code all works find on my local machine. However, on the hosting server, it does not. The problem is that I am on a shared server and the server can't "see itself", i.e. it's probably blocked by the host to receive request from itself. The problems comes in as the server will hold multiple sites and use host headers to channel request. I thought of using "localhost" and some kind of header sending scenario to get the server to go to the correct subfolder/virtual host. However, googling has not brought up much.
View Replies !
Connecting To Database
I have a webpage on my Local Host Server - IP: 127.0.0.1.I have a Access Database called "database.mdb" hosted on a Second Server in a folder called "db" - IP: 134.67.23.5 The IP Address is only an example So the address of my database would for this example be http://134.67.23.5/db/database.mdb I am use to connect to a database like this: connect = "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("dbdatabase.mdb") & "" How do I create the connection from my local host webpage to my database on the second server?I have been battling with this for sum time now?
View Replies !
Connecting Asp Pages
i dl'ed the trial version sql server, and i was wondering how do i connect to it. another question, can i run my site off the sql server..
View Replies !
Connecting To Database
I'm using VB with ASP and need to access a database, was going to use Access or Oracle access more then likely. I don't know how to do this does anyone have a simple example?
View Replies !
Connecting To Object
I'm having some issues with a dll I've created to return an ADOConnection back to an ASP script. I successfully open my object: mytest = Server.CreateObject("mydll.database") I then attempt to use the connection: myConnection = mytest.getConnection This is where the script breaks down with an "Object required" error. I am able to access other methods in the dll, it just doesn't seem to be returning the database connnection successfully.
View Replies !
Connecting To A Database
I am trying to connect to my database using (the database is stored at D:InetPubmysitesdatabaseMYadmin.mdb): Const dbPath = "databaseMYadmin.mdb" But it returns the error: 'D:Inetpubmysiteswebsite1htdocsdatabaseMYadmin.mdb' is not a valid path. Make sure that the path name is spelled correctly and that you are connected to the server on which the file resides. Is there a way to define the root folder (say as 'D:Inetpubmysitesdatabase), or will I have to move the website to be outside of the /website1/htdocs/ folder?
View Replies !
Connecting To Database
I have started to recieve the following error after creating a new database and a DSN connection to this database Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80004005) [Microsoft][ODBC Microsoft Access Driver] The Microsoft Jet database engine cannot open the file '(unknown)'. It is already opened exclusively by another user, or you need permission to view its data.
View Replies !
Connecting To FTP Server
I have to make a interface which should fetch files from a FTP Server and should display their names and path at user's screen. User will be using Windows 2000 profeesional and files are of .mp3 type. how to connect to FTP Server and fetch files from it's file system using ASP. I doubt is there any way to this?
View Replies !
Connecting To Excel
how to retrieve data from excel worksheet. i m having a excel workbook which is having multiple sheets. each multiple sheet is having data alongwith the column headings. how can i extract data from all sheets as required.
View Replies !
Connecting To A Database
I'm having trouble with a connection to my database. Which I think its the connect, because I can't see information from on database in my table. <%Dim connCCOL, strQueryString, rsBooks, intLoopCount%> <!-- create and open the database connection object --> <%Set connCCOL = Server.CreateObject("ADODB.Connection")%> <%connCCOL.Open "Driver={Microsoft Access Driver (*.mdb)};" & _ "DBQ=("../CCOL2.mdb")%> <!-- create querystring to retrieve books --> <% strQueryString = "SELECT Title, Aut_num, Publisher, ISBN " & _ "FROM Fiction " %> <% Set rsBooks = connCCOL.Execute(strQueryString) %>
View Replies !
Connecting With SQL Server
Im using the SQL Server, however i got this error message when my ASP tries to connect to the database. The SQL server is not my computer, im connecting to the SQL server using the IP add of that computer. The error message i've is: Code: Error Type: Microsoft OLE DB Provider for ODBC Drivers (0x80040E4D) [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'NT AUTHORITYANONYMOUS LOGON'. /Retrieve/testASP.asp, line 17 This is how my connection codes: Code: set conn=Server.CreateObject("ADODB.Connection") conn.Open("Provider=MSDASQL.1;Persist Security Info=False;Data Source=Database;Initial Catalog=Northwind;Network Library=dbmssocn;") Set oRS=Server.CreateObject("ADODB.recordset")
View Replies !
Connecting With SQL Server
Is it possible to connect to the SQL Server database from the ASP page without mentioning the User Name and password in the connection string. I have heard of something like UDL ... Unified Data Linking ... I'm not sure what it is? and how it works? Can anyone tell me about it or if anyone know any site from which i can collect necceaary information .
View Replies !
Connecting To Access
I'm getting the following error message, when i try to access my access database through my website. Microsoft OLE DB Provider for ODBC Drivers error '8007000e' [Microsoft][ODBC Microsoft Access Driver] System resource exceeded. /index.asp, line 9
View Replies !
Connecting Problem
if any one can see this code for me now if it possible , am trying to connect the oracle 8i with the asp but i got a problem the page can not be displayed also i have this Technical Information (for support personnel) Code:
View Replies !
Connecting To Mssql
i have a website on fast hosts and i have a mssql data base, i have set up the data base using enterprise manager. and i am now trying connect to it it via asp page but i am getting this message. is this wrong? Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open database requested in login ' lstudents'. Login fails. /default.asp, line 14 here is the line of my code that connects to the database. <%conn.open "DRIVER={SQL Server};SERVER=213.171.218.235;UID=xxxxxx;PWD=xxxx xx;DATABASE= mytable"%>
View Replies !
UPDATE Method In ASP,SQL
i am trying top update a field in my sql database but it wont let me??? does anyone know if my syntax is correct?? I have a field called userId in the database and want to replace it with my form request. Code:
View Replies !
Method Not Allowed
Method Not Allowed The requested method POST is not allowed for the URL /Database/processForm.asp. Apache/1.3.33 Server at antonyx.freestarthost.com Port 80 i just got this error, however, i have managed to post data into my database on this server b4, why is this error comin up now, could there be a prob with my asp file??
View Replies !
GetString Method
When using ActiveX Combo Boxes, can you use the GetString method to populate the control? I currently am using AddItem, however, it is taking a long time to process. I know that GetString works well to improve the performance. Here is my code while using AddItem: while not rsClient.EOF Response.Write chr(9) & "MenuForm.lstClient.additem " & chr(34) & replace(rsClient.Fields("Client Name").value,chr(34),"'") & " [" & trim(rsClient.Fields("Client Number").Value) & "]" & chr(34) & chr(13) rsClient.MoveNext
View Replies !
POST Method
Now this is a weird one. I'm having a problem with a system in development. When I post data from a form in IE 5.01 it works fine, but in IE 5.5 it refuses to post the data to the server and in IE 6 it's scatty -- works sometimes but not others. Anyone seen this before? Edit: By the way -- this is normal VBS/ASP running on IIS 5 on an NT server
View Replies !
Post Method
I have a form that ignores my form validation code. My code works if I use the post method of <%=Request.ServerVariables("SCRIPT_NAME")%>. But, If I post the form to another .asp page, which I prefer, the code doesn't work. Do anyone have any suggestions? Here's my code. I have a form that ignores my form validation code. My code works if I use the post method of <%=Request.ServerVariables("SCRIPT_NAME")%>. But, If I post the form to another .asp page, which I prefer, the code doesn't work. Do anyone have any suggestions? Code:
View Replies !
ASP HTTP GET Method
I have a service provider that's sends sms messages from clients mobile phones to my asp page, problem is I don't know how to show the data and they are not being helpful. The process is simple as outlined below (instructions from service provider Example: If you provide this: http://www.yourdomain.com/sms/sms.asp then we will do a post via a standard HTTP GET as follow: http://www.yourdomain.com/sms/sms.a...ISO-8859-1&udh= How do I receive the url with the parameters in the address bar?
View Replies !
Best Method To Hide
What's the best method to hide, or not show a certain record when doing a pull from a database, as in I am pulling a list with a dozen category's and I don't what to show one of them.
View Replies !
ASP POST Method Bug
I have a demo.asp page, that can't pass hidden value "mr progrramer" to itself using POST method. Only "mr" is passed. I created a second asp file demo1.asp and passed "mr programmer" and whole string (include space b/w mr and programmer was passed successfully). The code for demo.asp is: <% name = request.Form("name") response.Write "hello " & request.Form("name") ' if name is empty then store some string with space in it ' problem is the word before space 'mr' is passed, but 'programer' is not passed if len(name)=0 then name = "mr programmer" end if %> Code:
View Replies !
|