Error publishing in service studio

Error publishing in service studio

  
Hi.

I recently installed OutSystems Express Edition, and Sql Server 2005 Express Edition. When i try to publish my espace i've got the folowing error:

Error publishing in node iswpt-npinto (127.0.0.1): Tenant deployment failed
Deployment of tenant O servidor remoto devolveu um erro: (500) Erro interno de servidor.
em System.Net.HttpWebRequest.GetResponse()
em OutSystems.HubEdition.DeployService.Deploy.#Hj(String hostname, String espaceName, String ptaOrTenantName)Html/Text returned:"Erro do Servidor na Aplicação "Default Web Site/estudo/admin"
Erro de HTTP 500.0 - Internal Server Error
Descrição: Não é possível apresentar a página porque ocorreu um erro interno do servidor.
Código de erro: 0x800700b7
Notificação: BeginRequest
Módulo: ConfigurationValidationModule
Pedido de URL: http://localhost:80/estudo/admin/_ping.aspx
Caminho físico: C:\Program Files\OutSystems\Service Center\test\estudo\admin\_ping.aspx
Utilizador de início de sessão: Ainda não determinado
Método de início de sessão: Ainda não determinado
Processador: PageHandlerFactory-Integrated
Erro de configuração: Impossível adicionar entrada de colecção em duplicado
Ficheiro de configuração: \\?\C:\Program Files\OutSystems\Service Center\test\estudo\admin\web.config
Origem de configuração:

30: <httpModules> 31: <add type="OutSystems.HubEdition.RuntimePlatform.UnhandledExceptionModule, OutSystems.HubEdition.RuntimePlatform" name="UnhandledExceptionModule" /> 32: </httpModules>
Mais informações... Este erro significa que ocorreu um problema durante o processamento do pedido. O pedido foi recebido pelo servidor Web, mas durante o processamento ocorreu um erro fatal, causando o erro 500.
Artigos da Base de Conhecimentos da Microsoft: 294807
Informações sobre a versão do servidor: Serviços de Informação Internet 7.0."
[]
failed. Could not invoke ping. Exception:
CompModule : Broadcast Message


Any ideas?

Thanks
Hi,

I have the same error. Someone solve it?

cumps.
Hi,

That seems to be a problem with the configuration of IIS7 on Windows Vista. Could you please check the Windows Event Log and send anything you find there to support@outsystems.com.

Thanks,
Tiago Simões
Looks like I get the same message with same Express setup (Vista/SQL2005/OSExpress). Here is the message in English. I can't tell if its exactly the same as above, but it "looks" like it may be the same:

Error publishing in node Kailua (127.0.0.1): Deployment failed
Deployment failed. Could not invoke ping. Exception: The remote server returned an error: (500) Internal Server Error.
at System.Net.HttpWebRequest.GetResponse()
at OutSystems.HubEdition.DeployService.Deploy.#Hf(String hostname, String espaceName, String ptaOrTenantName)Html/Text returned:"Server Error
HTTP Error 500.19 - Internal Server Error
Description: The requested page cannot be accessed because the related configuration data for the page is invalid.
Error Code: 0x800700b7
Notification: BeginRequest
Module: IIS Web Core
Requested URL: http://localhost:80/AFCEnroll/admin/_ping.aspx
Physical Path: C:\Program Files\OutSystems\Service Center\test\AFCEnroll\admin\_ping.aspx
Logon User: Not yet determined
Logon Method: Not yet determined
Handler: Not yet determined
Config Error: Cannot add duplicate collection entry
Config File: \\?\C:\Program Files\OutSystems\Service Center\test\AFCEnroll\admin\web.config
Config Source:

35: <modules> 36: <add name="UnhandledExceptionModule" type="OutSystems.HubEdition.RuntimePlatform.UnhandledExceptionModule, OutSystems.HubEdition.RuntimePlatform" preCondition="managedHandler" /> 37: </modules>
More Information... This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error. Server Version Information: Internet Information Services 7.0." []
CompModule : Broadcast Message

******************************************
My first instinct was to clear out the contents of the \Service Center\test subdirectory. I did that and the error persists. Unfortunately, I see nothing abnormal in the event logs.

Ken
Hi,

I also get this error in VISTA / IIS7.

Furthermore, if you try to access the _ping.aspx page you get this error:

Server Error

--------------------------------------------------------------------------------

HTTP Error 500.19 - Internal Server Error
Description: The requested page cannot be accessed because the related configuration data for the page is invalid.

Error Code: 0x800700b7

Notification: BeginRequest

Module: IIS Web Core

Requested URL: http://localhost:80/contactos/admin/_ping.aspx

Physical Path: C:\Program Files\OutSystems\Service Center\test\Contactos\admin\_ping.aspx

Logon User: Not yet determined

Logon Method: Not yet determined

Handler: Not yet determined

Config Error: Cannot add duplicate collection entry

Config File: \\?\C:\Program Files\OutSystems\Service Center\test\Contactos\admin\web.config

Config Source: 35: <modules>
36: <add name="UnhandledExceptionModule" type="OutSystems.HubEdition.RuntimePlatform.UnhandledExceptionModule, OutSystems.HubEdition.RuntimePlatform" preCondition="managedHandler" />
37: </modules>




More Information... This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.

--------------------------------------------------------------------------------
Server Version Information: Internet Information Services 7.0.


Can someone shed some light on this matter?


Best Regards.
Hi,

There was a problem that could prevent successful deployments in Windows Vista with IIS 7 with the symptoms you've described. Please try updating to the latest release candidate (4.1.3.26) available in the downloads area, in http://community.outsystems.com/SupportCenter/DocumentDetail.aspx?VirtualDirectoryId=21&DocumentId=1495

If you still encounter any problems with that latest version, we'll be pleased to hear your feedback.

Thank you
Downloading the new release candidate (4.1.3.26) solved the problem for me. Thanks Miguel.

--Mark
hi there
got same problem with 4.1.3.38

any ideas?
same with version 4.1.3.43
I give up...

[29.06.2008 21:21:26] IIS Admin was started
[29.06.2008 21:21:27] NET START "W3Svc"
[29.06.2008 21:21:29] O servi‡o Servi‡o de Publica‡Æo World Wide Web est  a iniciar.
O servi‡o Servi‡o de Publica‡Æo World Wide Web foi iniciado com ˆxito.
[29.06.2008 21:21:29] World Wide Web Publishing was started
[29.06.2008 21:21:30] Checking HTTP port availability...
[29.06.2008 21:21:30] Using 'C:\Program Files\OutSystems\Installer\Logs' to write port checking files with DontNetstat=false
[29.06.2008 21:21:31] Port 80 has 'System' and we're expecting process from 'IIS'
[29.06.2008 21:21:31] OK. Process 'System' listening on port 80.
[29.06.2008 21:21:31] Publishing Service Center 4.1.3.43...
[29.06.2008 21:21:32] Publishing Extension(s)...
[29.06.2008 21:21:38] Reading Service Center oml file information...
[29.06.2008 21:21:40] Adding Service Center eSpace to database...
[29.06.2008 21:21:42] Compiling Service Center eSpace...
[29.06.2008 21:22:23] Preparing Service Center eSpace deployment...
[29.06.2008 21:22:33] Creating Service Center default tenant...
[29.06.2008 21:22:33] Deploying Service Center eSpace...
[29.06.2008 21:22:44] Message 1
[29.06.2008 21:22:44] Id : FailedTenantDeployment_PingAspx
[29.06.2008 21:22:44] Type : Error
[29.06.2008 21:22:44] Message : Error publishing in node armindo-pc (127.0.0.1): Deployment failed
[29.06.2008 21:22:44] Submitable : True
[29.06.2008 21:22:44] Details :
[29.06.2008 21:22:44] Deployment failed. Could not invoke ping. Exception: The remote server returned an error: (500) Internal Server Error.
[29.06.2008 21:22:44] at System.Net.HttpWebRequest.GetResponse()
[29.06.2008 21:22:44] at OutSystems.HubEdition.DeployService.Deploy.#Kf(String hostname, String espaceName, String ptaOrTenantName)Html/Text returned:"Server Error in '/ServiceCenter' Application.
[29.06.2008 21:22:44] Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
[29.06.2008 21:22:44] Compiler Error Message: CS0016: NÆo foi poss¡vel escrever no ficheiro de sa¡da 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\servicecenter\f1373252\47335d4f\App_global.asax.24sb1hid.dll' -- 'Acesso negado. '
[29.06.2008 21:22:44] Source Error:
[29.06.2008 21:22:44] [No relevant source lines]
[29.06.2008 21:22:44] Source File: ÿÿ Line: 0
[29.06.2008 21:22:44] "
[29.06.2008 21:22:44] [HttpCompileException] (0): error CS0016: N&#227;o foi poss&#237;vel escrever no ficheiro de sa&#237;da 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\servicecenter\f1373252\47335d4f\App_global.asax.24sb1hid.dll'- 'Acesso negado. '
[29.06.2008 21:22:44] at System.Web.Compilation.AssemblyBuilder.Compile()
[29.06.2008 21:22:44] at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
[29.06.2008 21:22:44] at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
[29.06.2008 21:22:44] at System.Web.Compilation.BuildManager.CompileGlobalAsax()
[29.06.2008 21:22:44] at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
[29.06.2008 21:22:44] at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
[29.06.2008 21:22:44] [HttpException]: (0): error CS0016: N&#227;o foi poss&#237;vel escrever no ficheiro de sa&#237;da 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\servicecenter\f1373252\47335d4f\App_global.asax.24sb1hid.dll'- 'Acesso negado. '
[29.06.2008 21:22:44] at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
[29.06.2008 21:22:44] at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
[29.06.2008 21:22:44] at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
[29.06.2008 21:22:44] ExtraInfo :
[29.06.2008 21:22:44] CompModule : Broadcast Message
[29.06.2008 21:22:44] Message 2
[29.06.2008 21:22:44] Id : FailedTenantDeployment_PingAspx
[29.06.2008 21:22:44] Type : Error
[29.06.2008 21:22:44] Message : Error publishing in node armindo-pc (127.0.0.1): Deployment failed
[29.06.2008 21:22:44] Submitable : True
[29.06.2008 21:22:44] Details :
[29.06.2008 21:22:44] Deployment failed. Could not invoke ping. Exception: The remote server returned an error: (500) Internal Server Error.
[29.06.2008 21:22:44] at System.Net.HttpWebRequest.GetResponse()
[29.06.2008 21:22:44] at OutSystems.HubEdition.DeployService.Deploy.#Kf(String hostname, String espaceName, String ptaOrTenantName)Html/Text returned:"Server Error in '/ServiceCenter' Application.
[29.06.2008 21:22:44] Compilation Error Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
[29.06.2008 21:22:44] Compiler Error Message: CS0016: NÆo foi poss¡vel escrever no ficheiro de sa¡da 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\servicecenter\f1373252\47335d4f\App_global.asax.24sb1hid.dll' -- 'Acesso negado. '
[29.06.2008 21:22:44] Source Error:
[29.06.2008 21:22:44] [No relevant source lines]
[29.06.2008 21:22:44] Source File: ÿÿ Line: 0
[29.06.2008 21:22:44] "
[29.06.2008 21:22:44] [HttpCompileException] (0): error CS0016: N&#227;o foi poss&#237;vel escrever no ficheiro de sa&#237;da 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\servicecenter\f1373252\47335d4f\App_global.asax.24sb1hid.dll'- 'Acesso negado. '
[29.06.2008 21:22:44] at System.Web.Compilation.AssemblyBuilder.Compile()
[29.06.2008 21:22:44] at System.Web.Compilation.BuildProvidersCompiler.PerformBuild()
[29.06.2008 21:22:44] at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
[29.06.2008 21:22:44] at System.Web.Compilation.BuildManager.CompileGlobalAsax()
[29.06.2008 21:22:44] at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
[29.06.2008 21:22:44] at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
[29.06.2008 21:22:44] [HttpException]: (0): error CS0016: N&#227;o foi poss&#237;vel escrever no ficheiro de sa&#237;da 'c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\servicecenter\f1373252\47335d4f\App_global.asax.24sb1hid.dll'- 'Acesso negado. '
[29.06.2008 21:22:44] at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
[29.06.2008 21:22:44] at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
[29.06.2008 21:22:44] at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
[29.06.2008 21:22:44] ExtraInfo :
[29.06.2008 21:22:44] CompModule : Broadcast Message
[29.06.2008 21:22:46] Service Center publish failed with error code 110
[29.06.2008 21:22:46] Installation could not be completed!
[29.06.2008 21:22:46] Check 'C:\Program Files\OutSystems\Installer\Logs\ExpressInstall.log' for installation details
[29.06.2008 21:22:46] Installed components:
[29.06.2008 21:22:46] • Integration Studio
• Service Studio

[29.06.2008 21:22:46] Not installed components:
[29.06.2008 21:22:46] • Service Center
• IT Asset Manager

[29.06.2008 21:22:51] Notify Action: Id[9A313C83-6869-CD47-9A80-E8906E156F23] Version[4.1.3.43] Action[Installation Failed] Details[Installed[Integration Studio|Service Studio] NotInstalled[Service Center|IT Asset Manager] Details[Service Center publish failed with error code 110]]
Hi Rui,

Have you submitted feedback on the failed installations?

From your information I see that the error has to do with writing in the Temporary ASP.Net Files which is done when the ServiceCenter application is first accessed. We access ServiceCenter automatically right after the deployment, and if this access fails we consider the deployment unsuccessful.

I suggest the following actions to fix the problem:
- Perform an "iisreset" to release any files locked by IIS. This can usually be done by entering the command in the Vista start menu or the "Run Command" prompt which appears by pressing WinKey+R.
- Delete the folder "servicecenter" which can be found inside c:\Windows\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\

After doing those steps, please try accessing http://localhost/ServiceCenter/_ping.aspx and see if you get an error message. If you get an error, please inform us. If you don't, everything should be fine by now, and reinstalling version 4.1.3.43 should now work fine.

Kindest regards,
Miguel Ventura
Hi Rui,

In addition to the suggestions provided by Miguel, you may also try the following (as last resource methods):

- Make sure your user has full control permissions to the Temporary ASP.NET Files, and also to the general Temp folder (TEMP or TMP property in Start/My Computer/Properties/Advanced/Environment Variables).

- Temporarily disable your anti-virus, or exclude Temporary ASP.NET Files from the background scan (anti-virus may lock files, preventing them to be written).