Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Updating a DLL
Message
De
08/07/2010 13:57:25
 
 
À
27/04/2010 08:01:43
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01460478
Message ID:
01471910
Vues:
63
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform