473,791 Members | 3,105 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

aspx file not working

Hi!

I may have made this post several weeks back, but not sure.

I have a project due Thurs. The problem is when I copy the file the the
local inetpub/wwwroot folder and try to run the aspx file from the local
directory on the browser, it won't display. All my other files work
fine. I can also open this file up in Visual Studios 2005 and do the
"start without debugging" and it works fine. Why is it not working on
the browser? All the code seems to be right. Any suggestions?

Thanks!
May 8 '07 #1
5 5361
DrNoose wrote:
Hi!

I may have made this post several weeks back, but not sure.

I have a project due Thurs. The problem is when I copy the file the the
local inetpub/wwwroot folder and try to run the aspx file from the local
directory on the browser, it won't display. All my other files work
fine. I can also open this file up in Visual Studios 2005 and do the
"start without debugging" and it works fine. Why is it not working on
the browser? All the code seems to be right. Any suggestions?

Thanks!
What happens when you try to display it? Do you get an error message?

--
Göran Andersson
_____
http://www.guffa.com
May 8 '07 #2
Göran Andersson wrote:
DrNoose wrote:
>Hi!

I may have made this post several weeks back, but not sure.

I have a project due Thurs. The problem is when I copy the file the
the local inetpub/wwwroot folder and try to run the aspx file from the
local directory on the browser, it won't display. All my other files
work fine. I can also open this file up in Visual Studios 2005 and do
the "start without debugging" and it works fine. Why is it not working
on the browser? All the code seems to be right. Any suggestions?

Thanks!

What happens when you try to display it? Do you get an error message?
Yes,

The page cannot be foundThe page you are looking for might have been
removed, had its name changed, or is temporarily unavailable. Please
try the following:· Make sure that the Web site address displayed in the
address bar of your browser is spelled and formatted correctly. · If you
reached this page by clicking a link, contact the Web site administrator
to alert them that the link is incorrectly formatted. · Click the Back
button to try another link. HTTP Error 404 - File or directory not
found.Internet Information Services (IIS) Technical Information (for
support personnel)· Go to Microsoft Product Support Services and perform
a title search for the words HTTP and 404. · Open IIS Help, which is
accessible in IIS Manager (inetmgr), and search for topics titled Web
Site Setup, Common Administrative Tasks, and About Custom Error Messages.
May 8 '07 #3
Are you trying to view it in a browser window with
http://localhost/mypage.aspx?

have you gone into IIS and made sure the wwwroot is running 2.0?

David Wier
MVP/ASPInsider
http://aspnet101.com
http://iWritePro.com
"DrNoose" <dr*****@Idontt hinkso.comwrote in message
news:46******** *************** @roadrunner.com ...
Göran Andersson wrote:
>DrNoose wrote:
>>Hi!

I may have made this post several weeks back, but not sure.

I have a project due Thurs. The problem is when I copy the file the the
local inetpub/wwwroot folder and try to run the aspx file from the local
directory on the browser, it won't display. All my other files work
fine. I can also open this file up in Visual Studios 2005 and do the
"start without debugging" and it works fine. Why is it not working on
the browser? All the code seems to be right. Any suggestions?

Thanks!

What happens when you try to display it? Do you get an error message?

Yes,

The page cannot be foundThe page you are looking for might have been
removed, had its name changed, or is temporarily unavailable. Please try
the following:· Make sure that the Web site address displayed in the
address bar of your browser is spelled and formatted correctly. · If you
reached this page by clicking a link, contact the Web site administrator
to alert them that the link is incorrectly formatted. · Click the Back
button to try another link. HTTP Error 404 - File or directory not
found.Internet Information Services (IIS) Technical Information (for
support personnel)· Go to Microsoft Product Support Services and perform a
title search for the words HTTP and 404. · Open IIS Help, which is
accessible in IIS Manager (inetmgr), and search for topics titled Web Site
Setup, Common Administrative Tasks, and About Custom Error Messages.

May 8 '07 #4
I'm not sure where to look to check that in IIS.

David Wier wrote:
Are you trying to view it in a browser window with
http://localhost/mypage.aspx?

have you gone into IIS and made sure the wwwroot is running 2.0?

David Wier
MVP/ASPInsider
http://aspnet101.com
http://iWritePro.com
"DrNoose" <dr*****@Idontt hinkso.comwrote in message
news:46******** *************** @roadrunner.com ...
>Göran Andersson wrote:
>>DrNoose wrote:
Hi!

I may have made this post several weeks back, but not sure.

I have a project due Thurs. The problem is when I copy the file the the
local inetpub/wwwroot folder and try to run the aspx file from the local
directory on the browser, it won't display. All my other files work
fine. I can also open this file up in Visual Studios 2005 and do the
"start without debugging" and it works fine. Why is it not working on
the browser? All the code seems to be right. Any suggestions?

Thanks!
What happens when you try to display it? Do you get an error message?
Yes,

The page cannot be foundThe page you are looking for might have been
removed, had its name changed, or is temporarily unavailable. Please try
the following:· Make sure that the Web site address displayed in the
address bar of your browser is spelled and formatted correctly. · If you
reached this page by clicking a link, contact the Web site administrator
to alert them that the link is incorrectly formatted. · Click the Back
button to try another link. HTTP Error 404 - File or directory not
found.Intern et Information Services (IIS) Technical Information (for
support personnel)· Go to Microsoft Product Support Services and perform a
title search for the words HTTP and 404. · Open IIS Help, which is
accessible in IIS Manager (inetmgr), and search for topics titled Web Site
Setup, Common Administrative Tasks, and About Custom Error Messages.

May 9 '07 #5
Any other suggestions? I need to present this tomorrow night and would
like to get this working correctly.

Microsoft Help says to make sure that the folder attribute to unhidden.
My wwwroot folder, under properties is checked for read only.

Is there something else I need to do?

This is very important! Can someone please help me!!!!!!!!

Thanks!
DrNoose wrote:
I'm not sure where to look to check that in IIS.

David Wier wrote:
>Are you trying to view it in a browser window with
http://localhost/mypage.aspx?

have you gone into IIS and made sure the wwwroot is running 2.0?

David Wier
MVP/ASPInsider
http://aspnet101.com
http://iWritePro.com
"DrNoose" <dr*****@Idontt hinkso.comwrote in message
news:46******* *************** *@roadrunner.co m...
>>Göran Andersson wrote:
DrNoose wrote:
Hi!
>
I may have made this post several weeks back, but not sure.
>
I have a project due Thurs. The problem is when I copy the file the
the local inetpub/wwwroot folder and try to run the aspx file from
the local directory on the browser, it won't display. All my other
files work fine. I can also open this file up in Visual Studios
2005 and do the "start without debugging" and it works fine. Why is
it not working on the browser? All the code seems to be right. Any
suggestions ?
>
Thanks!
What happens when you try to display it? Do you get an error message?

Yes,

The page cannot be foundThe page you are looking for might have been
removed, had its name changed, or is temporarily unavailable. Please
try the following:· Make sure that the Web site address displayed in
the address bar of your browser is spelled and formatted correctly. ·
If you reached this page by clicking a link, contact the Web site
administrat or to alert them that the link is incorrectly formatted. ·
Click the Back button to try another link. HTTP Error 404 - File or
directory not found.Internet Information Services (IIS) Technical
Information (for support personnel)· Go to Microsoft Product Support
Services and perform a title search for the words HTTP and 404. ·
Open IIS Help, which is accessible in IIS Manager (inetmgr), and
search for topics titled Web Site Setup, Common Administrative Tasks,
and About Custom Error Messages.

May 10 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
3147
by: Daniel Rimmelzwaan | last post by:
I want to send a biztalk document to an aspx page, and I need to see some sample code, because I just can't make it work. I have a port with transport type HTTP, pointing to my aspx page, something like http://myserver/mypage.aspx. From there it gets blurry, because I just can't figure out how to do the rest. Does anybody have a sample page for me that I can take a look at? Just a simple one that takes whatever biztalk sends and saves it...
1
2813
by: Jerry Tovar | last post by:
I am using .Net 2003 on a XPPro running IIS. I am unable to view any of my ASPX webforms in a browser unless I modify the .ASPX file and replace Codebehind="employee.aspx.cs" with src="employee.aspx.cs". It looks like my bin/employee.dll file is not being used. Instead, my employee.aspx.cs file is being used.
7
5129
by: Nilesh | last post by:
I am using background-image attribute in a CSS file and linking the CSS file to aspx page. But strangly, background-image attribute is not working for relative URL. e.g. If I apply following css ..navbar-background { background-image: url(images/menubar.gif); } the image is not appearing on the page. It seems that IE is picking
11
2882
by: tma | last post by:
I have the following HTML in use on my web page. I need it to show a graphic image on the page but do not know what to use in the codebehind to make the graphic appear. If I load the source url in a browser by itself, the graphic appears, but when I use the tag in a web page it does not. Anyone have a suggestion for VB? <img src='http://www.domain.com/MohawkWS/MohawkHitCounter.aspx?ItemID=7103830413' border=0 alt>
2
28486
by: Roy Chastain | last post by:
I have developed a ASPX solution for resale. I know that most of my customers will not have IIS and ASPX configured correctly. I was trying to determine if it would be easy to just give them a small amount of code to past in to a .aspx file in the root of their main web that, if it ran, would tell them that the basic ASPX/IIS functionality was working? So far, I have not discovered anything simple, which leads me to giving them a DLL and...
14
2491
by: Mark B | last post by:
Our webhost (www.usbusinessweb.net) had a W2K IIS5 server crash after a scheduled hard-boot occurred during a ms-security patch install overnight. They couldn't get the server working again so they transferred our site www.orbisoft.com to a new W2003 IIS6 server they set up. That was a week ago. Since that transfer, all of our ASPX pages that use Access2000 databases have stopped working.
10
2446
by: ptass | last post by:
Hi In asp.net 2.0 an aspx files .cs file is a partial class and all works fine, however, I thought I’d be able to create another class file, call it a partial class and have that compile and load as a 3rd partial class. This would be handy so i can generate standard code into one of the partial classes, while having my custom code untouched
4
3205
by: rn5a | last post by:
Using VBC, I compiled a VB class file into a DLL named MyPro.dll. The namespace used in this class file is 'MyPro' & the public class is named 'MyClass'. This is the ASPX page which imports the namespace & instantiates the class 'MyClass' so that the ASPX code can invoke the different functions existing within the class 'MyClass': <%@ Import Namespace="MyPro" %> <script runat="server"> Public boMyClass As MyClass
18
8366
by: Boris Yeltsin | last post by:
I'm using a Web Deployment Project under Visual Studio 2005. What I would love to be able to deploy to a fresh server is just the \bin folder and the web.config (and perhaps a couple of other support files). But essentially I don't want to have to deploy all the ASPXs, images, .js etc. Is there a way to achieve this? I seem to remember some sort of special ASP.NET marker file you could put in the application root which would tell it...
13
3563
by: Bob Jones | last post by:
Here is my situation: I have an aspx file stored in a resource file. All of the C# code is written inline via <script runat="server"tags. Let's call this page B. I also have page A that contains some javascript code that calls window.open. I pass the resource url of page B to Page A's window.open call. Page B is then loaded and executed but none of the server-side code is rendered. If I view the source of the page, the code (and page...
0
9669
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9515
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
1
10155
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9995
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9029
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7537
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6776
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3718
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2916
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.