RSS Forums RSS
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 2091 | Replies: 8 | Thread Tools  Display Modes
Reply
Join Date: Dec 2006
Posts: 12
Reputation: superhuman is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
superhuman superhuman is offline Offline
Newbie Poster

Configuration Error

  #1  
Feb 1st, 2007
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.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jan 2007
Location: Japan
Posts: 70
Reputation: sedgey is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 4
sedgey sedgey is offline Offline
Junior Poster in Training

Re: Configuration Error

  #2  
Feb 1st, 2007
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
Reply With Quote  
Join Date: Dec 2006
Posts: 12
Reputation: superhuman is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
superhuman superhuman is offline Offline
Newbie Poster

Re: Configuration Error

  #3  
Feb 3rd, 2007
We have tried the aforementioned point aswell.Yet not working
Reply With Quote  
Join Date: Jan 2007
Location: Japan
Posts: 70
Reputation: sedgey is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 4
sedgey sedgey is offline Offline
Junior Poster in Training

Re: Configuration Error

  #4  
Feb 3rd, 2007
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
Reply With Quote  
Join Date: Dec 2006
Posts: 12
Reputation: superhuman is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
superhuman superhuman is offline Offline
Newbie Poster

Re: Configuration Error

  #5  
Feb 5th, 2007
I could fix the problem..Thanks for the solution.I also required write permissions for folders on the server.i got it and now its working fine.


I need to know something on Output caching...
Could you please explain this with an example for me?(programmatically)??
Reply With Quote  
Join Date: Jan 2007
Location: Japan
Posts: 70
Reputation: sedgey is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 4
sedgey sedgey is offline Offline
Junior Poster in Training

Re: Configuration Error

  #6  
Feb 5th, 2007
Which lanuguage C#? is it whole pages, i.e. static content or dynamic pages?

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
Reply With Quote  
Join Date: Dec 2006
Posts: 12
Reputation: superhuman is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
superhuman superhuman is offline Offline
Newbie Poster

Re: Configuration Error

  #7  
Feb 5th, 2007
In Asp.net 1.1,c#,for both static and dynamic pages
Reply With Quote  
Join Date: Jan 2007
Location: Japan
Posts: 70
Reputation: sedgey is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 4
sedgey sedgey is offline Offline
Junior Poster in Training

Re: Configuration Error

  #8  
Feb 6th, 2007
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!
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
Reply With Quote  
Join Date: Dec 2006
Posts: 12
Reputation: superhuman is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 0
superhuman superhuman is offline Offline
Newbie Poster

Re: Configuration Error

  #9  
Feb 22nd, 2007
Thank you, belated though

Kindly distinguish datalist,repeater and datagrid

I also want you to help me by distinguishing static class,static member,static method

Kindly explain sharepoint and scavenging in .net with examples
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.



Similar Threads
Other Threads in the ASP.NET Forum
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 7:10 pm.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC