ASP Pages Not Being Served Correctly

I have a new computer that I have iis 5 installed on win xp. I am trying to
run a simple one line asp test file in my wwwroot directory.

In IE 6 it says: HTTP 500 - Internal server error
Internet Explorer

In Netscape 6 it says "Class does not exist."

In my application event viewer, there are no entries from "Active Server
Pages", like I"m used to seeing in my other computers. Usually this entry
says "Service Started" or "Service Stopped". So apparently the asp service
is not running. I thought that uninstalling and reinstalling IIS would fix
it, but not luck.

View Replies


ADVERTISEMENT

Printing Correctly To A4

I have been asked to produce a web form that can be completed with various customer and product details, populated where necessary/possible from a database. This form then needs to be printed as an A4 document.

I have never dealt with printing from ASP before, but I know that simply trying to print a page to an A4 document causes you to end up with numerous bits of paper, most with almost nothing on.

I also need to ensure that the URL and other details that are apparent if you directly print from a browser are not there.

View Replies View Related

Using Cookies Correctly

How do I save cookies onto a computer propperly? I know how to save them, but whenever I try and do it, the browser just blocks them. So how can I save cookies onto a PC without getting them blocked?

View Replies View Related

Passing Value Of A Record Correctly?

this is driving me crazy and this forum is my usual last resort when i cant get something working! im trying to add some data to a table (access db). but first i need to find the primary key id of the fields im about to enter. im dealing with dates here, hence the bits of code concerning dates. so far i have: Code:

View Replies View Related

Needs A Way To Make Sure Data Is Correctly Added

How can I make sure that it adds all of the records to the table before I make Added = "True" It is strange, but sometimes, it won't add a record at all and then proceed to Added="True" How can I make sure that rs.Update was successful? Code:

View Replies View Related

Cannot Get To Format The Date Field Correctly

I cannot get the date format correctly in dynamic sql statement, after trying various ways of handling it. I need some help with the date format in the following dynamic sql statement. Any help is appreciated in advance. While running the asp page, I still get an error as Error Type:

Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'Format'

DYNAMIC SQL STATEMENT:

sql = " INSERT INTO tblExpense (ENO, EntryDate, ContractedServiceExpense, "
sql = sql & "TravelExpense, PersonnelExpense)"
sql = sql & " VALUES('" & l_ENO & "', " & Format(l_Date,
"#mm/dd/yyyy#") & ", " & l_contractedserviceexpense & ", "
&l_travelexpense & ", " &l_personnelexpense & ")"

View Replies View Related

SQL Update Query Not Working Correctly

I am currently working on a small website which gives an up to date current count on how many people are available are certain time slots for different areas, this is run of a Microsoft Access Database Backend.

My index script will display all areas and times and then display a link to a form which deducts 1 from the current count. Code:

View Replies View Related

Session.Timeout Not Working Correctly?

I have web forms that frequently expire because users have them up for more than the default 20-minutes without interacting with them. So, I changed the timeout in IIS to 7200 seconds (2 hours, of course) and added a Session.Timeout = 120 to the pages in question. (Am I right that Session.Timeout is in minutes?)

Still, however, the pages seem to be timing-out well in advance of the 2-hour threshold. Have I left something out?

I've skirted around the issue by putting the forms into a framepage and setting a blank frame to refresh every 10 minutes, but I'm not fond of that solution. Plus, I'm just curious why the Session.Timeout setting or IIS timeout setting does not seem to work as advertising (allowing for the fact that I may just be a moron and missed a step).

View Replies View Related

Boolean Expression Not Being Eval'd Correctly?

I have some code that checks security permissions in a DB, and before my conditional statement that checks these permissions, I am writing out both values to see what the statement looks likebefore it is evaluated.

The problem is, it seems to disregard the condition and always returns True, even if the condition should be false...any ideas? I also did some testing to assure that the length of the two values I am comparing is 1, just in case they were possibly holding spaces, and I verified they are numeric as well. I am just stumped here...

Let me also preface this code snippet by saying, I am using this asp script to generate javascript menu choices...and I did include some commented debug statements so I can see what the javascript rendered.. Code:

View Replies View Related

Special Characters Appearing Correctly In Email

I have a form that is being sent using CDONTS. The problem is the form I'm sending has a lot of special characters (it's in Spanish) and while I know how to get the chars to display correctly on the page, they're not showing up correctly in the email.

They either show up like this:
Country : Canad�;

or if I encode them, like this:
Country : Canadá

How can I get the email to display the correct character
Country : Canadá

I'm fairly new to ASP (I'm a PHP programmer) and have no clue how to do it.

I've noticed that the email is not set to encode in any special way like the equivalent for PHP......

View Replies View Related

Aspx Programs Not Parsed Correctly In Netscape

I noticed that when I process my aspx web pages in Netscape that the page is not interpreted correctly. Text boxes that are supposed to have no border, have borders, the font for arial is one size larger than what it is supposed to be, etc. Doe
Netscape plan to fully support the Net Framework system

View Replies View Related

Asp Pages Randomly Showing As Blank White Pages

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

Old Pages / Cached Pages

I am always getting cached pages even contents of the page changed on the server but I am getting old page (data).How to solve this.

View Replies View Related

Creat Pages Using Other Pages

is it possible to create pages using other pages. Here is an example... Can I make a page that has a menu on it, but the menu is actually a seperate page that I call with ASP?

View Replies View Related

ASP Pages

We run a website with pages that are created using ASP. The website is
used by different people from different networks. For some people, the
pages are stuck. It looks like the were able to open the page, but it
is not displayed on their browser. We think that it might be something
to do with their proxy. Does anybody know how to solve this problem?

View Replies View Related

IIS 6.0 404 Pages

I had a 404 page set up in IIS 5.0 that would the the URL of the requested page from the query string. i recently upgraded to IIS 6.0 but it doesn't seem to put the requested URL in the query string as it did in IIS 5.0 and 3.0. Does anyone know how i can get the requested url property in IIS 6?

View Replies View Related

Pages

I have a bout 5 different pages of which each will contain a form requiring users to complete. These forms are all related as one project. It is necessary that if the user was to only complete the first form they could theoretically quit, come back later (time not dependant) and complete the remaining pages. Therefore I think the best way to do this is to write the values to the database upon each click of the next button. The only other issue with this is that the user will also be receiving a pdf file at the end of the full form submission with all their information inserted into this pdf and finalized. Now. I am aware of pdflib in which I need php but my choice was to do this in asp. What are my options here? Should I combine them, should I draw all the info from the db at the very end with php and then create the pdf, should I use sessions during the entire process

View Replies View Related

ASP.net Pages With AS.net

When asp.net pages are made in vs.net, loading on the
local host displays the labels all in the top left corner
of the screen. Also, all textboxes and image buttons are
not even displayed at all. If pages are made on a remote
server, they load perfetly fine, it is just the local host
displaying them incorrectly. Is this a common problem?? I
have iis 5.0 installed with windows 2000. i use the full
version of vs.net to make asp.net pages.

View Replies View Related

ASP 3.0 Pages

I have a web site I've recently moved to a new provider.It has
worked for years.On the new provider's servers ( Win2k Server .NET 1.1 )
my asp 3.0 pages often don't completely execute.
Here is what happens: Most of the page starts displaying in the browser,
then you see some HTML, then nothing.
If you refresh a few times, the page finally completely loads. There is
never an error reported during any of this.

View Replies View Related

Cannot Run ASP Pages

I have installed IIS 5 on Windows 2000 Server and have applied all the neccessary updates and patches. I am unable to run any ASP pages on the local server. I am able to view the HTML pages though. I have checked everything but cannot seem to figure it out. I end up getting HTTP 500 for all the web pages.

View Replies View Related

ASP.NET PAGES

I am trying to setup a demo server for an asp.net web site that is working on my real website. The demo is Win2K and I have installed .net framework and IIS, both successfully,I think.
The problem is that when I try to access the demo site, the pages are not being served correctly - only lables are displayed, and not as configured. HTML pages display correclty. I tried to run aspnet_regiss, but get an unkown function error.

View Replies View Related

How To Do ( 1 | 2 | 3 | 4 ) Pages

i can make a database, add entries to database, delete from database, but the only thing i want is "How to divide entries in Pages" like we can see in the guest-book etc Scripts.
This is an Example: Quote:

Entries: 500 Pages: 1|2|3|4|5

how to divide the entries in pages, like 10 entries per page..?

View Replies View Related

Same URL Different Pages

I've got a site that's been up and running for a couple of years.I've added some new stuff and it looks fine on my computer. However other people are seeing the old stuff.

I've tried a manual refresh of both my browser and theirs but nothing, the URL's are identical . This is a real problem as i'm away for a month as of Friday and the site is needed for a project.

View Replies View Related

Htm Pages To Asp Pages

Our website is in html format. I want to change it to asp. I have already created my index page and have it on the server as index.asp. When I load the website it brings it up with no problem. On this index page I have links to all the pages on the website which are basically articles of varying lengths.

I want to use the query string (i.e. page.asp?pageid= or authorid=) ect. to load that article. Do I need to develop a database to store these articles in? If so can I include the formating code in the database field for the article itself. My fields in the database (ms access) would have for example article_id, author_id, article_txt, ect. How much can I place in a particular field (txt wise)?

I understand that the information passed in the query string after the ? searches the database for a match. Once it finds a match how do I display the article and have my formatting included, ect.? I hope this makes some sense.

View Replies View Related

IIS(5.0) Asp Pages

We have moved a web site from a development server running Windows 2000 and IIS 5 to a Windows 2003 server running IIS 6.0 Now the asp pages do not work correctly. For example, request.form() no longer returns data from the calling form.

I have turned web services extensions on to allow active server pages. The pages do work to some extent, I can even setup a connection to a database and retrieve stored procedure parameters, but some elements do not work. What else do I have to do to make an IIS 6.0 server run asp from a previous version of IIS?

View Replies View Related

401.2 On Pages

I have IIS running and can get it to display htm pages, but not ASP. I get 401.2, invalid config on server. I've run authdiag, but can't glean the answer from its results.

View Replies View Related

404 Pages & SEO

According to my last post (Error Handling) when I create an ASP (check.asp) page to handle 404 error (Page Not found) and I display data in this page according to the URL, this way I can make a site with infinite number of pages where those pages are not availble in reality. and I can create my own links in those to send to any URL in my domain.

Example: to display information about USA, I will make a link to a page called (USA.asp) and according to the name USA I can display data about it, and the URL will look great.

are dose links detectable by search engines?Will google index page http://www.site.com/usa.asp?surely USA.asp is not availble, but the link will display data

View Replies View Related

Tab Through Web Pages

I would like to know if it is possible to set this property in way it can be for example in Visual Basic. How would you set tabbing to go the way I want it to go rather and how would you make the first field have the cursor/focus when users log in and get to the page where you can start submitting.

the reason why I need this is so that user can scan through all the fields almost without needing to use the mouse, so the first field to have the cursor inserted and ready to go and the rest of fields to give the tab number the way I like it. Can it be done and how would you do it?

View Replies View Related

Best Way To Debug ASP Pages

I want to know what's the best way to debug ASP pages? Now, I just put the
following code when I got run-time error, but sounds like not efficient.

View Replies View Related

Is There A Way To Automatically Run ASP Pages?

I'd like to set-up an ASP page that emails shoppers 30 days after they've purchased an online product.

Constructing an ASP page that searches the database and if the datediff of the order date and now() = 30 to send out an email shouldn't be that difficult. But is there a way to have it run automatically?

View Replies View Related

How To Restrict Pages

i need help about restricting pages other than home page

i have a project inserting resume details here

i have 4 pages include home page

if i want to restict all the pages except home page

while starting

how to write asp code for that one

View Replies View Related

Lock Pages

I have a site that I need to distribute to various locations around the country. Each of these sites has they're own developers so I want to lock the code to prevent them from seeing it. Is there anything I can do?

View Replies View Related

Integration Of 2 ASP Pages

I have 2 seperate sites - Employee Site and Admin site. Only difference between the 2 is - Employee site is displayed based on the employee ID who logged in. So they can see only their information. Admin Site is displayed only to the admin users who can see anybody's information.

Admin users have a textbox and a submit button at the top where they enter the employee ID and then they can see that employee information. (Typically, the employee information seen by the admin user would be the same as seen by the employee.)

Both pages have NT authentication where I grab the "Logon_User".

The goal is to combine the 2 pages into one page.

Once I do that, I need to validate if that NT ID exist in the tables against that Employee ID of the person who logged in.

However employee's information is in the Employee Table.

Admin user's information is in the ReportViewers table.

I also need to check the error message I need to return back if the person;s NT ID does not exist in the table. Code:

View Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved