ASPX templates
Version 4.x > ASPX templates > Trying to create website with Kentico features View modes: 
User avatar
Member
Member
roopangee-hotmail - 7/15/2009 1:29:21 AM
   
Trying to create website with Kentico features
I am trying to create a new website which uses Kentico features. For this I added the cms.controls dll to Toolbox of the website (which has added many contols of cms).I have also added all the dlls from the downloaded Kentico sample website to the bin folder of my website.However while running my website I am getting the following error

Exception Details: System.Exception: [PageInfoProvider.GetDataForPageInfo]: Site name '' not found.


The above error cannot be searched anywhere.Could I know the reason for it?
How to start a website of my own with Kentico.
Thanks and Regards,
Roopangee

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 7/15/2009 4:01:01 AM
   
RE:Trying to create website with Kentico features
Hello,

just to make sure - Are you trying to create a site which is independent on Kentico CMS and you'd like to use only certain controls. If so, I'm afraid it's not possible to do it.

Could you please provide me with more details?

If you'd like to build up your site with your own logic using Kentico features, you need to create your site using Kentico and use our API: http://devnet.kentico.com/docs/tutorial_aspx/index.html , http://devnet.kentico.com/downloads/kenticocms_api.zip

Best regards
Ondrej Vasil


User avatar
Member
Member
roopangee-hotmail - 7/17/2009 2:44:49 AM
   
RE:Trying to create website with Kentico features
I thank you for your reply.I had gone through the site and help file given to me. The information given in the site http://devnet.kentico.com/docs/tutorial_aspx/index.html
is not on how to create a new website using Kentico features but to modify the downloaded sample website named KenticoCMS (ie add some pages– master and aspx, containing editable parts which I did though I was unable to assign template it to website whose option was supposed to be provided at front end alone When tested directly by setting start page the editable parts could not be edited )

However my purpose is to create a new fresh Website of my own with a home page whose parts I can edit and if possible add links,pictures , change layout etc
For this I added Kentico components to tools box using Kentico controls.dll and also added all the files (dll and XML) in the downloaded sample website KenticoCMS's bin folder to my websites bin.I had also specified the database details on web.config file and made no other changes.
Is my method right?
I then added master and aspx page (to create template)as directed in your link but repeatedly got an error as below

Exception Details: System.Exception: [PageInfoProvider.GetDataForPageInfo]: Site name '' not found.

and following description
CMS.PortalEngine.PageInfoProvider.GetDataForPageInfo(String siteName, String aliasPath, String cultureCode, String urlPath, Int32 nodeId, Boolean combineWithDefaultCulture, GeneralConnection conn) +298
..etc


It could be cause due to a dll file and data fed to it.
My question is how to create a new website using all Kentico features.
I have it installed
You had specified that it is not possible to use only certain contols.Kindly suggest me how to go about this.
I appreciate your time and patience

Thanks and Regards,
Roopangee Tandon

User avatar
Kentico Developer
Kentico Developer
kentico_zbysekn - 7/22/2009 5:10:33 AM
   
RE:Trying to create website with Kentico features
Hi,
first of all you should create new website in section CMSSiteManager -> Sites ->New site wizard and you should chose Use website template and from templates Blank site or Blank ASPX site regarding the way you want develop your pages. Then you can develop the pages according to our documentation(Portal engine development,ASPX templates development).
Best Regards,
Zbysek Nemec

User avatar
Member
Member
roopangee-hotmail - 7/27/2009 8:49:15 AM
   
RE:Trying to create website with Kentico features
I thankyou for your response and for the links given to me.I am doing the same.
Thanks,
Roopangee Tandon.