Hi Yadwinder,
Could you please specify the exact problem you are facing? Are you not able to see content you have added in the content page? or is it something else?
Could you please provide the details of error you see? Or you dont get any errors ? If you are being redirected to error page, you wont be able to see the error. In this case, you can set the "CustomErrors" attribute to "Off" in web.config, and get the information about the error.
After setting the"CustomErrors" attribute to "Off" in web.config, I got the error:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Ahh whatever knowledge I have with the umbraco, I am not sure what the solution could be. Have you added any page or have made any changes to existing pages? or any other changes?
How to access the umbraco content tree in asp.net website?
Hello,
I am new in umbraco. Please help.....
I have build two pages in umbraco using a single doctype.
Now, I don't know, how to access these contents from umbraco content tree to my asp.net site?
Thanks,
Yadwinder singh
I'd start here if I were you: http://umbraco.com/help-and-support/video-tutorials.aspx
And if you are going to use XSLT to get data out of Umbraco,
Then you should take a look of this http://umbraco.com/help-and-support/video-tutorials/umbraco-fundamentals/xslt-in-umbraco-45.aspx or http://our.umbraco.org/wiki/reference/xslt/45-xml-schema or http://our.umbraco.org/wiki/reference/xslt/45-xml-schema/xslt-examples-updated-to-new-schema
I guess you are using one of the newer version of Umbraco the XML schema was change from version 4.5.
/Dennis
Hi,
@Kipusoep
@Dennis
Thanks for reply.
I explain you.
I have a asp.net site that has installed umbraco v4.7.2 and get the dynamic contents from it via umbraco API.
Now, I upgrade the umbraco v4.7.2 to v6.1.3.
The asp.net site runs well, but doesn't shows the contents from umbraco content tree.
I know nothing about the way, how to get contents?
Please help...
Thanks,
Yadwinder
Hi,
Please reply...
Thanks,
Yadwinder singh
Hi Yadwinder, Could you please specify the exact problem you are facing? Are you not able to see content you have added in the content page? or is it something else?
Regards, Girish
Hi Girish,
Thanks a lot for reply,
I have a asp.net Mvc site, installed umbraco v4.7.2 in it.
asp.net site was getting the content tree from umbraco through web APIs.
Then,I upgrade the umbraco to v6.1.3.
Now the site fails to get the content tree.
Please help....
Yadwinder singh
Could you please provide the details of error you see? Or you dont get any errors ? If you are being redirected to error page, you wont be able to see the error. In this case, you can set the "CustomErrors" attribute to "Off" in web.config, and get the information about the error.
Ok,
After setting the "CustomErrors" attribute to "Off" in web.config, I got the error:
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
Stack Trace:
Now,
Tell me,
what will be the solution?
Ahh whatever knowledge I have with the umbraco, I am not sure what the solution could be. Have you added any page or have made any changes to existing pages? or any other changes?
No,
I do nothing.
Try republishing the entire site again. And check if it works.
After republishing, remains same error.
After republishing, error remains same.
is working on a reply...