Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
![]() |
•
•
Join Date: Dec 2006
Posts: 12
Reputation:
Rep Power: 3
Solved Threads: 0
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 44: by Microsoft that offers a single logon and core profile services for member sites.Line 45: -->Line 46: <authentication mode="Windows"/> Line 47: <!-- AUTHORIZATION Line 48: This section sets the authorization policies of the application. You can allow or deny access
What caused the error?Kindly help me out a solution for this....
WE TRIED OUT THE FOLLOWING...EVEN THAT DIDN'T WORK
Go to the control panel, to the IIS panel on the Web Server and open the default Web Site, find the folder for your application, right click it, choose properties and then in the screen that opens up, hit CREATE (a button). OK your changes and try again.
Source Error:
Line 44: by Microsoft that offers a single logon and core profile services for member sites.Line 45: -->Line 46: <authentication mode="Windows"/> Line 47: <!-- AUTHORIZATION Line 48: This section sets the authorization policies of the application. You can allow or deny access
What caused the error?Kindly help me out a solution for this....
WE TRIED OUT THE FOLLOWING...EVEN THAT DIDN'T WORK
Go to the control panel, to the IIS panel on the Web Server and open the default Web Site, find the folder for your application, right click it, choose properties and then in the screen that opens up, hit CREATE (a button). OK your changes and try again.
•
•
Join Date: Jan 2007
Location: Japan
Posts: 70
Reputation:
Rep Power: 3
Solved Threads: 4
if this is on a hosting package then I'd ask the host, however if you are running this on IIS on your local machine, then the site needs to be configured to allow windows authentication. You can do this on the Directory Security Tab then the top setting "Anonymous access and authentication" click edit, then at the bottom you'll see a checkbox for itegrated windows authentication (this needs to be checked)
sedgey: so little daylight, too much caffeine
MCSD MCAD MCSE
http://www.thefriendlybuilder.co.uk,
http://www.sheetmusicdirect.com
MCSD MCAD MCSE
http://www.thefriendlybuilder.co.uk,
http://www.sheetmusicdirect.com
•
•
Join Date: Jan 2007
Location: Japan
Posts: 70
Reputation:
Rep Power: 3
Solved Threads: 4
better post your config file as well so we can see the settings. It also depends on whether you are using VS2003 or 2005, by default VS2005 uses Cassini (file system) although you can override this and create sites like previously in VS2003, where VS automatically creates a virtual directory in the default web site in IIS for your web project. Rather than going through the myriad of problems people usually go through to set up a site manually, I'd try this option first, as if VS is unable to create the site (with the correct settings) for you then the problem likely lies elsewhere.
sedgey: so little daylight, too much caffeine
MCSD MCAD MCSE
http://www.thefriendlybuilder.co.uk,
http://www.sheetmusicdirect.com
MCSD MCAD MCSE
http://www.thefriendlybuilder.co.uk,
http://www.sheetmusicdirect.com
•
•
Join Date: Jan 2007
Location: Japan
Posts: 70
Reputation:
Rep Power: 3
Solved Threads: 4
Which lanuguage C#? is it whole pages, i.e. static content or dynamic pages?
ASP.NET 2.0 or 1.1?
ASP.NET 2.0 or 1.1?
sedgey: so little daylight, too much caffeine
MCSD MCAD MCSE
http://www.thefriendlybuilder.co.uk,
http://www.sheetmusicdirect.com
MCSD MCAD MCSE
http://www.thefriendlybuilder.co.uk,
http://www.sheetmusicdirect.com
•
•
Join Date: Jan 2007
Location: Japan
Posts: 70
Reputation:
Rep Power: 3
Solved Threads: 4
http://www.softsteel.co.uk/tutorials...ing/index.html
theres a good article there.
For static pages you can set the output cache in page directive, for dynamic I'd use the application cache class and save your datatables etc. that you need for the dynamic pages. One important thing to remember is not to overdo it, as you will find items drop out of cache as memory gets low even if you set it with an absolute expiry. Think carefully about what will have minimum impact on the database.
always check that the cache item exists before casting it to its original type:
e.g.
if(Cache["MyCachedItem"] != null)
DataTable dt = (DataTable) Cache["MyCachedItem"]
that will save you worlds of pain!
theres a good article there.
For static pages you can set the output cache in page directive, for dynamic I'd use the application cache class and save your datatables etc. that you need for the dynamic pages. One important thing to remember is not to overdo it, as you will find items drop out of cache as memory gets low even if you set it with an absolute expiry. Think carefully about what will have minimum impact on the database.
always check that the cache item exists before casting it to its original type:
e.g.
if(Cache["MyCachedItem"] != null)
DataTable dt = (DataTable) Cache["MyCachedItem"]
that will save you worlds of pain!
Last edited by sedgey : Feb 6th, 2007 at 6:36 am.
sedgey: so little daylight, too much caffeine
MCSD MCAD MCSE
http://www.thefriendlybuilder.co.uk,
http://www.sheetmusicdirect.com
MCSD MCAD MCSE
http://www.thefriendlybuilder.co.uk,
http://www.sheetmusicdirect.com
![]() |
Similar Threads
Other Threads in the ASP.NET Forum
- Unrecognized configuration section 'forms' (ASP.NET)
- Server Error in '/' Application (ASP.NET)
- Hijack + Explorer invalid syntax error (Viruses, Spyware and other Nasties)
- Configuration Errors (ASP.NET)
- bootup plug and play configuration error (Windows NT / 2000 / XP / 2003)
- Server Error in '/CM_site' Application. (ASP.NET)
- PLUG & PLAY CONFIGURATION ERROR (Windows NT / 2000 / XP / 2003)
- plug & play configuration error (Windows NT / 2000 / XP / 2003)
Other Threads in the ASP.NET Forum
- Previous Thread: Binding from usercontrol
- Next Thread: multiline alternate text of hotspot
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)





Linear Mode