I downloaded this custom 404 error page which sends an email, was wondering if anyone could have a look at it for me, for some reason, its not picking up the function, I have tried the mailing code and it works fine. Code:
well i m developing application in asp when i want to access these pages from ie5 it shows error HTTP Error 403 - Forbidden in internet explorer http://localhost/Mail/email.htm .
I thought this is more of an IE issue but i've had no joy on that group perhaps somebody here will have a clue.
If i click a link to a web page embedded in Excel (97 OR 2000) i get the standard error page displayed by IE (you know, the 'cannot find server or dns error' page).
Turning off 'show friendly http error messages' alleviates this. (Unfortunately this is the Windows default setting!)
During a Script session, when I hit the browser 'Back' button I get Pag error. I get this error only from a couple of the pages. Would anyone what the problem could be? or how to go about fixin this?
In random case I have the problem of Error 400 bad request. My appliction is asp pages with visual script, internet explorer 6.0, com+, and sqlserver 2000 as database.
i have a link from page1 to page2. this link uses a querystring to transfer data. usually i have no problems using querystring t transfer data. bt for the first time page2 does not display.an eror page displays. i had a look at the properties of the error page to see if the url is correct and i noticed somthng iv never seen before.this is
I'd like to discuss the concept of creating an error page which will handle the website content display. I need it for Search Engine Optimization. The problem is that SE does not read pages with querystrings like:
website.com/mypage.asp?id=123.
Therefore, there is a solution to it to make a link look like website.com/mypage/id/123 (which does not exist), and error page will display the content of website.com/mypage.asp?id=123 page, if url is website.com/mypage/id/123...Do you think that is a good practice to implement? Can anyone show the example? Should I use Msxml2.ServerXMLHTTP to pull another webpagecontent?
Hey i am getting the following error in my asp page
Microsoft VBScript runtime (0x800A000D) Type mismatch /newfolder/temp1.asp, line 135
temp1.asp invamt = qty * price -----> line 135 qty and price come from the database. i am using Microsoft SQL Server. qty has the value 100 and price has the value 600.00. This same code is running fine with Msaccess 2000 and asp. But its giving me error if i use SQL server and asp. i tried this code with sql server in vb, there also its running fine.
I have a strange error with my script. I am trying to upload a file to the webserver using clsupload and i egt the following error when the script runs: The page cannot be displayed The page you are looking for is currently unavailable. The Web site might be experiencing technical difficulties, or you may need to adjust your browser settings. Please try the following: If you typed the page address in the Address bar, make sure that it is spelled correctly.If you are trying to reach a secure site, make sure your Security settings can support it.Click the Back button to try another link. Write Error I tried usploading using another file upload component and got the same error which makes me thinks it could be IIS permissions related. it doesnt even class it as a 500 error it just says this.
What i'm trying to do is if a person hits an error page, these are differnt error pages not the 404's or 500's.. When they hit that page i want it to send me an e-mail with all the information that was displayed on that page.
when using a web application which includes taking an asp page then going to another asp page and coming back to first page ...some times connection to iis gets terminated and page canot be displayed error comes .. this error does'nt comes on a particular page .
I am still in the debugging of my website, but I'm nearing the end. As a last phase implementation, I want to be able to catch all asp errors and if there is one, send the user to a custom "sorry bout that" page, rather than having the errors displayed on that; if there aren't any errors, let the page load. I setup the 404 error, but that doesn't seem to accomplish what I want.
i am creating a appointment calender everything is fine except for one page what I want is to have no duplicate times for example if someone books 2opm on tuesday 22 of june no one else can book the same time.
I have set the database to not allow duplicate entries but I need a page that if someone tries to book the same time it will say sorry that time is taken.
Server.mappath always returns an absolute disk path to a file, regardless of if you pass a web path that starts from the root of the web or relative to the current directory.
chazukka's example will work fine as long as the script is executed from a page that's in the proper directory, i.e., a page that has subdirectory named database and the mdb file is in that subdirectory.
For example, assuming you're running /myweb/somewhere/myfolder/myasp.asp in a directory /myweb/somewhere/myfolder and the database file is in /myweb/somewhere/myfolder/database/mydb.mdb then
I have an Insert Into statement that is working well, but there is no form validation on the text boxes. Is there a "blanket" error check that I can add to the script that performs a data/number check before submitting to the Db?
I migrate ASP to Win2003, and the error page doesn't display the errors but a general error like "The page cannot display..." when error displays, and the error doesn't occur in Win2000. How can I know the error message?
why I can't use custom error messages with the asp extension in IIS5.1? I have set up a custom page to handle errors called errorHandler.asp and all HTML is rendered but not the asp.
If i put Hello World in the html body section it renders but if I put the same in a response.write of the asp it won't render.
I created my custom error page and it sends an email with serverVariable("URL") to me, so I know what files users may request which are not found. All of a sudden, I started receiving a large number of emails.
what's the best way to log errors: database or flat text file (in terms of speed and use)? what useful info can I collect on error page 404 as you may suggest (serverVariable("URL") serverVariable("REMOTE_ADDRESS") are not just enough).
I had a problem which will cause the user to get an error page cannot be displayed. But this error only happened on one of my users, the rest are able to login to my site.
what might had caused the user to get "page cannot be displayed error"? Is that due to internet security settings? Or error with my code?
I have an ASP page with a form that then I submit to a second page, i have been trying it locally on my test server, (IIS from Windows XP SP1), and it works perfectly. The data is sent correctly, and I can manage it on my second page. For transming the data I use the post method in my form.
Then I uploaded these two pages to the production server (Windows 2003 Server), where I have a lot of files that works identacally. When I call the first page, it loads correctly, I am able to fulfill the form, but when I click the send button, the server send me the "Error 500, Internal Server Error", with no more information.
I have cheked for speling mistakes in the name of the files and in the action section from the form tag in the first page, but everything is ok, my asp code is also ok but I have no clue or idea why this fails. Code:
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.
why i can view my ASP or javascript errors on pages when running on my local server but when i upload and test on the server all i see is the server 500 error. is there a setting i need to change or something which will allow me to veiw the actual error, someone else in my office can see the error.
i would just like to know if there is a way to check if the table exists in the database? If it does the search query would be carried out but if it does not exist the user would just be redirected to an error page.