locked
Exception message - Loaded TimeTracker in a subfolder RRS feed

  • Question

  • User885317632 posted

    We have an existing .NET 3.5 site on an IIS7 server.  We would like to start tracking our billable hours using the TimeTracker start kit.  I uploaded it to a subfolder on the site and ran it but it threw this exception:

    Configuration Error

    Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

    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 8:  	</connectionStrings>
    Line 9:  <system.web>
    Line 10: 		<siteMap defaultProvider="AspNetXmlSiteMapProvider" enabled="true">
    Line 11: 			<providers>
    Line 12: 				<clear />

    Anyone know what this means?  Can the app not be run from a subfolder?  What if I created a subdomain and pointed it to the subfolder?

    Any suggestions will be appreciated.

    Thanks,

    John 

     

    Sunday, December 21, 2008 5:18 PM

All replies

  • User555306248 posted

    First Time Tracker System is compatible with .NET Framework 2.0

    Ensure that TTS is mapped with .NET 2.0

    you need to go into the IIS MMC and set your directory as an application ...
    http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/b5488995-fa99-460f-96d7-29d1ddcf3fac.mspx

    You have to configure the folder, virtual or physical, that your application is in as an application in IIS.

    There are a couple of reasons can cause this issue.

    Do you use multiple web.config files in your website directory or sub-directory? If so, please make sure that we don't set some attributes such as authentication in the sub web.config file.

    You also can try to create the Application for your website on IIS (Select website -> Properties -> Select Virtual Directory tab -> Click Create button).

    For more information, see http://geekswithblogs.net/ranganh/archive/2005/04/25/37609.aspx

    Or

    Configure your virtual directory 

    go to IIS ->WebSite->Right on It -> New -> Virutual Direcotry

    I look forward to hearing from you.

    Sunday, December 21, 2008 10:30 PM
  • User885317632 posted

    Do you use multiple web.config files in your website directory or sub-directory? If so, please make sure that we don't set some attributes such as authentication in the sub web.config file.

    Turned out the exception message was being caused by the sub web.config file.  It contained a conflicting section.  Thanks for the tip.  At least the site is rendering now.  Still haven't gotten TimeTracker to start.  Will work on that later today and let you know.

    Thanks again.

    John

    Monday, December 22, 2008 9:19 AM
  • User555306248 posted

    Well are getting any error message as you said that Still haven't gotten TimeTracker to start

    For more info about setting up TTS

    1) in VWD create a new Web Site and point it directly to your IIS local web server call it TimeTracker e.g. http://localhost/TimeTracker (since I have problem getting VWD web server to work using the Beta release) this step will create a web site on your local IIS, you can do this manually too.
    2) Unzip the file downloaded into the C:\Inetpub\wwwroot\TimeTracker and overwrite any files there.
    3) Launch the site in IE e.g. http://localhost/TimeTracker/Default.aspx

    Check in web.config for connectionString, configure it according to your server name, password etc.

    In Time Tracking System, it uses inbuild Membership classes for user creation, updation etc..

    You have to register your DB with ASP.NET Membership classes by executing the command line utility in VS prompt

    aspnet_regsql, it will open one window, where you  have to configure DB.

    If thsi helpful to you please mark it as answer, So it will help for other people 

    Hope it will help you, let me know.

    http://forums.asp.net/p/941943/1128558.aspx

    Monday, December 22, 2008 10:17 PM