HELP! Page Templates Error
I keep getting the following error when I try to access the page templates section in Sitefinity.
"Object reference not set to an instance of an object."
It pops up in a message box in my browser and keeps popping up until i close the page or manage to navigate away before the next one pops up.
Please advise.
Hi ,
Could you check the http response and http request using fire bug or Http Watch and provide some more information about this error. You can also send the svc trace log with the entire stack.
Best wishes,
Ivan Dimitrov
the Telerik team
I think I have found the information you requested. I used the "Net" tab in firebug and the "Headers" and "Response" sections in it.
Response Headers
Server Cassini/4.0.1098.0
Date Thu, 17 Mar 2011 14:41:38 GMT
X-AspNet-Version 4.0.30319
Content-Length 66
Set-Cookie .SFAUTH=44A7A7B7A58D98BB9C182A257C02E8A14DF6EB5546F5A41788DDBA35C8CBF7FE4A7D327DDDD078BF76DABCAF774F12C4432781E5313045048444C17F761E7D4A8A256C28793CCA13607C767146EE546CC3AC296B59E83E101E38B5A21339E6944AF5372A6F6B5A3737338B54850033F4A4433FD5DCB455280AAC042E2335195D46B678DD2386CBA2285640403C5DA244561263A79054670E1885BE5D811986EFE27DEACC342053CD6DBFB3F08A26DAA2C6A3079435DAF35EFA9FE35EAE0999F5A35B221312BC396975583DEBF10A2F6E79E0E79158DDE60772FFB0193D626A70D7A4098A5D9CCB05020800E923ED3AC324D092FB26B776266E9515E239CB4D3CA18B81A416477D2A2E95507CBCD32751; expires=Thu, 17-Mar-2011 16:41:38 GMT; path=/; HttpOnly
Cache-Control private
Content-Type application/json
Connection Close
Host localhost:63435
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.15) Gecko/20110303 Firefox/3.6.15
Accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language en-us,en;q=0.5
Accept-Encoding gzip,deflate
Accept-Charset ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive 115
Connection keep-alive
X-Requested-With XMLHttpRequest
Referer http://localhost:63435/C17-WIS/sitefinity/Design/PageTemplates
Cookie .ASPXANONYMOUS=_q7upekDzAEkAAAAODFhMjZhYWQt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+U5gmQE5rFg6uxRiBrEAf0S0ZZO42qlDeu12D0fFMQ3mlBl8mPdSlW9x+xmuDctaNShj669SDw4V9vMXnlTrSRegAaNRCxjhvv3v0xQYp6Ah8TQYbn7bHONFQVhYaPy/dko769L5I0iY2G03zWYDAAA=; .SFLOG=UserLoggedOff; .SFAUTH=4C65378F143E3F5BB57D4A614B9F223F421E189258C29916F164271727B00CB711CBBAE37B4107BFC760E25B5DCFDC65DD7A2433214B6F40C828F8540C8B6F28D2AD507A2F713DBA9E994F12018D00C4DE6F473724A34448EF6244EDA678DC6CB432F086D829CBE9714CCEBBE5C8C32E6D628E68978EC58875065899A6A8706BCAEEB2FA850EB53A5DC4826E0C101846FB6F296C53B4598EAB12D21895797E24F0C57C36F6C19241A42FB6D167E7545A3F69E9B632E5FEE51CB6140A81CD9CC40D3FECCABE79C7805CA63554093E1635E0DDEAC6E111FF19BE92F8FB8D9728574822AA05F6AC2B499DA58740FF36453F261D2DCCBE70731490DC057565D9916BDDC4CAF449FFC749ABF91DCBA4B77CCE
Hello
Can you query your database
Select *
FROM [sf_draft_pages] where page_id IS NULL
and see whether the query will return any results. If there are results from the query you have to delete this records
DELETE
FROM [sf_draft_pages] where page_id IS NULL
Best wishes,
Ivan Dimitrov
the Telerik team
I was having a different problem reported in this thread, which also mentioned cleaning out records in the sf_draft_pages table. While poking around I noticed that I have 32 records with a page_id that is null. There are no cases where that field should be null?
Hello Kevin,
The page_id of the drafts should not be null. There could be some issue during the upgrades, but this script have to fix the issue.
Kind regards,
Ivan Dimitrov
the Telerik team