asp to asp.net object type error

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks for the reply guys, I am getting one more error which is as
follows..

Could not create an object of type 'campuscounts _ .general'.
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.Web.HttpException: Could not create an object
of type 'campuscounts _ .general'.

Source Error:

The source code that generated this unhandled exception can only be
shown when compiled in debug mode. To enable this, please follow one of
the below steps, then request the URL:

1. Add a "Debug=true" directive at the top of the file that generated
the error. Example:

<%@ Page Language="C#" Debug="true" %>

or:

2) Add the following section to the configuration file of your
application:

<configuration>
<system.web>
<compilation debug="true"/>
</system.web>
</configuration>

Note that this second technique will cause all files within a given
application to be compiled in debug mode. The first technique will
cause only that particular file to be compiled in debug mode.

Important: Running applications in debug mode does incur a
memory/performance overhead. You should make sure that an application
has debugging disabled before deploying into production scenario.

Stack Trace:


[HttpException (0x80004005): Could not create an object of type
'campuscounts _ .general'.]
Microsoft.VisualBasic.CompilerServices.Container.InvokeMethod(Method
TargetProcedure, Object[] Arguments, Boolean[] CopyBack, BindingFlags
Flags) +270
Microsoft.VisualBasic.CompilerServices.NewLateBinding.LateGet(Object
Instance, Type Type, String MemberName, Object[] Arguments, String[]
ArgumentNames, Type[] TypeArguments, Boolean[] CopyBack) +371
ASP.dbConnect_aspx.__Render__control1(HtmlTextWriter __w, Control
parameterContainer) +121
System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer,
ICollection children) +98
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +20
System.Web.UI.Page.Render(HtmlTextWriter writer) +27
System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer,
ControlAdapter adapter) +53
System.Web.UI.Control.RenderControl(HtmlTextWriter writer,
ControlAdapter adapter) +280
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +24
System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
+8878

I can provide the code if needed ...
Thanx

.



Relevant Pages

  • Cannot complete this action.
    ... After making somes changes at the ... The source code that generated this unhandled exception can only be shown ... application to be compiled in debug mode. ... System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243 ...
    (microsoft.public.sharepoint.portalserver.development)
  • asp to asp.net with block variable not set error
    ... An unhandled exception occurred during the execution of ... System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ... ControlAdapter adapter) +53 ... includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) ...
    (microsoft.public.dotnet.framework)
  • Problem dynamically loading a user control....
    ... I'm playing around with dynamically loading user controls ...and having ... An unhandled exception was generated during the execution of the current web ... be identified using the exception stack trace below. ...
    (microsoft.public.dotnet.framework.aspnet)
  • web part unexpected error in Photo Gallery page
    ... Exception Details: System.NullReferenceException: Object reference not ... The source code that generated this unhandled exception can only be ... application to be compiled in debug mode. ... System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243 ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: "A page can have only one server-side Form tag." when NONE exist!
    ... you do need a Form tag. ... > An unhandled exception was generated during the execution of the ... > the exception can be identified using the exception stack trace below. ... > System.Web.UI.Page.OnFormRender(HtmlTextWriter writer, String ...
    (microsoft.public.dotnet.framework.aspnet)