PDA

View Full Version : dll not found


dlowther
12-11-2006, 09:17 AM
Hi Everyone,

I've successfully uploaded my website to the discountasp.net server and everything works except I get this error when loading my site:

Unable to load DLL 'mapscript': The specified module could not be found.

This DLL is not a .NET assembly - its a just a DLL (COM?) - and I made sure to put it and all its dependancies into the bin directory of my site. In fact, I copied the entire site from a working web directory on my machine.

Does anyone know what paths are being searched by default when ASP.NET tries to load the DLL? Or - anything I might have to do to make this file be found?

Thanks,

Dave Lowther

joelnet
12-11-2006, 09:53 AM
non .net dll's are not loaded by .net.



Joel Thoms
DiscountASP.NET
http://www.DiscountASP.NET

dlowther
12-12-2006, 01:08 AM
Joel,

Thanks for the reply.

If .NET doesn't load non .NET dlls then I guess I don't understand what the word is, but the exception that is thrown is:

"Unable to load DLL 'mapscript': The specified module could not be found."

Maybe I should focus on the "not be found" portion of the exception as opposed to the load? If so, is there a way to enumerate the paths searched for files?

Thanks,
Dave

dlowther
12-12-2006, 02:48 AM
Joel,





I was scanning other posts and came across this one:


"The runtime error you are getting is because the COM object is not registered on the server. hostswon't install customersCOM objects because of security issues. we are the same way."

Do you think this is my issue? I do not believe the object I am having issue with has to be registered.

Again, thanks for your help.

Dave

vvsharma
12-12-2006, 03:01 AM
yeah ,if its a COM component,it needs to be registered on DASP servers and I believe Mapscript is a COM object.

Vikram

DiscountASP.NET
www.DiscountASP.NET (http://www.discountasp.net/)

dlowther
12-12-2006, 03:05 AM
And is that something that I can do / can be done / is allowed?

vvsharma
12-12-2006, 03:16 AM
Unless the COM object is registered on DASP servers,it cannot be used and DASP doesnt allow this.

Vikram

DiscountASP.NET
www.DiscountASP.NET (http://www.discountasp.net/)

dlowther
12-12-2006, 03:23 AM
Sorry to beat a dead horse, but are you SURE this is the issue? Using this DLL is required for my site. Once again, the error says "could not be found." Is it possible that the site is copied to another directory and this DLL does not come along?

vvsharma
12-12-2006, 03:41 AM
After some research over the Mapscript object ,it seems that it needs several dll's on the DASP server and once again we dont support that,infact no shared host will support it.

Vikram

DiscountASP.NET
www.DiscountASP.NET (http://www.discountasp.net/)