Problem installing on windows 2008

Post here for help with installing or upgrading mojoPortal pre-compiled release packages. When posting in this forum, please provide all relevant details. You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

Post here for help with installation of mojoPortal pre-compiled release packages

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.

You may also want to review the installation or upgrading documentation.

If you have questions about using the source code or working with mojoPortal in Visual Studio, please post in the Developer forum.

This thread is closed to new posts. You must sign in to post in the forums.
12/28/2008 10:53:36 AM
Gravatar
Total Posts 118

Problem installing on windows 2008

Hi

Just trying to install on Windows 2008 and getting the following error :

HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid. Detailed Error InformationModule IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x800700b7
Config Error Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'svc-ISAPI-2.0'
Config File \\?\C:\web\mojo\web.config
Requested URL http://dev.barlestone.com:80/
Physical Path C:\web\mojo
Logon Method Not yet determined
Logon User Not yet determined
Config Source
830: <remove name="ScriptResource" />
831: <add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
832: <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" resourceType="Unspecified" preCondition="integratedMode" />
 

 

Any Ideas ?

12/28/2008 11:00:42 AM
Gravatar
Total Posts 18439

Re: Problem installing on windows 2008

Do you have .NET 3.5 SP1 installed? If not, then install it.

Hope it helps,

Joe

12/28/2008 11:12:17 AM
Gravatar
Total Posts 118

Re: Problem installing on windows 2008

 Yep - and application pool is in classic mode

12/28/2008 11:14:19 AM
Gravatar
Total Posts 118

Re: Problem installing on windows 2008

 Yep - and application pool is set to classic

12/28/2008 11:21:23 AM
Gravatar
Total Posts 18439

Re: Problem installing on windows 2008

Sorry, but I have no further ideas, it looks like something is misconfigured in your IIS, it seems like its referring to problems in machine.config or some other Web.config file, but not the mojoportal Web.config file. Perhaps you have another Web.config file in the C:\web folder that is interfering.

Hope it helps,

Joe

12/28/2008 11:28:30 AM
Gravatar
Total Posts 118

Re: Problem installing on windows 2008

Its a fairly new and clean install of Windows 2008  - fully patched and everything else works ok ( dot net 2.0 and 3.5 sites ) And its a brand new site and directory I have set up to test mojoportal so there cant be anything conflicting with it. Its interesting how it refers to the config file as 

\\?\C:\web\mojo\web.config

I have also seen this sort of error as a permissions error as well. Very strange - have you tried an install on windows 2008 ?

 

Neil

12/28/2008 11:35:43 AM
Gravatar
Total Posts 18439

Re: Problem installing on windows 2008

Yes, it refers to the mojoportal Web.config file, but this is not from the mojoportal Web.config:

<remove name="ScriptResource" />
831: <add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
832: <add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" resourceType="Unspecified" preCondition="integratedMode" />

So there is another config file interfering.

Did you look if there is another Web.config in the folder above mojoportal as I previously suggested? If there is one there then it is interfering.

IIS 7 should work the same on Win 2008 as on Vista.

Hope it helps,

Joe

12/28/2008 11:46:09 AM
Gravatar
Total Posts 118

Re: Problem installing on windows 2008

There is not a dirctory above it as I have it set as its own site - and yes thats in the mojoportal web.config file I downloaded earlier today - at line 831

 

Neil

12/28/2008 11:56:27 AM
Gravatar
Total Posts 18439

Re: Problem installing on windows 2008

Doh, my bad, you are right, it just didn't look familiar.

Try commenting out the  entire system.webServer section as that is only used in IIS Integrated mode, not in "Classic"

You may also want to look at this link which tells how to configure IIS for .NET services .svc extension.

Hope it helps,

Joe

12/28/2008 12:14:50 PM
Gravatar
Total Posts 118

Re: Problem installing on windows 2008

checked - and IIS is configured correctly for svcs,

 

Removed the following :-

 

<handlers>
<remove name="WebServiceHandlerFactory-Integrated" />
<remove name="ScriptHandlerFactory" />
<remove name="ScriptHandlerFactoryAppServices" />
<remove name="ScriptResource" />
<add name="svc-ISAPI-2.0" path="*.svc" verb="*" modules="IsapiModule" scriptProcessor="%SystemRoot%\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" resourceType="Unspecified" preCondition="classicMode,runtimeVersionv2.0,bitness32" />
<add name="svc-Integrated" path="*.svc" verb="*" type="System.ServiceModel.Activation.HttpHandler, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" resourceType="Unspecified" preCondition="integratedMode" />
<add name="ScriptHandlerFactory" verb="*" path="*.asmx" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ScriptHandlerFactoryAppServices" verb="*" path="*_AppService.axd" preCondition="integratedMode" type="System.Web.Script.Services.ScriptHandlerFactory, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
<add name="ScriptResource" verb="GET,HEAD" path="ScriptResource.axd" preCondition="integratedMode" type="System.Web.Handlers.ScriptResourceHandler, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
</handlers>

 

And no appears to install corectly - I will check everything and see if there are any problems remaining - thanks for your help

 

Neil 

You must sign in to post in the forums. This thread is closed to new posts.