Does anyone know how to backup a database at given time intervals? I thought one way of doing it would be just an SQL statement that backs up everything to an identical database.
Presumably though for this SQL to run it would have to be called from an ASP page. What happens if no one calls that page for a month? How would i get it to back itself up anyway?
Something else that i want to do was for people to be able to access a sample web application and have a mess around with it.
However to be sure that when person B came along 1 hour after person A tried it out, the sample application wasn't full of explitives etc i want to be able to automatically revert back to the "default" data after the session times out or a set period. Any Ideas?
i dont know asp at all, but i have been asked to backup a database that is used on a site which uses .aspx. i dont need to do anything with it, just copy it and send it along to someone who will. I have the IP, username, password.
i have allready got all the files off the site with ftp, is the database in there? i dont really even know what i'm looking for, but i dont see any .mdb or .sql right off the bat.
I am trying to create a backup of my new SQL database from Enterprise Manager, directly onto my local machine for the first time, without using a backup device, . I keep encountering the following error:
'The error is 229: execute permission is denied on object ‘xp_availablemedia’, database ‘master’ , owner ‘dbo’'
I am logged on as 'database owner'. I just don't understand what i am doing wrong. After logging a call with the host, they have sent me a link to the following instructions, which i am already doing.
I need to save the output that is shown from my asp page to be saved as a excel file and be able to print and view from an excel.................is it possible?
I have two ASP pages.They query a database,and spit out the information as plain text in CSV format.The first has the SQL query hardcoded into it.The second takes a SQL query from a webform.
the hardcoded results,I can click "Save Page As" when the results come up and save it as a text file.The other,while it seems to be the same results exactly,gives me an error when I try to save the page locally: "The link could not be saved. web page might have been moved or had it's name changed."
The page has not been moved, nor had it's name changed. In fact, what's sent back to the browser in each case if virtually (if not actually) identical.What's the problem?
My content managed site allows users to add images to their account. Oringinally I was gonna store these in Access. However I have got a script which will let my users upload their images to the server.
The problem is how do I make sure images being uploaded don't affect others i.e. two users upload an image called photo.jpg, only one can exist in the same folder, right?
Do I then need to consider having a script which creates a folder based on the username?
I have a database that holds html (like a cms) and I can output that html without a problem.
But when I have a record in SQL that contains Html and ASP (ie 'Hello this is page one and its now <%=Now()%>') and want to out put it i get exactly that where i want to get;
Hello this is page one and its now 11/01/2005
Basically theres a few other variables that also get stored in the database along with html how can i output the code so that it runs???
My Session variable not getting saved by Session. Did using book example. Page displays correctly, but Session variable is empty. Are there any installations or definitions should be done on IIS?
I have just started using ASP, I am normaly using PHP but I thought ASP might be a good road to go down. I am having a few problems, I am trying to limit the number of records I take out the database but I keep getting errors.
I had made a form name 'dform.html' which asks idno, name and phone from the user and after the user clicks on button "save data" sdata.asp is executed. sdata.asp is written to save the values entered for idno,name and phone in dform.html into table "myfriends" in the mydata.mdb (access database). but when i am clicking on save data button i am getting error saying
"Error Type:
Microsoft JET Database Engine (0x80040E09) Cannot update. Database or object is read-only. /SDATA.ASP, line 9"
can please anyone tell me why i am getting this error.
I work with ASP for several weeks now and i really like it! But until now i have just used it in connection with my localhost. I made connections to a SQL Database and to an ACESS Database with using the ODBC Tool from WIndows!!
Now i want to publish my website but i don't know how to handle the connection string kind of thing. My MySQL-Database is on a different server than the website and i need a connection string where i can type in the server, a password and a username and it should then connect.
I'm current working on a project which need to upload local data to live server database.
Meanings that, i'm current having a server in my local mechine. I need upload data from local database to live database which host at oversea company. But i really have no idea how to do this in asp.
i wrote a shopping cart using cookies found out thatIE 7 won't let me add more cookies after a certian number. decided to use DB along with cookies and now i have very weired problem never encountered before Code:
With regardst the above many-to-many relationship:
Is there any advantage in creating seperate access databases for:
- Customer - Products
....Rather than keeping them as three tables in one database.
The reason I ask is that I have found that if I am using a ftp approach to overwriting or updating the remote database there are sometimes problems with synchronizing data .....This seems to be a better solution?
does any one know a simple free database driven website tutorial that i could learn? i need it for when someone searches a name ionformation on that name comes up along with photographs realating to them.
I have built several websites before but none are database driven so is there any dummy proof versions?
I have a Access DB with two tables (Users and tblpersons). Users are stored in table Users and their records in tblpersons. They are able to login, Enter, Search, Update their data.
I want users to be able to Enter and update only their data not other users data.
Example:User_Id 1 when logged in, is able to enter data for any user(1,2,3......) and able to modify their data.
I can make a simple database file and name it database.mdb, all I need to do is name a single field email and save it. But I dont know how to make it so that my page will become active and the emails submitted will be saved either to the mdb file or a text file, im not sure what goes on there.
They are on Windows 2000 IIS 5.0 and currently have an older version of their job database using Access hosted on a Brinkster server. The new server that they are on, when I contacted the host, they advised me against creating any new applications using Access, as the server is not meant for multi-users. So, I am thinking that they need to get their host to upgrade to a SQL database and have the job database developed using that. My question to this forum is: What do you think is the best combination for improvement here, SQL or MySQL or what, considering that their site is using asp and hosted on Win2000 IIS 5.0? Also, any recommendations on scripts that might be already available that could be customised to their site?
What we have is our own (in house) Windows 2000 Server which runs MS SQL for our data storage and we have writen our own VB6.0 Application which runs of the SQL DB to manange our stock, ordering, price's etc etc. Also we have our own Website with a Web Hosting Company which is also a Windows 2000 Server but can only Run access databases. What we what to do is somehow have the Access database and the SQL database sync together to have some of the same data in both database's. But I don't know where to start.
I have the following code to execute a SQL query.Code:
SQL = "INSERT INTO teams (`teama`, `teamb`, `pot`, `winner`, `finished`, `start`) VALUES ('" & teama & "', '" & teamb & "', 0, '', False, '" & gdate & "')" teamrs.Open SQL, conn all works fine. I just want to know what result it gives.because once i add it, the form submits, and its a blank page. I want it so it does this Code:
if sql = worked redirect else error end if so how can i make sure the query was executed successfully.
This is probably a stupid question (I'm good at those)... I would like to enable a user to be able to browse to a picture on their local machine and upload that picture to a remote directory where it can then be displayed along with it's other pertinent data. I thought it might be a good idea to use Front Page's "file upload" feature which includes a "browse" button and prompts me for a storing location - but I can't get it to work and am not even sure if that's its intended purpose. So my question is two-part, what should my insert or update page look like regarding an upload process, and then how would I link to or display that picture?
I have some questions in a database, i showed in the web page, for each questions i gave 3 (Yes, No, Not Applicable) options via select - option. when i get the variable with select name, it is showing with comma.
Example : If they select for like that
Ist question - Yes
IInd question - No
IIIrd question - Yes
IVth question - Not applicable
The variable is coming like (Yes, No, Yes, Not applicable)
I have a form that is inserting data to an access database i have it working, but when ever a user enters a name with a special character eg Tom O'Conor i get an error due to the ' character, is there anyway of over coming this problem.
i have this code that is supposed to help me out in some databse retrieval issue. however i am not aware of the dsn-less code and stuff: <% var rs = Server.CreateObject("ADODB.Recordset"); rs.Open("select * from states","DSN=IST_SQL;UID=....;pwd=....");
var n=0; while (!rs.EOF) { ... } rs.Close(); %>
i think the following is also to be included in the above code, but i am not sure of the whole connection thing.
Well Im finally getting how to do asp but I cannot seem to find where I import ms sql .sql files? I know in phpmyadmin there is a place to upload them but not anywhere in ms sql admin. Anyone know how to do this?
I just wanna know if I got a asp page in a location A and wanna connect to the SQL database in a server with IP address 144.214.87.11 through the Internet,then how can I configure in the SQL Server 2000?