WPF Browser Application

venerdì 20 novembre 2009 - 09.02

Furetto80 Profilo | Newbie

Ciao e scusate se è offtopic ma non ho trovato un posto nel forum più adatto...
Sto letteralmente impazzendo con questo problema : sto cercando di far girare un'applicazione XBAP (WPF) sul mio IIS in modo da farla usare dagli utenti della mia LAN.
La mia configurazione di sviluppo è: Vs2008Sp1 PRO EN - Windows XP sp3 con iis 5.1
---
Questa è la procedura che ho seguito per la configurazione globale ed il deploy, secondo voi, dove risiede l'errore?


IIS 5.1: Creato una virtual folder chiamata WPF mappata su C:\WPF .
-Seguito questa guida: http://msdn.microsoft.com/it-it/library/ms752346.aspx
-Messo i permessi alla cartella C:\WPF

--

-VS2008Sp1Pro: New Project - WPF Browser Application
-Nella Grid che ti crea ho inserito 1 bottone ed 1 label
-Nel Codebehind del bottone ho inserito: lbl1.content="Hello World"

-Ho premuto Build - Publish WPFBapp (nome della mia applicazione)
-Ho salvato e compilato il progetto e l'ho lanciato con F5. Mi si apre IExp e la pagina si vede e funziona correttamente.
-Ho pubblicato: Build - Publish "WPFBAPP" (mio nome applicazione).
-Nella finestrella Where do you want to publish your application? ho cliccato su browse - Local IIS - http://miosito/WPF/
-Alla successiva finestra ho cliccato Next dato che non potevo scegliere tra online or offline e only online (è selezionato quest'ultimo) - Finish.

--

- Sulla directory C:\WPF\ (mappata sotto IIS) mi si sono creati file e cartelle:
==================================
C:\
\_WPF
\_publish.htm
\_WPFBAPP.xbap
\_Application Files
\_WPFBAPP_1_0_0_1
\_WPFBAPP.exe.deploy
\_WPFBAPP.exe.manifest
\_WPFBAPP.xbap
\_WPFToolkit.dll.deploy
==================================

-Apro internet Explorer 7 sul mio pc (stesso di IIS)
-Digito nell'url: http://MioPc/wpf/publish.htm
-Alla richiesta di RUN della mia application clicco su : RUN
-Per un secondo mi si visualizza un'immagine di downloading application
-Subito dopo Application Download Error e questo errore:

==================================
PLATFORM VERSION INFO
Windows : 5.1.2600.196608 (Win32NT)
Common Language Runtime : 2.0.50727.3053
System.Deployment.dll : 2.0.50727.3053 (netfxsp.050727-3000)
mscorwks.dll : 2.0.50727.3053 (netfxsp.050727-3000)
dfshim.dll : 2.0.50727.3053 (netfxsp.050727-3000)

SOURCES
Deployment url : http://ceg117/wpf/WPFBAPP.xbap

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* An exception occurred while downloading the manifest. Following failure messages were detected:
+ Downloading http://ceg117/wpf/WPFBAPP.xbap did not succeed.
+ The remote server returned an error: (503) Server Unavailable.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
No phase information is available.

ERROR DETAILS
Following errors were detected during this operation.
* [20/11/2009 8.42.03] System.Deployment.Application.DeploymentDownloadException (Unknown subtype)
- Downloading http://ceg117/wpf/WPFBAPP.xbap did not succeed.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)
at System.Deployment.Application.SystemNetDownloader.DownloadAllFiles()
at System.Deployment.Application.FileDownloader.Download(SubscriptionState subState)
at System.Deployment.Application.DownloadManager.DownloadManifestAsRawFile(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadManifest(Uri& sourceUri, String targetPath, IDownloadNotification notification, DownloadOptions options, ManifestType manifestType, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirect(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifest(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.DeploymentManager.BindCore(Boolean blocking, TempFile& tempDeploy, TempDirectory& tempAppDir, FileStream& refTransaction, String& productName)
at System.Deployment.Application.DeploymentManager.BindAsyncWorker()
--- Inner Exception ---
System.Net.WebException
- The remote server returned an error: (503) Server Unavailable.
- Source: System
- Stack trace:
at System.Net.HttpWebRequest.GetResponse()
at System.Deployment.Application.SystemNetDownloader.DownloadSingleFile(DownloadQueueItem next)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.

===================================

Sono abbastanza stupito da non capire dove si possa trovare l'errore...
Temo che qualcosa non funzioni sotto il mio IIS, ma non saprei dove metter mano..
Spero che tu/voi abbiate un'idea a proposito...
Ciao e grazie di cuore!

Mattia AKA Furetto
Partecipa anche tu! Registrati!
Hai bisogno di aiuto ?
Perchè non ti registri subito?

Dopo esserti registrato potrai chiedere
aiuto sul nostro Forum oppure aiutare gli altri

Consulta le Stanze disponibili.

Registrati ora !
Copyright © dotNetHell.it 2002-2024
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5