473,749 Members | 2,486 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

'System.Service Model/ServiceHostingE nvironment' configuration section cannot be created.

Hi All,

I deployed an ASP.NET Web Service on Server1 and it worked fine.
However when I deployed the same Web Service on Server2 I am getting the
following error,

The 'System.Service Model/ServiceHostingE nvironment' configuration section
cannot be created.
The Machin.config file is missing information.
Verify that this configuration section is properly registered and that you
have correctly splled the section name.
For Windoes Communication Foundation sections, run ServiceModelReg .exe -i to
fix this error.
............... ...........
I never saw this error. What could be wrong?

Any pointer?

Thanks in advance
Sachin

Jun 5 '07 #1
6 7311
On Jun 5, 10:10 pm, "Sachin" <Sachi...@Email .comwrote:
Hi All,

I deployed an ASP.NET Web Service on Server1 and it worked fine.
However when I deployed the same Web Service on Server2 I am getting the
following error,

The 'System.Service Model/ServiceHostingE nvironment' configuration section
cannot be created.
The Machin.config file is missing information.
Verify that this configuration section is properly registered and that you
have correctly splled the section name.
For Windoes Communication Foundation sections, run ServiceModelReg .exe -i to
fix this error.
............... ..........

I never saw this error. What could be wrong?

Any pointer?

Thanks in advance
Sachin
Verify the version of ASP.NET.

aspnet_regiis -ls
aspnet_regiis -i
etc...

Jun 5 '07 #2
On both server its .NET 2.0

"Alexey Smirnov" <al************ @gmail.comwrote in message
news:11******** **************@ n4g2000hsb.goog legroups.com...
On Jun 5, 10:10 pm, "Sachin" <Sachi...@Email .comwrote:
>Hi All,

I deployed an ASP.NET Web Service on Server1 and it worked fine.
However when I deployed the same Web Service on Server2 I am getting the
following error,

The 'System.Service Model/ServiceHostingE nvironment' configuration section
cannot be created.
The Machin.config file is missing information.
Verify that this configuration section is properly registered and that
you
have correctly splled the section name.
For Windoes Communication Foundation sections, run ServiceModelReg .exe -i
to
fix this error.
.............. ...........

I never saw this error. What could be wrong?

Any pointer?

Thanks in advance
Sachin

Verify the version of ASP.NET.

aspnet_regiis -ls
aspnet_regiis -i
etc...
Jun 5 '07 #3
On Jun 5, 11:22 pm, "Sachin" <Sachi...@Email .comwrote:
On both server its .NET 2.0
Did you installed the .NET 3.0 on the Server2?

Jun 5 '07 #4
No.

This is what I get at the bottom of the error page.

Version Information: Microsoft .NET Framework Version: 2.0.50727.42; ASP.NET
Version:2.0.507 27.210

"Alexey Smirnov" <al************ @gmail.comwrote in message
news:11******** *************@q 66g2000hsg.goog legroups.com...
On Jun 5, 11:22 pm, "Sachin" <Sachi...@Email .comwrote:
>On both server its .NET 2.0

Did you installed the .NET 3.0 on the Server2?
Jun 5 '07 #5
re:
!This is what I get at the bottom of the error page.
!Version Information: Microsoft .NET Framework Version: 2.0.50727.42;
!ASP.NET Version:2.0.507 27.210

That looks like a W2K3 R2 install on Server2. Is it ?

Is it the same version which is installed on Server1 ?


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
=============== =============== ========
"Sachin" <Sa******@Email .comwrote in message news:uX******** ******@TK2MSFTN GP05.phx.gbl...
No.
This is what I get at the bottom of the error page.

Version Information: Microsoft .NET Framework Version: 2.0.50727.42; ASP.NET Version:2.0.507 27.210
"Alexey Smirnov" <al************ @gmail.comwrote in message
news:11******** *************@q 66g2000hsg.goog legroups.com...
>On Jun 5, 11:22 pm, "Sachin" <Sachi...@Email .comwrote:
>>On both server its .NET 2.0

Did you installed the .NET 3.0 on the Server2?

Jun 5 '07 #6
On Jun 5, 11:58 pm, "Sachin" <Sachi...@Email .comwrote:
No.
I don't know what your service does, but Windows Communication
Foundation required .NET 3.0

Jun 6 '07 #7

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

Similar topics

9
4964
by: Penn Markham | last post by:
Hello all, I am writing a script where I need to use the system() function to call htpasswd. I can do this just fine on the command line...works great (see attached file, test.php). When my webserver runs that part of the script (see attached file, snippet.php), though, it doesn't go through. I don't get an error message or anything...it just returns a "1" (whereas it should return a "0") as far as I can tell. I have read the PHP...
0
533
by: Erick | last post by:
Hi, I have a Installer class used to install my windows service, it was created by the wizard that is in the VS, I just whent into the properties and set up the properties of the ServiceInstaller member by using the properties windows. But I choose the DinamicProperties, the wizard created into the "InitializeComponents" two assignations of the ServiceInstaller properties by instanciating the System.Configuration.AppSettingsReader this...
0
5320
by: phillip | last post by:
This is interesting, I have attached my web.config file and the exception I have been logging. I created a library which provide data access to a database and a control system. The library is written in C#. I created a small .exe file to test that the library builds propertly from configuration and that it communicates properly. This work great in the System.Windows.Forms. However, when I use the library in a web enviroment things...
2
3387
by: Jeff | last post by:
Hey asp.net 2.0 My asp.net 2.0 project has got a assembly load problem: Some of my web.config settings: <membership defaultProvider="AH_MembershipProvider" userIsOnlineTimeWindow="15">
1
6806
by: Atiz | last post by:
hi, i'm trying to create a program for pocket pc 2003. When i wanted to use System.ServiceModel.Security, the compiler complained that servicemodel is not present in System namespace. (I'm already referencing to the System.dll) Then when I tried checking whether servicemodel is present in 2.0 .net CF, msdn did not state whether it is present. Then i chance upon it saying it comes from System.ServiceModel.dll which I cannot find it in
0
1776
by: =?Utf-8?B?a3Nlbg==?= | last post by:
I am trying to use external config file for System.servicesModel using configSource attribute, I get following error. The attribute 'configsource' cannot be specified because its name starts with the reserved prefix 'config' or 'lock'. <system.serviceModel configsource="services.config" /> Thanks Sen
3
4427
by: Lance Wynn | last post by:
Hello, I am receiving this error when trying to instantiate a webservice component. I have 2 development machines, both are XP sp2 with VS 2008 installed. On one machine, the code works fine. On the other machine I get the error upon instantiating the service client. I add the reference by choosing Add Service Reference from the project menu, and pointing to the remote wsdl file. I can't seem to find what the difference between the two...
8
13341
by: =?Utf-8?B?TWFuanJlZSBHYXJn?= | last post by:
Hi, I created a web service and hosted it in Windows Services. It is working fine. Now I am trying to implement the X509 certificates for message layer security. But it is throwing the following exception: An unhandled exception of type 'System.ServiceModel.Security.SecurityNegotiationException' occurred in mscorlib.dll
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9566
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9388
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9333
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8256
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4608
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4879
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3319
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 we have to send another system
2
2791
muto222
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.