Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.

Publish problem!

[es] :: .NET :: Publish problem!

[ Pregleda: 1241 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Autor

Pretraga teme: Traži
Markiranje Štampanje RSS

Andrija91
Andrija Petrovic
Ucenik
Pirot

Član broj: 219479
Poruke: 45
109.106.235.*



Profil

icon Publish problem!30.12.2009. u 12:15 - pre 174 meseci
Napravio sam aplikaciju koja radi odlicno kad se debug-uje! Zatim sam odradio publish, nakon toga instalirao alikaciju medjutim mp3 fajl koji sam ubacio se ne pusta(nema zvuka), takodje i txt fajl ne radi.

Txt i mp3 sam ubacio u solution explorer(drag drop sa desktopa). Kada selektujem ove fajlove pise mi path desktopa(znaci odakle sam ih ubacio).Kako da resim ovaj problem da se fajlovi iskopiraju kada se instalira program i da rade najnormalnije. Fajlove u kodu koristim sa URL=@"high.txt" i URL=@"timeup.mp3" (znaci trebali bi da budu tamo gde se program izvrsava(valjda!) ?
 
Odgovor na temu

malo_nj
novi sad

Član broj: 140825
Poruke: 104
*.dynamic.sbb.rs.

Sajt: www.2advanced.com


Profil

icon Re: Publish problem!30.12.2009. u 16:09 - pre 174 meseci
Pokusaj prebaciti te fajlove negdje dje ti je i projekat onda ih includuj u projekat (preko solution explorera) e nakon tog na propeties projekta imas tab publish pa dugme application files i tu ih include. Nisam siguran da to tako radi al et probaj
 
Odgovor na temu

Andrija91
Andrija Petrovic
Ucenik
Pirot

Član broj: 219479
Poruke: 45
91.148.84.*



Profil

icon Re: Publish problem!30.12.2009. u 19:10 - pre 174 meseci
Ubacio sam fajlove sa desktopa u solution explorer i ukljucio ih u publish i sada radi. Izgleda da je problem bio u tome sto je u properties od oba fajla bilo namesteno copy always. Prebacio sam na don't copy i sada radi? Radi na windows 7 sa pristupom internetu. Imam VMware workstation i unjemu instaliran XP SP2,bez pristupa internetu. Da li je moguce da zbog interneta aplikacija nce da se instalira ili je nesto drugo u pitanju? Instaliran je netframework 3.5 i windows installer 3.1 i na windows 7 i na XP SP2 u VMware-u.

Greska je sledeca:

"Application cannot be started. Contact the application vendor!"

Zatim kad kliknem na details dobijam sledeci tekst u notepad-u:



PLATFORM VERSION INFO
Windows : 5.1.2600.131072 (Win32NT)
Common Language Runtime : 2.0.50727.1433
System.Deployment.dll : 2.0.50727.1433 (REDBITS.050727-1400)
mscorwks.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfdll.dll : 2.0.50727.1433 (REDBITS.050727-1400)
dfshim.dll : 2.0.50727.1433 (REDBITS.050727-1400)

SOURCES
Deployment url : file:///Z:/All/Quiz%20radi/Quiz.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed later in the log.
* Activation of Z:\All\Quiz radi\Quiz.application resulted in exception. Following failure messages were detected:
+ The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [12/30/2009 8:09:20 PM] : Activation of Z:\All\Quiz radi\Quiz.application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [12/30/2009 8:09:20 PM] System.Runtime.InteropServices.COMException
- The referenced assembly is not installed on your system. (Exception from HRESULT: 0x800736B3)
- Source: System.Deployment
- Stack trace:
at System.Deployment.Internal.Isolation.IStore.GetAssemblyInformation(UInt32 Flags, IDefinitionIdentity DefinitionIdentity, Guid& riid)
at System.Deployment.Internal.Isolation.Store.GetAssemblyManifest(UInt32 Flags, IDefinitionIdentity DefinitionIdentity)
at System.Deployment.Application.ComponentStore.GetSubscriptionStateInternal(DefinitionIdentity subId)
at System.Deployment.Application.SubscriptionStore.GetSubscriptionStateInternal(SubscriptionState subState)
at System.Deployment.Application.SubscriptionStore.CheckAndReferenceApplication(SubscriptionState subState, DefinitionAppId appId, Int64 transactionId)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestDirectBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options, ServerInformation& serverInformation)
at System.Deployment.Application.DownloadManager.DownloadDeploymentManifestBypass(SubscriptionStore subStore, Uri& sourceUri, TempFile& tempFile, SubscriptionState& subState, IDownloadNotification notification, DownloadOptions options)
at System.Deployment.Application.ApplicationActivator.PerformDeploymentActivation(Uri activationUri, Boolean isShortcut, String textualSubId, String deploymentProviderUrlFromExtension)
at System.Deployment.Application.ApplicationActivator.ActivateDeploymentWorker(Object state)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.





Sta nije u redu???


 
Odgovor na temu

Andrija91
Andrija Petrovic
Ucenik
Pirot

Član broj: 219479
Poruke: 45
91.148.84.*



Profil

icon Re: Publish problem!30.12.2009. u 20:35 - pre 174 meseci
Proradilo je i u XP-u. Pustio sam system restore instalirao ponovo aplikaciju i sada sve radi.

Hvala malo_nj!
 
Odgovor na temu

[es] :: .NET :: Publish problem!

[ Pregleda: 1241 | Odgovora: 3 ] > FB > Twit

Postavi temu Odgovori

Navigacija
Lista poslednjih: 16, 32, 64, 128 poruka.