Results 1 to 11 of 11

Thread: dll deployment

  1. #1

    Thread Starter
    Addicted Member jewel's Avatar
    Join Date
    Jul 2003
    Location
    truly asia
    Posts
    153

    dll deployment

    Hi,

    I created a class library and referenced it in my web application, it works fine on my localhost development machine but when I put in the server or different host pc then it doesn't work...has anyone experienced the same? or knows how to solve it? what's GAC? does it have anything to do abou it...


    thanks,

    jewel
    xoxo

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: dll deployment

    Where are you putting it on the host pc? How are you deploying your web application in the first place?

  3. #3

    Thread Starter
    Addicted Member jewel's Avatar
    Join Date
    Jul 2003
    Location
    truly asia
    Posts
    153

    Re: dll deployment

    Quote Originally Posted by mendhak
    Where are you putting it on the host pc? How are you deploying your web application in the first place?
    Im not sure if i used the right term...anyway...what I did is I just copied the dll and .aspx on the same directory in the IIS home directory...

    thanks,
    jewel
    xoxo

  4. #4
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    Re: dll deployment

    Is the aspx page compiling ok? Maybe you need to register .net in IIS.
    Make sure your classid for your <object> is still pointing to the correct folder.

    GAC = Global Assembly Cache
    http://www.123aspx.com/redir.aspx?res=31841
    TPM

    Add yourself to the VBForums Frappr Map!!

  5. #5

    Thread Starter
    Addicted Member jewel's Avatar
    Join Date
    Jul 2003
    Location
    truly asia
    Posts
    153

    Re: dll deployment

    other aspx are compiling ok... .NEt is working in IIS, for the class is this correct?
    Code:
    <object id="simpleControl1" classid="TrialControl.dll#TrialControl.SimpleControl" name="SimpleControl1"
    the dll is in the same directory as the aspx file...


    thanks,
    Jewel
    xoxo

  6. #6
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    Re: dll deployment

    Usually I use the full Dir. Maybe that'll fix it.
    TPM

    Add yourself to the VBForums Frappr Map!!

  7. #7

    Thread Starter
    Addicted Member jewel's Avatar
    Join Date
    Jul 2003
    Location
    truly asia
    Posts
    153

    Re: dll deployment

    hmm will try...but it why is that it works on my localhost pc?
    xoxo

  8. #8
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    Re: dll deployment

    Good queestion....

    Is it in a sub folder on the server? Maybe it's looking to the root for the file...
    TPM

    Add yourself to the VBForums Frappr Map!!

  9. #9

    Thread Starter
    Addicted Member jewel's Avatar
    Join Date
    Jul 2003
    Location
    truly asia
    Posts
    153

    Re: dll deployment

    yes sub folder in the IIS root...
    xoxo

  10. #10
    Fanatic Member -TPM-'s Avatar
    Join Date
    Jul 2005
    Posts
    850

    Re: dll deployment

    That maybe why then... Let me know.
    TPM

    Add yourself to the VBForums Frappr Map!!

  11. #11
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: dll deployment

    Create a virtual directory on your web host, copy your app over to that.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width