473,480 Members | 1,968 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

ServiceConfig not supported on this platform - MS Press

Oh dear, Microsoft. Please if we need to contact you for
bad content in your books. Pease make it easy, I have been
sent to the same webpage at least 5 times through
different directions..
Whoever is mediating on this forum, can you make sure the
right department gives me an answer:-
MS Press 0-7356-1891-7 101 VB .Net applications. First
example, after following non clear method of loading
example databases etc. I get a ServiceConfig not supported
on this platform when running the example 101 on Chapter
1. Yes its the latest version of SQL server for developer
and the latest service pack.
Please help as the book is useless if the samples don't
work and one has spent upwards of 5 hours downloading
associated MS packages, and about 2 days double checking
against bad setup instructions.

Please help.

Many thanks

Nov 20 '05 #1
5 1220
* "Bill Dodd" <Bi******@BTConnect.com> scripsit:
Oh dear, Microsoft. Please if we need to contact you for
bad content in your books. Pease make it easy, I have been
sent to the same webpage at least 5 times through
different directions..
Whoever is mediating on this forum, can you make sure the
right department gives me an answer:-
MS Press 0-7356-1891-7 101 VB .Net applications. First
example, after following non clear method of loading
example databases etc. I get a ServiceConfig not supported
on this platform when running the example 101 on Chapter
1. Yes its the latest version of SQL server for developer
and the latest service pack.
Please help as the book is useless if the samples don't
work and one has spent upwards of 5 hours downloading
associated MS packages, and about 2 days double checking
against bad setup instructions.


Do you have a code snippet?

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #2

Private Sub btnSimpleUsage_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles btnSimpleUsage.Click
Dim config As New ServiceConfig
config.TrackingEnabled = True
config.TrackingAppName = "EntSrv"
ServiceDomain.Enter(config)
'COM+ Available here
ServiceDomain.Leave()
End Sub

pp 12++. The yellow bar and error message was on the Dim Config line

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 20 '05 #3
* Bill Dodd <bi******@btconnect.com> scripsit:
Private Sub btnSimpleUsage_Click(ByVal sender As System.Object, ByVal
e As System.EventArgs) Handles btnSimpleUsage.Click
Dim config As New ServiceConfig
config.TrackingEnabled = True
config.TrackingAppName = "EntSrv"
ServiceDomain.Enter(config)
'COM+ Available here
ServiceDomain.Leave()
End Sub

pp 12++. The yellow bar and error message was on the Dim Config line


I don't have the book, but what is 'ServiceConfig'? It's not included
in the .NET Framework...

--
Herfried K. Wagner [MVP]
<http://www.mvps.org/dotnet>
Nov 20 '05 #4
Bill,
Are you running a XP? ServiceConfig may utilise something exclusive to
COM+1.5 which I think is XP only, although I could be wrong (in which case
it would be 2000 at the very least). Ensure you've got the COM+ Service
correctly installed on your machine also, as it *may* be an optional
component (slap in your Windows CD to install it if you haven't).

Finally, ServiceConfig is only available in .NET 1.1, so you of course need
the latest version of the framework. I know that your code most likely
wouldn't even compile against v1.0 due to the likely absence of
ServiceConfig, but it is possible that it's one of those "NotImplemented"
areas that MS put into v1.0 and actually implemented in 1.1 (unlikely, but
possible).

Cheers,
Alex Clark
"Bill Dodd" <Bi******@BTConnect.com> wrote in message
news:05****************************@phx.gbl...
Oh dear, Microsoft. Please if we need to contact you for
bad content in your books. Pease make it easy, I have been
sent to the same webpage at least 5 times through
different directions..
Whoever is mediating on this forum, can you make sure the
right department gives me an answer:-
MS Press 0-7356-1891-7 101 VB .Net applications. First
example, after following non clear method of loading
example databases etc. I get a ServiceConfig not supported
on this platform when running the example 101 on Chapter
1. Yes its the latest version of SQL server for developer
and the latest service pack.
Please help as the book is useless if the samples don't
work and one has spent upwards of 5 hours downloading
associated MS packages, and about 2 days double checking
against bad setup instructions.

Please help.

Many thanks

Nov 20 '05 #5
Bill,
Are you running a XP? ServiceConfig may utilise something exclusive to
COM+1.5 which I think is XP only, although I could be wrong (in which case
it would be 2000 at the very least). Ensure you've got the COM+ Service
correctly installed on your machine also, as it *may* be an optional
component (slap in your Windows CD to install it if you haven't).

Finally, ServiceConfig is only available in .NET 1.1, so you of course need
the latest version of the framework. I know that your code most likely
wouldn't even compile against v1.0 due to the likely absence of
ServiceConfig, but it is possible that it's one of those "NotImplemented"
areas that MS put into v1.0 and actually implemented in 1.1 (unlikely, but
possible).

Cheers,
Alex Clark
"Bill Dodd" <Bi******@BTConnect.com> wrote in message
news:05****************************@phx.gbl...
Oh dear, Microsoft. Please if we need to contact you for
bad content in your books. Pease make it easy, I have been
sent to the same webpage at least 5 times through
different directions..
Whoever is mediating on this forum, can you make sure the
right department gives me an answer:-
MS Press 0-7356-1891-7 101 VB .Net applications. First
example, after following non clear method of loading
example databases etc. I get a ServiceConfig not supported
on this platform when running the example 101 on Chapter
1. Yes its the latest version of SQL server for developer
and the latest service pack.
Please help as the book is useless if the samples don't
work and one has spent upwards of 5 hours downloading
associated MS packages, and about 2 days double checking
against bad setup instructions.

Please help.

Many thanks

Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

16
2529
by: MLH | last post by:
In Access 97 and Access 2.0 applications, if a command button has the focus, the spacebar will 'PRESS" the key. How does one go about disabling this annoying BEATURE?
4
2156
by: David | last post by:
Hello When I try to open a connection to a sql server database from my aspnet app I get the following exception message: 'ResourcePool' is not supported on the current platform. I can connect OK...
0
389
by: greg.sedlock | last post by:
I'm working thru a tutorial on ASP.NET for the MS cert exam. I ran into the following problem: I get an exception titled 'ResourcePool' is not supported on the current platform when .NET attempts...
0
223
by: RJN | last post by:
Hi Sorry for the repeated posting. This is about using ServiceConfig class for utilizing COM+ servcies. In my application architecture, the business logic classes talk to the data access...
0
771
by: RJN | last post by:
Hi My application needs component level transactions and across database transactions. .Net provides 2 classes ServiceDomain/ServiceConfig for using component services. This is supported in...
0
894
by: RJN | last post by:
Hi I'm using ServiceDomain/ServiceConfig for handling transactions. This worked fine in Windows 2003 server as webserver and database server in another Windows 2003 server. In my client's place,...
16
9919
by: Blue Apricot | last post by:
X-No-Archive How long will Classic ASP be supported by Microsoft? Should I start learning ASP.NET? Is it hard if you already know ASP? Blue Apricot
29
3435
by: Paul H | last post by:
Why the heck was this dropped? All my dbs use ULS even the complex ones. It aint perfect, it's too fiddly, but it works. How will I be able to say "These users can run these reports and these...
2
8273
by: mweitz | last post by:
"BGI Graphics are not supported under Windows" - I`ve got this message working in Borland C++ 5.01. File (house.cpp) should include graphics. Project contents: home.cpp; ...
1
6758
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7010
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5362
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4799
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4499
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3011
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3003
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1311
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
572
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.