473,324 Members | 2,239 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,324 software developers and data experts.

Visual Studio 2005 Beta 2 project cannot work in IIS virtual direc

6/23/05
..NET Development\Framework\dotnet.framework.aspnet

Visual Studio 2005 Beta 2 project cannot work in IIS virtual directory

I used Visual Studio 2005 Beta 2 to build a simple new web site.

Default.aspx file is like following.

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>

</div>
</form>
</body>
</html>

Default.aspx.vb is like following.
Partial Class _Default
Inherits System.Web.UI.Page
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

Response.Redirect("http://www.microsoft.com/")
End Sub
End Class
When I run the Visual Studio 2005 Beta 2, it works fine under studio testing
port. However, when I make an IIS virtual directory to run the default.aspx
under IIS, it gives me following error.
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'xmlns'.

Source Error:

Line 8: \Windows\Microsoft.Net\Framework\v2.x\Config
Line 9: -->
Line 10: <configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 11: <appSettings/>
Line 12: <connectionStrings/>

Source File: C:\jzhang\D_folder\document\ctqp-website\web.config Line: 10
________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032

Then I simple removed xmlns entry, then I got an error that the program
could not locate the _Default class under Default.aspx.vb file.Please help.

Nov 19 '05 #1
4 1600
You're trying to run an ASP.NET 2.0 app in a virtual directory
which has been configured for ASP.NET 1.1.

Use the ASP.NET tab in the IIS MMC to change
the ASP.NET version of your application to ASP.NET 2.0.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Charts" <Ac*****@newsgroup.nospam> wrote in message
news:56**********************************@microsof t.com...
6/23/05
.NET Development\Framework\dotnet.framework.aspnet

Visual Studio 2005 Beta 2 project cannot work in IIS virtual directory

I used Visual Studio 2005 Beta 2 to build a simple new web site.

Default.aspx file is like following.

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>

</div>
</form>
</body>
</html>

Default.aspx.vb is like following.
Partial Class _Default
Inherits System.Web.UI.Page
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

Response.Redirect("http://www.microsoft.com/")
End Sub
End Class
When I run the Visual Studio 2005 Beta 2, it works fine under studio testing
port. However, when I make an IIS virtual directory to run the default.aspx
under IIS, it gives me following error.
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'xmlns'.

Source Error:

Line 8: \Windows\Microsoft.Net\Framework\v2.x\Config
Line 9: -->
Line 10: <configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 11: <appSettings/>
Line 12: <connectionStrings/>

Source File: C:\jzhang\D_folder\document\ctqp-website\web.config Line: 10
________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032

Nov 19 '05 #2
Hello

I have the same problem but can only find ASP.net version 1 on my server.
How do I get ASP.net version 2? I have searched for it on microsoft but
cannot tell what exactly i have to install as it seems like the developer
programs.

Many thanks

James

"Juan T. Llibre" wrote:
You're trying to run an ASP.NET 2.0 app in a virtual directory
which has been configured for ASP.NET 1.1.

Use the ASP.NET tab in the IIS MMC to change
the ASP.NET version of your application to ASP.NET 2.0.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Charts" <Ac*****@newsgroup.nospamwrote in message
news:56**********************************@microsof t.com...
6/23/05
.NET Development\Framework\dotnet.framework.aspnet

Visual Studio 2005 Beta 2 project cannot work in IIS virtual directory

I used Visual Studio 2005 Beta 2 to build a simple new web site.

Default.aspx file is like following.

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>

</div>
</form>
</body>
</html>

Default.aspx.vb is like following.
Partial Class _Default
Inherits System.Web.UI.Page
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

Response.Redirect("http://www.microsoft.com/")
End Sub
End Class
When I run the Visual Studio 2005 Beta 2, it works fine under studio testing
port. However, when I make an IIS virtual directory to run the default.aspx
under IIS, it gives me following error.
Configuration Error
Description: An error occurred during the processing of a configuration file
required to service this request. Please review the specific error details
below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'xmlns'.

Source Error:

Line 8: \Windows\Microsoft.Net\Framework\v2.x\Config
Line 9: -->
Line 10: <configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 11: <appSettings/>
Line 12: <connectionStrings/>

Source File: C:\jzhang\D_folder\document\ctqp-website\web.config Line: 10
________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2032; ASP.NET
Version:1.1.4322.2032


Oct 11 '06 #3
You need the .Net Framework 2.0. ASP.Net is not an independent download and
is part of the framework itself. If you're not doing development stuff, then
you don't need the SDK version. You should also be able to download it
directly through update.microsoft.com as an optional os component. You can
get it at:
http://www.microsoft.com/downloads/d...displaylang=en
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"James" <Ja***@discussions.microsoft.comwrote in message
news:F4**********************************@microsof t.com...
Hello

I have the same problem but can only find ASP.net version 1 on my server.
How do I get ASP.net version 2? I have searched for it on microsoft but
cannot tell what exactly i have to install as it seems like the developer
programs.

Many thanks

James

"Juan T. Llibre" wrote:
>You're trying to run an ASP.NET 2.0 app in a virtual directory
which has been configured for ASP.NET 1.1.

Use the ASP.NET tab in the IIS MMC to change
the ASP.NET version of your application to ASP.NET 2.0.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Charts" <Ac*****@newsgroup.nospamwrote in message
news:56**********************************@microso ft.com...
6/23/05
.NET Development\Framework\dotnet.framework.aspnet

Visual Studio 2005 Beta 2 project cannot work in IIS virtual directory

I used Visual Studio 2005 Beta 2 to build a simple new web site.

Default.aspx file is like following.

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>

</div>
</form>
</body>
</html>

Default.aspx.vb is like following.
Partial Class _Default
Inherits System.Web.UI.Page
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

Response.Redirect("http://www.microsoft.com/")
End Sub
End Class
When I run the Visual Studio 2005 Beta 2, it works fine under studio
testing
port. However, when I make an IIS virtual directory to run the
default.aspx
under IIS, it gives me following error.
Configuration Error
Description: An error occurred during the processing of a configuration
file
required to service this request. Please review the specific error
details
below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'xmlns'.

Source Error:

Line 8: \Windows\Microsoft.Net\Framework\v2.x\Config
Line 9: -->
Line 10: <configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 11: <appSettings/>
Line 12: <connectionStrings/>

Source File: C:\jzhang\D_folder\document\ctqp-website\web.config
Line: 10
________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET
Version:1.1.4322.2032



Oct 11 '06 #4
Hi Mark

Great thanks for your help

James

"Mark Fitzpatrick" wrote:
You need the .Net Framework 2.0. ASP.Net is not an independent download and
is part of the framework itself. If you're not doing development stuff, then
you don't need the SDK version. You should also be able to download it
directly through update.microsoft.com as an optional os component. You can
get it at:
http://www.microsoft.com/downloads/d...displaylang=en
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"James" <Ja***@discussions.microsoft.comwrote in message
news:F4**********************************@microsof t.com...
Hello

I have the same problem but can only find ASP.net version 1 on my server.
How do I get ASP.net version 2? I have searched for it on microsoft but
cannot tell what exactly i have to install as it seems like the developer
programs.

Many thanks

James

"Juan T. Llibre" wrote:
You're trying to run an ASP.NET 2.0 app in a virtual directory
which has been configured for ASP.NET 1.1.

Use the ASP.NET tab in the IIS MMC to change
the ASP.NET version of your application to ASP.NET 2.0.


Juan T. Llibre
ASP.NET MVP
http://asp.net.do/foros/
Foros de ASP.NET en Español
Ven, y hablemos de ASP.NET...
======================

"Charts" <Ac*****@newsgroup.nospamwrote in message
news:56**********************************@microsof t.com...
6/23/05
.NET Development\Framework\dotnet.framework.aspnet

Visual Studio 2005 Beta 2 project cannot work in IIS virtual directory

I used Visual Studio 2005 Beta 2 to build a simple new web site.

Default.aspx file is like following.

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

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
</head>
<body>
<form id="form1" runat="server">
<div>

</div>
</form>
</body>
</html>

Default.aspx.vb is like following.
Partial Class _Default
Inherits System.Web.UI.Page
Private Sub Page_Load(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.Load

Response.Redirect("http://www.microsoft.com/")
End Sub
End Class
When I run the Visual Studio 2005 Beta 2, it works fine under studio
testing
port. However, when I make an IIS virtual directory to run the
default.aspx
under IIS, it gives me following error.
Configuration Error
Description: An error occurred during the processing of a configuration
file
required to service this request. Please review the specific error
details
below and modify your configuration file appropriately.

Parser Error Message: Unrecognized attribute 'xmlns'.

Source Error:

Line 8: \Windows\Microsoft.Net\Framework\v2.x\Config
Line 9: -->
Line 10: <configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">
Line 11: <appSettings/>
Line 12: <connectionStrings/>

Source File: C:\jzhang\D_folder\document\ctqp-website\web.config
Line: 10
________________________________________
Version Information: Microsoft .NET Framework Version:1.1.4322.2032;
ASP.NET
Version:1.1.4322.2032


Oct 11 '06 #5

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

Similar topics

0
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project:...
0
by: gerd | last post by:
Hello, I want to port an MFC Application from Visual Studio 6 MFC application to Visual C++ 2005 express edition beta. While building i get following error: ------ Build started: Project:...
5
by: Patrick Olurotimi Ige | last post by:
Hi, I have VStudio.Net 2003 installed but can i install Visual Web Developer also on the same PC. My current .Net Frameork version is 1.1. Will the Visual Web Developer install ASP.NET 2.0? And...
0
by: Dr. Zharkov | last post by:
Hello. To see the graphics of technology DirectX 9.0 SDK Update - June 2005 in project Visual Basic, WindowsApplication1 from Visual Studio 2005 Beta 1, in file My Project, MyApplication.vb in a...
54
by: m.roello | last post by:
In the book: "Working with Microsoft Visual Studio 2005" Craig Skibo wrote: "The power of Visual Studio 2005 lies in its ability to empower users to build, test, and debug powerful applications...
6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
4
by: Skc | last post by:
We have a developer who has made an application in Visual Studio 2003 and this will not work in our version of Visual Studio 2002. Error message: Solution file loading error: The selected file...
6
by: Mark Sandfox | last post by:
How do i get my ASP.NET Web Application to work on my MS Server 2003 on the internet? Step by step please. I have created and built a simple calendar app that works locally, but not when i...
24
by: JJ | last post by:
I see the new software is 'RTM' but what does that mean in terms of when we can actually purchase it? Thanks, JJ
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.