473,397 Members | 1,974 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,397 software developers and data experts.

Still problem with Beta 2.0, who can help?

I've run a site with beta 1.0 without any problems. Since I've
installed Beta 2.0 I can't even run a simple empty page.

Creating an empty site, adding a Default.aspx form. This runs on the
temporary IIS started from within the studio.

But copying the site to the real IIS site, I get the error

Der Typ '_Default' konnte nicht geladen werden.
(Translation: The type '_Default' could not be loaded) within the line
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>

What am I missing?
One answer I've got from a german page was, that I didn't remove the
prevous beta before installing 2.0. So I've removed and reinstalled it
three times without any sucess, still the same error.

Aren't there any hints? I will not reinstall my windows. Plz help
someone.

--
Sleepless in Berlin
W. Schwenkner
Nov 19 '05 #1
8 1679
In you @Page directive you have Inherits="_Default" , please make sure that
this is the class name in your codebehind file. Hey, just post the code for
your aspx file and your aspx.cs file. That would help

--
TDAVISJR
aka - Tampa.NET Koder
"Wernfried Schwenkner" <we**************@schwenkner.de> wrote in message
news:MPG.1cd892e95b885fd59896db@merlin...
I've run a site with beta 1.0 without any problems. Since I've
installed Beta 2.0 I can't even run a simple empty page.

Creating an empty site, adding a Default.aspx form. This runs on the
temporary IIS started from within the studio.

But copying the site to the real IIS site, I get the error

Der Typ '_Default' konnte nicht geladen werden.
(Translation: The type '_Default' could not be loaded) within the line
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>

What am I missing?
One answer I've got from a german page was, that I didn't remove the
prevous beta before installing 2.0. So I've removed and reinstalled it
three times without any sucess, still the same error.

Aren't there any hints? I will not reinstall my windows. Plz help
someone.

--
Sleepless in Berlin
W. Schwenkner

Nov 19 '05 #2
In article <uf*************@TK2MSFTNGP12.phx.gbl>,
an*******@microsoft.com says...
Hey, just post the code for
your aspx file and your aspx.cs file. That would help


Here it comes:

<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" 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>
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
}

--
Sleepless in Berlin
W. Schwenkner
Nov 19 '05 #3
I've seen a hint in the browsers error message (copy from the page)
Serverfehler in der Anwendung '/'.
------------------------------------------------------------------------
--------

Parserfehler
Beschreibung: Beim Verarbeiten einer Resource, die für diese Anforderung
erforderlich ist, ist ein Fehler aufgetreten. Überprüfen Sie folgende
Fehlerinformationen und ändern Sie die Quelldatei entsprechend.

Parser-Fehlermeldung: Der Typ '_Default' konnte nicht geladen werden.

Quellfehler:
Zeile 1: <%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>
Zeile 2:
Zeile 3: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">


Quelldatei: C:\Portale\PortalMerlin\Default.aspx Zeile: 1
------------------------------------------------------------------------
--------
Versionsinformationen: Microsoft .NET Framework Version:1.1.4322.573;
ASP.NET-Version:1.1.4322.573
Here I see, that version 1.1 is used instead of 2.0. Before updating
from beta 1.0 to beta 2.0 an asp site on that direktory worked with the
..Net 2.0 (beta 1). So what have I to do that the IIS also accepts (and
takes) 2.0

--
Sleepless in Berlin
W. Schwenkner
Nov 19 '05 #4
My guess is that your application/virtual directory in IIS is still configured
to use ASP.NET 1.1 not 2.0. You need to change the mappings, and if the 2.0
framework installed properly, then the new ASP.NET tab in IIS for your application
should give you an easy way to switch the version used.

-Brock
DevelopMentor
http://staff.develop.com/ballen
I've run a site with beta 1.0 without any problems. Since I've
installed Beta 2.0 I can't even run a simple empty page.

Creating an empty site, adding a Default.aspx form. This runs on the
temporary IIS started from within the studio.

But copying the site to the real IIS site, I get the error

Der Typ '_Default' konnte nicht geladen werden.
(Translation: The type '_Default' could not be loaded) within the line
<%@ Page Language="C#" AutoEventWireup="true"
CodeFile="Default.aspx.cs" Inherits="_Default" %>
What am I missing?
One answer I've got from a german page was, that I didn't remove the
prevous beta before installing 2.0. So I've removed and reinstalled it
three times without any sucess, still the same error.
Aren't there any hints? I will not reinstall my windows. Plz help
someone.


Nov 19 '05 #5
In article <55**********************@msnews.microsoft.com>,
ba****@NOSPAMdevelop.com says...
My guess is that your application/virtual directory in IIS is still configured
to use ASP.NET 1.1 not 2.0. You need to change the mappings, and if the 2.0
framework installed properly, then the new ASP.NET tab in IIS for your application
should give you an easy way to switch the version used.


Right, it seams so.

Where do I change the mappings? I don't find any ASP.NET tab.
In the web service extension, v2.0.50215 is anabled.
In ISAPI-Filter of the web site, ASP_NET_2.0.50215.44 is seen with low
priority.

--
Sleepless in Berlin
W. Schwenkner
Nov 19 '05 #6
Use Denis Bauer's free ASP.NET Version Switcher.

http://www.denisbauer.com/NETTools/A...nSwitcher.aspx


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

"Wernfried Schwenkner" <we**************@schwenkner.de> wrote in message
news:MPG.1cd8aad3330fba679896df@merlin...
In article <55**********************@msnews.microsoft.com>,
ba****@NOSPAMdevelop.com says...
My guess is that your application/virtual directory in IIS is still configured
to use ASP.NET 1.1 not 2.0. You need to change the mappings, and if the 2.0
framework installed properly, then the new ASP.NET tab in IIS for your application
should give you an easy way to switch the version used.


Right, it seams so.

Where do I change the mappings? I don't find any ASP.NET tab.
In the web service extension, v2.0.50215 is anabled.
In ISAPI-Filter of the web site, ASP_NET_2.0.50215.44 is seen with low
priority.

--
Sleepless in Berlin
W. Schwenkner

Nov 19 '05 #7
In article <#F*************@TK2MSFTNGP15.phx.gbl>,
no***********@nowhere.com says...
Use Denis Bauer's free ASP.NET Version Switcher.

http://www.denisbauer.com/NETTools/A...nSwitcher.aspx


You saved my day (night), thanks.
--
Sleepless in Berlin
W. Schwenkner
Nov 19 '05 #8
If the tab isn't there, then it means there's a slight problem with the ASP.NET
2.0 install -- this isn't critical, but it means you miss out on the config
stuff in the UI. So, you must do this manually, so you can use aspnet_regiis.exe
to do this or you cann google for the ASP.NET version switcher.

BTW, the incorrect install is typpical when the past version of ASP.NET 2.0
isn't properly uninstalled. I think there's a fix, but again, you'd have
to google for it or search these NGs. I recall someone else posting a link
to the fix. I think it's as simple as registering a COM dll... which one,
I don't know ;)

-Brock
DevelopMentor
http://staff.develop.com/ballen
In article <55**********************@msnews.microsoft.com>,
ba****@NOSPAMdevelop.com says...
My guess is that your application/virtual directory in IIS is still
configured to use ASP.NET 1.1 not 2.0. You need to change the
mappings, and if the 2.0 framework installed properly, then the new
ASP.NET tab in IIS for your application should give you an easy way
to switch the version used.

Right, it seams so.

Where do I change the mappings? I don't find any ASP.NET tab.
In the web service extension, v2.0.50215 is anabled.
In ISAPI-Filter of the web site, ASP_NET_2.0.50215.44 is seen with low
priority.


Nov 19 '05 #9

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

Similar topics

9
by: Nathan Rose | last post by:
Here's my problem. I am reading from a text file using this: if (!file_exists($file)) { echo "Don't exist\n"; return false; } $fd = @fopen($file, 'r'); if (!is_resource($fd))
0
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics,...
2
by: Uma Abhyankar | last post by:
Hello, I am using .NET Beta1 Visual Studio. I have to invoke VCBuild through MSBuild on command prompt. I have following issues: Issue1: -------- MSBuild invokes VCBuild internally....
1
by: Uma Abhyankar | last post by:
Hello All, I was facing an issue with VCBuild on Beta1. Today after shifting to .NET Beta2, it looks like the issue is still not resolved :-( I have to invoke VCBuild through MSBuild on command...
0
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics,...
0
by: Web Science | last post by:
Site and Features: http://www.eigensearch.com Search engine, eigenMethod, eigenvector, mathematical, manifolds, science, technical, search tools, eigenmath, Jacobian, quantum, mechanics,...
21
by: rkusenet | last post by:
Trolling before someone else does -) http://www.eweek.com/article2/0,1759,1776048,00.asp
3
by: KidSensation | last post by:
Hello all, I ran into a couple applications written in c#, but we do not have the full version of visual studio.net 2003, so I thought they were most likely written in the beta version. After...
3
by: cj | last post by:
Is Visual Studio 2008 still beta or is the production release ready to be downloaded from MSDN now? Will it open and automatically upgrade VB 2003 projects? I understand I can use it to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.