krishna_intelli wroteFollowing are the steps that I followed to start clean, is this the right approach? Am I missing anything here?
1.Delete Vir Dir as well as physical folders created by the original installation (http://localhost/dotnetnuke), except the DATABASE created by name - DOTNETNUKE.
2.Delete Vir Dir as well as physical folders created by my own application - (http://localhost/MyPortal)
3.Now only thing remaining is the TEMPLATE that could be used inside Visual Studio 2005
4.I created a new application using the above template in 2005 , called it as (http://localhost/Myportalnew), and point the web.config to the same database dotnetnuke.
5.Now I built the web site which created a new Vir Dir, granted NTFS permissions and ran it.
Still gave the same error.
Please advice.
Sorry I didtn get back with you sooner, are you still having problems with this?
Hmm, so building it created a new Vir Dir? I always create teh Vir Dir myself after I create teh folder then I modify the permissioins mentioned below. for asp.net 2.0 there might be several different ways to do this though but my method i know works.
Another thing i see missing from your instruction is giving teh asp.net
worker process full permissions on teh folder and sub folders. Keep in
mind Network services represents the teh asp.net worker process on
select systems.
So try this
1.Delete Vir Dir as well as physical folders created by the original installation (http://localhost/dotnetnuke), except the DATABASE created by name - DOTNETNUKE.
2.Delete Vir Dir as well as physical folders created by my own application - (http://localhost/MyPortal)
3.Delete teh Database in SQL
4)Create a folder where the site files will be copied
5) Copy the web site files
6)Rename release.config to web.config and edit the sql setting appropriately
7)right click on teh folder and set teh folder as a web site
8)set the folder permissions to the asp.net worker process(Network Service in some cases) for FULL control
9)Open the sln
10)Build it
11)Run the Site
Now with asp.net 2.0 im not that experienced so there may be a fasterway with vs creating teh Vir Dir but I now that this method i outlined works for me. You also may be able to skip 9 and 10 and go straight to 11.