Medium Trust

Last post 09-12-2009 11:17 AM by mbanghart. 0 replies.

Sort Posts:

  • Medium Trust

    09-12-2009, 11:17 AM
    • Member
      point Member
    • mbanghart
    • Member since 05-07-2008, 10:23 AM
    • Posts 18

     Hi,

    I currently host a site with Godaddy.  I use a wildcard SSL.  I recently added a sub-domain under the director "intranet".  I cannot get it to work.  According to godaddy the issue is with my configuration files.   They say all subdomains must run in medium trust.  I modified my config files correctly - I think .. but it still does not work.  I think the issue is with godaddy.

    here is my root config.web file:
    <?xml version="1.0"?>
    <configuration>
     <appSettings/>
     <system.web>
      <compilation debug="true">
       <assemblies>
        <add assembly="MySql.Data, Version=5.2.3.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/></assemblies></compilation>
      <authentication mode="Windows"/>
            <customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">
                <error statusCode="403" redirect="NoAccess.htm" />
                <error statusCode="404" redirect="FileNotFound.htm" />
            </customErrors>            
     </system.web>

     <location allowOverride="true" path="intranet">
      <system.web>
      <trust level="Medium" originUrl="" />
       </system.web>
     </location>

     <system.net>
     </system.net>
     <system.webServer>
      <httpProtocol>
       <customHeaders>
        <clear/>
        <add name="X-UA-Compatible" value="IE=EmulateIE7"/>
       </customHeaders>
      </httpProtocol>
     </system.webServer>
    </configuration>

    here is my intranet config.web file:

    <?xml version="1.0"?>
    <configuration>
     <appSettings/> 
        <system.web>
        <trust level="Medium" originUrl="" />
          <httpHandlers>
            <add path="Reserved.ReportViewerWebControl.axd" verb="*" type="Microsoft.Reporting.WebForms.HttpHandler, Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" validate="false"/>
          </httpHandlers>
          <compilation debug="true">
            <assemblies>
              <add assembly="MySql.Data, Version=5.2.3.0, Culture=neutral, PublicKeyToken=C5687FC88969C44D"/>
            </assemblies>
          </compilation>
          <authentication mode="Forms"/>
          <customErrors mode="Off">
          </customErrors>
          <httpRuntime useFullyQualifiedRedirectUrl="true"/>
        </system.web>
      </configuration>

Page 1 of 1 (1 items)