473,509 Members | 7,333 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Server setup for .NET ver. 2.0

Ok, so we have a server running Win 2003 Server, and IIS 6.0. We have
successfully worked projects from this server using VS 1.1 on remote
development machines. We want to get started using VS 2005 against this
machine. We installed the .NET Framework 2.0 but were unable to get it to
work against VS 2005 Standard edition. We thought that installing VS 2005
Standard on the server might "straighten out" the situation but that didn't
work either.

I have created the simplest possible website on the server from a remote
machine, a default page with some text on it. The symptom is that the server
chokes on the first line of the .aspx file. The first line of the file and
the error it produces are reproduced below;

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>

Parser Error Message: Could not load type '_Default'.

Have we neglected something in the setup of our web server for VS 2005? Do
we need to remove the old version of the framework?

Bill
Dec 12 '05 #1
2 1247
Have you set the ASP.NET version to 2.0 for the Virtual Directory under IIS?

Look at the ASP.NET tab on your web site / virtual directory properties.

--

Andrew Robinson
www.binaryocean.com
www.bellinghamdotnet.org
"Bill" <Bi**@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
Ok, so we have a server running Win 2003 Server, and IIS 6.0. We have
successfully worked projects from this server using VS 1.1 on remote
development machines. We want to get started using VS 2005 against this
machine. We installed the .NET Framework 2.0 but were unable to get it to
work against VS 2005 Standard edition. We thought that installing VS 2005
Standard on the server might "straighten out" the situation but that
didn't
work either.

I have created the simplest possible website on the server from a remote
machine, a default page with some text on it. The symptom is that the
server
chokes on the first line of the .aspx file. The first line of the file
and
the error it produces are reproduced below;

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>

Parser Error Message: Could not load type '_Default'.

Have we neglected something in the setup of our web server for VS 2005? Do
we need to remove the old version of the framework?

Bill

Dec 12 '05 #2
Andrew,
Thanks for the quick fix. It never occurred to me that a website created
from Visual Studio 2005 would default to the old version of the framework on
the server!

Thanks
Bill
"Andrew Robinson" wrote:
Have you set the ASP.NET version to 2.0 for the Virtual Directory under IIS?

Look at the ASP.NET tab on your web site / virtual directory properties.

--

Andrew Robinson
www.binaryocean.com
www.bellinghamdotnet.org
"Bill" <Bi**@discussions.microsoft.com> wrote in message
news:77**********************************@microsof t.com...
Ok, so we have a server running Win 2003 Server, and IIS 6.0. We have
successfully worked projects from this server using VS 1.1 on remote
development machines. We want to get started using VS 2005 against this
machine. We installed the .NET Framework 2.0 but were unable to get it to
work against VS 2005 Standard edition. We thought that installing VS 2005
Standard on the server might "straighten out" the situation but that
didn't
work either.

I have created the simplest possible website on the server from a remote
machine, a default page with some text on it. The symptom is that the
server
chokes on the first line of the .aspx file. The first line of the file
and
the error it produces are reproduced below;

<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>

Parser Error Message: Could not load type '_Default'.

Have we neglected something in the setup of our web server for VS 2005? Do
we need to remove the old version of the framework?

Bill


Dec 12 '05 #3

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

Similar topics

2
15207
by: Ken Lindner | last post by:
I have a need to become familiar with SQL Server 2000 for work. Needless to say I am new to SQL Server any version, but not IT in general. My employer has provided me with the SQL Server 2000...
4
1787
by: chuckdfoster | last post by:
I am having a problem with moving my web app that uses Crystal Reports to our web server. I do not have administrative rights to the web server. When my site gets moved from my local machine to...
4
7286
by: coosa | last post by:
Hi, I was installing SQL Server on my machine and during installation my PC freezed. It happens frequently on my machine. So i tried after restarting to install it again and since then i always...
4
5237
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at...
7
2731
by: Greg P | last post by:
I know this is a long post, please bear with me. I have been working on this all weekend to no avail although I have done a good amount of research (see most pertinent links that I've looked at...
0
1000
by: Steve | last post by:
Hi All I have a vb.net Windows forms App which I am deploying with a VS.net 2005 deployment project I have selected SQL Server express as a prerequisite and use the standard SQL server express...
20
3108
by: piggy | last post by:
I have developed an application using C# under .NET 2.0 framework. It is almost done and it is time for me to think about deploymnet to all users. I don't have any background about this and would...
3
6411
by: Steve | last post by:
Hi All I downloaded Sql server 2005 express SP2 and attempted to modify the Bootstrapper package files as I did with SP1 When i try to install SQL server as part of my VS 2005 deployment app I...
3
2598
by: =?Utf-8?B?ZGF2aWQ=?= | last post by:
Last week I asked a question about connection to database from client machine (developer machine). I have changed the database security setup for "SQL Server and Windows" under (local)Windows NT...
2
2263
by: Teja | last post by:
Hi All, I have a Python COM server. I need to deploy it on various sytems. When I run the COM server from python its showing an output " Registered : sample.lib" If I try to use the COM obj...
0
7237
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
7137
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7347
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
7416
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
5656
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
3207
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1571
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
779
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
443
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.