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

HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...5.5 Problem with local TLD and friendlyurl5.5 Problem with local TLD and friendlyurl
Previous
 
Next
New Post
9/3/2010 6:27 AM
 
I run a couple of Dotnetnuke site on our companies intranet. The machine has a .local TLD
The url for this machine is http://web-server.testdomain.local/

When i upgraded to 5.5 only the main site works (frontpage). All friendly urls give me 404 errors.
I logged in to the web-server itself and via localhost i logged in as "host". I turned friendly URLS off and
the website works again.

Do you have a suggestion how to fix this?

I think it has to do with the new friendly url code.
 
New Post
9/6/2010 3:14 AM
 
Did anything else change on the server? 

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
New Post
9/6/2010 4:50 AM
 
Hmmm, indeed, what i said in the first post is not correct

In another portal 5.5 portal on the same machine the friendly urls work like they should.
I added a different hostname on my development machine in the windows\system32\drivers\etc\hosts
and when i browse to that hostname (which has a .nl TLD) it says "virtual directory listing denied"
It seems like a problem with the IIS settings.



 
New Post
9/21/2010 1:03 PM
 
I have this same problem.  I didn't change anything else about the server.

During the upgrade, I did get an error in the 05.05.00 resources log and one in the 05.05.00 application log.

Resources Log


System.Data.SqlClient.SqlException: The DELETE statement conflicted with the REFERENCE constraint "FK_BizModules_UPG_AlbumModule_Modules". The conflict occurred in database "DotNetNuke", table "dbo.dnn_BizModules_UPG_AlbumModule", column 'ModuleId'.
The statement has been terminated.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)

/************************************************************/
/*****              SqlDataProvider                     *****/
/*****                                                  *****/
/*****                                                  *****/
/***** Note: To manually execute this script you must   *****/
/*****       perform a search and replace operation     *****/
/*****       for dbo. and dnn_  *****/
/*****                                                  *****/
/************************************************************/

/* Delete Orphaned Module*/
/*************************/
DELETE
    FROM dbo.dnn_Modules
    WHERE ModuleID IN (SELECT ModuleID FROM dbo.dnn_vw_modules WHERE TabModuleID IS NULL)


System.Data.SqlClient.SqlException: Invalid object name 'portals'.
   at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection)
   at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj)
   at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj)
   at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async)
   at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult result, String methodName, Boolean sendToPipe)
   at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
   at DotNetNuke.Data.SqlDataProvider.ExecuteADOScript(String SQL)
   at DotNetNuke.Data.SqlDataProvider.ExecuteScript(String Script, Boolean UseTransactions)




/*  script to fix issue with errorneous administratorroleid values*/

DECLARE @PortalID int
DECLARE @AdministratorRoleId int

--Iterate through each portal
DECLARE Portals_Cursor CURSOR FOR
SELECT PortalID,AdministratorRoleId
FROM         dbo.dnn_Portals

OPEN Portals_Cursor
--get first
FETCH NEXT FROM Portals_Cursor
into @PortalID,@AdministratorRoleId
WHILE @@FETCH_STATUS = 0
   BEGIN
   if @AdministratorRoleId=-1 or @AdministratorRoleId not in (select roleid from dbo.dnn_userroles as ur inner join dbo.dnn_userportals as up on ur.userid=up.userid where up.portalid=@portalid)
   
   update portals set AdministratorRoleId =
(select roleid from dbo.dnn_Roles as r where
r.PortalID =dbo.dnn_Portals.PortalID and RoleName = 'Administrators' and dbo.dnn_Portals.portalid=@portalid) where portalid=@portalid

       FETCH NEXT FROM Portals_Cursor
       into @PortalID, @AdministratorRoleId

   END
CLOSE Portals_Cursor

Application Log

Error: Object reference not set to an instance of an object.   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeToVersion_550()
   at DotNetNuke.Services.Upgrade.Upgrade.UpgradeApplication(String strProviderPath, Version version, Boolean writeFeedback)
 
New Post
9/21/2010 2:22 PM
 
Are you guys using any URL rewriting outside of the standard DNN rewriting? Such as those from Ifinity.com.au?

Chris Hammond
Former DNN Corp Employee, MVP, Core Team Member, Trustee
Christoc.com Software Solutions DotNetNuke Module Development, Upgrades and consulting.
dnnCHAT.com a chat room for DotNetNuke discussions
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...5.5 Problem with local TLD and friendlyurl5.5 Problem with local TLD and friendlyurl


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