2

I have been looking around and it looks like there are a few causes to this. I saw another post that says it is a license issue. I am pretty sure my license file is fine though.

I have installed DD4T and created the items on need on the CM side. I followed this overview. However when I load my page I always get the error "Object reference not set to an instance of an object" I have verified my page is published out to my broker database in the page table and verified the publication ID matches what my app has.

I have seen this error in the event log from time to time but it does not corispond to each request I make.

DCOM was unable to communicate with the computer DEP-DB-CMS-DEV using any of the configured protocols; requested by PID 38c4 (C:\Program Files (x86)\Microsoft SQL Server\110\Tools\Binn\ManagementStudio\Ssms.exe).

Any ideas on why I can't get this call to work? Here are some things I have done:

  • Copied the config folder from the HttpUpload deployer to make sure I have right config settings. I made sure to update the license path in the cd_storage config to my local license file path.
  • Validated my publication ID
  • Validated that my page shows up in the broker DB link to the above publication ID.
  • Changing DD4T DefaultPage from "index.aspx" to "/index.aspx" ... database record in the Page table has "/index.aspx"

App exception

Exception information: Exception type: NullReferenceException Exception message: Object reference not set to an instance of an object. at DD4T.Providers.SDLTridion2013.TridionPageProvider.GetContentByUrl(String Url) at DD4T.Factories.PageFactory.TryFindPage(String url, IPage& page) at DD4T.Mvc.Controllers.TridionControllerBase.GetModelForPage(String PageId) at DD4T.Mvc.Controllers.TridionControllerBase.Page(String pageId) at ContentDelivery.Web.Controllers.PageController.Page(String pageId

8
  • any other info in event viewer logs?
    – Raj Kumar
    Jun 13, 2014 at 21:09
  • nope. those logs seems odd but since they don't show up every time I make a request I am not sure they are the root cause.
    – ToddB
    Jun 13, 2014 at 21:15
  • also check your CD logs, log path is in logback.xml
    – Raj Kumar
    Jun 13, 2014 at 21:17
  • 1
    @ToddB That means it can't find a Tridion Page for the specified path, not that it can't find a view - the view is selected based on the Page Metadata. Compare the path you're entering to the path of the Page in the broker.
    – Ant P
    Jun 14, 2014 at 9:16
  • 1
    @ToddB An IIS Reset is needed to reflect the config changes. IIS holds onto the JAR and Config files and doesn't reload them. Page not found is a great sign! Look in your Broker Pages Table and at the URL column. This is your missing link.
    – robrtc
    Jun 16, 2014 at 14:31

1 Answer 1

1

Please make sure if you have copied "netrtsn.dll" and "xmogrt.dll" in the bin folder. You should be able to get these DLLs from CD bin folder.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.