IIS 5 & IIS 6
How can we use third party dll in web service
Last post Jun 20, 2008 01:52 AM by rk_ff
Jun 19, 2008 08:27 AM|rk_ff|LINK
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.
Jun 19, 2008 08:30 AMemail@example.com|LINK
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.
Jun 19, 2008 09:29 AM|rk_ff|LINK
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 .
Jun 19, 2008 10:26 AM|rk_ff|LINK
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...
Jun 19, 2008 10:43 AM|tomkmvp|LINK
Are there any hard coded paths in your code?
Jun 20, 2008 01:52 AM|rk_ff|LINK
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.