v1.1 installed but not found

  • Thread starter Thread starter Geoff
  • Start date Start date
G

Geoff

When I run .Net IDE and use Help > ABout, it shows VS.NET
2003 and .Net Framework 1.1. When I try to use
ServiceConfig in a VB.net pgm, I get error 'ServiceConfig'
is not supported on the current platform'. I have tried
reinstalling the framework redistributable and then
rebooting - but no luck. Any ideas how to get .Net ide to
recognize .Net Framework 1.1?

Thanks in advance!
Geoff
 
Geoff,
Did you reference the System.Enterpriseservices assembly in the
System.Enerpriseservices.dll?

Did you import the System.EnterpriseServices namespace?

Are you running your application on Winders Server 2003?

If you check the ServiceConfig Class topic in MSDN you will see that
ServiceConfig requires .NET 1.1, which you have. It also requires the
Windows Server 2003 platform, and its found in System.Enterpriseservices
namespace & assembly.

http://msdn.microsoft.com/library/d...EnterpriseServicesServiceConfigClassTopic.asp

Hope this helps
Jay
 
Jay,
Yes, there is a reference to
C:\WINNT\Microsoft.NET\Framework\v1.1.4322
\System.EnterpriseServices.dll

Yes, the System.EnterpriseServices namespace is imported.

No, I am running Windows 2000 Professional (5.00.2195) SP
4. I checked the MSDN topic you cited, but cannot find
any requirement for Windows Server 2003. None of the
books and references that I have and can find metion that
requirements.

Does that mean that trying to run a .Net app that needs
the EnterpriseServices namespace will ONLY run on Server
2003? Doesn't that limit its usage to point of non-
viability? Is there any way around that? Shouldn't the
distribution/usage of Framework 1.1 be sufficient?

Thanks again,
Geoff
 
So to develop an application you need 2003? Dont make me laugh.


System.* should be a platform NEUTRAL namespace, anything windows goes under
Microsoft.* namespaces.
 
Geoff,
No, I am running Windows 2000 Professional (5.00.2195) SP
4. I checked the MSDN topic you cited, but cannot find
any requirement for Windows Server 2003.
Under "Requirements - Platforms" (close to the bottom of the page) it lists
the platforms that the class runs on. The only platform listed is Windows
Server 2003 family.
Does that mean that trying to run a .Net app that needs
the EnterpriseServices namespace will ONLY run on Server
2003?
No, its per class and/or per method. The ServiceConfig class indicates it is
only available on Windows Server 2003. While the
System.Enterpriseservices.ServicedComponent class indicates it is W2K, Win
XP Home, Win XP Pro, & Windows Server. Which is understandable as Win 98 &
Win ME do not have the underlying support...

Hope this helps
Jay
 
Geoff,

Jay is right, ServiceConfig needs a full implementation of COM+ 1.5, and
this is only available on W2K3, W2K has COM+ 1.0 Windows XP (not a server
style OS!) only exposes a subset of COM+ 1.5 therefore the restriction.
Willy.
 
Back
Top