Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / June 2007

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sachin - 05 Jun 2007 21:10 GMT
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
Alexey Smirnov - 05 Jun 2007 21:21 GMT
> Hi All,
>
[quoted text clipped - 17 lines]
> Thanks in advance
> Sachin

Verify the version of ASP.NET.

aspnet_regiis -ls
aspnet_regiis -i
etc...
Sachin - 05 Jun 2007 22:22 GMT
On both server its .NET 2.0

>> Hi All,
>>
[quoted text clipped - 25 lines]
> aspnet_regiis -i
> etc...
Alexey Smirnov - 05 Jun 2007 22:42 GMT
> On both server its .NET 2.0

Did you installed the .NET 3.0 on the Server2?
Sachin - 05 Jun 2007 22:58 GMT
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

>> On both server its .NET 2.0
>
> Did you installed the .NET 3.0 on the Server2?
Juan T. Llibre - 05 Jun 2007 23:17 GMT
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/
======================================
> 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

>>> On both server its .NET 2.0
>>
>> Did you installed the .NET 3.0 on the Server2?
Alexey Smirnov - 06 Jun 2007 07:21 GMT
> No.

I don't know what your service does, but Windows Communication
Foundation required .NET 3.0

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.