ASP Pages Don't Load
ASP Pages don't load in IIS 5.1 for XP, continuously wait.
I have this very same website running same version of SQL server but on two different OS's. The website with the very same configuration, but running on Win2k with IIS 5.0 is working perfect. But the system running with IIS 5.1 on XP continuously loads and never displays ASP pages. After a few moments, if i refresh, it says that there is too much traffic to display the page. I am not worried about the second error, because I can simply fix that by disabling 'HTTP keep alive'. I searched for people that had similar problems, and what I found is that the problem seems to have originated from a Critical Update and users are either switching to Win2K or went with Apache rather than IIS.
View Replies
ADVERTISEMENT
I cannot display asp pages on my local pc but can display php pages and asp.net pages.
I get the following errors
1 -2147467259 (0x80004005) - when I have IE not show friendly error messages
2. Server Not Found - when I have IE show friendly error messages
3 Resources in use - sometimes - when I have IE not show friendly error messages
4. Sometimes I get the microsoft error report popup stating there was a problem with COM Surrogate
I am running Win XP Pro SP2 with IIS 5.1, and latest .NET framework (release not beta)
I have tried the following to solve this problem:
1. Set intranet security to as low as possible in internet options.
2 Set internet options to allow active content to run
3. Set security to low in IIS for the web site
4. Use http://localhost/webaddress.asp not C:filename.asp to open the asp page
5. Turned off script blocking in Norton Anti Virus
6. Have tried a simple "Hello World" page to ensure that there was no problem with the code itself
7. Checked that the asp.dll is where it should be
8. Have IIS set to allow anonomous logon
9. Have IIS control password
10. Have IIS allow windows integrated logon
I cannot think of anything else that would prevent the asp pages from displaying. I have searched the web and seen similar questions to this but no answers that seem to help resolve the issue.
View Replies
View Related
I recently upgraded my computer from XP Home Edition to XP Pro. I did this so that I could work with ASP pages on my home PC. I have installed and configured IIS just as I have in the past, but when I attempt to connect to any of the ASP pages via IE, I see that a connection is attempted in the status bar, but after waiting a few minutes, I finally receive a Page Cannot Be Displayed error. Keep in mind this is not a coding error, because it occurs even when I try to access the IISHelp folder in the default website section through the Management Console.
One other note - I do have Mcafee Security Center installed on this machine. I have attempted connecting with all of the options in the security center disabled, and I have also attemped connecting with all of the non-essential programs running in the background terminated (I did this through the Task Manager). I don't believe that the Mcafee applications are causing this problem, but I thought it might be important to mention in case anyone knows of an existing conflict.
View Replies
View Related
i have a file *.num and when i enter the full URL to download it he give my
a 404 error !
but when i rename the *.NUM by *.TXT everything coming ok !?
so how i can tell to IIS6 to accept *.num files ?
View Replies
View Related
Below is code to display in a drop down menu some addresses. There is two things i need to do. One is to not show if there are no records but also there could be duplicate records, How do i stop duplicates occuring...
View Replies
View Related
I dont have CDONTS support. i am using the following script. with this, even yahoo doesn't consider the email to be HTML and displays all the HTML tags and treats it as TEXT. here is the code i use! Please dont consider it abuse as i dont know how to encloase the code in TAGS!
<%
mes = ""
IsSuccess = false
sTo = Trim(Request.Form("txtTo"))
sFrom = Trim(Request.Form("txtFrom"))
sSubject = Trim(Request.Form("txtSubject"))
sMailServer = "127.0.0.1"
sBody = Trim(Request.Form("txtBody"))
if Request("__action")="TestEMail" then
TestEMail()
end if
Sub TestEMail()
Set objMail = Server.CreateObject("CDO.Message")
Set objConf = Server.CreateObject("CDO.Configuration")
Set objFields = objConf.Fields
With objFields
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = sMailServer
.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 10
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25
.Update
End With
With objMail
Set .Configuration = objConf
.From = sFrom
.To = sTo
.Subject = sSubject
.TextBody = sBody
End With
Err.Clear
on error resume next
objMail.Send
if len(Err.Description) = 0 then
mes = " Message sent to " + sTo
mes = mes + " EMAIL SENT SUCCESSFULLY!"
IsSuccess = true
else
mes = " " + Err.Description + " TESTS FAILED!"
end if
Set objFields = Nothing
Set objConf = Nothing
Set objMail = Nothing
End sub
Sub Alert(html)
if IsSuccess then
Response.Write "<div class='testRelults' id='testSuccessful'><span class='testResult'>Success:</span>" & html & "</div>"
else
Response.Write "<div class='testRelults' id='testFailed'><span class='testResult'>Fail:</span>" & html & "</div>"
end if
End Sub
%>
View Replies
View Related
am using a join query below to get multiple results from different related tables to form one. e.g
SELECT DISTINCT dbo.e_Wallet.subscriptions, dbo.e_Wallet.username, dbo.e_Wallet.status, dbo.e_Wallet.suspension, dbo.ewalletx_yr_registratn.email, dbo.ewalletx_yr_registratn.Fiscal_Yr, dbo.ewalletx_yr_registratn.end_date, dbo.e_walletpurse.purse
FROM dbo.e_Wallet INNER JOIN dbo.ewalletx_yr_registratn ON dbo.e_Wallet.registrationID = dbo.ewalletx_yr_registratn.registrationID AND dbo.e_Wallet.email = dbo.ewalletx_yr_registratn.email LEFT OUTER JOIN dbo.e_walletpurse ON dbo.e_Wallet.email = dbo.e_walletpurse.email AND dbo.e_Wallet.registrationID = dbo.e_walletpurse.regID
WHERE username = 'variable'
however it dosent seem to work or show any results on my asp page. What is wrong here ?
View Replies
View Related
Im working on an automated email sending script which work real fine. I have to send 2 different list of email ( contact1 and contact2) of an acces database file (.mdb).
The fact is that my script work well but for some reason it only send the second list of email (contact2).
The script process the list contact1 without any error but obviously it isnt sending mail to those email.
It seems to be an easy fix mistake but i cant figure out why the first contact list isnt sending. Must be a "If then" mistake or something with the loop i think.
Heres the code: ......
View Replies
View Related
I have a formview which im using to ammed records in a DB via a gridview. When an item is selected on the gridview its details are shown in the formview. Ive wrote the update statement for the Insert button in the formviews edit mode.
If i edit a record in the formview this updates the DB, but not the gridview striaght away. I have to click on one of the select buttons on the gridview to update this. I have gridview.databind() on the click event of the insert button of the formview and on pageload, if its a callback. Code:
View Replies
View Related
Using IIS 5.0 and sometime some asp pages (absolutely
randomly) showing as blank white pages. So far only one
way of fixing it - restart whole server. Restarting IIS,
or specific web server not helping, only whole server.
I enable server side and client side debugging, but no
errors showing up...
In view source pages always look like this:
-----------------------
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html;
charset=windows-1251"></HEAD>
<BODY></BODY></HTML>
-----------------------
Any idea why it can happened and how to fix?
View Replies
View Related
Is it possible to load a DLL in an ASP page? I know that we can create instances of COM/ActiveX objects using Server.CreateObject, but what about a normal DLL stored on the system. Is there a way to load such a DLL and call its functions?
View Replies
View Related
i have one text file when user click on link of this txt file ..than this file be downloaded to client machin...
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body>
<a href="download.asp">dd.txt</a>
</body>
</html>
View Replies
View Related
I'm using IIS on my localhost and also in some free Brinkster webspace.
The problem I have is that when ever I try to use a script that includes the File System Object (as I want to read/write/copy files etc), the page won't load, the progress bar in the browser just very slowly increases, but never gets anywhere, and nothing ever loads.So I'm thinking it's a set up problem? I've tried the same scripts in my Brinkster webspace, and they don't work there (but I know they do work!) but Brinkster may have some restrictions.
Is an FSO problem like this common? Can I alter some settings on my localhost set up to solve it?
View Replies
View Related
I never used global.asa. I am thinking of load some data in
application_onstart which is read only from database(I mean the data will
never be changed in any asp pages of the applcation) and so any session for
this application doesn't need to reload data from database again, reduce
database connection and procedure call.
Am I right? just doesn't see that kind of comments on-line.
I want to make sure this is the right concept before I am heading too far.
View Replies
View Related
I am creating a asp page containing a employee time-sheet table in it. there are two columns in the table, one is time-in one is time-out, and the table total have 20 lines.
In both time-in and time-out columns I want they show up as drop-down box say as: 9:00 am, 9:15 am, 9:30 am etc, , but I don't want the page load each drop-down box in total 20 lines, I only want the drop-down box loaded when the employee click the field.
I know maybe I shoud use JavaScript onClick funtion, but I am not sure about it, and I don't know the detail coding.
View Replies
View Related
i have an asp script to load an image. baiscally if there is an image reference in the database i want it to load that image but if there is not ref in the database i want it to load a default image.the code i wrote is
<% if Image = ""
then
%>
<img src="catalogueimages/default.gif">
<% else %>
<img src=<%=Image%>>
<% end if %>
have also tried null instead of "" but that didnt work either.
View Replies
View Related
I have IIS installed on Windows2000. When I create a .asp webPage with DreamWeaver, the browser (IE6) can't open it. No error messages, it just hangs there.
View Replies
View Related
I have downloaded an ASP WYSIWYG editor but I cant fingure out how to load an asp file into the editor. I think what I need to do is to load the file into the variable and then the editor loads the variable and formats the code accordingly. But I just don't know how to load the asp file into the variable. Here's my code so far:
Set fs=Server.CreateObject("Scripting.FileSystemObject")
Set f=fs.OpenTextFile(Server.MapPath("Test/7610.asp"), 1)
Dim DataTransfer
DataTransfer = f.ReadAll
View Replies
View Related
I have a webservice and iis webserver. if i open de asmx file i get errors saying Unable to load DLL 'msvcm80d.dll'
i added the modules to path directories and the directorie containing my webservice.dll file. still get the same error.
View Replies
View Related
I was wondering if it is possible, without software, to limit access to a page or section using ASP based on server load? I know you can install software and then call it using ASP, but I would really like to avoid this. I'm not sure if .NET even has this capability without using software.
I have a future project that they want to limit access to the management section if the server is under great load or is loaded more than 70% for example. Every search seems to bring me to .NET but I haven't had time to read in depth to see if it's built into .NET or they are accessing it through software.
View Replies
View Related
I wanted to know if there is a way to load a asp page in to it self.
View Replies
View Related
I have an asp page that gets data from a form in another page, for this, i am using the GET method to send the data to my asp page, and the page works great.
This asp page, nowadays, is quite big for displaying at once, so i decided to split this page in four new pages. Basically, my old asp page is now the static visible part, and the other four new asp pages, are the ones that will show the dinamic data.
What I tried was to make an <!--#include file... -->, and this works great for me if i have not to pass any values to the pages in the includes, but i have to, so what i want to know is if it possible to do this in any way, or, if i have to make four new diferent pages.
View Replies
View Related
Does anyone know any stats on php vs asp with heavy traffic?
Let's say Asp is hosted on IIS6 & win 2003 with the same server specs as php on Apache & Linux. Both of them are heavy queried sites using MySQL. I saw a lot of people are saying php is the winner here, what do you think on that?
View Replies
View Related
How do I make a form's text box focused on page load? I have a page that loads one text box for a user to enter their zipcode and then press search. How do I get the cursor to be in the box when the page loads. I do not have access to the Code:
<body
.
Only what's between the body tags. Maybe a javascript out there?
View Replies
View Related
i made a page that loads images from the server via asp scropts and it work fine on IE, but a client using netsape called and said that the images doesn't load and it just shows a broken link... i looked at the page through navigator and notice that the images/products/ was changed to images/products. What could be the reason for this?
View Replies
View Related
I'm new to asp but not new to web programming. I've been a cold fusion developer for a few years now, but due to a job changes I've had to learn asp. I'm running into a problem calling my stored procedure. The procedure runs fine in Query Analyer so I know that works, but when I try to call it using asp I get:
ADODB.Commanderror '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/ce/etracker/aIssue.asp, line 7
Here is my code.....
View Replies
View Related
I am writing a small CMS type system for our intranet at work and I am trying to have a main "index.asp" that does all the work in a template folder and every time I add a new section instead of making a new copy of this file I would like to have some generic "index.asp" file that is nearly empty that just calls the "template/index.asp" file and let's it do the work.
The way each page in the intranet works is by using the same asp file but by having a few configuration files in their directory that point it to different menus, titles etc.
Is there a way to load an asp file from another one? I tried creating an index.asp containing just <!-- #INCLUDE FILE="templates/index.asp"--> but it doesn't seem to do it.
View Replies
View Related
I'm having some fits with getting this to work but I'm near the end and I'm
hoping this one obstacle is not a huge one to get past.
Here's my scenario:
I have a page where when someone clicks on a dropdown and selects an item,
it will hide 2 other dropdown boxes that are related as the input in those
are applicable. When I save those items, everything gets into the db fine.
The problem is when the page refreshes, those 2 related dropdown boxes that
should be not visible are still visible. Is there a way in VBScript to
hide/show those controls based on the data in dropdown A? Javascript is
handling the actions but I don't think I can call Javascript on page load.
View Replies
View Related
I have a COM/DCOM software which will load some asp files on IE5.0.
However, after I have installed IE6, it couldn't work any more.
I expect that anything can be loaded on IE5.0, can also be loaded on IE with
higher version.
Do you have any idea what may cause the problem? Also how can I find out
the problem?
View Replies
View Related
I have a relatively simple ASP page written in javascript, that basically
contains a table, a dropdown list populated by a query, and a button.
The problem is that when first navigating to this page, the progress bar in
IE only shows the page as being 10 or 20% complete, even though the page has
fully loaded.
I originally had a mix of html/jscript/html (in that order), and tried
changing that to html/jscript just to see if the conversion from static to
dynamic to static code was causing a problem, but with no effect.
I have run the output of this page thru two or three different html
validators, none of which show a problem with the final code.
I'm using IIS on W2k server, and IE6 or IE5.5 on client.
View Replies
View Related
Is there a tutorial or script that will automatically load a website that includes a form that is completed and then autofill the input fields that are displayed which are username and then password.
I know the script will need to probably include a database connection so they can do the autofill where needed. So i want to have a drop down box with all the usernames, once a username is selected auto fill the password field according to its value in the table within the database.
View Replies
View Related
I have 2 ASPX files. One is the main, the other a smaller one which is the
center part of the main ASP file.
Now, how do I load the 2nd ASP into the first one?
View Replies
View Related
My Goal I want to load from a CSV File into variables so I can use the values in a procedure I've developed. But I'm stuck on how to access values from a csv file. If everything were to be in a Database everything would be just easier but sometimes you don't have the options of having a database.
Now what I'm wanting to do is load the output into asp variables so i can use them in a procedure I've created. Code:
View Replies
View Related