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

HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0URLControl CustomizationURLControl Customization
Previous
 
Next
New Post
8/17/2007 12:27 PM
 

On the intranet site I am working on, we have a deep directory structure.  When using the URLControl, the dropdownlists are not wide enough.  We need a central place to set the width of the controls used by the URLControl and have been unable to find one.  The only other thing that I can think of is to modify the core.  The problem with that is that when I make the minor update, I get the following error:

 

 

 

 

 

Server Error in '/Stores' Application.

Method not found: 'Boolean DotNetNuke.Entities.Tabs.TabInfo.get_IsSecure()'.

 

 

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.MissingMethodException: Method not found: 'Boolean DotNetNuke.Entities.Tabs.TabInfo.get_IsSecure()'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[MissingMethodException: Method not found: 'Boolean DotNetNuke.Entities.Tabs.TabInfo.get_IsSecure()'.]
   DotNetNuke.HttpModules.UrlRewriteModule.OnBeginRequest(Object s, EventArgs e) +0
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +92
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +64

 

 

The code changes are as follows in URLControl.vb:

Added:

Imports System.Configuration

In Page_Load event added:

Dim intUrlControlWidth As Int32
intUrlControlWidth = Int32.Parse(ConfigurationManager.AppSettings("URLControlWidth").ToString())
cboFiles.Width = intUrlControlWidth
cboFolders.Width = intUrlControlWidth
cboUrls.Width = intUrlControlWidth
txtUrl.Width = intUrlControlWidth
txtUser.Width = intUrlControlWidth
cboTabs.Width = intUrlControlWidth

Thank you in advanced for your help!

 
New Post
8/20/2007 9:16 AM
 

One other thing I noticed just this morning: when I load the site for the first time I get the following error.  It will then give me the error I listed above.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: type

Source Error:

Line 80: 
Line 81:             'Determine the Upgrade status and redirect to Install.aspx
Line 82:             Select Case GetUpgradeStatus()
Line 83:                 Case Globals.UpgradeStatus.Install
Line 84:                     If AutoUpgrade Then

Source File: E:\Inetpub\GOStores\Website\App_Code\Global.asax.vb    Line: 82

Stack Trace:

[ArgumentNullException: Value cannot be null.
Parameter name: type]
   System.Activator.CreateInstance(Type type, Boolean nonPublic) +2768503
   System.Activator.CreateInstance(Type type) +6
   DotNetNuke.Framework.Reflection.CreateObject(String TypeName, String CacheKey, Boolean UseCache) +49
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, String ObjectProviderName, String ObjectNamespace, String ObjectAssemblyName, Boolean UseCache) +892
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType, Boolean UseCache) +58
   DotNetNuke.Framework.Reflection.CreateObject(String ObjectProviderType) +34
   DotNetNuke.Data.DataProvider.CreateProvider() +42
   DotNetNuke.Data.DataProvider..cctor() +28

[TypeInitializationException: The type initializer for 'DotNetNuke.Data.DataProvider' threw an exception.]
   DotNetNuke.Data.DataProvider.Instance() +0
   DotNetNuke.Entities.Portals.PortalSettings.GetProviderPath() +24
   DotNetNuke.Common.Globals.GetUpgradeStatus() +139
   DotNetNuke.Common.Global.CheckVersion() in E:\Inetpub\GOStores\Website\App_Code\Global.asax.vb:82
   DotNetNuke.Common.Global.Application_Start(Object Sender, EventArgs E) in E:\Inetpub\GOStores\Website\App_Code\Global.asax.vb:313

Server Error in '/Stores' Application.

Value cannot be null.
Parameter name: type

 

 
New Post
9/6/2007 2:35 PM
 

I'm having the same issue (The second one that is "Line 82:             Select Case GetUpgradeStatus()")

Anyone have an answer?

Thanks

 
New Post
9/9/2007 7:18 PM
 

I see two different errors here:

1) URLControl: How is the URLControl implemented in your custom module?.. The URLcontrol has a Width property that can be adjusted to anything you want

2) A upgrade error: It seems that you site was upgraded recently. it is right?.. Try disabling the Autoupgrade property in the web.config


Locopon
Free modules: E-commerce, Complete localization (Portal, page, module settings, skins, etc.), Secure Login, and more
http://dnn.tiendaboliviana.com
 
New Post
9/10/2007 1:27 PM
 

I am also getting the same error with line 82 being "Select Case GetUpgradeStatus()"

I have set autoupgrade to false but the same error occurs.

 
Previous
 
Next
HomeHomeArchived Discus...Archived Discus...Developing Under Previous Versions of .NETDeveloping Under Previous Versions of .NETASP.Net 2.0ASP.Net 2.0URLControl CustomizationURLControl Customization


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