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