AyaNova service management & work order software
AyaNova Support Forum
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        


12»»

Server WBI Error Expand / Collapse
Author
Message
Posted 1/18/2007 6:43:01 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/21/2007 6:42:22 AM
Posts: 6, Visits: 30
Either due to a licence update for Ayanova or a windows update we are know unable to use WBI due to a server error. The following is from the log file from server side.

Server Error in '/AyaNovaWBI' 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:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. 

Stack Trace:


[NullReferenceException: Object reference not set to an instance of an object.]
   Login.Page_Load(Object sender, EventArgs e) +61
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +34
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

Let me know if you require any further information.

Regards

Gareth.

Post #2612
Posted 1/18/2007 8:45:32 AM
AyaNova Sales & Support

AyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & Support

Group: Administrators
Last Login: Today @ 7:20:51 AM
Posts: 1,703, Visits: 4,009
Good morning Gareth

Do I assume that you have rebooted the WBI computer, made sure the IIS was running and tried again?

Please provide the following information:

  1. Log into the AyaNova program on this WBI server, select menu Help -> About AyaNova ->copy all text to a NotePad document, save and attach
  2. On the WBI server, open Windows Explorer, and move to the C:\Inetpub\wwwroot\AyaNovaWBI\bin directory - what is the file date of the file GTZW.AyaNovaWBI.dll and GTZW.AyaNova.dll

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #2615
Posted 1/19/2007 3:15:27 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/21/2007 6:42:22 AM
Posts: 6, Visits: 30
Hi Joyce,

Help --> About reads:

License information:
Key issued: 09/01/2007 17:06:05
Registered to: Mobil Information Systems Ltd
Scheduleable users: 5
Option - QuickBooks interface: False
Option - Web browser interface: True

Technical information:
 Machine name: MOBILISVR1
 AyaNova Connection: MSSQL database, connection string="data source=XXXXXXX;initial catalog=AyaNova;User Id=sa; Password=xxxxxxxxxx;"
 Generate PM and Notify from this connection: False
 OS user name: gareth.davies
 Networked: True
 OS user domain name: MOBIL-I
 OS version: Microsoft Windows NT 5.2.3790 Service Pack 1
 System folder: C:\WINDOWS\system32
 CLR version: 2.0.50727.42
 Current directory: C:\Program Files\Ground Zero Tech-Works Inc\AyaNova 3
 Logical drives: C:\ D:\ E:\ F:\
 Working set: 33476608
 Primary monitor size: {Width=1280, Height=1024}
 Locale current culture: English (Ireland)
 Locale currency symbol: €
 Locale short date pattern: dd/MM/yyyy
 Locale short time pattern: HH:mm
 Primary assembly: AyaNova 3.3.3.0
 *** Business object assembly (GZTW.AyaNova.BLL.dll) Sub Version: 1 ***
 Primary assembly location: file:///C:/Program Files/Ground Zero Tech-Works Inc/AyaNova 3/AyaNova.exe
  References:
  System.Windows.Forms 2.0.0.0
  mscorlib 2.0.0.0
  System.Drawing 2.0.0.0
  Infragistics2.Win.UltraWinGrid.v6.3 6.3.20063.53
  System 2.0.0.0
  Infragistics2.Win.v6.3 6.3.20063.53
  log4net 1.2.9.0
  Infragistics2.Win.Misc.v6.3 6.3.20063.53
  Infragistics2.Win.UltraWinEditors.v6.3 6.3.20063.53
  Infragistics2.Win.UltraWinToolbars.v6.3 6.3.20063.53
  GZTW.WinForm.Controls 3.2.0.0
  GZTW.AyaNova.BLL 3.3.3.0
  System.Data 2.0.0.0
  Infragistics2.Win.UltraWinSchedule.v6.3 6.3.20063.53
  Infragistics2.Win.UltraWinTabControl.v6.3 6.3.20063.53
  Infragistics2.Win.UltraWinTree.v6.3 6.3.20063.53
  CSLA 1.3.0.0
  DevExpress.XtraReports.v6.3 6.3.2.0
  Infragistics2.Win.UltraWinStatusBar.v6.3 6.3.20063.53
  Infragistics2.Win.UltraWinExplorerBar.v6.3 6.3.20063.53
  Infragistics2.Shared.v6.3 6.3.20063.53
  mscorlib 1.0.5000.0
  CSLA.Core.Bindablebase 1.3.0.0
  System.Xml 2.0.0.0
  FirebirdSql.Data.Firebird 1.7.1.0
  DevExpress.XtraPrinting.v6.3 6.3.2.0
  DevExpress.Utils.v6.3 6.3.2.0
  System.Configuration 2.0.0.0
  DevExpress.Data.v6.3 6.3.2.0
  DevExpress.XtraNavBar.v6.3 6.3.2.0

Session information:
 User settings
  User: Gareth Davies
  Language: English
  UserType: Schedulable
  SubContractor: False
  Region: Ireland
 Global settings
  Language: MIS English
  Use Notification services: True
  CJK Index: False
  Use inventory: True
  Use regions: True

Also the file dates are:-

GTZW.AyanovaWBI.dll - 18/12/2006

GTZW.Ayanova.dll - not found (however there is GTZW.Ayanova.BLL.DLL with a date of 19/11/2006)

Hope this helps

Thanks - Gareth

Post #2620
Posted 1/19/2007 8:04:34 AM
AyaNova Sales & Support

AyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & Support

Group: Administrators
Last Login: Today @ 7:20:51 AM
Posts: 1,703, Visits: 4,009
Hi Gareth

You are correcvt - I meant GTZW.AyaNova.BLL.dll

Perform the following:

  • Un-install WBI from the computer.
  • Use Windows Explorer to open C:\Inetpub\wwwroot\ and make sure the AyaNOvaWBI folder is completely removed
  • Download the latest WBI installation file from http://www.ayanova.com/wbidownload.htm
  • Perform the installation and configuration of WBI again.

You will also note that the files GTZW.AyaNova.BLL.dll and the GTZW.AyaNovaWBI.dll are now both dated January 2007 and if right-click on them, select Properties, select the Version tab, are for use with version3.3.3.0

Let me know that once you have WBI 3.3.3.0 installed, the issue is resolved.

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #2621
Posted 1/29/2007 4:23:51 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/21/2007 6:42:22 AM
Posts: 6, Visits: 30
Hi Joyce,

We have done the above but recieve the following error.

Runtime Error

Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".

 

When we try to view the website on the local machine we get this error

Server Error in '/AyaNovaWBI' Application.

External component has thrown an exception.

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.Runtime.InteropServices.SEHException: External component has thrown an exception.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[SEHException (0x80004005): External component has thrown an exception.]   
ASP.global_asax..ctor() +0[TargetInvocationException: Exception has been thrown by the target of an invocation.]   
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, 
Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0   
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +103   
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +261  
 System.Activator.CreateInstance(Type type, Boolean nonPublic) +66   
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, 
Object[] args, CultureInfo culture, Object[] activationAttributes) +1036   
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, 
CultureInfo culture, Object[] activationAttributes) +114   
System.Web.HttpApplicationFactory.GetNormalApplicationInstance(HttpContext context) +184   
System.Web.HttpApplicationFactory.GetApplicationInstance(HttpContext context) +106   
System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +317


Version Information: Microsoft .NET Framework Version:2.0.50727.42; ASP.NET Version:2.0.50727.210

Post #2674
Posted 1/29/2007 8:28:46 AM
AyaNova Sales & Support

AyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & Support

Group: Administrators
Last Login: Today @ 7:20:51 AM
Posts: 1,703, Visits: 4,009
Hi

I have not come across such an error before.

1. Please confirm - now what is the file dates and the versions of the GTZW.AyaNova.BLL.dll and GTZW.AyaNovaWBI.dll in the bin directory?

2. Also confirm that you have edited the installed Web.Config file as the WBI installation states to do.

3. Run the .NET repair and the registry re-application as outlined in http://forum.ayanova.com/Topic2334-95-1.aspx - confirm both these have been done, the computer has been rebooted, and what the outcome is now as the

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #2676
Posted 1/31/2007 9:59:36 AM
AyaNova Sales & Support

AyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & SupportAyaNova Sales & Support

Group: Administrators
Last Login: Today @ 7:20:51 AM
Posts: 1,703, Visits: 4,009
Hi again

Please do post back - did running the registry repair, and the .NET repair fix the issue, or ?

- Joyce

AyaNova Sales & Technical Support
http://www.ayanova.com
Post #2692
Posted 2/21/2007 6:43:56 AM
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Forum Members
Last Login: 2/21/2007 6:42:22 AM
Posts: 6, Visits: 30
Hi Joyce,

Running the .Net repair has solved the problem, we are up and running, thank you for the help.

Gareth

Post #2818