473,659 Members | 2,980 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

It is an error to use a section registered as allowDefinition ='Mac

My web site is definitely configured as an application in IIS. So what else
could it be? I had added some of our code to this 3rd party's web.config
shown below. So I don't know if it's the 3rd party app that's done in .NET
1.1 that can't handle it or it's some other thing I'm missing here:

<?xml version="1.0" encoding="utf-8"?>
<configuratio n>
<appSettings>
<add key="blog_db_co nnection_string "
value="server=o urserver;databa se=BlogsNet;pro vider=sqloledb" />
<add key="blog_base_ page" value="Blog.asp x" />
<add key="blog_email _smtp_server" value="our_smtp _server" />
<add key="blog_email _smtp_username" value="" />
<add key="blog_email _smtp_password" value="" />
<add key="blog_email _smtp_port" value="" />
<add key="blog_admin _email" value="" />
<add key="blog_admin _password" value="admin" />
<add key="blog_db_ty pe" value="SQL" />

------- Here is what I added
<add key="cookieDoma inName" value=".ourdoma in.com" />
---------
</appSettings>

------- Here is what I added (there was no system.web originally in their
web.config)
<system.web>
<identity impersonate="tr ue"
userName="regis try:HKLM\SOFTWA RE\sss\identity \ASPNET_SETREG, userName"
password="regis try:HKLM\SOFTWA RE\sss\identity \ASPNET_SETREG, password"
/>
<authenticati on mode="Forms">
<forms loginUrl="login .aspx" name="oursite.C OM.AUTH" path="/"/>
</authentication>
<machineKey validationKey=" DDC...rest of key is here"
decryptionKey=" 084...rest of key is here" validation="SHA 1" decryption="3DE S"
/>

</system.web>

--------
</configuration>

When I browse to their default blog page that comes out of the bog here:
http://localhost/blog/blog.aspx...whatever, I get this 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: It is an error to use a section registered as
allowDefinition ='MachineToAppl ication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

Source Error:
Line 23:
password="regis try:HKLM\SOFTWA RE\sss\identity \ASPNET_SETREG, password"
Line 24: />
Line 25: <authenticati on mode="Forms">
Line 26: <forms loginUrl="login .aspx" name="sss.COM.A UTH" path="/"/>
Line 27: </authentication>
Source File: C:\Inetpub\wwwr oot\BlogsNET\bl og\web.config Line: 25

If I take our added code back out of their web.config, it works fine. We
need this code in there to do single sign-on and to share cookies between our
site and the forum in which we want to implement here.
--
dba123
Aug 30 '06 #1
0 1284

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

Similar topics

9
4189
by: Joel Rodrigues | last post by:
Hi, I get the following error when I run make on Mac OS X v 10.1.5 Any ideas ? ---------------------------------------------------------- ar: illegal option -- s usage: ar -d archive file ... ar -m archive file ... ar -m position archive file ... ar -p archive ar -q archive file ... ar -r archive file ...
13
29106
by: Jay | last post by:
I need to write a program to find mac address of a remote computer, is this possible? How?
4
9418
by: Selden McCabe | last post by:
Does anyone know how to determine the client's MAC address from within ASP.Net? I suppose it would have to be java or vb script running on the browser, but I haven't been able to find an example... Thanks, ---Selden McCabe
3
3396
by: Sergej Grickov | last post by:
Hello, all! I started to develop my application with ASP.Net 2.0 and got the strange behavior with pages, where user change any form control (i.e. checkbox, button, etc.). Ex.: when I clicked on button - page is not submit (postback); if I create dropdown box with AutoPostBack = true, or change button property to UseSubmitBehavior = false, I get error (only in IE!):
2
13515
by: Tim Murray | last post by:
First of all, I don't know much about Java, even its naming and version numbering nomenclature, and second, if there is a better group to ask this in, please let me know. System is Mac with 10.4.4. I have Java 1.3.1 and 1.4.2 plug-ins, and J2SE 5.0 (1.5.0) installed. The Java preferences application lets me choose J2SE 5 or 1.4.2 to run applets via a browser. The problem happens in both settings. The problem is that we have a...
0
2267
by: follower | last post by:
This post is mostly Google-bait for anyone else that might want to compile SpiderMonkey ( libjs / libjs.so / libjs.dylib ) for OS X (10.4.5 in my case) and then use it with Python's ctypes. I can't say this will work for anyone else, but it worked for me... Using: http://ftp.mozilla.org/pub/mozilla.org/js/js-1.5.tar.gz First up:
0
3462
by: pvannie | last post by:
Hello there, I've been trying to install DBD::mysql on Mac OS X Server 10.3 for 2 days, but it still raises error. So I'm going to send this message to ask for help. Any help will be much appreciated. Here is what I've tried to install the DBD::mysql module: 1> Download DBD-mysql-2.9003 and un-zip it 2> cd to DBD-mysql-2.9003 directory
1
2576
by: kevingangsun | last post by:
I created an ASP.NET application for our company and it worked great on more than 4 windows 2003 servers. However, when we deployed it to another 2003 server (IIS6), we got the following error message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. Source Error:
1
1798
by: Nathan Sokalski | last post by:
When I click after about 15 minutes on a page I wrote I recieve the following error: Server Error in '/' Application. -------------------------------------------------------------------------------- Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKeyconfiguration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
0
8428
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8335
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8851
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8528
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8627
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
6179
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
2752
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 we have to send another system
2
1737
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.