Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Server Error in Server Error in '/' Application after 4.4.0 Upgrade
Previous
 
Next
New Post
2/11/2007 3:56 PM
 

I upgraded from 4.02 and had the same problem.  This post fixed it for me without changing the auth settings in my web.config.  Thanks!!

MarS2701 wrote
Ok, my post before is stupid.

My error came from a erroneous strored procedure called GetPortal:

My old procedure code:
select P.*,
'SuperUserId' = ( select UserId from Users where IsSuperUser = 1 ),
'SuperTabId' = ( select TabId from Tabs where PortalId is null and ParentId is null ),
'AdministratorRoleName' = ( select RoleName from Roles where RoleId = P.AdministratorRoleID ),
'RegisteredRoleName' = ( select RoleName from Roles where RoleId = P.RegisteredRoleID )
from dbo.Portals P
where PortalId = @PortalId


My correction try:
select P.*,
'Email' = ( select Email from Users where IsSuperUser = 1 ),
'SuperUserId' = ( select UserId from Users where IsSuperUser = 1 ),
'SuperTabId' = ( select TabId from Tabs where PortalId is null and ParentId is null ),
'AdministratorRoleName' = ( select RoleName from Roles where RoleId = P.AdministratorRoleID ),
'RegisteredRoleName' = ( select RoleName from Roles where RoleId = P.RegisteredRoleID )
from dbo.Portals P
where PortalId = @PortalId

 
New Post
4/11/2007 10:55 PM
 
I got this error too, but then remembered I had forgotten to reset the permissions on the new files... which when done, fixed he problem.
 
New Post
5/11/2007 5:52 PM
 

I get this error too, but I don't have anything like the sql string as shown in the example above,

 

My getportal dbo is like this :

---------------

CREATE procedure dbo.GetPortal

@PortalId  int

as

select Portals.PortalID,
       Portals.PortalName,
       'LogoFile' = case when Files.FileName is null then Portals.LogoFile else Files.Folder + Files.FileName end,
       Portals.FooterText,
       Portals.ExpiryDate,
       Portals.UserRegistration,
       Portals.BannerAdvertising,
       Portals.AdministratorID,
       Portals.Currency,
       Portals.HostFee,
       Portals.HostSpace,
       Portals.AdministratorRoleID,
       Portals.RegisteredRoleID,
       Portals.Description,
       Portals.KeyWords,
       'BackGroundFile' = case when Files2.FileName is null then Portals.BackGroundFile else Files2.Folder + Files2.FileName end,
       Portals.GUID,
       Portals.PaymentProcessor,
       Portals.ProcessorUserId,
       Portals.ProcessorPassword,
       Portals.SiteLogHistory,
       Portals.SplashTabID,
       Portals.HomeTabID,
       Portals.LoginTabID,
       Portals.UserTabID,
       Portals.DefaultLanguage,
       Portals.TimeZoneOffset,
       Portals.AdminTabID,
       Portals.HomeDirectory,
       'SuperTabId' = ( select TabId from Tabs where PortalId is null and ParentId is null ),
       'AdministratorRoleName' = ( select RoleName from Roles where RoleId = Portals.AdministratorRoleID ),
       'RegisteredRoleName' = ( select RoleName from Roles where RoleId = Portals.RegisteredRoleID )
from Portals
left outer join Files on Portals.LogoFile = 'fileid=' + convert(varchar,Files.FileID)
left outer join Files as Files2 on Portals.BackGroundFile = 'fileid=' +convert(varchar,Files2.FileID)
where Portals.PortalId = @PortalId

------------

Driving me mad

 
New Post
5/12/2007 12:25 AM
 

I have a GetPortal like BernieUKC, not like the one mentioned earlier in the thread.  I'm wondering if something failed to upgrade and the GetPortal we have is the old?

Also frustrated.

-Steve

 
New Post
8/9/2007 12:36 PM
 

Has there be no fix for this, i just tried an upgrade from 4.3 to 4.5.5, and i am getting this error.  Very Frustrating.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Server Error in Server Error in '/' Application after 4.4.0 Upgrade


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out