Re: Visual Studio 2005 Beta 2 project cannot work in IIS virtual d

Tech-Archive recommends: Fix windows errors by optimizing your registry



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



.



Relevant Pages

  • Visual Studio 2005 Beta 2 project cannot work in IIS virtual direc
    ... 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. ... An error occurred during the processing of a configuration file ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ASP.NET brand new and untouched project crashes - stupid error
    ... You should upgrade to VS.NET Beta 2 ASAP. ... run a project created for the Net Framework 1.1. ... If you used Visual Studio 2003 to create your project, ... >> below and modify your configuration file appropriately. ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Visual Studio 2005 Beta 2 project cannot work in IIS virtual d
    ... is part of the framework itself. ... 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. ... An error occurred during the processing of a configuration ...
    (microsoft.public.dotnet.framework.aspnet)
  • Several things after publishing my project.
    ... (In Visual Studio 2008 IDE, I have got no error).When running from the site ... specific parse error details and modify your source file appropriately. ... Parser Error Message: ... An error occurred during the processing of a configuration file ...
    (microsoft.public.vstudio.general)
  • Re: Why are assemblies loading from the GAC?
    ... he is talking about the application configuration file. ... The CopyLocal property is just to tell visual studio whether or not to copy ... Because CLR start looking for assebmly from the GAC. ... S> put several assemblies in the GAC. ...
    (microsoft.public.dotnet.framework)