Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Want to run dll through server(IIS)

Want to run dll through server(IIS)

Scheduled Pinned Locked Moved C#
csharpsysadminwindows-adminquestion
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Member 3669889
    wrote on last edited by
    #1

    Hi, I am using one c# dll.I want to use it or say register it. But when I run my site thru iis ,it is not reading my dll functionality. I think i have register my dll. I followed following step : 1. Made rdkey.snk in my bin folder 2.Registered my dll through gacutil .In commmand prompt it say successfully registered though dll do not get copied in assembly folder. where I am wrong ? Can someone repeat the steps involve to register dll? Thanks.

    C 1 Reply Last reply
    0
    • M Member 3669889

      Hi, I am using one c# dll.I want to use it or say register it. But when I run my site thru iis ,it is not reading my dll functionality. I think i have register my dll. I followed following step : 1. Made rdkey.snk in my bin folder 2.Registered my dll through gacutil .In commmand prompt it say successfully registered though dll do not get copied in assembly folder. where I am wrong ? Can someone repeat the steps involve to register dll? Thanks.

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Member 3669889 wrote:

      where I am wrong ?

      I have no idea, as I really don't know what you are actually trying to achieve. What is it that you are trying to do? And I mean at a higher level because you have obviously got your self stuck thinking at too low a level.

      *Developer Day Scotland - Free community conference *Colin Angus Mackay's Blog *Latest Scottish Developers Newsletter


      Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Remember that the force of gravity can go up as well as down.

      M 1 Reply Last reply
      0
      • C Colin Angus Mackay

        Member 3669889 wrote:

        where I am wrong ?

        I have no idea, as I really don't know what you are actually trying to achieve. What is it that you are trying to do? And I mean at a higher level because you have obviously got your self stuck thinking at too low a level.

        *Developer Day Scotland - Free community conference *Colin Angus Mackay's Blog *Latest Scottish Developers Newsletter


        Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Remember that the force of gravity can go up as well as down.

        M Offline
        M Offline
        Member 3669889
        wrote on last edited by
        #3

        Hi, See,I have a dll that I am using in my web application(asp.net 2.0). It is working ok in localhost but its not function in iis server. I want it to function from iis server too. What should i do ? Can someone repeat all those step involve? I have tried following steps: 1.my working folder is in d:\web1 2. i am publishng my project in c:\inetpub\wwwroot\test. 3.my iis\Home Directory\ is directed to this test folder. Before this: i) made rdkey.snk in d:\web1\bin ii) through property page ,selecting rdkey.snk but still its not working. What should I do ? Thanks

        C 1 Reply Last reply
        0
        • M Member 3669889

          Hi, See,I have a dll that I am using in my web application(asp.net 2.0). It is working ok in localhost but its not function in iis server. I want it to function from iis server too. What should i do ? Can someone repeat all those step involve? I have tried following steps: 1.my working folder is in d:\web1 2. i am publishng my project in c:\inetpub\wwwroot\test. 3.my iis\Home Directory\ is directed to this test folder. Before this: i) made rdkey.snk in d:\web1\bin ii) through property page ,selecting rdkey.snk but still its not working. What should I do ? Thanks

          C Offline
          C Offline
          Colin Angus Mackay
          wrote on last edited by
          #4

          Member 3669889 wrote:

          It is working ok in localhost but its not function in iis server.

          Do you mean you added a reference to an assembly in your project and it works okay through the Visual Studio web server, but not when you upload the site to IIS? Also, how exactly does it "not function in [the] IIS server"? Does it give an error message?

          Member 3669889 wrote:

          my iis\Home Directory\ is directed to this test folder.

          What does that mean?

          *Developer Day Scotland - Free community conference *Colin Angus Mackay's Blog *Latest Scottish Developers Newsletter


          Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Remember that the force of gravity can go up as well as down.

          M 1 Reply Last reply
          0
          • C Colin Angus Mackay

            Member 3669889 wrote:

            It is working ok in localhost but its not function in iis server.

            Do you mean you added a reference to an assembly in your project and it works okay through the Visual Studio web server, but not when you upload the site to IIS? Also, how exactly does it "not function in [the] IIS server"? Does it give an error message?

            Member 3669889 wrote:

            my iis\Home Directory\ is directed to this test folder.

            What does that mean?

            *Developer Day Scotland - Free community conference *Colin Angus Mackay's Blog *Latest Scottish Developers Newsletter


            Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Remember that the force of gravity can go up as well as down.

            M Offline
            M Offline
            Member 3669889
            wrote on last edited by
            #5

            Hi, Yes it throw error."Woking access to the dll is denied",something like this.My IIS pick the publish folder.hope I am clear.

            C 1 Reply Last reply
            0
            • M Member 3669889

              Hi, Yes it throw error."Woking access to the dll is denied",something like this.My IIS pick the publish folder.hope I am clear.

              C Offline
              C Offline
              Colin Angus Mackay
              wrote on last edited by
              #6

              Member 3669889 wrote:

              something like this

              If you get the exact error message you can do a search for it. As it is, "Woking" is a place in the south east of England near London. Anyway, it sounds like a permissions problem. You have to ensure that all the files are accessible from the user account that your web application is running as. This will often be IUSR_.... But you can check that in IIS.

              *Developer Day Scotland - Free community conference *Colin Angus Mackay's Blog *Latest Scottish Developers Newsletter


              Vogon Building and Loan advise that your planet is at risk if you do not keep up repayments on any mortgage secured upon it. Remember that the force of gravity can go up as well as down.

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups