File or assembly name or one of its dependencies, was not found...
File or assembly name or one of its dependencies, was not found...
am 02.01.2008 09:38:02 von RudolfDvoracek
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.
Re: File or assembly name or one of its dependencies, was not found...
am 02.01.2008 12:45:37 von reb01501
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"
Re: File or assembly name or one of its dependencies, was not foun
am 02.01.2008 13:00:01 von RudolfDvoracek
I writed this post here, because forum moderator Feng Chen told me that in
that topic:
http://forums.microsoft.com/MSDN/showpost.aspx?postid=257722 0&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"
>
>
>
Re: File or assembly name or one of its dependencies, was not foun
am 02.01.2008 13:09:31 von reb01501
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/showpost.aspx?postid=257722 0&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"
Re: File or assembly name or one of its dependencies, was not foun
am 02.01.2008 13:43:00 von RudolfDvoracek
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/showpost.aspx?postid=257722 0&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"
>
>
>
Re: File or assembly name or one of its dependencies, was not foun
am 02.01.2008 13:45:00 von RudolfDvoracek
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/showpost.aspx?postid=257722 0&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"
>
>
>
Re: File or assembly name or one of its dependencies, was not found...
am 02.01.2008 13:46:30 von reb01501
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"