Page Doesn't Display After Include
I'm make a site that will contain an include statement that updates and gets data from the DB, but the text after the include doesn't display. When I don't have the include statement, the page displays perfectly.
Here's my statement:
<!-- #include file ="getData.asp" -->
Please let me know why it's not letting me display anything after my include statement, and what I can do to fix that.
View Replies
ADVERTISEMENT
My friedn is using PWS on NT4 machine, its a local machine, whenever he directs to an .asp page, visual interdev starts.
How can we over ocme this.I had solved this problem long time ago. Now i dont remember. Also to install IIS4.0 do we need to install MTS? if yes, where can we get
it?
View Replies
View Related
I have one field char type data length 1.. It has data either 1 or 2 in all the field tht I have checked through enterprise manager.
I'm running query:
"select * from table" and fetching all the records and displaying...
It display all the data except data from this field..Doesnt display anything..
I had put Response.write rs("fieldname")
What could be the problem?
View Replies
View Related
What I want to be able to do is create a user control that will display an
entire page page within it. Does anyone know how to do this or better yet
have any same code?
View Replies
View Related
I like to know how to write this specifc function on ASP where the user eg: display a set of records on the webpage. Example the data are ID, Name and address.
Lets say i display the data on the webpage and i set the Name as the <a href>. So when i click on the name, it will move to another page with the id of the specific name. Code:
View Replies
View Related
I am using CDONTS to send mail to the user from my ASP application.
However, the code doenst works all the time. I am able to get mails but
nothing happnes most of the time. The code works maybe once in 20 tries.
What could be the reason?
View Replies
View Related
I have a query in ASP that does a select * from table
It doesnt retun all columns!
When i use objRS("columnname") I get blank. This only effects some colums and I fix it by using
select *,missingcolumn1,missingcolumn2 from table
View Replies
View Related
i posted earlier, and the response seemed to be there is
another dll i need to use the cdonts object, i used it
fine for awhile on my old setup, i upgraded to 2k3 and it
errors up as if cdonts isnt an object. So is there a dll
i need to have to use the cdonts object in iis 6 or do i
need to rewrite my code to use cdo? (if so, please provide
asp 3 example on how to send an email with recepient,
sender, body and subject)
View Replies
View Related
I wrote the code for Members of Register. and i use cookie in this code, My database is SQL server. SQL server dosent support the cookies in my codes i dont know why this cause but my codes are working without any cause .
View Replies
View Related
I have got a problem wit da FILESYSTEM in ASP coding. Before I use window 98 installing PWS. Everything works fine....
And now, I use Window XP professional ( Laplop ), everything is updated ( Service Pack, .NET component, ASP.net stuff...
All my ASP code with FileSystem which used to be properly ran cant be executed on my XP server.
There is no message error on da page, but the browser icon keeps spinning and da content is blank, it means u dont see anything happens. I wanna ensure dat all da code is right, cos it work properly with PSW and other servers. I even tested with a simple code, but It still doesnt work..... Code:
View Replies
View Related
My ASP page contains the following VBScript code:
<%
zipCode = Request.Form("zip")
%> <br>zip: <%= zipCode %>, rf: <%= Request.Form("zip") %>
When I enter "abc" into the "zip" field on the form, I get the
following output:
zip: , rf: abc
Why doesn't the first statement assign the "abc" string to the
variable "zipCode"? What am I not seeing?
View Replies
View Related
I'm using SQL Server and I decided to convert one of the fields from nvarchar to ntext. The transition in the manager was all right, but my ASP pages wouldn't display the ntext and there is no error message. I use Code:
<%=rs("Text")%>
to display the ntext...and there is nothing.
View Replies
View Related
I have a database table with several records. Now I am filtering some data based on the "where" statement. If I run the query in analyzer then I get 20 rows. If I run the same query in asp and assign GetRows() to an array, then the array returns only 4. I am not sure if I am using the GetRows wrong. Here is a snipp of my code:
View Replies
View Related
PHP script is in script.php
Now, there's a page.asp
How can it be possible to include the script.php into page.asp (and make it work) without changing any extensions of files? SSI is supported, but i don't know how to use it.
View Replies
View Related
im trying to make a string and in that string have an include in to include a .asp page is this possible. Code:
myhtml = ""
myhtml = myhtml & "This Should Work "
myhtml = myhtml & " <!--#include file ="TESTR.asp"--> "
View Replies
View Related
I have different database connections that I use for DEV and PROD versions of our web app. I want to put the database connection string in one location so I only have to change it once when we push live.
So I put it in an include file and reference it in all my asp pages as:
<!--#include file="includes/db_conn.inc"-->
But this will not work with the global.asa page. How can I reference an include page from global.asa?
View Replies
View Related
I have designed asp pages where all pages have common header and footer. I have added Images to the footer page called as footer.asp.
now i have the footer.asp in another folder
and i call that footer.asp within my index.asp page as a include page.
but the images in the footer.asp are not displaying in the index.asp.
what could be the problem?
View Replies
View Related
i have many *.html* pages with the same header. i wanted to make one *header* file and put a link to that file in all html pages. So if i ever need to make changes in the header, i will need to edit only 1 file rather than all pages.
for *.asp* pages this code works fine:-
<!-- #include file="filename.inc" -->
but the same **include** does not work for *.html* pages. i guess there is some other way to put a link!
View Replies
View Related
I have a asp project. One of the module, i wish to develop in .net, can i include it into my asp project?
View Replies
View Related
On the rest of the site, virtual includes work, but on one particular page, non-virtual includes work, but virtual ones do not... even though the include statements are copy and pasted from working pages, or are part of non-virtual includes that are included.*
I assume there is something in the page's code that is prohibiting virtual includes? Code:
View Replies
View Related
I am using:
Response.ContentType = "application/msword"
Response.AddHeader "Content-Disposition",
"attachment;filename=Letter.doc"
to download my asp page to the client. The download process works great but when I open the .doc file it is missing the image included within the html <img> tag of the .asp page. How do I get the image to come down with the text?
View Replies
View Related
Basically, we are working on a website where we want people to be able to see about 10minutes of our live streaming webcams on a once off basis. We are working on IP address sessions to do this, my question is however we want to have a single page with a countdown timer and the streaming video.
Now the timer is located on a local server but the streaming video is coming from a remote location, can we include use the remote asp page inside our local page. So far we keep getting the remote url displayed but not the media player.
View Replies
View Related
I am running IIS 6.0 on Windows 2003.
I would like to be able to run a perl script from a web page and
include the output.
I have tried doing it with an ssi:
<form action='docsearch.shtml' method='get'>
<!--#exec cgi="/cgi-bin/docsearch.pl-->
</form>
This correctly ran the script, but it was unable to include the
QUERY_STRING from the parent URL into the included perl script, and
there seems no work around to enable me to do that on IIS 6.0,
therefore on this thread:
http://groups.google.com/group/micr...6ae0d85395a3d72
I was recommended: "to a simple ASP page which will easily do exactly
what you want because it actually has the functionality you want, by
intention, and is supported." Code:
View Replies
View Related
When we send a mail using the code below,we do not get simplified chinese characters if they are present in the body but we get junk in the mail and we need to change the mails encoding to simplified chinese to see the Chinese characters.
'CDONTS object
set objMail = Server.CreateObject("CDONTS.NewMail")
objMail.MailFormat = 0
objMail.SetLocaleIDs(65001)
objMail.From = sFromEmail
objMail.To = sToEmail
objMail.Subject = sSubject
objMail.Body = sMessage
objMail.Send
set objMail = Nothing
View Replies
View Related
I'm building a site which runs on 4 templates, each a different colour. I would like to pull in different content into each template using ASP.NET, similar to the php version of index.php?page=content.
I've not programmed in ASP before so am hoping someone can either supply me with a script or point me in the right direction.
View Replies
View Related
I have a seperate asp page for each due of the week (mon.asp tue.asp wed.asp etc...). I need each day's page to show on the site at 3am that morning, for example... I want tue.asp to show up at 3am on tuesday morning
View Replies
View Related
I'm running IIS 5.1 in Windows XP Pro. I moved all my ASP files and scripts from my backup CD to my new server.
Some of the pages can't be displayed, the browser would redirect me to Http://www.perfectnav.com/....uid.... web search engine page. How can I stop this? I mean I couldn't fix the problem if I don't see actual error of the page.
I open my IIS logfile and found Error 500 next to the request.
But the HTTP 500 error page never get displayed.
I turned off the "Display Friendly Error Message" in Internet Option and set all the 500 error page to default.
View Replies
View Related
I have created an .asp page in Microsoft Visual Studio 2003, and the page consists only of html and vbscript. When I click "view in browser" the page displays and works as I want it to.But When I view it in IE7 the stucture of the page is all messed up. I suspect that IE7 has problems in enterpreting the vbscipt because the html parts looks ok.
probably IIS right?
I have run regiis -i (dont remember the correct syntax) so that shouldnt be the problem.
View Replies
View Related
I have IIS installed on Win XP. When I type http://localhost/*.html (*.html mean any htm file) in IE, it works well. The page is displayed. But for any http://localhost/*.asp file, it always return either HTTP 500 Internal server error or Cannot find DNS server. I tried http://localhost/iishelp, it does not work also.
View Replies
View Related
I want to display a page in a text area.
For example i have a page default.asp in the directory about.
I want to be able to open this page in a text area for editing.
It must show the code for the whole page, including all <% and %>
View Replies
View Related
I have an ASP page hosted on a windows 2003 server.
This page was working fine until Saturday. Now, the server doesn't
serve it and gives a 404 page not found error. The file DEFINITELY
exists in the correct folder (it worked fine previous to now).
I have tested the page on our in house server, which is a Windows 2000
server and the page works fine. I have exported the database data and
tables which are necessary to the 2000 server and again it works fine,
so I don't think it is any data in the database which is causing it.
We serve many other sites off this server, and the asp works fine on
all of them, and throughout the rest of this particualr site which is
causing the problems.
View Replies
View Related
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 .
View Replies
View Related
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.
View Replies
View Related