Skip to main content
added 2100 characters in body
Source Link
Abdul Qadir
  • 2.5k
  • 16
  • 17

here is dynamic_config file

<?xml version="1.0" encoding="UTF-8"?>
<Configuration Version="7.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schemas/cd_dynamic_conf.xsd">
  <!-- The URLMappings define the relation between publication id's and domain names. It has optional attribute
            PathScanDepth which defines the deepest level what will be looked into the URI. The default value is 100.
            Values below than 1 will be considered 1.            
    -->
  <!-- <URLMappings PathScanDepth="20" > -->
  <URLMappings>
    <StaticMappings>
      <!-- The Publications element is a container for separate Publication elements. -->
      <Publications>
        <!-- The publication element allows you to specify Publication specific settings.
                 The Id indicates the id of the publication. This should be a number. -->
        <Publication Id="3">
          <!-- The Host element allows you to specify information about the site that
                        can be used to create URLs for Dynamic Links.
                        The following attributes are specified:
                           Domain    The domain of the website, for example www.tridion.com.
                           Port      The port of the website, for instance 8080.
                           Path      The path of the virtual directory of your website.
                           Protocol  The protocol used for the website. -->
          <Host Domain="localhost" Port="80" Protocol="http" Path="" />
        </Publication>
      </Publications>
    </StaticMappings>
    <StorageMapping IdentifyPublicationByProperty="publicationUrl" />
  </URLMappings>
  <!-- This node configures the renderer used by the tcdl engine. You can define here custom renderer
    of the tcdl tags.
    -->
  <TCDLEngine>
    <Properties>
    </Properties>
  </TCDLEngine>
</Configuration>

here is dynamic_config file

<?xml version="1.0" encoding="UTF-8"?>
<Configuration Version="7.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="schemas/cd_dynamic_conf.xsd">
  <!-- The URLMappings define the relation between publication id's and domain names. It has optional attribute
            PathScanDepth which defines the deepest level what will be looked into the URI. The default value is 100.
            Values below than 1 will be considered 1.            
    -->
  <!-- <URLMappings PathScanDepth="20" > -->
  <URLMappings>
    <StaticMappings>
      <!-- The Publications element is a container for separate Publication elements. -->
      <Publications>
        <!-- The publication element allows you to specify Publication specific settings.
                 The Id indicates the id of the publication. This should be a number. -->
        <Publication Id="3">
          <!-- The Host element allows you to specify information about the site that
                        can be used to create URLs for Dynamic Links.
                        The following attributes are specified:
                           Domain    The domain of the website, for example www.tridion.com.
                           Port      The port of the website, for instance 8080.
                           Path      The path of the virtual directory of your website.
                           Protocol  The protocol used for the website. -->
          <Host Domain="localhost" Port="80" Protocol="http" Path="" />
        </Publication>
      </Publications>
    </StaticMappings>
    <StorageMapping IdentifyPublicationByProperty="publicationUrl" />
  </URLMappings>
  <!-- This node configures the renderer used by the tcdl engine. You can define here custom renderer
    of the tcdl tags.
    -->
  <TCDLEngine>
    <Properties>
    </Properties>
  </TCDLEngine>
</Configuration>
edited body
Source Link
Abdul Qadir
  • 2.5k
  • 16
  • 17

After Debuging the application in visual studio i m getting System.ArgumentNullException: Value cannot be null error onat line 32 atin Global.asax.cs file

After Debuging the application in visual studio i m getting System.ArgumentNullException: Value cannot be null error on line 32 at Global.asax.cs file

After Debuging the application in visual studio i m getting System.ArgumentNullException: Value cannot be null error at line 32 in Global.asax.cs file

added 601 characters in body
Source Link
Abdul Qadir
  • 2.5k
  • 16
  • 17

After Debuging the application in visual studio i m getting System.ArgumentNullException: Value cannot be null error on line 32 at Global.asax.cs file

Line 30:             SiteConfiguration.StaticFileManager = (IStaticFileManager)DependencyResolver.Current.GetService(typeof(IStaticFileManager));
Line 31:             SiteConfiguration.MediaHelper = (IMediaHelper)DependencyResolver.Current.GetService(typeof(IMediaHelper));
Line 32:             SiteConfiguration.Initialize(TridionConfig.PublicationMap);
Line 33:             RegisterRoutes(RouteTable.Routes);
Line 34:             AreaRegistration.RegisterAllAreas(); 

After Debuging the application in visual studio i m getting System.ArgumentNullException: Value cannot be null error on line 32 at Global.asax.cs file

Line 30:             SiteConfiguration.StaticFileManager = (IStaticFileManager)DependencyResolver.Current.GetService(typeof(IStaticFileManager));
Line 31:             SiteConfiguration.MediaHelper = (IMediaHelper)DependencyResolver.Current.GetService(typeof(IMediaHelper));
Line 32:             SiteConfiguration.Initialize(TridionConfig.PublicationMap);
Line 33:             RegisterRoutes(RouteTable.Routes);
Line 34:             AreaRegistration.RegisterAllAreas(); 
added 3253 characters in body
Source Link
Abdul Qadir
  • 2.5k
  • 16
  • 17
Loading
Tweeted twitter.com/#!/StackTridion/status/516079176843919360
added 763 characters in body
Source Link
Abdul Qadir
  • 2.5k
  • 16
  • 17
Loading
Source Link
Abdul Qadir
  • 2.5k
  • 16
  • 17
Loading