Hi Dale

Check the error.log in the DotNetService installation folder - there may be
more detail in there to assist with trouble-shooting.

Antony


On 9/22/07, Dale Fraser <[EMAIL PROTECTED]> wrote:
>
> Yes same server.
>
> <cfobject action="create" type=".net" name="test" class="CfTest"
> assembly="Test.dll" />
>
> I put the Test.dll in the Assembly cache after it didn't work locally even
> with full path.
>
> This is as simple as I could make it. I tried it with namespace also.
>
> But both ways get the same error.
>
>    public class CfTest
>
>    {
>        public CfTest()
>        {
>        }
>
>        public int testMethod()
>        {
>            int c;
>            c = 2;
>            return c;
>        }
>
>    }
>
>
> Regards
> Dale Fraser
>
> http://learncf.com
>
>
> -----Original Message-----
> From: Antony Sideropoulos [mailto:[EMAIL PROTECTED]
> Sent: Saturday, 22 September 2007 11:13 AM
> To: CF-Talk
> Subject: Re: Simple .NET Class
>
> I'm not sure - I'm using local system on my pc and it eventually worked
> for
> me.
>
> Your dll is on the same server as CF isn't it? Is it a local drive or
> mapped?
>
> On 9/22/07, Dale Fraser <[EMAIL PROTECTED]> wrote:
> >
> > All CF services are running as Local System
> >
> > Should they be something else? Administrator?
> >
> > Regards
> > Dale Fraser
> >
> > http://learncf.com
> >
> >
> > -----Original Message-----
> > From: Antony Sideropoulos [mailto:[EMAIL PROTECTED]
> > Sent: Friday, 21 September 2007 11:04 PM
> > To: CF-Talk
> > Subject: Re: Simple .NET Class
> >
> > Dale
> >
> > Are you able to connect to standard Windows dlls?
> >
> > eg, can you run this snippet:
> >
> > <cfobject type=".NET" name="test" class="System.Environment">
> > <cfdump var="#test#">
> > <cfdump var="#test.Get_Version().ToString()#"> <!--- 2.0.50727.1318 on
> > WinXp
> > Sp2 for me; 2.0.50727.312 on vista for me --->
> >
> > also, what account are your CF services running under? permissions okay?
> >
> >
> > On 9/21/07, Dale Fraser <[EMAIL PROTECTED]> wrote:
> > >
> > > Having same problem on multiple computers.
> > >
> > > We must be missing something really obvious I think.
> > >
> > > It seems not many people have tried this.
> > >
> > > Regards
> > > Dale Fraser
> > >
> > > http://learncf.com
> > >
> > > -----Original Message-----
> > > From: Davide Campo [mailto:[EMAIL PROTECTED]
> > > Sent: Friday, 21 September 2007 1:45 AM
> > > To: CF-Talk
> > > Subject: Re: Simple .NET Class
> > >
> > > Then:
> > >
> > > - i haven't .NET stuff installed (what is it?)
> > >
> > > - i have only .net 2.0 installed
> > >
> > > - i tried to stop cf .net service, delete & paste dll, restart cf .net
> > > service,
> > > execute the sample again ---> guess what? NOTHING, same error
> > >
> > > only one word: help!
> > >
> > >
> > > tnk u all
> > >
> > >
> > >
> > >
> >
> >
> >
> >
>
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Get the answers you are looking for on the ColdFusion Labs
Forum direct from active programmers and developers.
http://www.adobe.com/cfusion/webforums/forum/categories.cfm?forumid-72&catid=648

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:289252
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to