i using the iis on my comp as a server.if i dun have a index.html or default.html page in my directory then when i enter //localhost then all files will be shown.now i put a index.html page inside the directory.. it will open up the index page when i enter localhost.i wan to link a page from the index.html page to the main login page.how do i do it?
I have setup an IIS 6 server and I am trying to migrate a pretty basic website to it. It will display any ASP page that I set as the default page, but gives a 404.2 for any other ASP pages that I link to.
I have uploaded asp online shop to my server but i can not see my default page pictures.Also i my poll does not work.Like windows download page appairs. My site was working fine with IIS but i do not understand it is not working in my server.
I have copied all my folder to /www/shop/ folder also my products doesn work. All was working in IIS. My email database is giving error while uploading to server.I have tried different ftp or direct connction.
Many of my pages use URL and/or server variables to run recordsets to serve up dynamic content. If a user bookmarks that page and then comes back later, they would get a end of record or no record returned generic IIS error page. Can anyone tell me how to add a defaul error page?
I've taken over maintenance of a website running on NT 4, IIS with ASP pages and an MS Access database, but I don't have much experience with this platform. I've got the ASP down pretty well and know SQL, but am having a problem figuring out how to get data for the main page.
On the main page (default.html) I want to display a random business from our database of businesses. Since it's a .html page how can I run server-side code to run the query and select the business? Am I stuck with CGI or is there some other way to do this? I don't want to redirect from the main page to another page, either.
I'm very new to ASP, but developing a dynamic website using ASP and an Access dbase.
I've created a template page (index.asp) and I plan for this to be the only page required for the whole site as the rest of the content will be loaded dynamically based on variables in the querystring. For example, if the querystring was: index.asp?PageStr=home, the home page content would load, if it was index.asp?PageStr=contact, the contact content would load.
My question is this. If someone went to my domain xyz.com there would be no default variable in the querystring and no content would load. Is there a way round having to create two pages - a default home page and another page for everything else?
I'm running win 2000, I downloaded a calender and put it into my root website folder. the calendar folder contained a file called adovbs.inc . After the insertion of this folder and creating links to it we noticed that when the web page loaded it's home page, another older page that has been deleted is displayed.
This page was located in the calendar folder. So now I've deleted the calendar folder, and restarted the server but this old page is still on display.
I moved a site from a dedicated server to a shared hosting environment. On my dedicated I could specify the order of precedence for the default / index files. On the shared default.asp takes precedence of index.html and I can not change that.
Support told me to look into using a web.config file to accommodate my needs. What I need to do is have the index.html file show up first, not the default.asp Is the web.config file the route to take?
if there is any one that have a good background about the IIS i have a problem in the running , i don't have any error in my code and also the IIS is working but when i run the code i have the page that said that the page can not be displayed
I am trying to connect to an SQL database but I am getting an error saying Server does not exist. I have not specified the Server it on because it is local and I am not sure what I should put for the value of the Server property if I do in fact have to have it. Code: var objConn, connStr Set objConn = Server.CreateObject("ADODB.Connection") connStr = "DRIVER={SQL Server}; Database=OpenMSM; UID=sa; PWD=pass;" objConn.Open(connStr)
I'm using a binary stream to send down a file from the web server. I've been having trouble with IE and getting it to recognize my file. I've added the filename as a paramater(?filename=file.jpgw) to handle IE's mime type mangling, but I'm still having trouble with IE's default Save As Type being HTML. When we send down a jpgw (geo-jpeg) file IE wants to save it as an HTML file. I've got the correct filename showing in the Filename box, and if I choose the All Files option from the Save As Type drop down then the file is saved with the correct extension. I'd like to have the All Files option choosen by default. I know it's just a couple of clicks but we have some noivce users that can't seem to get that
I wrote an application that generates reports.It then presents a page where I click a button [javascript:print()] to open the print page. However, I have a fixed printer and would like to know how to print to the default printer without me clicking anything. So the page will just load up and print. Or when I click a button. I just don't want the select printer screen to pop up. Much similar to clicking the print button on top of the address bar in Internet Explorer.
my new site uses default.asp, instead of using index.asp. this is how my old site was done. now i get error 500. is this because it is trying to find index.asp or because my database isn;t workjing properly? i'm tired and being stupid i think. it's reall probably the database, but i just want to make sure in my sleep deprived state.
I want to make it so that when the user is looking at a rendered ASP page and they hit the ENTER key, one of the buttons on the form gets "clicked". In other words I want for the user to not have to click on the button, and just hit ENTER instead. How do I specify the button?
This is the code for a combo box, and I would like to make certain value the default value, so that appears unless users select somthing else.
call rs.Open("SELECT * FROM Trim.dbo.luDecisionMaker ORDER BY DecisionMakerName" _ , myCon)
do while not rs.EOF Response.Write("<OPTION value=" & rs("DecisionMakerID")) if rs("DecisionMakerID") = nDecisionMaker then Response.Write(" selected") end if Response.Write(">" & _ rs("DecisionMakerName") & "</OPTION>" & Chr(10)) rs.MoveNext loop
rs.Close
It comes from a table and has PropertyDetailsID(1,2,3,4) and PropertyDetailsname(Fee, 5,10,Other) and for example "Fee" needs to be the dafault value.
If a new user is added to the database through a webform, and they would usually have immediate access to member only services, is there a way to make them nonactive in a MS access db until an admin activates them?
I am wanting to compress/zip a file up on the server and email it. Is there a default component that should be installed on the server that will compress/zip files? If not is there FREE ones that anyone would suggest?
How do I make a value the default value for a combo box in ASP 3.0?
What I have below does NOT work, yet I've seen it in HTML file examples before (and works if I put it in a HTML file by itself, but not if I use it in a ASP 3.0 app.
The following code works fine for PC but not for MAC. It won't select the default image from the DB. When I check the DB there looks like there is Binary information there but nothing is displayed ....
I need a string of code that will allow me to eliminate,exclude,or ignore the default values that are sent in my web form.It is an order form that has hundreds of items.The items not selected show up looking like this in my email box.
and I have to sort through all of them to find the few selected.can any one tell me with some type of loop to eliminate the values returning 0 or 0.00.
i set up iis 5.0 on my local machine(win2kpro) (on a pvt LAN) at the default port. when i try to access asp it gives http 500 error. i have been able to configure cgi scripts but asp still doesnt work.
I have two drop down lists on one of my pages.One of the them lists all the MONTHS in a year, second one list a number of years starting for 2004. Users couldn't be bothered selecting that every time they are filling it in for submission, so they want me to popolute the two fields with the current month and the year automatically.
Plus the month has to be selected as a current month up to the 7th of every month,on the 7th it changes to the correct month. of basically if date is < 07/08/2004 = July.
I need to display (and use as a hidden field) the date on a page. How do I change if from MM/DD/YYYY (e.g. 12/25/2004) to 25/DEC/04 . I'm putting it into an Oracle date field and it doesn't like the date in the first format.
Is there available some list of COM components available to ASP pages, that are available on virtually every IIS machine?
I am wondering wether there is some right-away-available API with cryptogrphy functions. The particular function I need is MD5 hash estimation for files. I have one written in JScript, but it would be very slow for larger files.
Is it possible to reset a SQL field to it's default setting? For example, someone changes FIELD1 to "John Doe" and the the default is "YOUR NAME". Can I reset it back to "YOUR NAME" somehow?
I am getting the above error message on a non-default website. But, default.asp and other asp files work properly. There are few asp files which are residing on this non- default website created by our application folks, and it is not working.
Server Details Win2k SP4 IIS 5.0 URLSCAN is installed C2 Security Settings implemented on the server.