Initial setup

  • Thread starter Thread starter Jim Rasmussen
  • Start date Start date
J

Jim Rasmussen

I installed VS 2005 for asp.net 2.0. I cannot even get a page with hello
world to produce. The only error I am getting is from a text editor that
says...
"http:\\localhost\website\" was not found. Do you want to create a new
document?

I added defaults.aspx to the document list for the site. Verified that asp
2.0 is selected for the site.
Debugging is turned on.
I uninstalled and reinstalled VS 2005.
I ran aspnet_regiis -i.

Any help or ideas?

TIA

Jim
 
Did you compile the site? What do you mean by "the only error I am
getting from a text editor"? Are you using VS 2005 or a text editor to
create your hello world example. How are you trying to output "Hello
World"?

-Darren Kopp
http://blog.secudocs.com/
 
Darren,

Thanks for the response.
Did you compile the site? - Yes it was.

I should have said the only 'message' I get is from a text editor.(EditPlus)
if you are familiar with it. I am using VS 2005 for the build.

Here is the code from the index.aspx file..

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="index.aspx.vb"
Inherits="_Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >

<head runat="server">

<title>Untitled Page</title>

</head>

<body>

<form id="form1" runat="server">

<div>

Hello World!</div>

</form>

</body>

</html>

Hope this is helpfull.



Thanks again



Jim
 
Well, I am not familiar with that program, but I downloaded it and
could not produce the same error (but when i tried view web or whatever
it just went to the file system to render the page, not through
http://localhost/website).'

A couple of things that I notice. You have CodeFile="index.aspx.vb",
is your page that you have index.aspx or default.aspx? Can you browse
the page outside of the text editor? Will the page load if in visual
studio you go to debug -> start without debugging?

Other than that your page looks fine, and I was able to run it with by
copying and pasting into my visual studio and the IIS with Windows XP
(IIS5).

-Darren Kopp
http://blog.secudocs.com/
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top