Project works frm VS.Net 2003 & not working whn install setup in v

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • =?Utf-8?B?Vi5DaG9ja2FsaW5nYW0u?=

    #1

    Project works frm VS.Net 2003 & not working whn install setup in v

    IDE : VS .NET 2003,
    Platform : .NET 2.0,

    Hi All,

    I have my project in VS.Net 2003 (VB.Net). The OS is Vista Ultimate.
    In a form's Button_Click() event i call a dll which calls another dll and
    returns a DataTable .
    The purpose of these dll's are 1. to open a excel file and fetch values 2.
    process fetched values and return a DataTable.
    When I run project from VB.Net 2003, the project runs fine without any
    problem in Vista Ultimate and XP.
    I create a setup for my project in Vista and installed in XP, it works fine.
    But when i install the same setup in same machine (Vista), its getting
    installed but this particular Button_Click which calls the dll's gives the
    error "Object reference not set to an instance of an object."

    It works when we run in the project from Visual Studio .Net 2003 and not
    working when we install the application in Vista.
    Thanks for any help.

    Thanks,
    V.Chock
  • kimiraikkonen

    #2
    Re: Project works frm VS.Net 2003 & not working whn install setup inv

    On Mar 4, 1:58 pm, V.Chockalingam.
    <V.Chockaling.. .@discussions.m icrosoft.comwro te:
    IDE : VS .NET 2003,
    Platform : .NET 2.0,
    >
    Hi All,
    >
    I have my project in VS.Net 2003 (VB.Net). The OS is Vista Ultimate.
    In a form's Button_Click() event i call a dll which calls another dll and
    returns a DataTable .
    The purpose of these dll's are 1. to open a excel file and fetch values 2.
    process fetched values and return a DataTable.
    When I run project from VB.Net 2003, the project runs fine without any
    problem in Vista Ultimate and XP.
    I create a setup for my project in Vista and installed in XP, it works fine.
    But when i install the same setup in same machine (Vista), its getting
    installed but this particular Button_Click which calls the dll's gives the
    error "Object reference not set to an instance of an object."
    >
    It works when we run in the project from Visual Studio .Net 2003 and not
    working when we install the application in Vista.
    Thanks for any help.
    >
    Thanks,
    V.Chock
    I think that might occur because one of (or more) your DLLs are not
    available or registered in Vista. I recommend you to regsvr32 all the
    DLLs and place them to their correct locations.

    Comment

    • Chocks

      #3
      Re: Project works frm VS.Net 2003 &amp; not working whn install setup inv

      Hi,

      First i went to command line and went to C:\Program Files\vstech\Sa ngh
      \. This is the place where the DLL is located after the application is
      installed.
      I tried to register with the following 2 ways.

      C:\Program Files\vstech\Sa nghregsvr32 SanghEngine.DLL
      C:\Program Files\vstech\Sa nghregsvr32 /i:[cmdline] SanghEngine.DLL

      but i get the same 2 line error for both the statement as follows

      The module "SanghEngine.DL L" was loaded but the entry-point
      DLLRegisterServ er was
      not found.
      Make sure that "SanghEngine.DL L" is a valid DLL or OCX file and then
      try again.


      For Your Information. I have the same DLL in my project and when i am
      running the project, the same ButtonClick works fine for me. But after
      i create the setup and installed, buttonclick is not working in the
      application. Thans for your support.

      Thanks,
      V.Chock.


      On Mar 5, 12:19 am, kimiraikkonen <kimiraikkone.. .@gmail.comwrot e:
      On Mar 4, 1:58 pm, V.Chockalingam.
      >
      >
      >
      >
      >
      <V.Chockaling.. .@discussions.m icrosoft.comwro te:
      IDE : VS .NET 2003,
      Platform : .NET 2.0,
      >
      Hi All,
      >
      I have my project in VS.Net 2003 (VB.Net). The OS is Vista Ultimate.
      In a form's Button_Click() event i call a dll which calls another dll and
      returns a DataTable .
      The purpose of these dll's are 1. to open a excel file and fetch values 2.
      process fetched values and return a DataTable.
      When I run project from VB.Net 2003, the project runs fine without any
      problem in Vista Ultimate and XP.
      I create a setup for my project in Vista and installed in XP, it works fine.
      But when i install the same setup in same machine (Vista), its getting
      installed but this particular Button_Click which calls the dll's gives the
      error "Object reference not set to an instance of an object."
      >
      It works when we run in the project from Visual Studio .Net 2003 and not
      working when we install the application in Vista.
      Thanks for any help.
      >
      Thanks,
      V.Chock
      >
      I think that might occur because one of (or more) your DLLs are not
      available or registered in Vista. I recommend you to regsvr32 all the
      DLLs and place them to their correct locations.- Hide quoted text -
      >
      - Show quoted text -

      Comment

      Working...