+1-888-365-2779
Try Now
More in this section

Forums / Set-up & Installation / New installation on Windows 7.

New installation on Windows 7.

10 posts, 0 answered
  1. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    06 Jan 2011
    Link to this post
    Hi Guys,

    I've recently installed Windows 7 and now trying to install a new version of Sitefinity 3.7.

    I've been able to add the site files, create the database, make a connection but then get to an error page with this on it.

    Server Error in '/' Application.

    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: An error occurred loading a configuration file: Access to the path 'C:\inetpub\wwwroot\Sitefinity\3.7\SP4\Client-2011-01-06\ecsatlva.tmp' is denied.

    Source Error: 

    [No relevant source lines]

    Source File: C:\inetpub\wwwroot\Sitefinity\3.7\SP4\Jawitz-2011-01-06\web.config    Line: 


    Version Information: Microsoft .NET Framework Version:2.0.50727.4952; ASP.NET Version:2.0.50727.4955

    In the past I would have had to add the ASPNET security settings to the folder I am working on but there is no ASPNET account any more in Windows 7.

    Could you possibly let me know what this refers to and what steps I need to take to remedy this?

    Thanks,
    James
  2. Radoslav Georgiev
    Radoslav Georgiev avatar
    3370 posts
    Registered:
    01 Feb 2016
    06 Jan 2011
    Link to this post
    Hi James@Nw,

    Please go to Application Pools and check what is the identity of the application pool in which your site is running. Then make sure that this identity has Read permissions over your website's structure and full control over the App_Data folder. ASPNET account does not exist in Windows 7. You should try with Network Service.

    Regards,
    Radoslav Georgiev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    07 Jan 2011
    Link to this post
    Hi Radoslav,

    As you can see from the attachment, it seems that it is in the Application Pool, Classic .NET AppPool

    I have also taken a video screen grab of what happens when I get to the final stages of implementation for you to have a look at.

    http://www.screencast.com/users/James-van-der-Hoven/folders/Jing/media/5374ec78-a106-4f57-a5e8-58ff0dbc67d3

    Many thanks,
    James
  4. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    07 Jan 2011
    Link to this post
    I have also added the NETWORK SERVICE account to the entire project folder as you suggested.
  5. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    07 Jan 2011
    Link to this post
    Hi Radoslav,

    I've now followed all the instructions on this page:

    http://www.sitefinity.com/devnet/installation-guide.aspx

    and at least I am getting to some kind of error message which I am not sure how to fix.

    Can you please have a look at this and let me know what this error message is about?

    Thanks



    Exception Details: System.Web.HttpException: Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.

    Source Error: 

    [No relevant source lines]

    Source File: c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\320dee77\fc20f7e\App_Web_oqreuqmq.4.cs    Line: 

    Stack Trace: 

    [ViewStateException: Invalid viewstate. 
    	Client IP: ::1
    	Port: 57670
    	User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.224 Safari/534.10
    	ViewState: /wEPDwUKMjA2OTY3MzYxNg9kFgICARBkZBYCAgkPZBYCZg9kFgICAQ9kFgJmD2QWAmYPZBYCZg9kFghmDxYEHglpbm5lcmh0bWwFvwFUaGVyZSB3YXMgYW4gZXJyb3IgdHJ5aW5nIHRvIGNvbm5lY3QgdG8gdGhlIERhdGFiYXNlIFNlcnZlcjo8YnIgLz4gQ2Fubm90IG9wZW4gZGF0YWJhc2UgIkphd2l0ei0yMDExLTAxLTA2IiByZXF1ZXN0ZWQgYnkgdGhlIGxvZ2luLiBUaGUgbG9naW4gZmFpbGVkLg0KTG9naW4gZmFpbGVkIGZvciB1c2VyICdzaXRlZmluaXR5X3VzZXInLh4HVmlzaWJsZWdkAgEPFgIfAAUMU2V0IERhdGFiYXNlZAICD2QWAgIBD2QWAgICD2QWAmYPEA8WAh4HQ2hlY2tlZGdkZGRkAgQPFgIfAWcWBAIBDxAPZBYCHgdvbmNsaWNrBSpFbmFibGVQcm9wZXJ0aWVzKCF0aGlzLmNoZWNrZWQsIHNxbFByb3BzKTtkZGQCAg9kFgQCAg8WAh4Fc3R5bGUFCWRpc3BsYXk6O2QCAw8WAh8EBQlkaXNwbGF5OjtkGAQFHl9fQ29udHJvbHNSZXF1aXJlUG9zdEJhY2tLZXlfXxYKBR13aXphcmQkY3RsMDAkY3RsMDQkU3FsRXhwcmVzcwUdd2l6YXJkJGN0bDAwJGN0bDA0JFNxbEV4cHJlc3MFIHdpemFyZCRjdGwwMCRjdGwwNCRTcWxTZXJ2ZXIyMDAwBSB3aXphcmQkY3RsMDAkY3RsMDQkU3FsU2VydmVyMjAwMAUgd2...]
    
    [HttpException (0x80004005): Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that <machineKey> configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.]
       System.Web.UI.ViewStateException.ThrowError(Exception inner, String persistedState, String errorPageMessage, Boolean macValidationError) +106
       System.Web.UI.ViewStateException.ThrowMacValidationError(Exception inner, String persistedState) +14
       System.Web.UI.ObjectStateFormatter.Deserialize(String inputString) +237
       System.Web.UI.ObjectStateFormatter.System.Web.UI.IStateFormatter.Deserialize(String serializedState) +4
       System.Web.UI.Util.DeserializeWithAssert(IStateFormatter formatter, String serializedState) +37
       System.Web.UI.HiddenFieldPageStatePersister.Load() +207
       System.Web.UI.Page.LoadPageStateFromPersistenceMedium() +105
       System.Web.UI.Page.LoadAllState() +43
       System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6785
       System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242
       System.Web.UI.Page.ProcessRequest() +80
       System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21
       System.Web.UI.Page.ProcessRequest(HttpContext context) +49
       ASP.sitefinity_cmsstartup_aspx.ProcessRequest(HttpContext context) in c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\320dee77\fc20f7e\App_Web_oqreuqmq.4.cs:0
       System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181
       System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    07 Jan 2011
    Link to this post
    Hello James,

    Please take a look at the following article in our Troubleshooting section Validation of viewstate MAC failed.

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    07 Jan 2011
    Link to this post
    Hi Ivan,

    Thanks for getting back to me and sending me this link.

    Unfortunately, this is not written for the web designer in mind like me. I am still not sure what this means:

    "Add a page element to the <system.web> section and set the enableEventValidation attribute to false."

    I know I need to add this to the web.config file...but how and where...

    Can you show me an example please?

    Thanks,
    James

  8. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    07 Jan 2011
    Link to this post
    Hi Ivan,

    I am assuming that the pages element needs to go in here somewhere?

    <system.web>
    <!-- Sets the allowed upload file size -->
    <httpRuntime maxRequestLength="51200"/>
    <pages>
    <controls>
    <add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <add tagPrefix="asp" namespace="System.Web.UI.WebControls" assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/>
    <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/>
    <add tagPrefix="telerik" namespace="Telerik.Charting" assembly="Telerik.Web.UI"/>
    <add tagPrefix="telerik" namespace="Telerik.Cms.Web.UI" assembly="Telerik.Cms.Web.UI"/>
    <add tagPrefix="telerik" namespace="Telerik.Cms.Web.UI" assembly="Telerik.Framework"/>
    </controls>
    </pages>

    Thanks
  9. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    07 Jan 2011
    Link to this post
    Hello James,

    Please take a look at this article - pages Element (ASP.NET Settings Schema)


    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  10. James@Nw
    James@Nw avatar
    265 posts
    Registered:
    05 May 2009
    10 Jan 2011
    Link to this post
    Not sure what happened since Friday Ivan but I switched off, came back in today and now it's working 100%.

    This has happened in the past with DotNetNuke as well that I will have problems with an install, come in the next day and all's well.

    It's working, so thanks.
Register for webinar
10 posts, 0 answered