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.6.2 does not install  (2nd error)5.6.2 does not install (2nd error)
Previous
 
Next
New Post
4/14/2011 10:53 AM
 
See my thread before (not yet published). I managed to correct the line 160 error. However now I get the following error:

Server Error in '/' 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:\inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\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:\inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\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:\inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\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:\inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\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:\inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\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:\inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\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:\inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\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:\inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\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:\inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\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:\inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\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:\inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\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:\inetpub\vhosts\lakeside-whisky-society.ch\httpdocs\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


It would be helpful to me if someone had an idea, how to correct this problem, as before the upgrade I had no problems with the effority user module



 
New Post
4/14/2011 9:54 PM
 
This error is related to a 3rd party module - specifically the effority.UserDirectory  -  i would suggest you go back to them. 

http://userdirectory.codeplex.com/ is the home of that module,

Having said that:

you could try changing:

 For Each pair As Collections.DictionaryEntry In modSettings 

to

 For Each pair As System.Collections.DictionaryEntry In modSettings
or For Each pair As DotNetNuke.Collections.DictionaryEntry In modSettings Westa

 
New Post
4/15/2011 8:12 AM
 
Hello,



using your first suggestion helped.



Thanks a lot for your help.



Regards,

René Blanc

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Upgrading DNN P...Upgrading DNN P...5.6.2 does not install  (2nd error)5.6.2 does not install (2nd error)


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