Re: Visual Studio 2005 Beta 2 project cannot work in IIS virtual d
- From: James <James@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 11 Oct 2006 03:57:01 -0700
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" <Acharts@xxxxxxxxxxxxxxxx> wrote in message
news:56B44A82-5301-4E40-B832-538DBFEA1A60@xxxxxxxxxxxxxxxx
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
- Follow-Ups:
- Re: Visual Studio 2005 Beta 2 project cannot work in IIS virtual d
- From: Mark Fitzpatrick
- Re: Visual Studio 2005 Beta 2 project cannot work in IIS virtual d
- Prev by Date: Newbie question on publishing to web server
- Next by Date: Re: Database explorer
- Previous by thread: Newbie question on publishing to web server
- Next by thread: Re: Visual Studio 2005 Beta 2 project cannot work in IIS virtual d
- Index(es):
Relevant Pages
|