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...Upgrade to 562 - CannotAccess my SiteUpgrade to 562 - CannotAccess my Site
Previous
 
Next
New Post
4/22/2011 4:08 PM
 
Hi DNN Pro's:
I have recently upgraded my site to DNN 562 and now I cannot access the Site.
I get Server error / Runtime error.
Can someone assist me PLEASE, I am not very good at these technical matters.
If need be I will PAY for the Job and give access to my Site.
It is hosted at Snapsis where up to now I have had no problems at all.
Much appreciated, HAPPY EASTER
Michael Finberg: michael.finberg@cytanet.com.cy 
 
New Post
4/22/2011 7:17 PM
 
From what version of DotNetNuke did you upgrade?

Which DotNetNuke package did you use - Upgrade or Install?

At what point in the upgrade did you get the error - when first browsing to the site to trigger the upgrade after uploading the upgrade files or during or after the upgrade process displayed its various status messages.

Please provide more details about the server error you are getting. Most likely you will need to follow the instructions in the error page in order to view the detailed error message. In the site's web.config file's  <customErrors> section change:

<customErrors mode="RemoteOnly" />

to

<customErrors mode="Off" />

Note that the value "Off" is case sensitive - upper case "O" and lower case "ff". Please post the complete error message that you receive to this thread so we can better assist you.

Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
New Post
4/23/2011 7:20 AM
 
Here is the Custom Error Message:

I will rply to the other questions later.

Server Error in '/cyintranet' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: BC30561: 'Collections' is ambiguous, imported from the namespaces or types 'DotNetNuke, System'.

Source Error:

Line 70: _Settings = New Generic.Dictionary(Of String, String) 
Line 71: Line 72: For Each pair As Collections.DictionaryEntry In modSettings
Line 73: Line 74: _Settings.Add(Convert.ToString(pair.Key), Convert.ToString(pair.Value))

Source File: D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\FakeView.vb Line: 72


Warning: BC42030: Variable 'pd' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.
Source Error:

D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\Base.vb
Line 155: Dim pd As DotNetNuke.Entities.Profile.ProfilePropertyDefinition 
Line 156: Line 157: ProfilePropertyCollectionDic.TryGetValue(CInt(id), pd)
Line 158: Line 159: If Not pd Is Nothing Then

Warning: BC42030: Variable 'pd' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.
Source Error:

D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\Base.vb
Line 240: Dim pd As DotNetNuke.Entities.Profile.ProfilePropertyDefinition 
Line 241: Line 242: ProfilePropertyCollectionDic.TryGetValue(CInt(id), pd)
Line 243: Line 244: If Not pd Is Nothing Then

Warning: BC42104: Variable 'port' is used before it has been assigned a value. A null reference exception could result at runtime.
Source Error:

D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\Base.vb
Line 1107: End If 
Line 1108:
Line 1109: Return String.Format("{0}://{1}{2}{3}/DesktopModules/effority.UserDirectory/vCard.aspx?UserId={4}&ModuleId={5}&TabModuleId={6}",
RequestUrl.Scheme, RequestUrl.Host, port, Request.ApplicationPath, CStr(UserId), CStr(Me.ModuleId), CStr(Me.TabModuleId))
Line 1110: Line 1111: End Function

Warning: BC42104: Variable 'UserInfos' is used before it has been assigned a value. A null reference exception could result at runtime.
Source Error:

D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\Controller.vb
Line 324: End If Line 325: Line 326: Return UserInfos 
Line 327: Line 328: End Function

Warning: BC42030: Variable 'workDic' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.
Source Error:

D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\Controller.vb
Line 575: Dim PropertyValue As String = Null.SetNull(reader.GetString(2), Null.NullString).ToString 
Line 576: Line 577: If userDic.TryGetValue(UserId, workDic) Then Line 578:
Line 579: ' es gibt bereits Werte für diesen User

Warning: BC42104: Variable 'userDic' is used before it has been assigned a value. A null reference exception could result at runtime.
Source Error:

D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\Controller.vb
Line 632: End If Line 633: Line 634: Return userDic Line 635: Line 636: End Function

Warning: BC40000: 'Public Shared Function GetModuleSettings(ModuleId As Integer) As System.Collections.Hashtable' is obsolete: 'Deprecated in DNN 5.0. Please use ModuleController.GetModuleSettings(ModuleId)'.
Source Error:

D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\FakeView.vb
Line 65: 'If _Settings Is Nothing Then 
Line 66:
Line 67: Dim modSettings As Hashtable = DotNetNuke.Entities.Portals.PortalSettings.GetModuleSettings(Me.ModuleId)
Line 68: Dim tabModSettings As Hashtable = DotNetNuke.Entities.Portals.PortalSettings.GetTabModuleSettings(Me.TabModuleId)
Line 69:

Warning: BC40000: 'Public Shared Function GetTabModuleSettings(TabModuleId As Integer) As System.Collections.Hashtable' is obsolete: 'Deprecated in DNN 5.0. Please use ModuleController.GetTabModuleSettings(TabModuleId)'.
Source Error:

D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\FakeView.vb
Line 66: 
Line 67: Dim modSettings As Hashtable = DotNetNuke.Entities.Portals.PortalSettings.GetModuleSettings(Me.ModuleId)
Line 68: Dim tabModSettings As Hashtable = DotNetNuke.Entities.Portals.PortalSettings.GetTabModuleSettings(Me.TabModuleId)
Line 69: Line 70: _Settings = New Generic.Dictionary(Of String, String)

Warning: BC42030: Variable 'profileForThisUser' is passed by reference before it has been assigned a value. A null reference exception could result at runtime.
Source Error:

D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\FakeView.vb
Line 158: workrow(effority.UserDirectory.Consts.USERID_COLUMN) = user.UserId 
Line 159: Line 160: If userProfileDic.TryGetValue(user.UserId, profileForThisUser) Then
Line 161: Line 162: For Each info As DotNetNuke.Entities.Profile.ProfilePropertyDefinition In Me.ProfilesPropertiesToLoad

Warning: BC40000: 'Public Overridable Sub Insert(CacheKey As String, objObject As Object, PersistAppRestart As Boolean)' is obsolete: 'Deprecated in DNN 5.1 - Cache Persistence is not supported'.
Source Error:

D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\FakeView.vb
Line 184: UserTable.EndLoadData() Line 185: 
Line 186: DotNetNuke.Services.Cache.CachingProvider.Instance.Insert(Me.USERTABLE_MODULE_CACHE, UserTable, False)
Line 187: Line 188: Dim dv As DataView = UserTable.DefaultView

Warning: BC40000: 'Public Function GetDesktopModuleByModuleName(moduleName As String) As DotNetNuke.Entities.Modules.DesktopModuleInfo' is obsolete: 'This method replaced in DotNetNuke 5.0 by Shared method GetDesktopModuleByModuleName(String, Integer)'.
Source Error:

D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\Schedule.vb
Line 30: Dim cont As New DotNetNuke.Entities.Modules.DesktopModuleController Line 31: 
Line 32: Dim info As DotNetNuke.Entities.Modules.DesktopModuleInfo = cont.GetDesktopModuleByModuleName("effority.UserDirectory")
Line 33: Line 34: Dim moduleCont As New DotNetNuke.Entities.Modules.ModuleController



Version Information: Microsoft .NET Framework Version:2.0.50727.4206; ASP.NET Version:2.0.50727.4016
 
New Post
4/23/2011 8:11 AM
 
William Severance wrote:
From what version of DotNetNuke did you upgrade?
I think it was from DNN 511 - I am hosted at Snapsis and they have an Automated Upgarde method.
1st attempt - I got the error message, so I did a 'Roll Back'.
2nd attempt - same situation - no roll back, but error message appears when i try to access the site!

Which DotNetNuke package did you use - Upgrade or Install?
At Snapsis Site the automatic upgrade
Subsequently, after 2nd attempt as above, I uploaded the DNN Upgrade Manually by FTP - but gat the error messges as posted below.

At what point in the upgrade did you get the error - when first browsing to the site to trigger the upgrade after uploading the upgrade files or during or after the upgrade process displayed its various status messages.

Please provide more details about the server error you are getting. Most likely you will need to follow the instructions in the error page in order to view the detailed error message. In the site's web.config file's   section change:



to



Note that the value "Off" is case sensitive - upper case "O" and lower case "ff". Please post the complete error message that you receive to this thread so we can better assist you.

 

 
New Post
4/23/2011 9:09 AM
 
Although there are a number of warnings for core methods marked as obsolete in DNN 5.x, there is only one actual error in the code for the Efforty User Directory:

Compiler Error Message: BC30561: 'Collections' is ambiguous, imported from the namespaces or types 'DotNetNuke, System'.

Source Error:

Line 70: _Settings = New Generic.Dictionary(Of String, String) 
Line 71:
Line 72: For Each pair As Collections.DictionaryEntry In modSettings
Line 73:
Line 74: _Settings.Add(Convert.ToString(pair.Key), Convert.ToString(pair.Value))

Source File: D:\Hosting\6343951\html\cyintranet\App_Code\effority.UserDirectory\FakeView.vb Line: 72

You should be able to open the file App_Code\efforty.UserDirectory\FakeView.vb in any text editor such as NotePad and search for "Collections.DictonaryEntry". Change that to "System.Collections.DictionaryEntry" then re-save the file. Hopefully you will then be able to access the site.

As you have a large number of third-party extensions installed, I would also suggest that you check with each developer/vender to determine if they are compatible with DNN 5.6.2 or if you will need to upgrade some or all of them.





Bill, WESNet Designs
Team Lead - DotNetNuke Gallery Module Project (Not Actively Being Developed)
Extensions Forge Projects . . .
Current: UserExport, ContentDeJour, ePrayer, DNN NewsTicker, By Invitation
Coming Soon: FRBO-For Rent By Owner
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...Upgrade to 562 - CannotAccess my SiteUpgrade to 562 - CannotAccess my Site


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