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

Problem with authentication on a web site - allowDefintion='Machin

One of my guys is trying to move an application from our test box to our
production server cluster and is having problems. He had moved over
everything, set up the new site including making the web site an application
through properties. He even made a virtual directory that is in the web site
an application. When somebody logs on he gets the error

allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

He has checked screen by screen and the two systems are set up the same
(although they are using a different structure base but the same directory
structure)

What else could he check for ? He's tried deleting the site and creating it
again according to the KB from the MS website.

It's .Net 1.1 running on Server 2003.

TIA - J.
Jun 29 '06 #1
4 1045
Does the asp.net server process have write permissions to the folders involved?

"WinDev" wrote:
One of my guys is trying to move an application from our test box to our
production server cluster and is having problems. He had moved over
everything, set up the new site including making the web site an application
through properties. He even made a virtual directory that is in the web site
an application. When somebody logs on he gets the error

allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

He has checked screen by screen and the two systems are set up the same
(although they are using a different structure base but the same directory
structure)

What else could he check for ? He's tried deleting the site and creating it
again according to the KB from the MS website.

It's .Net 1.1 running on Server 2003.

TIA - J.

Jun 29 '06 #2
No it doesn't At least I don't think it does. Why would it need write
privileges into those directories?

"Dabbler" wrote:
Does the asp.net server process have write permissions to the folders involved?

"WinDev" wrote:
One of my guys is trying to move an application from our test box to our
production server cluster and is having problems. He had moved over
everything, set up the new site including making the web site an application
through properties. He even made a virtual directory that is in the web site
an application. When somebody logs on he gets the error

allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

He has checked screen by screen and the two systems are set up the same
(although they are using a different structure base but the same directory
structure)

What else could he check for ? He's tried deleting the site and creating it
again according to the KB from the MS website.

It's .Net 1.1 running on Server 2003.

TIA - J.

Jun 29 '06 #3
This exception occurs when a web.config file is present in a folder that is
not configured as an IIS application.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"WinDev" wrote:
One of my guys is trying to move an application from our test box to our
production server cluster and is having problems. He had moved over
everything, set up the new site including making the web site an application
through properties. He even made a virtual directory that is in the web site
an application. When somebody logs on he gets the error

allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

He has checked screen by screen and the two systems are set up the same
(although they are using a different structure base but the same directory
structure)

What else could he check for ? He's tried deleting the site and creating it
again according to the KB from the MS website.

It's .Net 1.1 running on Server 2003.

TIA - J.

Jun 29 '06 #4
OK. We found out the problem - with the application, we had a virtual
directory that pointed to the same directory. This was done so that we would
put on every reference /ECSAdminControl/.... (that was our virtual
directory.)

So it did have 2 web.config within the same web site.

But this worked in IIS 5.x.

J.

"Peter Bromberg [C# MVP]" wrote:
This exception occurs when a web.config file is present in a folder that is
not configured as an IIS application.

Peter

--
Co-founder, Eggheadcafe.com developer portal:
http://www.eggheadcafe.com
UnBlog:
http://petesbloggerama.blogspot.com


"WinDev" wrote:
One of my guys is trying to move an application from our test box to our
production server cluster and is having problems. He had moved over
everything, set up the new site including making the web site an application
through properties. He even made a virtual directory that is in the web site
an application. When somebody logs on he gets the error

allowDefinition='MachineToApplication' beyond application level. This error
can be caused by a virtual directory not being configured as an application
in IIS.

He has checked screen by screen and the two systems are set up the same
(although they are using a different structure base but the same directory
structure)

What else could he check for ? He's tried deleting the site and creating it
again according to the KB from the MS website.

It's .Net 1.1 running on Server 2003.

TIA - J.

Jun 30 '06 #5

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

Similar topics

7
by: John Machin | last post by:
Sorry in advance if this is not the correct forum ... I'm trying to upload what appears to be a perfectly OK zip file as a "source" file type to PyPI, and am getting this response: Error......
1
by: Kevin | last post by:
I need to control access to my web site via login information in a database on the server. The only way I see to do this is to use an authenication scheme that doesn't require a user login...
9
by: Morten | last post by:
Hi! I have a problem displaying some values in a datagrid. I have an array that consists of a number of objects. Each object has 2 properties: Name and a list of web addresses. (e.g: Name:...
1
by: srivalli chavali via DotNetMonster.com | last post by:
Hi, I have a question regd. Windows authentication and network file access. My asp.net application doesn't use any of the .NET's authentication schemes (Forms, Windows or Passport) yet. I have...
2
by: Lalasa | last post by:
Hi, In my Console Application, I am accessing sql server using windows authentication and I get this error. Login failed for user '(null)'. Reason: Not associated with a trusted SQL Server...
1
by: www.dir | last post by:
Hi, I am tring to get information from a web site that I am registered to. I need a little tip on how can I do this. I need first to sigh in, and while signing in some of my cookis are set with...
2
by: Grant | last post by:
My C# web application connects to an Access database using the OleDbConnection and OleDbDataReader. I have 3 other computers that connect to this server but very frequently I get an 'Unspecified...
2
by: jack | last post by:
Hi all, good morning (im using vs2005) I want to commulicate with a web service in c# i did followed all the instructions in the book. i have tried it and worked perfectly in my local machine...
2
by: Phil Townsend | last post by:
I've just written a login page using forms authentication. I'm a little confused on how to expire the user, that is if they close the browser and reopen it, I wnat them to have to log back in. I...
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: 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
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
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.