Unable To Display Web Page
I am currently facing some difficulties in accessing my web page. I am creating my company intranet website. Currently, I am developing my webpages in my local machine with IIS activated. When i run the website from my local machine's IE by typing //<computer name> my webpage displayed.
However when I do the same thing from another machine in the network, I got the error "The page cannot be displayed".
View Replies
ADVERTISEMENT
I have a value in the db column (LinkTextHit). This columns stores the links to display on the web-site. Sample links are: Code:
View Replies
View Related
Hi, I am trying to output an image using a filename from a database.
My code:
Response.Write("<img src='uploaded/" & bannerRecordSet("Banner_Image_File") & "'>")
Response.Write("<img src='uploaded/homepage1.jpg'>")
The first example works but doesn't display the image
The second example works and always displays the image
I don't know what is wrong with my code as the images are definitely on the server.
View Replies
View Related
All the way i have been running my ie in my server computer....
http://localhost/default.asp
but now i want to try running from another computer....
http://192.168.1.x/default.asp
but it fail to load the page......why is that so???
View Replies
View Related
I am trying to change text in the div tags of my page with values from an
object obtained from a server side script but the object is not accessable
to the client script. I get an object required error but I know the object
exists and is correct becuase I can write the query string value and
properties of the object with a server script. I also tried to access the
div tags from the server script but this also resulted in an object required
error.
View Replies
View Related
In IIS, when I try to browse an aspx, I get a popup message asking me if I want to open or to save the file instead of actually browsing to the page. Any idea of what could cause this issue?
View Replies
View Related
I have creaed a tree stucture using Frames. When selecting an option from the left side, an ASP page (Let us say page1.asp) opens.
In the ASP page, I am getting inputs from the user. On clicking Submit, i am opening another ASP (Page2.asp) which has the connection tags.
What happens now is, page1.asp gets loaded, when I click Submit, it says "Page cannot be displayed". Code:
View Replies
View Related
I have a folder on webserverwwwroot, called staticContent. The folder
has several message of the day text files, such as RepMotd.text. I have
an admin page, AdminMotd.aspx, that allows a user to view and edit the
contents of the files.
Webserver is running Win Server 2003 64-bit and IIS 6.0. The development
machine is Win XP, using Visual Studio 2005 (thus ASP.Net 2.0.)
In IIS, staticContent folder has Write checked and execute permission is
set to Script Only . In NTSF, the folder grants full permissions to
Network System.
When I try to overwrite an existing file in staticContent, or try to
create a new file, I get a System.UnauthorizedAccessException. The
Application error log on webserver notes that the error is on the page
I am trying to run, that my user name is what I logged in as, that I am
authenticated, and that the thread account name is NT AUTHORITYNETWORK
SYSTEM. Elsewhere, I am able to read these same files and insert them
dynamically into the web page.
This is the code that I am trying to run in AdminMotd.aspx, cut down to
the basics. If it makes any difference, the code is run "in page" and
not as part of a separate code-behind file.
******************
<script runat="server">
Protected Sub MotdChange(ByVal ThisFile As String, ByVal ThisText As
String)
Dim sw As StreamWriter = New StreamWriter(StaticRoot + ThisFile,
False)
sw.Write(ThisText)
sw.Close()
End Sub
Protected Sub RepMotdChange_Click(Byval sender As Object, ByVal e As
System.EventArgs)
MotdChange("RepMotd.text", RepMotdText.Text)
End Sub
</script>
<asp:Content ...>
<asp:TextBox ID="RepMotdText" runat="server"></asp:TextBox>
<asp:Button ID="RepMotdChange" runat="server" />
</asp:Content>
********************
I have traced that the error occurs when New StreamWriter is called,
rather than when actually trying to write to the file. Obviously I'm
missing something, but danged if I can find it.
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 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
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
i try to dispaly frame in new page by using
server.execute("botmb.asp")
server.execute("student.asp")
server.execute("linkkids.asp")
server.execute("linkkids2.asp")
but it open the pages in the same old page i try to open them in new page what shall i do .
View Replies
View Related
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?
View Replies
View Related
I have a search page that allows user to search a SQL database and want the result page to display on a search page. How do I get the result page to display on a search page when user clicks a search button. Have you got any sample codes to demonstrate this?
View Replies
View Related
i am developing a search engine. its like this. i have an asp from which gets the search string. i display a page with a wait symbol for 2 seconds (meta-equiv-refresh=2) and then transfer the control to the same page which would display the search results.
I think even this forum does this type of display. Now my question is how do i start searching for the entered string and stop displaying the wait page only when the search is finished.
i.e i dnt want a wait page to be displayed simply for two seconds and then show the search page. I want to ""show the wait page after the search is started and then stop displaying it and display the search results only after the result is got""
View Replies
View Related
for security purposes how can i set the requested page to expired or is set to inactive, after a period of time.
View Replies
View Related
i want records displayed on one side of the page and the other side i have a form where users enter data using the list that they have. i am able to list the records after or before the form but not to the side of it. how do i do that.
View Replies
View Related
I am trying to disable a user from going back to a previous page and displaying information previously shown. I want to give them the typical "Page has Expired" warning message. I am using Win Server 2003. Does anyone know what you have to do so that the user can only see the page once and not to be able to click back and see a cached page.
View Replies
View Related
We've changed a page in our website, but it does not seem to display the changed page when viewing in the browser although we have cleared all the cached files. what might cause the problem?
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
I need to build a asp page where it would serve as a data entry record page
as well as display page for records saved. This page should also allow
editing of records that has been saved. e.g.
SAVEBUTTON
SS# EntryBox Name EntryBox Date EntryBox Revenue Generated EntryBox
DISPLAY OR EDIT BUTTON
---------- ------------ -------------
------------------------
---------- ------------ -------------
------------------------
---------- ------------ -------------
------------------------
The process of the first part of saving record is fine. However, the second
part of displaying all the records that has been saved including the current
record saved is where I am having problems.
View Replies
View Related
I have an ASP 3.0 website on which the images are displaying intermittently.
In other words, when I request a page, the image is blank. There is no missing image place marker (rectangle with a red X).
The location where the image should be is just empty.
The code is there to display the image as can be seen when you view source in the browser
And if you later return to the page, or sometimes if you simply refresh it, the image will render properly.
What could be causing this erratic behavior?
I'm not sure whether this is an ASP issue, an HTML issue, a browser issue (the error occures in IE 6.0) or possibly a network issue.
View Replies
View Related
I am creating a form with checkboxes that contains in the value property, the ID of the image. The filename of the image displayed above the checkbox along with the image.
On that page, I am storing the "checked" information in a cookie. When the user clicks submit, I need to retrieve the actual image that they selected on the previous page and display it along with the image name which I get from the value property.
Right now the only data being passed is the value in the checkbox input tage which is a text string and not the actual image. How do I retrieve the images my users checks off. I hope this make sense. Sort of like a shopping cart, but I only want to be able to select images and post back the ones selected.
View Replies
View Related
I'm trying to create a site map that will display links to all pages including links to bring the visitor to different categories. See below:
Home:
About us:
Products:
-Category 1:
-Category 2:
-Category 3:
-Category 4:
Contact us:
When the visitor clicks on 'Category 3' they should be sent to a page that displays all the products in Category 3. Code:
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