Results 1 to 3 of 3

Thread: Problem running site in IIS 7 64-bit server

  1. #1

    Problem running site in IIS 7 64-bit server

    I have a Smarterstats 5 installation on Windows Server 2008 64-bit. I setup a site in IIS but I am unable to log in. If I have the application pool running in 64-bit mode, I get the following error when I try to log in:

    *******************************************

    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.

    (There is also some additiona source and stack trace information)

    *******************************************

    If I have the application pool running in 32-bit mode, I get the following error when I try to log in:

    *******************************************

    Server Error in '/' Application.
    Parser Error
    Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

    Parser Error Message: Could not load type 'SSWeb.Global'.

    Source Error:

    Line 1: <%@ Application Codebehind="Global.asax.cs" Inherits="SSWeb.Global" Language="C#" %>

    Source File: /global.asax Line: 1

    Version Information: Microsoft .NET Framework Version:2.0.50727.4200; ASP.NET Version:2.0.50727.4016

    <title>Parser Error</title>
    <style>
    body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
    p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
    b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
    H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
    H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
    pre {font-family:"Lucida Console";font-size: .9em}
    .marker {font-weight: bold; color: black;text-decoration: none;}
    .version {color: gray;}
    .error {margin-bottom: 10px;}
    .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }</style>

    *******************************************

    Any suggestions on what I need to do here?

  2. #2

    Re: Problem running site in IIS 7 64-bit server

    Hi-

    We're running the latest release of the mail app.. Windows 2008 R2 64 Bit .. SQL Server etc..etc.. Build # 6002.. Terremark Enterprise Cloud Server Template..

    We ran the default install, no problems.. I've got IIS Mangler up.. here is our config setup..

    We're running IIS 7 / FTP7.5 and we've got WebMail Setup as an SSL Host with 1 site binding on Port 443

    For The Basic Settings, The Application is .Net Framework Version 2.0 and Integrated Pipeline Mode.. The .NET Assembly in the GAC is the most recent release from MS.. and the most recent Telerik Controls..

    Name: Microsoft .NET Compact Framework 2.0 SP2, Install Date: 20100406, Vendor: Microsoft Corporation, Version: 2.0.7045

    For Authentication, Anon + Windows Auth

    Application Settings, Mail Service Address = 127.0.0.1

    We followed all the RTFM listed in the Forums.. basically created a basic Site in IIS and all set.. same thing with the Stats app too..

    If you use HostingController8, leave the port setup as 9998 or whatever it is when you setup HC, and leave the built-in daemon running behind the external Firewall/LoadBalancer so you can have HC do provisioning.. we've had no problem...

    Does the App work with their built-in daemon?

    One last item, try upgrading your .NET 2.0, the version you posted is known to be an issue, perhaps that will solve it, it has a few vulnerability issues known as well. We've got Version: 2.0.7045

  3. #3
    Registered Guest
    Join Date
    May 2010
    Posts
    2

    Re: Problem running site in IIS 7 64-bit server

    I had the same issue (Validation of viewstate MAC failed) Friday, managed to fix it earlier today.

    It seems my App pool was using the wrong Identity (application pool identity). Once i changed it to use Network service it worked.

    I also had Enable 32-bit set to False and pipeline mode set to Clasic.

    Hope this helps.

    C

Similar Threads

  1. Replies: 1
    Last Post: 05-18-2007, 04:48 AM
  2. running as iis site, but helm doesnt recognize...
    By GetHappy in forum SmarterMail
    Replies: 6
    Last Post: 05-01-2007, 07:47 AM
  3. Replies: 1
    Last Post: 12-20-2006, 07:16 AM
  4. Replies: 5
    Last Post: 10-30-2006, 01:35 PM
  5. site running smarterstats url showing up as referer
    By Wheemer in forum SmarterStats
    Replies: 3
    Last Post: 10-20-2005, 08:52 AM

Visitors found this page by searching for:

problem parsing dates when running from iis

validation of viewstate mac failed iis7

iis 7 global.asax

iis 7 parser error message: could not load type

global.asax iis7 error

SEO Blog

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •