473,408 Members | 2,441 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,408 software developers and data experts.

It is an error to use a section...

I have a web site I developed on development workstation using ASP.NET 2.0.

Published it to my Win 2003 Server. This Server has been a lot of trouble -
just recently de-installed and re-installed iis and asp.net 2.0. Still
getting w3wp.exe memory errors.

I have enabled asp.net 2.0, created an application for it, etc., etc., but
still get a web.config error when I try to access it....

It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level

It then lists my forms authentication section....
Line 89: -->
Line 90: <authentication mode="Forms">
Line 91: <forms loginUrl="Default.aspx" name=".ASPXFORMSAUTH">
Line 92: </forms>

Anybody have any ideas?

Nov 19 '07 #1
2 1510
You haven't defined the directory, where the web.config file is located,
as either an application or as a virtual directory.

re:
!created an application for it

Are you sure ?
That's the *only* possible reason for that error message.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Rbrt" <Rb**@discussions.microsoft.comwrote in message news:35**********************************@microsof t.com...
>I have a web site I developed on development workstation using ASP.NET 2.0.

Published it to my Win 2003 Server. This Server has been a lot of trouble -
just recently de-installed and re-installed iis and asp.net 2.0. Still
getting w3wp.exe memory errors.

I have enabled asp.net 2.0, created an application for it, etc., etc., but
still get a web.config error when I try to access it....

It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level

It then lists my forms authentication section....
Line 89: -->
Line 90: <authentication mode="Forms">
Line 91: <forms loginUrl="Default.aspx" name=".ASPXFORMSAUTH">
Line 92: </forms>

Anybody have any ideas?

Nov 19 '07 #2
Thank you very much for taking the time to respond, Juan.

It is listed in the web sites when I open the IIS 6.0 console. If I
right-click and select properties, then look at the Home Directory tab, the
directory is that in which my application resdies and there is an applicatio
defined for it. I have also put it in its own application pool. Is that waht
you mean?

Robert

"Juan T. Llibre" wrote:
You haven't defined the directory, where the web.config file is located,
as either an application or as a virtual directory.

re:
!created an application for it

Are you sure ?
That's the *only* possible reason for that error message.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Rbrt" <Rb**@discussions.microsoft.comwrote in message news:35**********************************@microsof t.com...
I have a web site I developed on development workstation using ASP.NET 2.0.

Published it to my Win 2003 Server. This Server has been a lot of trouble -
just recently de-installed and re-installed iis and asp.net 2.0. Still
getting w3wp.exe memory errors.

I have enabled asp.net 2.0, created an application for it, etc., etc., but
still get a web.config error when I try to access it....

It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level

It then lists my forms authentication section....
Line 89: -->
Line 90: <authentication mode="Forms">
Line 91: <forms loginUrl="Default.aspx" name=".ASPXFORMSAUTH">
Line 92: </forms>

Anybody have any ideas?


Nov 19 '07 #3

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

Similar topics

1
by: serge calderara | last post by:
dear all, I have problem accessing section group in my configuration application file. I got an error saying thta I can have only one section ???? here is my application configuration looks...
1
by: Supra | last post by:
i got "system error" when saving to xml file. i am using checkbox1 control to xml. when user clicked checkbox and set to true and press btnOk to conform and save it to xml ...
9
by: Marina Anufreichik | last post by:
Hi, After deploymnet web application on web server I can access page on local machine and login fine but when I'm trying to access web site from remote machine I can see login page, but when I'm...
2
by: Sean | last post by:
Hi, I am facing a problem, and i don't know why the error is being generated. I am updating a datagrid with an XML file. My code is Protected Sub UpdateCommand(ByVal Sender As Object,...
10
by: Brian Conway | last post by:
I have no idea what is going on. I have a Login screen where someone types in their login information and this populates a datagrid based off of the login. Works great in debug and test through...
12
by: Brett Robichaud | last post by:
Is anyone familiar with this error? I have this running just fine on my local machine but when I pushed it out to our development server I get this error. I have no idea what it is saying. Any...
1
by: Ramanfromoz | last post by:
Hi, Developing a new we application. Everything okay on my local WIN XP PROFESSIONAL, IIS 5.0 running locally. The website is running smoothly. Now, the same code I am copying over to a...
1
by: quigstah | last post by:
Hello Friends, Building my software on a standard Debian sarge 'testing' machine. Builds have been occuring with regular frequency for months without this error cropping up, but I now get a...
10
by: happyse27 | last post by:
Hi All, I got this apache errors(see section A1 and A2 below) when I used a html(see section b below) to activate acctman.pl(see section c below). Section D below is part of the configuration...
6
by: Ahmedhussain | last post by:
Hi there, I m doing work on a gridview and Im getting an error: A potentially dangerous Request.Form value was detected from the client (ctl00$Content$GridView1$ctl03$TextBox1="<span...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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
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
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.