Portal Engine Questions on portal engine and web parts.
Version 5.x > Portal Engine > Debugging Question View modes: 
User avatar
Member
Member
kevin.clark-gaprc - 4/1/2011 8:47:26 AM
   
Debugging Question
I created a test.aspx page to test and debug the user controls I'm developing. I set test.aspx as the start page in Visual Studios, but when I run it I get Invalid web telling me I need to add "localhost:port number" to the alias list for the site. So I add the current local host and post number assigned by VS to the alias list but that doesn't seeem to work. Clearly there is a better or more efficient way to do this. It would be greatly appreciated if someone can point me in the right direction. Below is an example of the error message I'm getting


The requested domain name is not configured for any web site: http://localhost:9802/KenticoCMS/Tester.aspx
If you're an administrator of this site, you need to go to Site Manager -> Sites and use the following domain name either in the Site properties or add a new domain alias: localhost:9802

Thanks!

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 4/1/2011 11:12:06 AM
   
RE:Debugging Question
Hi,

Do you have a license key for some domain name inserted in your CMS?
Also, what exactly have yoou added as a domain alias for your site?

Another option is to change the startup settings in VS - right click on the root of the project -> Property pages -> Startup options and here you cna change the domain name which should be used when running the site in debug mode.

Best regards,
Juraj Ondrus