проблем след ъпгреъд на .NET

1 отговора 68 прегледа
#1

проблем след ъпгреъд на .NET

след като направих ъпгрейд на .NET до версия 1.1 един длл който бяхме писали за едно веб приложение изгърмя
компилира се нормално но при изпълнение ми дава следната грешка:


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

Object variable or With block variable not set.
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 variable or With block variable not set.

Source Error:


Line 2: <%@ import Namespace="ApplicationServer" %>
Line 3: <%
Line 4: Dim CORE as new VSCORE(Me)
Line 5: %>
Line 6:


Source File: c:\inetpub\wwwroot\vsas\index.aspx Line: 4

Stack Trace:


[NullReferenceException: Object variable or With block variable not set.]
Microsoft.VisualBasic.CompilerServices.LateBinding.InternalLateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack, Boolean IgnoreReturn) +791
Microsoft.VisualBasic.CompilerServices.LateBinding.LateCall(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) +23
ApplicationServer.Platform.loadPlatform(VSCORE _caller) +183
ApplicationServer.VSCORE..ctor(Page _p) +121
ASP.index_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) in c:\inetpub\wwwroot\vsas\index.aspx:4
System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
System.Web.UI.Control.Render(HtmlTextWriter writer) +7
System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
System.Web.UI.Page.ProcessRequestMain() +1929




--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.573; ASP.NET Version:1.1.4322.573


Дайте ниакакъв съвет.....

Отговор
в отговор на dunamis #2

Не ти

намира къстъм класовете -
Namespace="ApplicationServer" - тук ти е проблема. По-скоро VSCORE класа в този неймспейс.
Въпросче - защо не пишете код бехайнд ?

UB40 !
Отговор