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 / ASP.NET / General / March 2008

Tip: Looking for answers? Try searching our database.

ASP .NET dll question

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
T McDonald - 26 Mar 2008 17:53 GMT
I might be in the wrong forum for this question, as it deals with ASP and
.NET dll as opposed with strickly ASP.NET.

I've been having some issues getting a dll created with .NET 2.0 to register
on a remote machine and using the class with an ASP script. I am able to
register the dll on my local machine and access it with a standard ASP file
without too many issues.

Could somoene guide me through steps that would register a dll on a machine
where it was not built.

On my own machine I need to create a key
sn -k mykey.key
build dll
install in GAC - gacutil /i mydll.dll
then install in registry regasm /tlb mydll.dll

I try steps two and three on the remote computer. I get a response that the
assembly is registered, but the response from the web attempt fails to find
the object.

Any help is greatly appreciated.
Cowboy (Gregory A. Beamer) - 26 Mar 2008 19:32 GMT
Did you restart IIS. With traditional COM, you have to restart the process,
as an earlier attempted call will lock things up. In some instances, you
even have to restart the entire service.

Signature

Gregory A. Beamer
MVP, MCP: +I, SE, SD, DBA

Subscribe to my blog
http://gregorybeamer.spaces.live.com/lists/feed.rss

or just read it:
http://gregorybeamer.spaces.live.com/

*************************************************

| Think outside the box!

*************************************************
>I might be in the wrong forum for this question, as it deals with ASP and
> .NET dll as opposed with strickly ASP.NET.
[quoted text clipped - 23 lines]
>
> Any help is greatly appreciated.
T McDonald - 27 Mar 2008 13:15 GMT
Thanks for the response.

I did restart both. No success. I notice that when I drop my test
application I built with the dll on the remote server, it cannot find the
dll's contents either.

I've also followed MS suggestions about creating a COM from here:
http://msdn2.microsoft.com/en-us/library/x66s8zcd(VS.80).aspx without
improved results. The dll is written in VB.Net if that makes any difference.

Again, any further insight is appreciated.

> Did you restart IIS. With traditional COM, you have to restart the process,
> as an earlier attempted call will lock things up. In some instances, you
[quoted text clipped - 30 lines]
> >
> > Any help is greatly appreciated.

Rate this thread:







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.