Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Interop / December 2004

Tip: Looking for answers? Try searching our database.

calling .NET dll works from vbs but not from classic asp on windows server 2003

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
ctrager@yahoo.com - 11 Dec 2004 04:10 GMT
I go through the following steps which work on my development machine,
but not on the production web server.

I create a simple hello world style C# dll.
I put it in my system32 folder
I run regasm.exe on it.

I can then invoke it from a vbs script.
I can also invoke it from an old fashioned asp page.

Ok, I do the same steps on the production web server.
I can still invoke the dll from the vbs script, but createobject fails
in the asp page.

My machine is windows xp professional.   The prod server is Windows
Server 2003.
I tried giving "Everyone" all permissions on the dll I created.    That
didn't help.   What should I do?   Thanks in advance.
ctrager@yahoo.com - 11 Dec 2004 05:21 GMT
I used file monitor from www.sysinternals.com and saw that my dll was
being looked for in the inetsrv folder when it was being invoked from
the asp page.    So I moved it there and things worked.

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.