Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 6.x > Installation and deployment > Help with first steps View modes: 
User avatar
Member
Member
denny101-gmx - 12/5/2011 5:15:41 PM
   
Help with first steps
Hello,
I am new to Visual Studio and Kentico and I need a little bit of help for my first steps.

I installed Visual Web Developer 2010 Express + .net4 + IIS7.5 Express via Web Platform Installer on a fresh Windows XP machine.
Kentico 6.0 required installation of .NET 3.5 too, which also installed IIS 5.1.

Which is the best way to go forward ?
Use IIS 7.5 Express ?
Use the 5.1 installed by .NET 3.5 ?
Use the VS web server ?

I would prefer IIS7.5 as it will be closer to the production environment.
Which IIS is really running after I installed .NET 3.5 and IIS 5.1 ?

I have installation problems at Step 6:
Kentico 6.0 installation worked until it comes to launch the WebProject.sln. Instead opening the project it launches the www.kentico.com/Tutorials website.
Same effect if I use standalone IIS and it says "Open the website http://localhost/default.aspx"
In tutorial video everything looked so easy...

What can I do to get Kentico running ?

Thank you
Denny

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 12/5/2011 11:47:45 PM
   
RE:Help with first steps
Sounds like you are having an IIS issue. If working in an XP environment, I'd suggest using IIS 5.x as I'm not sure how well IIS7.x Express works in the XP environment. If you have access to a Vista or preferrably a Windows 7 machine then use IIS7. Make sure the all the IIS components installed and running. Also make sure you have a website setup within IIS and permissions are set properly.

If you have no need to write any custom code or modify any code there is no need to run Visual Studio or Visual Web Developer. In fact, doing so could modify your web.config file (if you don't know what you are doing) and cause more problems than you would really want to deal with. You need to properly set the website up in IIS, create the database or let the installer do it, and run the website. You can do all your "coding" from the UI if you choose to use the Portal web template vs. the aspx template.

User avatar
Member
Member
denny101 - 12/6/2011 11:03:29 AM
   
RE:Help with first steps
Hi,
thank you for helping.
Indeed it looks like I have some IIS problem. It is not that I do not have any experience. I have several IIS websites running since 12 years, developed our own database driven CMS, writing own ISAPI applications and multi-tier client applications...
Probably I am missing some details...
Ok, so I will use IIS 5.1.

I think I also have a installation problem:
Kentico installation runs until Step 6, when should launch the "localhost/KenticoCMS/default.aspx" file (with standalone IIS) or the WebProject.sln file (with integrated Webserver).
In video tutorial this launches the SQL configuration, here it only launches the "www.kentico.com/Tutorial" website...

Now, I made the 10th trial, it launches the site "localhost/KenticoCMS_2/default.aspx" page with an error message (I translate):
Error accessing the IIS meta-base. ... it needs to have reading access to the IIS-meta-base (example: IIS//servername/W3SVC)...

Any idea ?

Denny

User avatar
Kentico Legend
Kentico Legend
Brenden Kehren - 12/6/2011 11:41:14 AM
   
RE:Help with first steps
Denny,

I haven't had all that much luck with it "automatically" launching the correct website for me so I typically navigate to it myself or launch it through IIS.

Try giving the user running the IIS/AppPool process full access to the root of the website, do this within IIS. Not a scenario you want to do in production but should help you get rolling to set up your dev environment.

Brenden

User avatar
Member
Member
denny101 - 12/6/2011 12:25:55 PM
   
RE:Help with first steps
Hello,
thank you.

Gave full rights to IUSR<machinename> for the wwwroot and the website directory, just the same problem.

Looked closer to the error message, it says: the process account who executes ASP.NET does not have the rights to read the IIS-metabase. It suggests to look at MS KBid=267904. My taskmanager says the aspnet_wp process is owned by the machine useraccount ASPNET.
Knowledgebase 267904 says to download MetaACL.vbs script which is used to grant more rights to users. Gave RW rights to the ASPNET user as suggested using the command "cscript MetaAcl.vbs IIS://<servername>/W3SVC ASPNET RW" where I put "localhost" as servername.

But still the same error...

User avatar
Member
Member
denny101 - 12/6/2011 12:45:33 PM
   
RE:Help with first steps
Hello,
don't worry anymore, now it works.
After the first not-working test I read some KB articles. After 15 min i tried again and got something different: a Kentico message asked me to grant "modify" rights for the ASPNET user to the "wwwroot\KenticoCMS" directory. Probably a timeout/cache effect...
After I did this it worked and finally what I see is the same as in tutorial (SQL server configuration).

Thank you very much for help
Denny

PS: I am asking myself why is all this not configured by default ? Or described somewhere in installation documents ? Lost 2 days for that...

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/6/2011 11:09:36 PM
   
RE:Help with first steps
Hi,

We try to document the most common issues however your setup is very specific. But, in the future you can try to search in our Developer's guide. Regarding the installation, there is also a topic for troubleshooting. Since you are using Windows XP you may also sometimes take a look into an older documentation (documentation and at the bottom are links to older versions).

Best regards,
Juraj Ondrus