I am trying to develop DD4T applications with SDL Tridion 2013Sp1. these are the things which i have done as of now.
- 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)
- I have cross verified the connectivity with My Pc to Delivery VM. It's successfully connecting and working.
- 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.
- 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]);
- What are the causes for this ?
- 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.
- 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.
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)
2nd Update : CD Storage conf XML.
Waiting for your help and Support.