By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
428,684 Members | 1,439 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 428,684 IT Pros & Developers. It's quick & easy.

'System.ServiceModel/ServiceHostingEnvironment' configuration section cannot be created.

P: n/a
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.ServiceModel/ServiceHostingEnvironment' 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
Share this Question
Share on Google+
6 Replies


P: n/a
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.ServiceModel/ServiceHostingEnvironment' 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

P: n/a
On both server its .NET 2.0

"Alexey Smirnov" <al************@gmail.comwrote in message
news:11**********************@n4g2000hsb.googlegro ups.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.ServiceModel/ServiceHostingEnvironment' 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

P: n/a
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

P: n/a
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.50727.210

"Alexey Smirnov" <al************@gmail.comwrote in message
news:11*********************@q66g2000hsg.googlegro ups.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

P: n/a
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.50727.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**************@TK2MSFTNGP05.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.50727.210
"Alexey Smirnov" <al************@gmail.comwrote in message
news:11*********************@q66g2000hsg.googlegro ups.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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.