| | |
Configuration Error
Please support our ASP.NET advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Dec 2006
Posts: 12
Reputation:
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.
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)
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.
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.
![]() |
Similar Threads
- PLUG & PLAY CONFIGURATION ERROR (Windows NT / 2000 / XP)
- 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)
- Server Error in '/CM_site' Application. (ASP.NET)
- plug & play configuration error (Windows NT / 2000 / XP)
Other Threads in the ASP.NET Forum
- Previous Thread: Binding from usercontrol
- Next Thread: multiline alternate text of hotspot
| Thread Tools | Search this Thread |
.net 2.0 activexcontrol advice ajax alltypeofvideos application asp asp.net bc30451 bottomasp.net browser button c# c#gridviewcolumn checkbox click commonfunctions compatible confirmationcodegeneration content courier css dataaccesslayer database datagridview datagridviewcheckbox datalist deadlock development dgv dropdownlist dynamically edit expose feedback fill flash form formatdecimal forms formview grid gridview homeedition hosting iframe iis javascript jquery listbox login microsoft mono mouse mssql multistepregistration news numerical objects opera panelmasterpagebuttoncontrols parent radio ratings registration reportemail rotatepage save schoolproject search security silverlight smartcard smoobjects software sql-server sqlserver2005 suse textbox tracking typeof unauthorized validation vb.net video videos view virtualdirectory vista visual-studio visualstudio web webapplications webdevelopemnt webprogramming webservice xml xsl youareanotmemberofthedebuggerusers





