Previous Next

Thread: How can we use third party dll in web service

Last post 06-20-2008 1:52 AM by rk_ff. 5 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (6 items)

Sort Posts:

  • 06-19-2008, 8:27 AM

    • rk_ff
    • Not Ranked
    • Joined on 06-19-2008, 8:16 AM
    • Posts 4
    • rk_ff

    How can we use third party dll in web service

    I am very new to this field.

    I have made a webservice which uses third party dll. to get some price update.

    I have added the dll by Add Reference option.

    It is not working when I put it website under c:\inetpub\wwwroot\WebSite folder. But when I put the website folder on desktop or somewhere else then it is working fine.

    Now I dont know what is the problem.

    any help will be very appreciated...........

    Thanks in advance.

    rajeev

  • 06-19-2008, 8:30 AM In reply to

    Re: How can we use third party dll in web service

    If it works anywhere, IIS isn't the issue.  My first guess is permissions, but it would help to know what "not working" really means.  And why didn't you ask the DLL creator for help? That seems the logical place to start.

    Jeff

    Look for Wrox's new book Professional IIS 7 in your local bookstore, or order now at Amazon.com
  • 06-19-2008, 9:29 AM In reply to

    • rk_ff
    • Not Ranked
    • Joined on 06-19-2008, 8:16 AM
    • Posts 4
    • rk_ff

    Re: How can we use third party dll in web service

    Hi Jeff,

    Thanks for your prompt reply.

    Actually there is a price server, which shows the prices for a contract ( e.g. any equity).

    Prices changes very frequently on the server. I have made a library in C# to wrap the update events for price server. When any price changes , the price update event is fired and we can get the latest price.

    Now I have used this library (dll) in my web service program and creatred a object of that library. which is then passed  to the library functions to fire the update events. When I run the web service, the price update event is not fired (I guess) because I dont get the price. But when I run the web service in the folder other then IIS , it show the correct price.

    It would be very helpful if u can suggest any solution .

    Thanks

    rakeev

     

    But in the webservice program in C# which uses the price server APIs. Th
  • 06-19-2008, 10:26 AM In reply to

    • rk_ff
    • Not Ranked
    • Joined on 06-19-2008, 8:16 AM
    • Posts 4
    • rk_ff

    Re: How can we use third party dll in web service

    Hi Jeff,

    I am really sorry but I did not get your question.

    I am using Price server APIs in the web service program

    if you wanted to ask something else then please let me know...

    thanks

     

  • 06-19-2008, 10:43 AM In reply to

    • tomkmvp
    • Top 10 Contributor
    • Joined on 03-20-2003, 10:27 AM
    • Lawrenceville, NJ
    • Posts 3,540
    • IIS MVPs
    • tomkmvp

    Re: How can we use third party dll in web service

    Are there any hard coded paths in your code?

  • 06-20-2008, 1:52 AM In reply to

    • rk_ff
    • Not Ranked
    • Joined on 06-19-2008, 8:16 AM
    • Posts 4
    • rk_ff

    Re: How can we use third party dll in web service

    I dont have any hard coded path in the code...

    I only used the Price server APIs and a C# library in the web service program

    can u suggest something.

Page 1 of 1 (6 items)
Page view counter