Are you sure that the problem is with CF? Perhaps your .net connector is
not configured.

 

Open the jnbproxy.exe.config file under wherever your connector service
is installed (eg. C:\ColdFusion8DotNetService).

 

You *need* to have the supported runtimes listed, ie this the
jnbproxy.exe.config on my comp:

 

<?xml version="1.0"?>

<configuration>

            <startup>

                        <supportedRuntime version="v2.0.50727"/>

                        <supportedRuntime version="v2.0.50215"/>

                        <supportedRuntime version="v1.1.4322"/>

                        <supportedRuntime version="v1.0.3705"/>

                        <requiredRuntime version="v1.0.3705"/>

</startup>

...

<configuration>

 

When I access System.Environment.Version I am getting v2.0.50727.1433

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of CyberAngel
Sent: Friday, 18 April 2008 12:28 PM
To: [email protected]
Subject: [cfaussie] Re: .net and coldfusion 8u1

 

Charlie,

 

Read it in its context, maybe should have chose my words better. I meant
that on that server, no .Net 2.0 assemblies will run on Coldfusion. 

 

Charlie, I posted that code in my last post that's how I know the server
is using .Net 1.1 and is not using the .Net 3.5.

 

 

Ok for fuck sake let me be very blunt here Charlie.

 

1)      I first posted with it only sees .Net 2.0 on one machine, and it
will NOT run .Net 3.5 assemblies.

2)      Another machine only ever sees .Net 1.1, so it WILL NOT run .Net
2.0 assemblies.

 

Do you not keep up with the conversation?

 

When you have reread my posts, then maybe you can come back and help me
out. Till then I did not say Coldfusion could not run .Net 2.0
assemblies. I first stated it would not run .Net 3.5 assemblies. On
another machine it will not run .Net 2.0 assemblies because it only sees
it having .Net 1.1 and NOT .Net 3.5

 

How much clearer do I need to make it?

 

And you wonder why I lose my temper with people for god sake.

 

 

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of charlie arehart
Sent: Friday, 18 April 2008 4:40 AM
To: [email protected]
Subject: [cfaussie] Re: .net and coldfusion 8u1

 

Andrew, I understand your frustration. I've not done enough work with
the CF/.NET integration to recognize your problem, but I'm not sure you
want to conclude, "So no .net assemblies 2.0 and up will ever work in
Coldfusion.", or at least you don't want to assert that that's the case
for everyone. Surely we'd have heard more of a hue and cry from the
community if that were so.

 

In fact, the CF docs offer an example (in the .NET integration section)
that says it's using a .NET 2.0 class. I've tried it myself (the first
piece of code) and it worked. What do you find?

 

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=dotNet
_07.html

 

Also, the last example on this page also says it's using a .NET 2.0 only
class:

 

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=dotNet
_07.html

 

How does that work for you? It worked fine for me. If they work, then
clearly (if the docs are to be believed), you can call .NET 2.0 classes.


 

As for why your call to that system.environment class reported 1.1, I
can't say, but I can say that there could be a lot of possible
explanations for what you're seeing (if the above work), from my
experience working with .NET a couple of years ago. Things aren't quite
always what they seem.

 

Hope that's helpful. If you continue to experience frustration, how
about bringing this up on the Adobe CF forums (advanced techniques or
general discussion). There are often people there who have had the same
experiences, and who may be able to point you in a better direction to
solve the challenge.

 

/charlie

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Andrew Scott
Sent: Wednesday, April 16, 2008 8:23 PM
To: [email protected]
Subject: [cfaussie] Re: .net and coldfusion 8u1

 

Ok here is something even worse.

 

<cfobject type=".NET" name="seClass" class="System.Environment">

<cfoutput>#seClass.Get_Version().ToString()#</cfoutput>

 

I ran this on a server here, and got 1.1.4322.2407:-)

 

Yet I know for a fact that this server is not only running 1.1, but it
has 2.0sp1, 3.0sp1 and 3.5

 

So no .net assemblies 2.0 and up will ever work in Coldfusion. I removed
the .Net integration services and reinstalled, again the install script
only picks up that I have 1.1

 

Should I be loosing my hair about now?

 

 

 

Andrew Scott
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613  9015 8628
Mobile: 0404 998 273

 

 

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of charlie arehart
Sent: Thursday, 17 April 2008 1:12 AM
To: [email protected]
Subject: [cfaussie] Re: .net and coldfusion 8u1

 

Good catch, Andrew. As for "something that can fix", it seems worth
noting that the .NET integration is indeed separately installed from CF,
so it seems you don't need to reinstall all of CF. Can't tell if you
already knew that, so sorry if it's not the useful info you were looking
for. You mention having looked at some "notes at Adobe". Can't tell,
also, if you're saying you saw the page on this in the livedocs:

 

http://livedocs.adobe.com/coldfusion/8/htmldocs/help.html?content=othert
echnologies_10.html

 

It explains how you should be able to uninstall just the .NET service,
though it refers to it as the "Adobe Scorpio .NET Service". I just filed
a comment pointing that out. Also, even though I DID have the .NET
service installed and running, I did NOT see any listing of the feature
in the add/remove programs feature in Control Panel (now called
"programs and features" in Vista). I tried to use the uninstall option
for CF8 itself, hoping it might offer it as an option perhaps, but
instead it did indeed just uninstall all of CF. Doh! I mentioned all
that in the comment as well (which won't likely be there if one looks in
the next few hours after I write this).

 

But I did just notice (too late for me) that the bottom of the page also
lists a specific uninstaller exe. Have you tried those yet, Andrew? It
seems it may be pretty straightforward doing the uninstall/reinstall.
Let us know how that goes for you.

 

/charlie

 

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of CyberAngel
Sent: Wednesday, April 16, 2008 5:42 AM
To: [email protected]
Subject: [cfaussie] .net and coldfusion 8u1

 

Ok I am going to say this applies to update 1 of coldfusion at the
moment, but may apply to Coldfusion 8 as well.

 

I have .Net 3.5 installed on my machine at the moment, and trying to get
a class library to run in Coldfusion 8. However Coldfusion only wants to
see that I have .Net V2.0 installed and ignores the fact that I have
both 3.0 and 3.5 installed.

 

I have this class library that works on the server at work, but will not
work on this machine. I assumed it is because it is being compiled to
.Net 3.5 and adjusted it to compile to .Net 2.0 with no success.

 

After reading some notes at adobe, it says that if a new version of .Net
runtime is installed you need to reinstall the Coldfusion .Net
integrated service. Yet it only picks up that the system is running .Net
2.0;-)

 

So does anyone have any experience or KB's or anything that may point to
something that can fix or help here?

 

Andrew.

 

 

 


style='font-size:12.0pt;font-family:"Times New Roman","serif"'>

 

 

 


style='font-size:12.0pt;font-family:"Times New Roman","serif"'>

 





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to