Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating a DLL
Message
From
08/07/2010 13:57:25
 
 
General information
Forum:
ASP.NET
Category:
Other
Title:
Environment versions
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01460478
Message ID:
01471910
Views:
61
>So add some logging code. Seems to me that at this point you really need to narrow down the problem by getting some hard information on what is actually happening and when. There are too many possibles to just guess......

I have added some log and succeeded to simulate that on my local PC. Basically, I can simulate that at about 80%. What I do is to force a recompile. Then, on the Web site, I click on four options pretty fast so they are all in pending because the site is updating the new DLL. Usually, when clicking pretty fast, at the same time a new DLL is effective, will generate the problem on my PC as well at 80%. So, I am relying on that for my tests.

Basically, an ASPX is having that line at the top:
Page Language="VB" AutoEventWireup="false" Inherits="LevelExtreme.WebForm"
LevelExtreme.WebForm is the DLL and the main class. This class is in LevelExtreme.DLL. It is a sub class of Framework.DLL which contains WebForm.vb.

Framework.WebForm() contains this at the top:
Namespace Framework

    Public Class WebForm
        Inherits System.Web.UI.Page

        Public cMessage As String = ""
        Public oProcess As Framework.LXProcess = New Framework.LXProcess()

        Sub Page_Init(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Init
            App.oApp.CreateFile("1", "d:\iis\level extreme\temp\1.txt")
As you can see, it is inheriting from System.Web.UI.Page. So, at first, Page_Init() is executed. As you can see, the first thing it does is to create a .txt file. I use that for the log. Once my tests will be over, I will remove that. Guess what, when the situation happens, it doesn't even go there.

So, it is either something is done wrong in my design or I have the same configuration problem on my PC and the server.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform