Browser Displays Code Of ASP Page
The most pressing issue at the moment is that my browser does not display the page; it displays the ASP code. I built the page for a questionnaire that was going to be placed on my schools server so that participants could access it online, but I submitted my request too late in the semester.
I decided that the best course of action was to collect these data offline using the computers that I had bought for my lab. The laptops are running Windows 2000 Professional and are using IIS. After configuring ISS and Dreamweaver MX, I built the questionnaire. Then, I uploaded the questionnaire to the “server”—the wwwroot folder.
Now, the index page (the instructions to the questionnaire) opens flawlessly, but when the link to the questionnaire is pressed to open the ASP page, the browser displays the code and not the questionnaire itself.
When I explained this problem to people, they tell me that my server does not support server site scripting, but I’m using a Windows machine, using Windows server software, and Windows database software (Access 2000). Moreover, when I preview the page through Dreamweaver MX, Internet Explorer displays it without a problem. Code:
View Replies
ADVERTISEMENT
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.
What am I missing?
View Replies
View Related
I am writing a page that will automatically redirect someone after a few seconds. I have the pause working and all but nothing loads. I hear a jscript body on load will work but I don't know the syntax. If anyone knows how to do it.
View Replies
View Related
i have 25 data in the database, each of this data i will assigned them to be displayed in an 5*5 table(asp page), that means, each data assigned to one cell in my table.
but if the data inside the database is not 25, thats means in my timetable, there will be one cell thet is empty and this page cannot be view since i am trying to displays an empty database!
View Replies
View Related
I just installed IIS on my local system. Just wanted to check if asp was enabled too. but when i run the code on the browser it displays asp code. What am i missing out here?
View Replies
View Related
When I hit an asp page the code for the page is displayed, not the actual page. I am running IIS locally for development. Any ideas of why this would be? If the pages are loaded on the server, they load properly.
View Replies
View Related
I'm just trying to set up a testing server via Dreamweaver that is my local box. HTML works fine and ASP works fine IF there is no js code input. I can save a few images in a table as an ASP page and it works great, but if I try to pull a table from a database, the browser suddenly displays the code, rather than the page.
I've heard some people referring to articles that might address this, but so far I'm not seeing them.
I have .asp files being handled by asp.dll from the internet information services section.
What the heck am I missing? What else should I provide y'all so we can brainstorm this?
View Replies
View Related
Does anyone know how I can close a browser page via ASP code?
View Replies
View Related
Does anyone know of any ASP code that would redirect a page that has a small page width....such as a mobile phone, Blackberry, Sidekick, etc to another page designed for the width.
I have one with Java script but many of these devices don't handle Java too well.
View Replies
View Related
I created my .asp page in Microsoft Visual Studio .NET 2003 and when I right-click my page in there it displays perfectly. But when I try to view it in internet explorer I only get the html part to display.
I've tried regestering iis in the cmd, it didnt solve it. Here is the code if it could be to any interest:
View Replies
View Related
I have three asp pages. The initial page is login.asp, it goes to page hello.asp. And hello.asp goes to page another.asp. If it goes back from hello.asp to login.asp, then in Internet Explorer, clicking on Back, the cache of the page hello.asp has been removed, which is the effect that I want.
If it goes back from another.asp to login.asp, and then in Internet Explorer, clicking on Back, the page another.asp still remains. Code:
View Replies
View Related
I have three asp pages. The initial page is login.asp, it goes to page hello.asp. And hello.asp goes to page another.asp.
If it goes back from hello.asp to login.asp, then in Internet Explorer, clicking on Back, the cache of the page hello.asp has been removed, which is the effect that I want. If it goes back from another.asp to login.asp, and then in Internet Explorer, clicking on Back, the page another.asp still remains. Code:
View Replies
View Related
how to make asp pages that could let people to upload files. I use Macromedia Dreamweaver and there is a form for file field, but it doesn't has any help function on how to do it.
View Replies
View Related
how do i link an asp page to a pdf document and render it (the pdf document)in a web browser without it downloading to the client computer viewing it?
i have tried the response.contenttype="application/pdf"
now the main problem is how to embed the pdf doc in that asp page!
View Replies
View Related
i want to force the web page address to be saved in browser history using asp vbscript.
View Replies
View Related
I am using do loop to retrieve all the records that I am looking for in the DB. Code:
View Replies
View Related
Could someone give me a little start example as to how to represent days / weeks in a table, basically I want to create a calendar, so get it to display each month in little table boxes, and then get it to pick up certain blocks of dates from my database in different colour.
View Replies
View Related
I have an ASP page, whisch generates dynamic report for a SQL server DB.
Now the users want to have the content in PDF format (not HTML page). The
server machine had "adobe acrobat destiller" installed.
How can I print the content of this ASP page to acrobat PDF destiller and
send PDF file to browser?
View Replies
View Related
I am rather new at Web program so I am starting off with some small stuff, but still having problems. I want to display a message box to the user when they click a button, but the message box displays on the server and not on the client. Can anyone tell me what i am doing wrong?
The command for the message box is:
MessageBox.Show("The anniversary date has been changed for all employees",
"Anniversary Date", MessageBoxButtons.OK, MessageBoxIcon.Information,
MessageBoxDefaultButton.Button1, MessageBoxOptions.DefaultDesktopOnly)
View Replies
View Related
I am currently having an issue with CDO and my asp code. The email body is including an "!" and space when the body is greater the 600 characters. Does CDO have a limit on the length of the email body. The issue is occuring both in .textbody and .htmlbody formats. Has anyone seen this before? Where do I need to look in order to determine the cause?
View Replies
View Related
I have just converted from Linux and Apache to MS 2000
running Visual Studio .NET on IIS 5.0. I have installed
the .NET Framework and the .NET SDK.
I have an extremely simple problem. I can view an aspx
file by double clicking on it, but I get a 500 error when
I type its name in the
browser. "http://localhost/firstasp.aspx." I am able to
get html and php pages to run from this server using
localhost.
I added an application extension to the Default
Website in the IIS Administrator. I pointed it to
C:WINNTMicrosoft.NETFrameworkv1.1.432aspnet_i sapi.dll
and used aspx as the extension of course.
View Replies
View Related
I have this file called "inc_BreadCrumbs.asp" basically this is a Navigation include file as breadcrumbs style, and I inserted this to every page in my site. It works fine but one thing I cant configure is that:
It displays the file names as for example: search.asp or results.asp etc... But i want it to display as SEARCH or RESULTS etc... How to implement this? Can it display only page title name or something else how can you change it? Code:
View Replies
View Related
We have a report page which deals with more than 3000 records and 80 columns. The records are displayed on a third party control VS flexgrid versioned 7.0.
Currently we are having a client side array populated from the server side using response.write . Is there any other means to optimize the performance on this page?
View Replies
View Related
One of the fields ("Description") in my MSAccess database table contain text formated by HTML tags (<b>, <i>, etc) I now need to display it on asp page, but not as formated text, but as it is stored in my database:
Not like
Description of this product is good.
but as
<b>Description</b> of this product <i>is</i> good.
How can I do this?
View Replies
View Related
How can i get the source code of a web page through asp code?
View Replies
View Related
I just inhereted a website. I made a change to a simple SQL string in a ..aspx.vb page. If I don't have Visual Studio, is there a way to "publish" the pages and show my changes?
View Replies
View Related
I'd like to write a bunch of queries from a SQL Server 2000 database in my ASP page and have a way of copying this information into an excel workbook in specific cells. Writing the queries isn't the problem, I just need to place it in a file in different specific cells.
Is there a way to do this? Do you have to use VBA code or something? the *.iqy technique isn't going to work, cause I have to place the data in a sepcific excel file, in sepcific cells. I am not sure how to do this or if it's possibly, if anyone has any
ideas on where to start or find some sample code I'd REALLY appreciate it.
View Replies
View Related
I am trying to call a field value from my database - which gets open in an included file (all work on database must be done in that included file), if i use response.write(rst("pagename") it would print fine in the page when I call the sub i.e <% call pageNameFind() %>
But i want to get the field value to appear like this <% PageTitle = pagename %> where pagename comes from the included sub pageNameFind pagename = rst("pagename")
It doesn't pick this up however - how would I do this? This value will then be sent on to another included file at later stage. and I must have the <% PageTitle = myvalue %>.
View Replies
View Related
How can I hide VB Script code in the ASP Page? Even though the display.asp includes the script_functions.asp, when I click on View Source from IE, I can still the VB Script code? What can I do to hide the code from the people who use display.asp?
View Replies
View Related
The employees who use it are not allowed access to the server it's
requried to sit on which means that my username and password have to be
included in the logon.asp page which I HATE! So when this fails, it
publishes my usernanme and password on the screen for the user to
see...brilliant!
Since nobody is willing to create a dummy account is there a way that I
can keep that line of code from displaying if in error? I've added the
code to this thread...
View Replies
View Related
I need an asp code/page to run in the background and execute periodically/full time. This code must do some actions based upon time intervals.
For example, The code must keep running and must send an email every 6 hrs. ASP is preferrable.
View Replies
View Related
inserting dynamic page code in .html page? i.e. i would like to insert a code which will display links. where my homepage link extension is .html. if it is .asp it would have been very easy. and also i would have worked fine. but now the problem is the homepage index file extension is .html.
so if i insert the code it is not displaying the links. i tried inserting the code in a separate file and saved as file.inc and gave the link from home page <!--#include file="file.inc"--> but still the link is not showing and not working.
View Replies
View Related
When I send a database to server it changes all of my special charters to unicod charterset, I suposed that server is on american charter set, I would like it to change to central europien windows - 1250 code page, is it posible and how? it is very importand to me.
View Replies
View Related