kmount
|
| Joined: 14 Jan 2008 |
| Total Posts: 6 |
| |
|
Unable to load as_eng6.dll Posted: 14 Jan 2008 07:45 PM |
I continue to get an error when trying to execute the asnetsdk_tests code as well as rying to build my own application. I am simply looking for a C#.Net sample that can read an .ask file and show the contents in a text box. So far I am having a difficult time with this?
Any insight on why I get this "Unable to load as_eng6.dll" is greatly appreciated. A C# snippet would be of good use too. |
|
|
 |
|
paul
|
 |
| Joined: 07 Jan 2004 |
| Total Posts: 499 |
| |
|
Re: Unable to load as_eng6.dll Posted: 25 Jan 2008 12:03 PM |
Did you copy the as_eng6.dll file into the bin folder?
There are some sample apps at
http://developer.asksam.com/sampleapps.asp
You may want to look at those too.. |
|
|
 |
|
mehulp
|
| Joined: 24 Jul 2009 |
| Total Posts: 2 |
| |
|
Re: Unable to load as_eng6.dll Posted: 24 Jul 2009 09:52 PM |
I am using VS.NET 2008 (.NET framework 3.5) to compile the consoleTestSuite project. I am seeing the same error:
Unable to load DLL 'as_eng6.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)
I have added the 3 dlls in all directories I can possibly think of. Any suggestions?
-Mehul |
|
|
 |
|
mehulp
|
| Joined: 24 Jul 2009 |
| Total Posts: 2 |
| |
|
Re: Unable to load as_eng6.dll Posted: 24 Jul 2009 10:30 PM |
I figured out the problem at my end using the below suggestion found on asp.net:
----------------------------------------
You need to figure out which managed dll, native dll and lib files are referenced by your application (directly or indirectly).
For managed dll, make sure they are in the web's bin folder.
For native dll and .lib files, check out whether those .dll and .lib files are in the PATH. If not, you can either copy them to there; or, you can put them into a folder and add that folder into the PATH. Then restart VS and IIS (command "iisreset") to make sure the setting is picked up.
By the way, putting all of the files in the web's bin folder won't help. The reason is CLR copies the files into a temporary folder under framework directory and run the web there, but CLR only copies away managed dll (not the native ones), so you still get "module not found" error.
----------------------------------------- |
|
|
 |
|