Results 1 to 5 of 5

Thread: setting up iis to host my remote .dlls

  1. #1

    Thread Starter
    Member Husko's Avatar
    Join Date
    Nov 2004
    Location
    Michigan
    Posts
    55

    setting up iis to host my remote .dlls

    Hi. i have two dlls to be hosted by iis. I can set up IIS to host them within Visual Studio but I would really like to know how to do this with out the help of the IDE. i've done some searching on the net and most of what i've found is way off topic. I just want to know what i need to do after creating the virtual directory and putting the 2 .dlls and 1 web.config in the directory.

    Any help or links on how to do this manually will be greatly appreciated! Thanks!
    The fool doth think he is wise, but the wise man knows himself to be a fool. - William Shakespeare

  2. #2
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: setting up iis to host my remote .dlls

    can you be more specific as to what these DLLs actually are? what is their purpose? are they an IIS add-in? or a DLL for the code behind in an ASPX page? or something else?

  3. #3

    Thread Starter
    Member Husko's Avatar
    Join Date
    Nov 2004
    Location
    Michigan
    Posts
    55

    Re: setting up iis to host my remote .dlls

    Yeah, thanks.

    The two .dlls with be used via remoting soap or binary through port 80 from a windows forms app in vb.net. I think the only thing i need to know is how to register the .dlls? I'm not sure

    here is what my web.config file looks like. and all this works when using the IDE, creating an empty web project and creating it from there, but i'd like to know the steps required to bring the .dlls and webconfig file to a different machine and set it up with out the help of the vs .net IDE.
    Code:
      <system.runtime.remoting>
    	<application>
    		<service>
    			<wellknown mode="Singleton"
    						objectUri="remotetestdll1.rem"
    						type="BusinessTier.blogic,bcom" />
    						
    						<wellknown mode="Singleton"
    						objectUri="remotetestdll2.rem"
    						type="BusinessTier.FinLog,fin1" />
    
              <serverProviders>
                <formatter ref="binary" />
              </serverProviders>
    		</service>
    The fool doth think he is wise, but the wise man knows himself to be a fool. - William Shakespeare

  4. #4
    Frenzied Member ntg's Avatar
    Join Date
    Sep 2004
    Posts
    1,449

    Re: setting up iis to host my remote .dlls

    You would need to create a directory under wwwroot, copy the dlls into a bin subdirectory, copy web.config and create an application name for the new directory. You can do all of this using a batch file - search the forums because I think that recently someone posted the batch commands necessary to create an application for a virtual directory.

    Cheers,
    NTG
    "Feel the force...read the source..."
    Utilities: POPFileDebugViewProcess ExplorerWiresharkKeePassUltraVNCPic2Ascii
    .Net tools & open source: DotNetNukelog4NetCLRProfiler
    My open source projects: Thales SimulatorEFT CalculatorSystem Info ReporterVSS2SVNIBAN Functions
    Customer quote: "If the server has a RAID array, why should we bother with backups?"
    Programmer quote: "I never comment my code. Something that is hard to write should be impossible to comprehend."
    Ignorant quote: "I have no respect for universities, as they teach not practicle stuff, and charge money for"

  5. #5

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