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

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"?>
<configuration>
<appSettings>
<add key="blog_db_connection_string"
value="server=ourserver;database=BlogsNet;provider =sqloledb" />
<add key="blog_base_page" value="Blog.aspx" />
<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_type" value="SQL" />

------- Here is what I added
<add key="cookieDomainName" value=".ourdomain.com" />
---------
</appSettings>

------- Here is what I added (there was no system.web originally in their
web.config)
<system.web>
<identity impersonate="true"
userName="registry:HKLM\SOFTWARE\sss\identity\ASPN ET_SETREG,userName"
password="registry:HKLM\SOFTWARE\sss\identity\ASPN ET_SETREG,password"
/>
<authentication mode="Forms">
<forms loginUrl="login.aspx" name="oursite.COM.AUTH" path="/"/>
</authentication>
<machineKey validationKey="DDC...rest of key is here"
decryptionKey="084...rest of key is here" validation="SHA1" decryption="3DES"
/>

</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='MachineToApplication' 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="registry:HKLM\SOFTWARE\sss\identity\ASPN ET_SETREG,password"
Line 24: />
Line 25: <authentication mode="Forms">
Line 26: <forms loginUrl="login.aspx" name="sss.COM.AUTH" path="/"/>
Line 27: </authentication>
Source File: C:\Inetpub\wwwroot\BlogsNET\blog\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 1277

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

Similar topics

9
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 ......
13
by: Jay | last post by:
I need to write a program to find mac address of a remote computer, is this possible? How?
4
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...
3
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...
2
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...
0
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...
0
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...
1
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...
1
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....
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...
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:
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
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
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
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,...

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.