DLL not executing on IIS7

Hi, I have added one website on IIS7 and under that I am adding virtual directory  that virtual directory folder is referncing .dll file. I have also added that .dll in IIS ISAPI AND CGI restriction setting. When I am trying to access that dll using url like http:localhost\chart\corda.dll then in stead of execution its trying to download that dll.Please help me.In IIS 6, When i was adding virtual directory then it shown me Access permission where i checked Execute as checked and it was working in IIS6 ,where I have added webextension of that dll file.But In IIS7 its not executing that dll. Please help me.
SudhanshumAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David Johnson, CD, MVPOwnerCommented:
You have to enable "Execute" permissions for your virtual directory. Go to the "Handler Mappings" setting on your virtual directory and click the "Feature Permissions" Action on the right side. Click "Execute" in the dialog

you said you did this.. so it is probably a 32 bit .dll
So you have to (a) Create a 32-bit Application Pool and then (b) Create the Application
http://www.timvasil.com/blog14/post/2007/11/23/run-a-32-bit-isapi-dll-on-64-bit-iis-7.aspx
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
SudhanshumAuthor Commented:
Thanks David.It worked.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft IIS Web Server

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.