Click here to Skip to main content
15,917,595 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,
i had installed IIS(5.1) after installing VS2008. after that i configure with
asp_regiis -i utility. but when i build my application i am getting the below shown error.



C#
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.
Posted

As the error says, check the virtual directory, it needs to be configured as an application.

http://support.microsoft.com/kb/172138[^]
 
Share this answer
 
I think Your webconfig file is not placed in root,it is placed in a directory within the project place it in root folder then compile again.

Regards
Rakesh R B
 
Share this answer
 
i think you are using two web.config files ..right?
in root folder and one of the subfolder if yes
then check the authentication mode you have used in both the web.config files

reply me i will give you the solution
 
Share this answer
 
SELECT TRIM(T1.SecurityID) As SecurityID,TRIM(T1.SecurityCrossReference)
From (SELECT TRIM(SecurityID) ,TRIM(SecurityCrossReference) ,vAsOfDate From 16161rawdata
WHERE SecurityID IS NOT NULL AND SecurityID <> ''
ORDER BY SecurityID ,vAsOfDate DESC ) as T1 WHERE
TRIM(T1.SecurityCrossReference) <> '' AND T1.SecurityCrossReference IS NOT NULL
GROUP BY T1.SecurityID HAVING MAX(T1.vAsOfDate)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900