Microsoft meant this to be a security feature so that IIS wouldnt hand out mdbs to anyone who knew/guessed the proper path/url. To disable this feature and re-allow mdbs to be served, log into the IIS Manager of the Webserver and do the following:
On the treeview, Right Click on the target website folder -> Properties
Under the "Directory" or "Virtual Directory" tab, go to "Configuration" Under the "App Mappings" tab, scroll down and find the ".mdb" extension in the list.
Click Remove. Apply and exit. Then go to Start -> Run -> cmd OR bring up the command prompt somehow, and type in "iisreset /restart" OR restart iis from the management console.
After IIS has been restarted, voila! Your website will now serve mdbs.
Ref: http://forums.asp.net/p/1022569/1393806.aspx
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment