Monday, June 18, 2007

DotNetNuke Error: URL blinks several times in status bar and doesn't browse the site :'(

PROBLEM:
The address blinks many times in the status bar and finally browser shows the 'Page Cannot be displayed' error and sometimes this blinking loop never ends.

EXPLANATION
It normally happens when you change the alias of the portal in 'portalalias' table.

SOLUTION :

  1. Make sure the alias in the portalalias table is correct OR
  2. Restart the site from IIS. If you don't have rights to do that u can just make a fake change in web.config and upload it again. The site will be restarted. 
  3. If site is running on local host then simply kill the aspnet_wp.exe processe
  4. Browse the site again,

IF problem persists, then get help from your host, there must be some issues in NS servers.

 Cheers

Parser error in ASP.NET 2.0 web project

Parser Error
Description:

An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Stream is not a valid resource file.

Source Error:

Line 1:  <?xml version="1.0" encoding="utf-8" ?>
Line 2:  <locales>
Line 3:      <inactive>    

Source File: /App_GlobalResources/Locales.Portal.xml.resources Line: 1

Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.42

EXPLANATION

This error comes usually when you try to run a .NET2.0 site with .NET1.1 and vice versa.

SOLUTION

  • go to the site properties in IIS
  • Open ASP.NET tab.
  • Just switch the ASP.NET version 2.0 to ver 1.1