Last post May 31, 2013 02:14 AM by Bowen Lee
May 29, 2013 10:13 AM|Bowen Lee|LINK
I want to import a dll in asp.net, and I have a major problem
First i want to say that this dll works fine in a windows application written in C#, and It works fine when I use the ASP.NET development server (Local machine).
But when I run the this code in Local host ( I upload it to my webserver ) ,asp.net know its Functions, but dont return anything or return wrong output adn return true output for sometimes.
Can it be something with the security rights the IIS has? or Web.config? or my way to Import?
May 29, 2013 03:29 PM|ignatandrei|LINK
but dont return anything or return wrong output adn return true output for sometimes.
So it works - kind of. Please show a simple method that returns true when it want to return false.
May 31, 2013 02:14 AM|Bowen Lee|LINK
it's permission issue, it was fixed by adding configration settings into web.config file as following:
<identity impersonate="true" userName="lcadmin" password="123" />
I created a new user account in administrators group on the server, named it as lcadmin, and put it in this setting, then it works.