Re: Visual Studio 2005 Beta 2 project cannot work in IIS virtual d
- From: James <James@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 11 Oct 2006 05:19:02 -0700
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/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en
--
Hope this helps,
Mark Fitzpatrick
Former Microsoft FrontPage MVP 199?-2006
"James" <James@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:F433A881-BED1-4C12-92BA-2240A61F6EAB@xxxxxxxxxxxxxxxx
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
- References:
- Re: Visual Studio 2005 Beta 2 project cannot work in IIS virtual d
- From: James
- 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: Re: Map code to assembly
- Next by Date: Re: viewstate error
- Previous by thread: Re: Visual Studio 2005 Beta 2 project cannot work in IIS virtual d
- Next by thread: Dataset to crystal report
- Index(es):
Relevant Pages
|