Error message
Messages   Related Types
This message was discovered on ASPFriends.com 'aspngibuyspy' list.


Boah
Here is my error message when there are no mobile modules to display in the
IBuySpy portal.
I like to see a blank page if there are no mobile modules to display.

Is there a way to change this?

Boah

Server Error in '/PortalCSVS' Application.
----------------------------------------------------------------------------
----

Object reference not set to an instance of an object.
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.NullReferenceException: Object reference not set
to an instance of an object.

Source Error:

Line 640: {
Line 641: // Search all children of the control.
Line 642: if (ctl.HasControls()) {
Line 643: foreach (Control child in ctl.Controls) {
Line 644: if (child.Visible) {

Source File: C:\PortalCSVS\PortalCSVS\Components\MobileControls.cs Line:
642

Stack Trace:

[NullReferenceException: Object reference not set to an instance of an
object.]
PortalICT.MobileControls.MultiPanel.DoPaginateChildren(ControlPager
pager, Control ctl, Int32& firstAssignedPage) in
C:\PortalCSVS\PortalCSVS\Components\MobileControls.cs:642
PortalICT.MobileControls.MultiPanel.PaginateRecursive(ControlPager pager)
in C:\PortalCSVS\PortalCSVS\Components\MobileControls.cs:612
PortalICT.MobileControls.MultiPanel.PaginateRecursive(ControlPager pager)
in C:\PortalCSVS\PortalCSVS\Components\MobileControls.cs:601

System.Web.UI.MobileControls.MobileControl.DoPaginateChildren(ControlPager
pager, Control ctl, Int32& firstAssignedPage) +154
System.Web.UI.MobileControls.MobileControl.PaginateRecursive(ControlPager
pager) +88
System.Web.UI.MobileControls.Panel.PaginateRecursive(ControlPager pager)
+100
System.Web.UI.MobileControls.Form.PaginateForm() +219
System.Web.UI.MobileControls.Form.OnPreRender(EventArgs e) +47
System.Web.UI.Control.PreRenderRecursiveInternal() +62
System.Web.UI.Control.PreRenderRecursiveInternal() +125
System.Web.UI.Page.ProcessRequestMain() +1447

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

Version Information: Microsoft .NET Framework Version:1.0.3705.209; ASP.NET
Version:1.0.3705.0

Reply to this message...
 
    
Jason Williamson
This works fine as a regular page. If I try to use it with the portal I get
the message below.

Exception Details: System.InvalidCastException: Specified cast is not valid.

Source Error:

Line 60: if ((_moduleSettings.CacheTime) == 0) {
Line 61:
Line 62: PortalModuleControl portalModule =
(PortalModuleControl) Page.LoadControl(_moduleSettings.DesktopSrc);
Line 63:
Line 64: portalModule.PortalId = portalSettings.PortalId;

Source File: C:\PortalCS\PortalCS\DesktopDefault.aspx Line: 62

Stack Trace:

[InvalidCastException: Specified cast is not valid.]
ASP.DesktopDefault_aspx.Page_Init(Object sender, EventArgs e) in
C:\PortalCS\PortalCS\DesktopDefault.aspx:62
System.Web.UI.Control.OnInit(EventArgs e) +67
System.Web.UI.Control.InitRecursive(Control namingContainer) +235
System.Web.UI.Page.ProcessRequestMain() +171

Reply to this message...
 
    
sonia vihocenco
(Type your message here)

--------------------------------
From: sonia vihocenco
i have the same problem. if you find the ansswer please notify me.
Reply to this message...
 
    
Dr Sylvain Desforges
When I try to load my IBUYSPY Portal VB I get this error:

How can I correct this bug

Thanks !

Server Error in '/PortalVB' Application.

_____

Configuration Error

Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section
'mobileControls'

Source Error:

Line 29:
Line 30: <!-- Adapter configuration for mobile controls used in
the portal -->
Line 31: <mobileControls>
Line 32: <device name="PortalHtmlDeviceAdapters"
inheritsFrom="HtmlDeviceAdapters">
Line 33: <control
name="ASPNetPortal.MobileControls.TabbedPanel, Portal"
adapter="ASPNetPortal.MobileControls.HtmlTabbedPanelAdapter,Portal" />

Source File: C:\PortalVB\PortalVB\web.config Line: 31

_____

Version Information: Runtime Build:1.0.2914.16; ASP.NET
Build:1.4000.2914.16
Reply to this message...
 
    
Meor Zaharin Meor Ibrahim
I believe you don't have Mobile Internet Toolkit downloaded

-----Original Message-----
From: Dr Sylvain Desforges [mailto:Click here to reveal e-mail address]
Sent: Tuesday, July 23, 2002 6:40 AM
To: aspngibuyspy
Subject: [aspngibuyspy] error message

When I try to load my IBUYSPY Portal VB I get this error:

How can I correct this bug

Thanks !

Server Error in '/PortalVB' Application.

_____

Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section 'mobileControls'

Source Error:

Line 29:
Line 30: <!-- Adapter configuration for mobile controls used in the portal -->
Line 31: <mobileControls>
Line 32: <device name="PortalHtmlDeviceAdapters" inheritsFrom="HtmlDeviceAdapters">
Line 33: <control name="ASPNetPortal.MobileControls.TabbedPanel, Portal" adapter="ASPNetPortal.MobileControls.HtmlTabbedPanelAdapter,Portal" />

Source File: C:\PortalVB\PortalVB\web.config Line: 31

_____

Version Information: Runtime Build:1.0.2914.16; ASP.NET Build:1.4000.2914.16

| [aspngibuyspy] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngibuyspy.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives
Reply to this message...
 
    
Brian Desmond
Correct. Grab the Mobile Internet Toolkit from www.asp.net.

--Brian Desmond
HYPERLINK "mailto:Click here to reveal e-mail address"Click here to reveal e-mail address
-----Original Message-----
From: Meor Zaharin Meor Ibrahim [mailto:Click here to reveal e-mail address]
Sent: Monday, July 22, 2002 9:25 PM
To: aspngibuyspy
Subject: [aspngibuyspy] RE: error message

I believe you don't have Mobile Internet Toolkit downloaded
-----Original Message-----
From: Dr Sylvain Desforges [mailto:Click here to reveal e-mail address]
Sent: Tuesday, July 23, 2002 6:40 AM
To: aspngibuyspy
Subject: [aspngibuyspy] error message

When I try to load my IBUYSPY Portal VB I get this error:

How can I correct this bug

Thanks !

Server Error in '/PortalVB' Application.

_____

Configuration Error

Description: An error occurred during the processing of a configuration
file required to service this request. Please review the specific error
details below and modify your configuration file appropriately.

Parser Error Message: Unrecognized configuration section
'mobileControls'

Source Error:

Line 29:
Line 30: <!-- Adapter configuration for mobile controls used in
the portal -->
Line 31: <mobileControls>
Line 32: <device name="PortalHtmlDeviceAdapters"
inheritsFrom="HtmlDeviceAdapters">
Line 33: <control
name="ASPNetPortal.MobileControls.TabbedPanel, Portal"
adapter="ASPNetPortal.MobileControls.HtmlTabbedPanelAdapter,Portal" />

Source File: C:\PortalVB\PortalVB\web.config Line: 31

_____

Version Information: Runtime Build:1.0.2914.16; ASP.NET
Build:1.4000.2914.16
| [aspngibuyspy] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngibuyspy.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives
| [aspngibuyspy] member Click here to reveal e-mail address = YOUR ID
| http://www.asplists.com/asplists/aspngibuyspy.asp = JOIN/QUIT
| http://www.asplists.com/search = SEARCH Archives

---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 7/1/2002

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.373 / Virus Database: 208 - Release Date: 7/1/2002
Reply to this message...
 
 
System.EventArgs
System.InvalidCastException
System.NullReferenceException
System.Web.UI.Control
System.Web.UI.MobileControls.ControlPager
System.Web.UI.MobileControls.Form
System.Web.UI.MobileControls.MobileControl
System.Web.UI.MobileControls.Panel
System.Web.UI.Page




Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
 
 Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us - Terms of Use - Privacy Policy - www.dotnet247.com