Showing posts with label installed. Show all posts
Showing posts with label installed. Show all posts

Monday, March 26, 2012

newbie ASP won't work

Hi,
I have just installed IIS on my XP SP2 machine.
This code (dreamweaver) doesn't work
<%@dotnet.itags.org. LANGUAGE="VBSCRIPT"" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Time()%> at the server, Here
<body>
</body>
</html>
pls help
Jack"Jacky Luk" <jl@.knight.com> glsD:O7qvwDbkFHA.3968@.tk2msftngp13.phx.gbl...arkred">
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
> <%@. LANGUAGE="VBSCRIPT"" %>
____
I've spoted one error, but still doesn't work in preview

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Time()%> at the server, Here
> <body>
> </body>
> </html>
> pls help
> Jack
>
Here's the revision
<%@. LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
<body>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Time()%> at the server, Here
</body>
</html>
"Jacky Luk" <jl@.knight.com> glsD:O7qvwDbkFHA.3968@.tk2msftngp13.phx.gbl...arkred">
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
> <%@. LANGUAGE="VBSCRIPT"" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Time()%> at the server, Here
> <body>
> </body>
> </html>
> pls help
> Jack
>
First, define "doesn't work." Describe symptoms, behaviors, error messages,
etc.
Second, this is the ASP.Net newsgroup. You want the ASP newsgroup,
microsoft.public.inetserver.asp.general.
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
The sun never sets on
the Kingdom of Heaven
"Jacky Luk" <jl@.knight.com> wrote in message
news:O7qvwDbkFHA.3968@.tk2msftngp13.phx.gbl...
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
> <%@. LANGUAGE="VBSCRIPT"" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Time()%> at the server, Here
> <body>
> </body>
> </html>
> pls help
> Jack
>
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> glsD:eiDp6EekFHA.1048@.tk2msftn
gp13.phx.gbl...
> First, define "doesn't work." Describe symptoms, behaviors, error
> messages, etc.
> Second, this is the ASP.Net newsgroup. You want the ASP newsgroup,
> microsoft.public.inetserver.asp.general.
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> The sun never sets on
> the Kingdom of Heaven
> "Jacky Luk" <jl@.knight.com> wrote in message
> news:O7qvwDbkFHA.3968@.tk2msftngp13.phx.gbl...
the current time ,Time(), is not displayed
>
Jacky as ken Adviced this is ASP.NET newsgroup.
To display your time use:-
<%=Now()%>
Hope that helps
Patrick
*** Sent via Developersdex http://www.examnotes.net ***

newbie ASP wont work

Hi,
I have just installed IIS on my XP SP2 machine.
This code (dreamweaver) doesn't work

<%@dotnet.itags.org. LANGUAGE="VBSCRIPT"" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Time()%> at the server, Here
<body
</body>
</html
pls help
Jack"Jacky Luk" <jl@.knight.com> glsD:O7qvwDbkFHA.3968@.tk2msftngp13.phx.g bl...
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
> <%@. LANGUAGE="VBSCRIPT"" %>
____
I've spoted one error, but still doesn't work in preview

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Time()%> at the server, Here
> <body>
> </body>
> </html>
> pls help
> Jack
"Jacky Luk" <jl@.knight.com> glsD:O7qvwDbkFHA.3968@.tk2msftngp13.phx.g bl...
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
> <%@. LANGUAGE="VBSCRIPT"" %>
____
I've spoted one error, but still doesn't work in preview

> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Time()%> at the server, Here
> <body>
> </body>
> </html>
> pls help
> Jack
Here's the revision

<%@. LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
<body>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Time()%> at the server, Here

</body>
</html
"Jacky Luk" <jl@.knight.com> glsD:O7qvwDbkFHA.3968@.tk2msftngp13.phx.g bl...
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
> <%@. LANGUAGE="VBSCRIPT"" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Time()%> at the server, Here
> <body>
> </body>
> </html>
> pls help
> Jack
Here's the revision

<%@. LANGUAGE="VBSCRIPT" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=big5">
</head>
<body>
Good Afternoon<BR>
Welcome to this sample. It is approximately
<%=Time()%> at the server, Here

</body>
</html
"Jacky Luk" <jl@.knight.com> glsD:O7qvwDbkFHA.3968@.tk2msftngp13.phx.g bl...
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
> <%@. LANGUAGE="VBSCRIPT"" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Time()%> at the server, Here
> <body>
> </body>
> </html>
> pls help
> Jack
First, define "doesn't work." Describe symptoms, behaviors, error messages,
etc.

Second, this is the ASP.Net newsgroup. You want the ASP newsgroup,
microsoft.public.inetserver.asp.general.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Jacky Luk" <jl@.knight.com> wrote in message
news:O7qvwDbkFHA.3968@.tk2msftngp13.phx.gbl...
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
> <%@. LANGUAGE="VBSCRIPT"" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Time()%> at the server, Here
> <body>
> </body>
> </html>
> pls help
> Jack
First, define "doesn't work." Describe symptoms, behaviors, error messages,
etc.

Second, this is the ASP.Net newsgroup. You want the ASP newsgroup,
microsoft.public.inetserver.asp.general.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
The sun never sets on
the Kingdom of Heaven

"Jacky Luk" <jl@.knight.com> wrote in message
news:O7qvwDbkFHA.3968@.tk2msftngp13.phx.gbl...
> Hi,
> I have just installed IIS on my XP SP2 machine.
> This code (dreamweaver) doesn't work
> <%@. LANGUAGE="VBSCRIPT"" %>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <title>Untitled Document</title>
> <meta http-equiv="Content-Type" content="text/html; charset=big5">
> </head>
> Good Afternoon<BR>
> Welcome to this sample. It is approximately
> <%=Time()%> at the server, Here
> <body>
> </body>
> </html>
> pls help
> Jack
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> glsD:eiDp6EekFHA.1048@.tk2msftngp13.phx.g bl...
> First, define "doesn't work." Describe symptoms, behaviors, error
> messages, etc.
> Second, this is the ASP.Net newsgroup. You want the ASP newsgroup,
> microsoft.public.inetserver.asp.general.
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> The sun never sets on
> the Kingdom of Heaven
> "Jacky Luk" <jl@.knight.com> wrote in message
> news:O7qvwDbkFHA.3968@.tk2msftngp13.phx.gbl...
>> Hi,
>> I have just installed IIS on my XP SP2 machine.
>> This code (dreamweaver) doesn't work
>>
>> <%@. LANGUAGE="VBSCRIPT"" %>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>> <html>
>> <head>
>> <title>Untitled Document</title>
>> <meta http-equiv="Content-Type" content="text/html; charset=big5">
>> </head>
>> Good Afternoon<BR>
>> Welcome to this sample. It is approximately
>> <%=Time()%> at the server, Here
the current time ,Time(), is not displayed

>> <body>
>>
>> </body>
>> </html>
>>
>> pls help
>> Jack
>>
"Kevin Spencer" <kevin@.DIESPAMMERSDIEtakempis.com> glsD:eiDp6EekFHA.1048@.tk2msftngp13.phx.g bl...
> First, define "doesn't work." Describe symptoms, behaviors, error
> messages, etc.
> Second, this is the ASP.Net newsgroup. You want the ASP newsgroup,
> microsoft.public.inetserver.asp.general.
> --
> HTH,
> Kevin Spencer
> Microsoft MVP
> .Net Developer
> The sun never sets on
> the Kingdom of Heaven
> "Jacky Luk" <jl@.knight.com> wrote in message
> news:O7qvwDbkFHA.3968@.tk2msftngp13.phx.gbl...
>> Hi,
>> I have just installed IIS on my XP SP2 machine.
>> This code (dreamweaver) doesn't work
>>
>> <%@. LANGUAGE="VBSCRIPT"" %>
>> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
>> <html>
>> <head>
>> <title>Untitled Document</title>
>> <meta http-equiv="Content-Type" content="text/html; charset=big5">
>> </head>
>> Good Afternoon<BR>
>> Welcome to this sample. It is approximately
>> <%=Time()%> at the server, Here
the current time ,Time(), is not displayed

>> <body>
>>
>> </body>
>> </html>
>>
>> pls help
>> Jack
>>
Jacky as ken Adviced this is ASP.NET newsgroup.
To display your time use:-
<%=Now()%>
Hope that helps
Patrick

*** Sent via Developersdex http://www.developersdex.com ***
Jacky as ken Adviced this is ASP.NET newsgroup.
To display your time use:-
<%=Now()%>
Hope that helps
Patrick

*** Sent via Developersdex http://www.developersdex.com ***

Saturday, March 24, 2012

NEWBIE has a prob

Hello, I have just picked up a book on ASP.NET and installed the .NET
framework 1.1. I run Win XP Pro SP1 and IIS 5.1.

The problem:
I 've tried to run two different .aspx files and the browser displays simple
html (text) but no forms or anything like that. IE keeps giving this error
"Line: 4, Char:6, Error:Expected ';', Code:0", but I've checked the code and
is fine. Everything works ok with good old ASP.
Any idea what this annoyance might be?

Thank you all in advance.You may need to repair your IIS mappings.
To do this, run the following command:
aspnet_regiis.exe -i

Here's further information:
http://support.microsoft.com/defaul...B;EN-US;q306005

--
I hope this helps,
Steve C. Orr, MCSD
http://Steve.Orr.net

"Hugo Bohorquez" <hugob@.sympatico.ca> wrote in message
news:JOmYa.6040$pq5.811642@.news20.bellglobal.com.. .
> Hello, I have just picked up a book on ASP.NET and installed the .NET
> framework 1.1. I run Win XP Pro SP1 and IIS 5.1.
> The problem:
> I 've tried to run two different .aspx files and the browser displays
simple
> html (text) but no forms or anything like that. IE keeps giving this error
> "Line: 4, Char:6, Error:Expected ';', Code:0", but I've checked the code
and
> is fine. Everything works ok with good old ASP.
> Any idea what this annoyance might be?
> Thank you all in advance.

Newbie Help (Parser Error)

I just created a test asp.net application using VB.net. I have DotNetFramework 1.1 installed.

The default.aspx page simply displays a form and a heading:

PAGE CODE:
------
<%@dotnet.itags.org. Page Language="VB" %>
<html>
<body>
<form id='form1' method='post' runat='server'>
<h1> Welcome to First Application</h1>
<asp:button id='btnNavigate' runat='server' text='Navigate'/>
</form>
</body>
</html
--------

When I run the application I get the following error.

ERROR MESSAGE:
--------
Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'firstapp.Global'.

Source Error:

Line 1: <%@dotnet.itags.org. Application Codebehind="Global.asax.vb" Inherits="firstapp.Global" %
Source File: c:\inetpub\wwwroot\firstapp\global.asax Line: 1

-------------------

I am not sure why. The application was install as an asp.net application on IIS 5.

Any help would be greatly appreciated. My email is tcornett@dotnet.itags.org.ci.kingman.az.us

Thanks,

Terry C.There are several files required for an ASP.NET web app:
1. Your web form(s)
2. The web.config file
3. The Global.asax file

The Global.asax file must define a class called Global, subclassed from httpApplication. It appears that you have defined a Global.asax file and it refers to a code behind file that should define that Global class. Most likely, you have not compiled the file Global.asax.vb into an assembly that is part of your \bin folder. (All .vb files can be compiled into one single assembly. If you are using Visual Studio.net, that should happen automatically, assembling Global.asax is in your solution and it's Build Action property is set to "Compile".)
Thanks Peter.

I did not realize I had to build the solution for such a simple test web application. The book I was using as a reference did not mention that.

Once I built the solution it worked.

Thanks again for the help.

Terry C. :-)

Newbie Help?

Hello:

I have installed the web matrix and worked through the tutorials. I am currently trying to do the tutorials on creating an application.

I am using c# and created the following default.aspx according to the instructions. When I try to run the default page in the webserver, I get a "specified cast is not valid." error. I searched through the archives and found information on changing the webmatrix.exe.config and the webserver.exe.config to att a startup tag to force the matrix to access the proper version of the .net framework.

I made these changes and still receive the error. Can anyone help me? The code is below with the error point marked.


private void BindMasterGrid() {

// TODO: Update the ConnectionString and CommandText values for your application
string ConnectionString = "server=(local);database=Orders;Integrated Security=SSPI";
string CommandText = "select OrderID, OrderDate, CustomerName from Orders";

SqlConnection myConnection = new SqlConnection(ConnectionString);
SqlDataAdapter myCommand = new SqlDataAdapter(CommandText, myConnection);

DataSet ds = new DataSet();
myCommand.Fill(ds);

MasterGrid.DataSource = ds;
MasterGrid.DataBind();
}

private void BindDetailGrid() {
// get the filter value from the master Grid's DataKeys collection
if (MasterGrid.SelectedIndex != -1) {
// TODO: update the ConnectionString value for your application
string ConnectionString = "server=(local);database=Orders;Integrated Security=SSPI";

// TODO: update the CommandText value for your application

** this is where the error takes place. This line was autogenerated by the matrix and I have changed nothing. The error is: specified cast is not valid.

string filterValue = ((string) MasterGrid.DataKeys[MasterGrid.SelectedIndex]).Replace("'", "''");

string CommandText = "select OrderDetailID, ProductName, Quantity, UnitPrice from OrderDetails where OrderID = '" + filterValue + "'";

SqlConnection myConnection = new SqlConnection(ConnectionString);
SqlCommand myCommand = new SqlCommand(CommandText, myConnection);

myConnection.Open();

DetailsGrid.DataSource = myCommand.ExecuteReader(CommandBehavior.CloseConnection);
}

DetailsGrid.DataBind();
}

I don't know for sure what's going on, but you should be able to fix it by doing this:
string filterValue = (MasterGrid.DataKeys[MasterGrid.SelectedIndex].ToString());
filterValue = filterValue.Replace("'", "''");
IOW, use ToString() to perform the casting then break the Replace method off into another line. Works for me, anyway. I'll ask, see if anyone knows why this is.
Thank you for your help. My gut reaction was to try .ToString(), but I didn't know if that was the same thing as the cast (string). You're right. It worked fine this way. Thanks so much for answering.
Got the answer, I think. One of my colleagues said this:

"The DataKeys collection doesn't necessarily contain objects of type String. It depends on the data type of the key field specified by the DatatKeyField property. If the key field is an integer value, then the DataKeys collection contains Int32 objects. That's why the ToString() method always works, but casting doesn't. ToString() always returns the string representation of the key value.

Sounds like that's a bug in Web Matrix. It's assuming that the key field is a string, which may not always be the case."

I suppose it is a bug, then; it doesn't get uncovered, however, unless (as here) we change the database that the template points to. Presumably it works with Pubs. (?)

Newbie hickup - please help (path problem)

I have .Net FrameWork 1.1 sp1 installed.
When I try to open a Microsoft ASP.NET Web project in Microsoft Visual
Studio .NET 2003, I receive the following error message:

Unable to open Web project 'ProjectName'. The file path 'FilePath' does not
correspond to the URL 'ProjectURL'. The two need to map to the same server
location.

Note ProjectName is a placeholder for the name of the ASP.NET Web project.
FilePath is a placeholder for the file path of the ASP.NET Web project.
ProjectURL is a placeholder for the URL of the ASP.NET Web project.

These are the FilePath and ProjectURL refered to above that I use:
C:\Inetpub\wwwroot\ProjectName
http://localhost/ProjectName

Can anyone please help - I don't know which way to turn here.
JillCheck in IIS whether you have created an web application for ProjectName.

--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com

"AccessStarters" <daletownsend@.canada.com> wrote in message
news:QaOyd.20332$dv1.16579@.edtnps89...
> I have .Net FrameWork 1.1 sp1 installed.
> When I try to open a Microsoft ASP.NET Web project in Microsoft Visual
> Studio .NET 2003, I receive the following error message:
> Unable to open Web project 'ProjectName'. The file path 'FilePath' does
not
> correspond to the URL 'ProjectURL'. The two need to map to the same server
> location.
> Note ProjectName is a placeholder for the name of the ASP.NET Web project.
> FilePath is a placeholder for the file path of the ASP.NET Web project.
> ProjectURL is a placeholder for the URL of the ASP.NET Web project.
> These are the FilePath and ProjectURL refered to above that I use:
> C:\Inetpub\wwwroot\ProjectName
> http://localhost/ProjectName
> Can anyone please help - I don't know which way to turn here.
> Jill
Thanks but
Not sure what you mean here?
If you mean properties of default web site: then
WebSite Identification = Default Web Site
IP Address=(All Unassigned)
TCP Port = 80

"Saravana" <saravank@.sct.co.in> wrote in message
news:OSOyd.4972$tl4.3462@.news.cpqcorp.net...
> Check in IIS whether you have created an web application for ProjectName.
> --
> Saravana
> http://dotnetjunkies.com/WebLog/saravana/
> www.ExtremeExperts.com
>
> "AccessStarters" <daletownsend@.canada.com> wrote in message
> news:QaOyd.20332$dv1.16579@.edtnps89...
> > I have .Net FrameWork 1.1 sp1 installed.
> > When I try to open a Microsoft ASP.NET Web project in Microsoft Visual
> > Studio .NET 2003, I receive the following error message:
> > Unable to open Web project 'ProjectName'. The file path 'FilePath' does
> not
> > correspond to the URL 'ProjectURL'. The two need to map to the same
server
> > location.
> > Note ProjectName is a placeholder for the name of the ASP.NET Web
project.
> > FilePath is a placeholder for the file path of the ASP.NET Web project.
> > ProjectURL is a placeholder for the URL of the ASP.NET Web project.
> > These are the FilePath and ProjectURL refered to above that I use:
> > C:\Inetpub\wwwroot\ProjectName
> > http://localhost/ProjectName
> > Can anyone please help - I don't know which way to turn here.
> > Jill
No, what i meant is. Check whether ProjectName folder is virtual folder in
your IIS.

--
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com

"AccessStarters" <daletownsend@.canada.com> wrote in message
news:W8Pyd.21124$dv1.8819@.edtnps89...
> Thanks but
> Not sure what you mean here?
> If you mean properties of default web site: then
> WebSite Identification = Default Web Site
> IP Address=(All Unassigned)
> TCP Port = 80
> "Saravana" <saravank@.sct.co.in> wrote in message
> news:OSOyd.4972$tl4.3462@.news.cpqcorp.net...
> > Check in IIS whether you have created an web application for
ProjectName.
> > --
> > Saravana
> > http://dotnetjunkies.com/WebLog/saravana/
> > www.ExtremeExperts.com
> > "AccessStarters" <daletownsend@.canada.com> wrote in message
> > news:QaOyd.20332$dv1.16579@.edtnps89...
> > > I have .Net FrameWork 1.1 sp1 installed.
> > > When I try to open a Microsoft ASP.NET Web project in Microsoft Visual
> > > Studio .NET 2003, I receive the following error message:
> > > > Unable to open Web project 'ProjectName'. The file path 'FilePath'
does
> > not
> > > correspond to the URL 'ProjectURL'. The two need to map to the same
> server
> > > location.
> > > > Note ProjectName is a placeholder for the name of the ASP.NET Web
> project.
> > > FilePath is a placeholder for the file path of the ASP.NET Web
project.
> > > ProjectURL is a placeholder for the URL of the ASP.NET Web project.
> > > > These are the FilePath and ProjectURL refered to above that I use:
> > > C:\Inetpub\wwwroot\ProjectName
> > > http://localhost/ProjectName
> > > > Can anyone please help - I don't know which way to turn here.
> > > Jill
> >
yes it is - thanks
"Saravana" <saravank@.sct.co.in> wrote in message
news:I4Syd.4974$sn4.2968@.news.cpqcorp.net...
> No, what i meant is. Check whether ProjectName folder is virtual folder in
> your IIS.
> --
> Saravana
> http://dotnetjunkies.com/WebLog/saravana/
> www.ExtremeExperts.com
>
> "AccessStarters" <daletownsend@.canada.com> wrote in message
> news:W8Pyd.21124$dv1.8819@.edtnps89...
> > Thanks but
> > Not sure what you mean here?
> > If you mean properties of default web site: then
> > WebSite Identification = Default Web Site
> > IP Address=(All Unassigned)
> > TCP Port = 80
> > "Saravana" <saravank@.sct.co.in> wrote in message
> > news:OSOyd.4972$tl4.3462@.news.cpqcorp.net...
> > > Check in IIS whether you have created an web application for
> ProjectName.
> > > > --
> > > Saravana
> > > http://dotnetjunkies.com/WebLog/saravana/
> > > www.ExtremeExperts.com
> > > > > "AccessStarters" <daletownsend@.canada.com> wrote in message
> > > news:QaOyd.20332$dv1.16579@.edtnps89...
> > > > I have .Net FrameWork 1.1 sp1 installed.
> > > > When I try to open a Microsoft ASP.NET Web project in Microsoft
Visual
> > > > Studio .NET 2003, I receive the following error message:
> > > > > > Unable to open Web project 'ProjectName'. The file path 'FilePath'
> does
> > > not
> > > > correspond to the URL 'ProjectURL'. The two need to map to the same
> > server
> > > > location.
> > > > > > Note ProjectName is a placeholder for the name of the ASP.NET Web
> > project.
> > > > FilePath is a placeholder for the file path of the ASP.NET Web
> project.
> > > > ProjectURL is a placeholder for the URL of the ASP.NET Web project.
> > > > > > These are the FilePath and ProjectURL refered to above that I use:
> > > > C:\Inetpub\wwwroot\ProjectName
> > > > http://localhost/ProjectName
> > > > > > Can anyone please help - I don't know which way to turn here.
> > > > Jill
> > > > > >

Newbie hickup - please help (path problem)

I have .Net FrameWork 1.1 sp1 installed.
When I try to open a Microsoft ASP.NET Web project in Microsoft Visual
Studio .NET 2003, I receive the following error message:
Unable to open Web project 'ProjectName'. The file path 'FilePath' does not
correspond to the URL 'ProjectURL'. The two need to map to the same server
location.
Note ProjectName is a placeholder for the name of the ASP.NET Web project.
FilePath is a placeholder for the file path of the ASP.NET Web project.
ProjectURL is a placeholder for the URL of the ASP.NET Web project.
These are the FilePath and ProjectURL refered to above that I use:
C:\Inetpub\wwwroot\ProjectName
http://localhost/ProjectName
Can anyone please help - I don't know which way to turn here.
JillCheck in IIS whether you have created an web application for ProjectName.
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"AccessStarters" <daletownsend@.canada.com> wrote in message
news:QaOyd.20332$dv1.16579@.edtnps89...
> I have .Net FrameWork 1.1 sp1 installed.
> When I try to open a Microsoft ASP.NET Web project in Microsoft Visual
> Studio .NET 2003, I receive the following error message:
> Unable to open Web project 'ProjectName'. The file path 'FilePath' does
not
> correspond to the URL 'ProjectURL'. The two need to map to the same server
> location.
> Note ProjectName is a placeholder for the name of the ASP.NET Web project.
> FilePath is a placeholder for the file path of the ASP.NET Web project.
> ProjectURL is a placeholder for the URL of the ASP.NET Web project.
> These are the FilePath and ProjectURL refered to above that I use:
> C:\Inetpub\wwwroot\ProjectName
> http://localhost/ProjectName
> Can anyone please help - I don't know which way to turn here.
> Jill
>
Thanks but
Not sure what you mean here?
If you mean properties of default web site: then
WebSite Identification = Default Web Site
IP Address=(All Unassigned)
TCP Port = 80
"Saravana" <saravank@.sct.co.in> wrote in message
news:OSOyd.4972$tl4.3462@.news.cpqcorp.net...
> Check in IIS whether you have created an web application for ProjectName.
> --
> Saravana
> http://dotnetjunkies.com/WebLog/saravana/
> www.ExtremeExperts.com
>
> "AccessStarters" <daletownsend@.canada.com> wrote in message
> news:QaOyd.20332$dv1.16579@.edtnps89...
> not
server
project.
>
No, what i meant is. Check whether ProjectName folder is virtual folder in
your IIS.
Saravana
http://dotnetjunkies.com/WebLog/saravana/
www.ExtremeExperts.com
"AccessStarters" <daletownsend@.canada.com> wrote in message
news:W8Pyd.21124$dv1.8819@.edtnps89...
> Thanks but
> Not sure what you mean here?
> If you mean properties of default web site: then
> WebSite Identification = Default Web Site
> IP Address=(All Unassigned)
> TCP Port = 80
> "Saravana" <saravank@.sct.co.in> wrote in message
> news:OSOyd.4972$tl4.3462@.news.cpqcorp.net...
ProjectName.
does
> server
> project.
project.
>
yes it is - thanks
"Saravana" <saravank@.sct.co.in> wrote in message
news:I4Syd.4974$sn4.2968@.news.cpqcorp.net...
> No, what i meant is. Check whether ProjectName folder is virtual folder in
> your IIS.
> --
> Saravana
> http://dotnetjunkies.com/WebLog/saravana/
> www.ExtremeExperts.com
>
> "AccessStarters" <daletownsend@.canada.com> wrote in message
> news:W8Pyd.21124$dv1.8819@.edtnps89...
> ProjectName.
Visual
> does
> project.
>

Thursday, March 22, 2012

Newbie IIS6/ASP.net problem

Yesterday I installed Windows Server 2003 onto a computer for testing and
development. I then chose the Application server role and loaded IIS 6
making sure to enable ASP.NET while I was doing it. I then installed Visual
Studio.NET 2003. Today I was loading some sample files from a C# book I got
from Microsoft Press and got this error from the Windows Development
Environment:

"The Web server reported the following error when attempting to create or
open the web project located at the following URL:
'http://Localhost:/aspnetsbs_cs/Chapter_01/'.'HTTP/1.1 400 Bad Request'.

When I loaded the same sample files on my Win2k Pro machine it came off
without a hitch. I have scoured Microsoft Technet but I seem to be unable to
find anything to explain this. So far I have not been able to get any
classic ASP or ASP.NET pages to run.

If anyone can give me some pointers I would really appreciate it. I imagine,
as usual, that the answer is quite simple. Obviously I am very inexperienced
with IIS and .NET. I usually do MSAccess programming.If nothing runs, open the IIS Administration Console on the Server. Expand
the local computer node, and click on Web Service Extensions. In the right
pane, make sure Active Server Pages and ASP.NET are set to "Allow". Windows
Server 2003, as part of the new security initiative, now disables many
things by default.

--
James J. Foster, DotNetCoders
http://www.dotnetcoders.com

"Michael Kelty" <mkelty@.hotmail.com> wrote in message
news:befe00$bnv$1@.news1.radix.net...
> Yesterday I installed Windows Server 2003 onto a computer for testing and
> development. I then chose the Application server role and loaded IIS 6
> making sure to enable ASP.NET while I was doing it. I then installed
Visual
> Studio.NET 2003. Today I was loading some sample files from a C# book I
got
> from Microsoft Press and got this error from the Windows Development
> Environment:
> "The Web server reported the following error when attempting to create or
> open the web project located at the following URL:
> 'http://Localhost:/aspnetsbs_cs/Chapter_01/'.'HTTP/1.1 400 Bad Request'.
> When I loaded the same sample files on my Win2k Pro machine it came off
> without a hitch. I have scoured Microsoft Technet but I seem to be unable
to
> find anything to explain this. So far I have not been able to get any
> classic ASP or ASP.NET pages to run.
> If anyone can give me some pointers I would really appreciate it. I
imagine,
> as usual, that the answer is quite simple. Obviously I am very
inexperienced
> with IIS and .NET. I usually do MSAccess programming.
>
"James J. Foster" <james@.dotnetcoders.com> wrote in message
news:%23CeQHSbRDHA.2224@.TK2MSFTNGP12.phx.gbl...
> If nothing runs, open the IIS Administration Console on the Server. Expand
> the local computer node, and click on Web Service Extensions. In the right
> pane, make sure Active Server Pages and ASP.NET are set to "Allow".
Windows
> Server 2003, as part of the new security initiative, now disables many
> things by default.
> --
> James J. Foster, DotNetCoders
> http://www.dotnetcoders.com

Thanks but the Server console is set to "Allow" for both Active Server Pages
and ASP.NET. I'm still at a standstill without a clue.

Perhaps bagging the idea of using Win2k3 and IIS 6 altogether and going with
Windows 2000 server would be better, no? The site I am eventually going to
set up will be in an intranet setting so security shouldn't be too much of a
problem (famous last words).

> "Michael Kelty" <mkelty@.hotmail.com> wrote in message
> news:befe00$bnv$1@.news1.radix.net...
> > Yesterday I installed Windows Server 2003 onto a computer for testing
and
> > development. I then chose the Application server role and loaded IIS 6
> > making sure to enable ASP.NET while I was doing it. I then installed
> Visual
> > Studio.NET 2003. Today I was loading some sample files from a C# book I
> got
> > from Microsoft Press and got this error from the Windows Development
> > Environment:
> > "The Web server reported the following error when attempting to create
or
> > open the web project located at the following URL:
> > 'http://Localhost:/aspnetsbs_cs/Chapter_01/'.'HTTP/1.1 400 Bad Request'.
> > When I loaded the same sample files on my Win2k Pro machine it came off
> > without a hitch. I have scoured Microsoft Technet but I seem to be
unable
> to
> > find anything to explain this. So far I have not been able to get any
> > classic ASP or ASP.NET pages to run.
> > If anyone can give me some pointers I would really appreciate it. I
> imagine,
> > as usual, that the answer is quite simple. Obviously I am very
> inexperienced
> > with IIS and .NET. I usually do MSAccess programming.
Hi Michael,

Please go to IIS configuration->Default web site->Properties->select "web
site" tab. There is a IP address setting. Did you set it to an IP address?
If so, please change it back to (all unassigned).

If this setting is set as an IP address, then localhost(127.0.0.1) can't be
resolved by IIS and so you couldn't visit any site in http://localhost.

Please post here if the problem is not resolved. Thanks.

Best regards,
yhhuang
VS.NET, Visual C++
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? http://www.gotdotnet.com
-------
!From: "Michael Kelty" <mkelty@.hotmail.com>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Subject: Re: Newbie IIS6/ASP.net problem
!Date: Wed, 9 Jul 2003 10:32:18 -0400
!Organization: RadixNet Internet Services
!Lines: 60
!Message-ID: <beh91k$4i$1@.news1.radix.net>
!References: <befe00$bnv$1@.news1.radix.net>
<#CeQHSbRDHA.2224@.TK2MSFTNGP12.phx.gbl>
!NNTP-Posting-Host: ip5.ci.alexandria.va.us
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!npeer.de.kpn-eurorings.net!news-out.nuthinbutnews.com!propagator2-sterl
ing!news-in-sterling.newsfeed.com!tdsnet-transit!newspeer.tds.net!newspeer.r
adix.net!news1.radix.net!not-for-mail
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:158011
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!
!"James J. Foster" <james@.dotnetcoders.com> wrote in message
!news:%23CeQHSbRDHA.2224@.TK2MSFTNGP12.phx.gbl...
!> If nothing runs, open the IIS Administration Console on the Server.
Expand
!> the local computer node, and click on Web Service Extensions. In the
right
!> pane, make sure Active Server Pages and ASP.NET are set to "Allow".
!Windows
!> Server 2003, as part of the new security initiative, now disables many
!> things by default.
!>
!> --
!> James J. Foster, DotNetCoders
!> http://www.dotnetcoders.com
!
!Thanks but the Server console is set to "Allow" for both Active Server
Pages
!and ASP.NET. I'm still at a standstill without a clue.
!
!Perhaps bagging the idea of using Win2k3 and IIS 6 altogether and going
with
!Windows 2000 server would be better, no? The site I am eventually going to
!set up will be in an intranet setting so security shouldn't be too much of
a
!problem (famous last words).
!
!
!> "Michael Kelty" <mkelty@.hotmail.com> wrote in message
!> news:befe00$bnv$1@.news1.radix.net...
!> > Yesterday I installed Windows Server 2003 onto a computer for testing
!and
!> > development. I then chose the Application server role and loaded IIS 6
!> > making sure to enable ASP.NET while I was doing it. I then installed
!> Visual
!> > Studio.NET 2003. Today I was loading some sample files from a C# book I
!> got
!> > from Microsoft Press and got this error from the Windows Development
!> > Environment:
!!> > "The Web server reported the following error when attempting to create
!or
!> > open the web project located at the following URL:
!> > 'http://Localhost:/aspnetsbs_cs/Chapter_01/'.'HTTP/1.1 400 Bad
Request'.
!!> > When I loaded the same sample files on my Win2k Pro machine it came off
!> > without a hitch. I have scoured Microsoft Technet but I seem to be
!unable
!> to
!> > find anything to explain this. So far I have not been able to get any
!> > classic ASP or ASP.NET pages to run.
!!> > If anyone can give me some pointers I would really appreciate it. I
!> imagine,
!> > as usual, that the answer is quite simple. Obviously I am very
!> inexperienced
!> > with IIS and .NET. I usually do MSAccess programming.
!!!!!>
!>
!
!
!
"Yan-Hong Huang[MSFT]" <yhhuang@.online.microsoft.com> wrote in message
news:oWiukoqRDHA.2192@.cpmsftngxa06.phx.gbl...
> Hi Michael,
> Please go to IIS configuration->Default web site->Properties->select "web
> site" tab. There is a IP address setting. Did you set it to an IP address?
> If so, please change it back to (all unassigned).
> If this setting is set as an IP address, then localhost(127.0.0.1) can't
be
> resolved by IIS and so you couldn't visit any site in http://localhost.
> Please post here if the problem is not resolved. Thanks.
> Best regards,
> yhhuang
> VS.NET, Visual C++
> Microsoft

I did as you said and now the error I get is the same except instead of
saying 'Bad Request' it says 'Service Unavailable'. During the course of
trying to get the webserver up and running, I got an error page in IE with
those words on it on several occasions but all the indications that I could
see led me to believe that the website was running.

Sorry to truncate but the thread was getting quite long.
Continuing thanks.
Hi Michael,

Could you creaet a new asp.net web application from application wizard successfully? If not, I think you need to reinstall
asp.net in the system. Please refer to http://support.microsoft.com/?id=306005 for detailed steps. Thanks.

Best regards,
yhhuang
VS.NET, Visual C++
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? http://www.gotdotnet.com
-------
!From: "Michael Kelty" <mkelty@.hotmail.com>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Subject: Re: Newbie IIS6/ASP.net problem
!Date: Thu, 10 Jul 2003 14:17:01 -0400
!Organization: RadixNet Internet Services
!Lines: 30
!Message-ID: <bekaiu$k5r$1@.news1.radix.net>
!References: <befe00$bnv$1@.news1.radix.net> <#CeQHSbRDHA.2224@.TK2MSFTNGP12.phx.gbl> <beh91k$4i$1
@.news1.radix.net> <oWiukoqRDHA.2192@.cpmsftngxa06.phx.gbl>
!NNTP-Posting-Host: ip5.ci.alexandria.va.us
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!
news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!In.nntp.be!tdsnet-transit!newspeer.tds.net!
newspeer.radix.net!news1.radix.net!not-for-mail
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:158373
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!
!"Yan-Hong Huang[MSFT]" <yhhuang@.online.microsoft.com> wrote in message
!news:oWiukoqRDHA.2192@.cpmsftngxa06.phx.gbl...
!> Hi Michael,
!>
!> Please go to IIS configuration->Default web site->Properties->select "web
!> site" tab. There is a IP address setting. Did you set it to an IP address?
!> If so, please change it back to (all unassigned).
!>
!> If this setting is set as an IP address, then localhost(127.0.0.1) can't
!be
!> resolved by IIS and so you couldn't visit any site in http://localhost.
!>
!> Please post here if the problem is not resolved. Thanks.
!>
!> Best regards,
!> yhhuang
!> VS.NET, Visual C++
!> Microsoft
!
!I did as you said and now the error I get is the same except instead of
!saying 'Bad Request' it says 'Service Unavailable'. During the course of
!trying to get the webserver up and running, I got an error page in IE with
!those words on it on several occasions but all the indications that I could
!see led me to believe that the website was running.
!
!Sorry to truncate but the thread was getting quite long.
!Continuing thanks.
!
!
!
Hi Michael,

Could you creaet a new asp.net web application from application wizard successfully? If not, I think you need to reinstall
asp.net in the system. Please refer to http://support.microsoft.com/?id=306005 for detailed steps. Thanks.

Best regards,
yhhuang
VS.NET, Visual C++
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? http://www.gotdotnet.com
-------
!From: "Michael Kelty" <mkelty@.hotmail.com>
!Newsgroups: microsoft.public.dotnet.framework.aspnet
!Subject: Re: Newbie IIS6/ASP.net problem
!Date: Thu, 10 Jul 2003 14:17:01 -0400
!Organization: RadixNet Internet Services
!Lines: 30
!Message-ID: <bekaiu$k5r$1@.news1.radix.net>
!References: <befe00$bnv$1@.news1.radix.net> <#CeQHSbRDHA.2224@.TK2MSFTNGP12.phx.gbl> <beh91k$4i$1
@.news1.radix.net> <oWiukoqRDHA.2192@.cpmsftngxa06.phx.gbl>
!NNTP-Posting-Host: ip5.ci.alexandria.va.us
!X-Priority: 3
!X-MSMail-Priority: Normal
!X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
!X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
!Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-online.de!news-spur1.maxwell.syr.edu!
news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!In.nntp.be!tdsnet-transit!newspeer.tds.net!
newspeer.radix.net!news1.radix.net!not-for-mail
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:158373
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
!
!
!"Yan-Hong Huang[MSFT]" <yhhuang@.online.microsoft.com> wrote in message
!news:oWiukoqRDHA.2192@.cpmsftngxa06.phx.gbl...
!> Hi Michael,
!>
!> Please go to IIS configuration->Default web site->Properties->select "web
!> site" tab. There is a IP address setting. Did you set it to an IP address?
!> If so, please change it back to (all unassigned).
!>
!> If this setting is set as an IP address, then localhost(127.0.0.1) can't
!be
!> resolved by IIS and so you couldn't visit any site in http://localhost.
!>
!> Please post here if the problem is not resolved. Thanks.
!>
!> Best regards,
!> yhhuang
!> VS.NET, Visual C++
!> Microsoft
!
!I did as you said and now the error I get is the same except instead of
!saying 'Bad Request' it says 'Service Unavailable'. During the course of
!trying to get the webserver up and running, I got an error page in IE with
!those words on it on several occasions but all the indications that I could
!see led me to believe that the website was running.
!
!Sorry to truncate but the thread was getting quite long.
!Continuing thanks.
!
!
!
Excellent, thank you.
"Yan-Hong Huang[MSFT]" <yhhuang@.online.microsoft.com> wrote in message
news:brtQ3afSDHA.1928@.cpmsftngxa06.phx.gbl...
> Hi Michael,
> Could you creaet a new asp.net web application from application wizard
successfully? If not, I think you need to reinstall
> asp.net in the system. Please refer to
http://support.microsoft.com/?id=306005 for detailed steps. Thanks.
> Best regards,
> yhhuang
> VS.NET, Visual C++
> Microsoft
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> Got .Net? http://www.gotdotnet.com
> -------
> !From: "Michael Kelty" <mkelty@.hotmail.com>
> !Newsgroups: microsoft.public.dotnet.framework.aspnet
> !Subject: Re: Newbie IIS6/ASP.net problem
> !Date: Thu, 10 Jul 2003 14:17:01 -0400
> !Organization: RadixNet Internet Services
> !Lines: 30
> !Message-ID: <bekaiu$k5r$1@.news1.radix.net>
> !References: <befe00$bnv$1@.news1.radix.net>
<#CeQHSbRDHA.2224@.TK2MSFTNGP12.phx.gbl> <beh91k$4i$1
> @.news1.radix.net> <oWiukoqRDHA.2192@.cpmsftngxa06.phx.gbl>
> !NNTP-Posting-Host: ip5.ci.alexandria.va.us
> !X-Priority: 3
> !X-MSMail-Priority: Normal
> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> !Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!
news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!In.nntp.be!tdsne
t-transit!newspeer.tds.net!
> newspeer.radix.net!news1.radix.net!not-for-mail
> !Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet:158373
> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> !
> !
> !"Yan-Hong Huang[MSFT]" <yhhuang@.online.microsoft.com> wrote in message
> !news:oWiukoqRDHA.2192@.cpmsftngxa06.phx.gbl...
> !> Hi Michael,
> !>
> !> Please go to IIS configuration->Default web site->Properties->select
"web
> !> site" tab. There is a IP address setting. Did you set it to an IP
address?
> !> If so, please change it back to (all unassigned).
> !>
> !> If this setting is set as an IP address, then localhost(127.0.0.1)
can't
> !be
> !> resolved by IIS and so you couldn't visit any site in http://localhost.
> !>
> !> Please post here if the problem is not resolved. Thanks.
> !>
> !> Best regards,
> !> yhhuang
> !> VS.NET, Visual C++
> !> Microsoft
> !
> !I did as you said and now the error I get is the same except instead of
> !saying 'Bad Request' it says 'Service Unavailable'. During the course of
> !trying to get the webserver up and running, I got an error page in IE
with
> !those words on it on several occasions but all the indications that I
could
> !see led me to believe that the website was running.
> !
> !Sorry to truncate but the thread was getting quite long.
> !Continuing thanks.
> !
> !
> !
Excellent, thank you.
"Yan-Hong Huang[MSFT]" <yhhuang@.online.microsoft.com> wrote in message
news:brtQ3afSDHA.1928@.cpmsftngxa06.phx.gbl...
> Hi Michael,
> Could you creaet a new asp.net web application from application wizard
successfully? If not, I think you need to reinstall
> asp.net in the system. Please refer to
http://support.microsoft.com/?id=306005 for detailed steps. Thanks.
> Best regards,
> yhhuang
> VS.NET, Visual C++
> Microsoft
> This posting is provided "AS IS" with no warranties, and confers no
rights.
> Got .Net? http://www.gotdotnet.com
> -------
> !From: "Michael Kelty" <mkelty@.hotmail.com>
> !Newsgroups: microsoft.public.dotnet.framework.aspnet
> !Subject: Re: Newbie IIS6/ASP.net problem
> !Date: Thu, 10 Jul 2003 14:17:01 -0400
> !Organization: RadixNet Internet Services
> !Lines: 30
> !Message-ID: <bekaiu$k5r$1@.news1.radix.net>
> !References: <befe00$bnv$1@.news1.radix.net>
<#CeQHSbRDHA.2224@.TK2MSFTNGP12.phx.gbl> <beh91k$4i$1
> @.news1.radix.net> <oWiukoqRDHA.2192@.cpmsftngxa06.phx.gbl>
> !NNTP-Posting-Host: ip5.ci.alexandria.va.us
> !X-Priority: 3
> !X-MSMail-Priority: Normal
> !X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
> !X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
> !Path:
cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed 00.sul.t-online.de!t-onlin
e.de!news-spur1.maxwell.syr.edu!
news.maxwell.syr.edu!news-out1.nntp.be!propagator2-sterling!In.nntp.be!tdsne
t-transit!newspeer.tds.net!
> newspeer.radix.net!news1.radix.net!not-for-mail
> !Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.aspnet:158373
> !X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> !
> !
> !"Yan-Hong Huang[MSFT]" <yhhuang@.online.microsoft.com> wrote in message
> !news:oWiukoqRDHA.2192@.cpmsftngxa06.phx.gbl...
> !> Hi Michael,
> !>
> !> Please go to IIS configuration->Default web site->Properties->select
"web
> !> site" tab. There is a IP address setting. Did you set it to an IP
address?
> !> If so, please change it back to (all unassigned).
> !>
> !> If this setting is set as an IP address, then localhost(127.0.0.1)
can't
> !be
> !> resolved by IIS and so you couldn't visit any site in http://localhost.
> !>
> !> Please post here if the problem is not resolved. Thanks.
> !>
> !> Best regards,
> !> yhhuang
> !> VS.NET, Visual C++
> !> Microsoft
> !
> !I did as you said and now the error I get is the same except instead of
> !saying 'Bad Request' it says 'Service Unavailable'. During the course of
> !trying to get the webserver up and running, I got an error page in IE
with
> !those words on it on several occasions but all the indications that I
could
> !see led me to believe that the website was running.
> !
> !Sorry to truncate but the thread was getting quite long.
> !Continuing thanks.
> !
> !
> !

Wednesday, March 21, 2012

Newbie need help

Hi all,
I am new to ASP.net.
I have installed all software needed to develop ASP.net application as I can run all the samples followed with installation.
Now I want to go forward and build my own asp .net applications which might have a databas.
Now my question is, which changes I need to do in config file/files and where to put my asp and databas files.
Do I need to create virtuel directory for every application??
This might sound you a very basic question but I have tried to find the answer to these question but couldn't find.
Can you please answer me or point me to the site which describes what I want.
Further, can ASP.net be helpful to solve my above problems. I am using WinXP pro?
thanks in advance
regards
/rsasamlHello,
What you need to develop asp.net applications are:

1- Install IIS 5.0+
2- Install .Net FRameWork 1.1
3- Install either VS.NET 2003 or WebMatrix - DreamWeaver MX 2004

ASP.NET can do all the things you mentioned. Every applications needs to be configured by IIS as an application for sure.

For more information, check these sites:

1-ASP Xtreme
2-My Articles

Check my Blog that appears in my signature below.

Regards.