Skip to main content
Tweeted twitter.com/#!/StackTridion/status/517260937649086464
added 101 characters in body
Source Link
Ravi Gadag
  • 501
  • 2
  • 9

2nd Update : CD Storage conf XML.

CD Storage Config XML

Waiting for your help and Support.

Waiting for your help and Support.

2nd Update : CD Storage conf XML.

CD Storage Config XML

Waiting for your help and Support.

added 1798 characters in body
Source Link
Ravi Gadag
  • 501
  • 2
  • 9

Update. I have added the Log files genereated with Core Log and DD4t Log.

Core Log : Tridion Core Log

DD4T Log :

2014-09-29 14:45:28,848 [11] DEBUG Performance [(null)] - <<TryFindPage (/kitkat.html
2014-09-29 14:46:11,563 [14] DEBUG Performance [(null)] - >>TryFindPage (/product3.html
2014-09-29 14:46:11,564 [14] DEBUG Performance [(null)] - about to load page from cache with key Page_/product3.html_42
2014-09-29 14:46:11,564 [14] DEBUG Performance [(null)] - finished loading page from cache with key Page_/product3.html_42, page found = False
2014-09-29 14:46:12,409 [14] DEBUG Performance [(null)] - about to load page content from provider with url /product3.html
2014-09-29 14:46:12,410 [14] DEBUG Performance [(null)] - >>GetContentByUrl(/product3.html)
2014-09-29 14:46:12,411 [14] DEBUG Performance [(null)] - GetContentByUrl: about to create query
2014-09-29 14:46:12,414 [14] DEBUG Performance [(null)] - GetContentByUrl: created query
2014-09-29 14:46:12,415 [14] DEBUG Performance [(null)] - GetContentByUrl: added criteria to query
2014-09-29 14:46:12,416 [14] DEBUG Performance [(null)] - GetContentByUrl: about to execute query
2014-09-29 14:46:12,784 [14] DEBUG Performance [(null)] - GetContentByUrl: executed query
2014-09-29 14:46:14,343 [14] DEBUG Performance [(null)] - GetContentByUrl: executed PageContentAssembler
2014-09-29 14:46:14,346 [14] DEBUG Performance [(null)] - <<GetContentByUrl(/product3.html)
2014-09-29 14:46:14,346 [14] DEBUG Performance [(null)] - finished loading page content from provider with url /product3.html, has value: False
2014-09-29 14:46:14,346 [14] DEBUG Performance [(null)] - <<TryFindPage (/product3.html)

Waiting for your help and Support.

Waiting for your help and Support.

Update. I have added the Log files genereated with Core Log and DD4t Log.

Core Log : Tridion Core Log

DD4T Log :

2014-09-29 14:45:28,848 [11] DEBUG Performance [(null)] - <<TryFindPage (/kitkat.html
2014-09-29 14:46:11,563 [14] DEBUG Performance [(null)] - >>TryFindPage (/product3.html
2014-09-29 14:46:11,564 [14] DEBUG Performance [(null)] - about to load page from cache with key Page_/product3.html_42
2014-09-29 14:46:11,564 [14] DEBUG Performance [(null)] - finished loading page from cache with key Page_/product3.html_42, page found = False
2014-09-29 14:46:12,409 [14] DEBUG Performance [(null)] - about to load page content from provider with url /product3.html
2014-09-29 14:46:12,410 [14] DEBUG Performance [(null)] - >>GetContentByUrl(/product3.html)
2014-09-29 14:46:12,411 [14] DEBUG Performance [(null)] - GetContentByUrl: about to create query
2014-09-29 14:46:12,414 [14] DEBUG Performance [(null)] - GetContentByUrl: created query
2014-09-29 14:46:12,415 [14] DEBUG Performance [(null)] - GetContentByUrl: added criteria to query
2014-09-29 14:46:12,416 [14] DEBUG Performance [(null)] - GetContentByUrl: about to execute query
2014-09-29 14:46:12,784 [14] DEBUG Performance [(null)] - GetContentByUrl: executed query
2014-09-29 14:46:14,343 [14] DEBUG Performance [(null)] - GetContentByUrl: executed PageContentAssembler
2014-09-29 14:46:14,346 [14] DEBUG Performance [(null)] - <<GetContentByUrl(/product3.html)
2014-09-29 14:46:14,346 [14] DEBUG Performance [(null)] - finished loading page content from provider with url /product3.html, has value: False
2014-09-29 14:46:14,346 [14] DEBUG Performance [(null)] - <<TryFindPage (/product3.html)

Waiting for your help and Support.

Source Link
Ravi Gadag
  • 501
  • 2
  • 9

PageContentAssembler.GetContent(resultUris[0]) Returns Empty string in Localhost only

I am trying to develop DD4T applications with SDL Tridion 2013Sp1. these are the things which i have done as of now.

  1. I have configured the Tridion Requirements (such as dlls, config files, valid developer Licence and other required things to run in locally, and i am not getting any Log error or exception related to Tridion)
  2. I have cross verified the connectivity with My Pc to Delivery VM. It's successfully connecting and working.
  3. In CMS, I have Successfully created Components and Schema, Which Is in turn used in Page with Component Presentation. Even i have verified the data in the database. It's correct.
  4. I have created DD4T applicaiton with Respected Views in the Page/Component folder for views (to map the component and Page)

Now If I run this application Locally, I used to get empty model.

IPage model = GetModelForPage(pageId); //Here is the pageId, I have cross verified the page id in database. 

But if i deploy this machine to Delivery server, then I used to get Model values and Correspondent views get displayed.

My question is this, Why this code is returning Empty string in locally

retVal = PageContentAssembler.GetContent(resultUris[0]);
  1. What are the causes for this ?
  2. I would like seek your help to run My DD4T application in my localhost, where i can easily debug and rectify the mistakes. Otherwise i need to connect the delivery server VM and deploy, then test it.
  3. If Possible, Please can you ppl share the experience to setup the local machine, where i can get the data from Delivery server and develop locally.

Waiting for your help and Support.