Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > File or assembly name or one of its dependencies, was not found...

Reply
Thread Tools

File or assembly name or one of its dependencies, was not found...

 
 
Rudolf Dvoracek
Guest
Posts: n/a
 
      01-02-2008
Hi,

we have some web solutions still running on old ASP 3.0 Platform. So I
created .NET component in c# with COM interoperability and registered it on
server. But when i try to create a new instance in asp page, server show
following message:


File or assembly name HPTronic.Advertise, or one of its dependencies, was
not found.


Operations with this component goes at my machine without any warning
messages or errors, I can create new instances, access to their properties
and methods, so I mean here should be problem with user-access rights to
some directories on deployment machine. HPTronic.Advertise.dll file is placed
in same directory, where are other dll files, which we use as ActiveX objects
too.


Thank you for any valuable advice,

Rudolf Dvořáček.
 
Reply With Quote
 
 
 
 
Bob Barrows [MVP]
Guest
Posts: n/a
 
      01-02-2008
Rudolf Dvoracek wrote:
> Hi,
>
> we have some web solutions still running on old ASP 3.0 Platform. So
> I created .NET component in c# with COM interoperability and
> registered it on server. But when i try to create a new instance in
> asp page, server show following message:
>
>
> File or assembly name HPTronic.Advertise, or one of its dependencies,
> was not found.
>

You will probably be better off posting to a .Net group such as
microsoft.public.dotnet.framework.aspnet or the forums at www.asp.net.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


 
Reply With Quote
 
 
 
 
Rudolf Dvoracek
Guest
Posts: n/a
 
      01-02-2008
I writed this post here, because forum moderator Feng Chen told me that in
that topic:

http://forums.microsoft.com/MSDN/sho...77220&siteid=1

"Bob Barrows [MVP]" wrote:

> Rudolf Dvoracek wrote:
> > Hi,
> >
> > we have some web solutions still running on old ASP 3.0 Platform. So
> > I created .NET component in c# with COM interoperability and
> > registered it on server. But when i try to create a new instance in
> > asp page, server show following message:
> >
> >
> > File or assembly name HPTronic.Advertise, or one of its dependencies,
> > was not found.
> >

> You will probably be better off posting to a .Net group such as
> microsoft.public.dotnet.framework.aspnet or the forums at www.asp.net.
>
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
>
>
>

 
Reply With Quote
 
Bob Barrows [MVP]
Guest
Posts: n/a
 
      01-02-2008
1. You didn't give us the same information you provided there.
2. I don't use Interop so I can only guess: my guess is that it's probably a
permissions issue. Don't forget that IIS runs processes under the contexts
of the IUSR_Machinename and IWAM_machinename accounts, so these are the
accounts that need the required permissions for this assembly.

If this is not helpful, I strongly suggest you go to one of the groups I
suggested.

Rudolf Dvoracek wrote:
> I writed this post here, because forum moderator Feng Chen told me
> that in that topic:
>
> http://forums.microsoft.com/MSDN/sho...77220&siteid=1
>
> "Bob Barrows [MVP]" wrote:
>
>> Rudolf Dvoracek wrote:
>>> Hi,
>>>
>>> we have some web solutions still running on old ASP 3.0 Platform.
>>> So I created .NET component in c# with COM interoperability and
>>> registered it on server. But when i try to create a new instance in
>>> asp page, server show following message:
>>>
>>>
>>> File or assembly name HPTronic.Advertise, or one of its
>>> dependencies, was not found.
>>>

>> You will probably be better off posting to a .Net group such as
>> microsoft.public.dotnet.framework.aspnet or the forums at
>> www.asp.net.
>>
>> --
>> Microsoft MVP - ASP/ASP.NET
>> Please reply to the newsgroup. This email account is my spam trap so
>> I don't check it very often. If you must reply off-line, then remove
>> the "NO SPAM"


--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


 
Reply With Quote
 
Rudolf Dvoracek
Guest
Posts: n/a
 
      01-02-2008
IIS processes runs under different accounts. We have set of accounts, each
for some applications pool. These accounts are Domain accounts. Both ASP 3.0
and ASP.NET processes runs under these account smoothly except this issue
with COM object running as MSIL.

So, thanks for your post.

Rudolf Dvoracek.

"Bob Barrows [MVP]" wrote:

> 1. You didn't give us the same information you provided there.
> 2. I don't use Interop so I can only guess: my guess is that it's probably a
> permissions issue. Don't forget that IIS runs processes under the contexts
> of the IUSR_Machinename and IWAM_machinename accounts, so these are the
> accounts that need the required permissions for this assembly.
>
> If this is not helpful, I strongly suggest you go to one of the groups I
> suggested.
>
> Rudolf Dvoracek wrote:
> > I writed this post here, because forum moderator Feng Chen told me
> > that in that topic:
> >
> > http://forums.microsoft.com/MSDN/sho...77220&siteid=1
> >
> > "Bob Barrows [MVP]" wrote:
> >
> >> Rudolf Dvoracek wrote:
> >>> Hi,
> >>>
> >>> we have some web solutions still running on old ASP 3.0 Platform.
> >>> So I created .NET component in c# with COM interoperability and
> >>> registered it on server. But when i try to create a new instance in
> >>> asp page, server show following message:
> >>>
> >>>
> >>> File or assembly name HPTronic.Advertise, or one of its
> >>> dependencies, was not found.
> >>>
> >> You will probably be better off posting to a .Net group such as
> >> microsoft.public.dotnet.framework.aspnet or the forums at
> >> www.asp.net.
> >>
> >> --
> >> Microsoft MVP - ASP/ASP.NET
> >> Please reply to the newsgroup. This email account is my spam trap so
> >> I don't check it very often. If you must reply off-line, then remove
> >> the "NO SPAM"

>
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
>
>
>

 
Reply With Quote
 
Rudolf Dvoracek
Guest
Posts: n/a
 
      01-02-2008
We runs these processes configured as application pools under domain
accounts. Both ASP 3.0 and ASP.NET processes runs smoothly except this one
issue with COM object running as MSIL. Thank you for your information.

Rudolf Dvoracek

"Bob Barrows [MVP]" wrote:

> 1. You didn't give us the same information you provided there.
> 2. I don't use Interop so I can only guess: my guess is that it's probably a
> permissions issue. Don't forget that IIS runs processes under the contexts
> of the IUSR_Machinename and IWAM_machinename accounts, so these are the
> accounts that need the required permissions for this assembly.
>
> If this is not helpful, I strongly suggest you go to one of the groups I
> suggested.
>
> Rudolf Dvoracek wrote:
> > I writed this post here, because forum moderator Feng Chen told me
> > that in that topic:
> >
> > http://forums.microsoft.com/MSDN/sho...77220&siteid=1
> >
> > "Bob Barrows [MVP]" wrote:
> >
> >> Rudolf Dvoracek wrote:
> >>> Hi,
> >>>
> >>> we have some web solutions still running on old ASP 3.0 Platform.
> >>> So I created .NET component in c# with COM interoperability and
> >>> registered it on server. But when i try to create a new instance in
> >>> asp page, server show following message:
> >>>
> >>>
> >>> File or assembly name HPTronic.Advertise, or one of its
> >>> dependencies, was not found.
> >>>
> >> You will probably be better off posting to a .Net group such as
> >> microsoft.public.dotnet.framework.aspnet or the forums at
> >> www.asp.net.
> >>
> >> --
> >> Microsoft MVP - ASP/ASP.NET
> >> Please reply to the newsgroup. This email account is my spam trap so
> >> I don't check it very often. If you must reply off-line, then remove
> >> the "NO SPAM"

>
> --
> Microsoft MVP - ASP/ASP.NET
> Please reply to the newsgroup. This email account is my spam trap so I
> don't check it very often. If you must reply off-line, then remove the
> "NO SPAM"
>
>
>

 
Reply With Quote
 
Bob Barrows [MVP]
Guest
Posts: n/a
 
      01-02-2008
Rudolf Dvoracek wrote:
> Hi,
>
> we have some web solutions still running on old ASP 3.0 Platform. So
> I created .NET component in c# with COM interoperability and
> registered it on server.


You may want to consider creating a web service for this instead of using
the .Net dll directly.

http://www.4guysfromrolla.com/webtech/070302-1.shtml
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File or assembly name or one of its dependencies, was not found. jlea ASP .Net 3 10-04-2004 10:16 PM
System.IO.FileNotFoundException: File or assembly name xlq0jgak.dll, or one of its dependencies, was not found. Martinh ASP .Net 0 08-15-2004 04:30 PM
File or assembly name System, or one of its dependencies, was not found. aallee83 ASP .Net 2 05-26-2004 07:16 AM
File or assembly name "yufnisoc.dll", or one of its dependencies, was not found. D.C. ASP .Net 0 11-04-2003 10:07 PM
Strange, Illogical ASP.NET Bug: "File or assembly name, or one of its dependencies not found" Philipp Schumann ASP .Net 2 10-25-2003 05:05 PM



Advertisments