By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
449,156 Members | 1,037 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 449,156 IT Pros & Developers. It's quick & easy.

Publishing VB.net 2005 beta 2 application - signing error

P: n/a
Hi,

I have just written (my first) VB.net app using MS Visual Basic 2005
Express Edition Beta. It is fairly simple, it reads some configuration
data from an XML file then opens a new window containing a WebBrowser
object.

This all works fine and I'm happy with my app so I want to 'publish' to
a setup file so that others can install it, but when I publish it a get
the following errors:

------------------------------------------------------------------------
Warning 1 Could not find resources for culture 'en-US'. Using culture
'en'
instead. C:\WINNT\Microsoft.NET\Framework\v2.0.50215\Micros oft.Common.targets 0 0
Warning 2 Could not match culture 'en-US' for item '.NET Framework 2.0
Beta'. Using culture 'en'
instead. C:\WINNT\Microsoft.NET\Framework\v2.0.50215\Micros oft.Common.targets 0 0
Warning 3 SignTool reported an error 'Failed to sign publish\My
Launcher_1_0_0_0\My Launcher.exe.manifest. sm.exe failed: Could not
find file 'C:\Documents and Settings\mart\My Documents\Visual Studio
2005\Projects\My Launcher\My Launcher\Launcher.exe.manifest'.
'. C:\WINNT\Microsoft.NET\Framework\v2.0.50215\Micros oft.Common.targets 0 0
Warning 4 SignTool reported an error 'Failed to sign publish\My
Launcher.application. sm.exe failed: Value cannot be null.
Parameter name: uriString
'. C:\WINNT\Microsoft.NET\Framework\v2.0.50215\Micros oft.Common.targets 0 0
------------------------------------------------------------------------

The installer is created, but when I run setup.exe I get an error, the
details of which are:

------------------------------------------------------------------------
PLATFORM VERSION INFO
Windows : 5.0.2195.262144 (Win32NT)
Common Language Runtime : 2.0.50215.44
System.Deployment.dll : 2.0.50215.44 (beta2.050215-4400)
mscorwks.dll : 2.0.50215.44 (beta2.050215-4400)
dfdll.dll : 8.0.50215.44 (beta2.050215-4400)
dfshim.dll : 2.0.50215.44 (beta2.050215-4400)

SOURCES
Deployment url :
file:///D:/work/MyLauncher/Installer/My%20Launcher.application

ERROR SUMMARY
Below is a summary of the errors, details of these errors are listed
later in the log.
* Activation of D:\work\MyLauncher\Installer\My Launcher.application
resulted in exception. Following failure messages were detected:
+ Exception reading manifest from
file:///D:/work/MyLauncher/Installer/My%20Launcher.application: the
manifest could be invalid or the file could not be opened.
+ The manifest has no XML signature.

COMPONENT STORE TRANSACTION FAILURE SUMMARY
No transaction error was detected.

WARNINGS
There were no warnings during this operation.

OPERATION PROGRESS STATUS
* [28 Jul 2005 16:50:59 +01:00] : Activation of
D:\work\MyLauncher\Installer\My Launcher.application has started.

ERROR DETAILS
Following errors were detected during this operation.
* [28 Jul 2005 16:51:01 +01:00]
System.Deployment.Application.InvalidDeploymentExc eption
(ManifestParse)
- Exception reading manifest from
file:///D:/work/MyLauncher/Installer/My%20Launcher.application: the
manifest could be invalid or the file could not be opened.
- Source: System.Deployment
- Stack trace:
at System.Deployment.Application.ManifestReader.FromD ocument(String
localPath, ManifestType manifestType, Uri sourceUri)
at
System.Deployment.Application.DownloadManager.Down loadManifest(Uri&
sourceUri, String targetPath, IDownloadNotification notification,
DownloadOptions options, ManifestType manifestType, ServerInformation&
serverInformation)
at
System.Deployment.Application.DownloadManager.Down loadDeploymentManifestDirect(SubscriptionStore
subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification
notification, DownloadOptions options, ServerInformation&
serverInformation)
at
System.Deployment.Application.DownloadManager.Down loadDeploymentManifest(SubscriptionStore
subStore, Uri& sourceUri, TempFile& tempFile, IDownloadNotification
notification, DownloadOptions options)
at
System.Deployment.Application.ApplicationActivator .PerformDeploymentActivation(Uri
activationUri, Boolean isShortcut)
at
System.Deployment.Application.ApplicationActivator .ActivateDeploymentWorker(Object
state)
--- Inner Exception ---
System.Deployment.Application.ValidationFailedExce ption (Unknown
subtype)
- The manifest has no XML signature.
- Source: System.Deployment
- Stack trace:
at
System.Deployment.Application.Manifest.AssemblyMan ifest.ValidateSignature(Stream
s)
at System.Deployment.Application.ManifestReader.FromD ocument(String
localPath, ManifestType manifestType, Uri sourceUri)

COMPONENT STORE TRANSACTION DETAILS
No transaction information is available.
------------------------------------------------------------------------

Can anyone see where I am going wrong? I've spent a few hours
'googling' for the answer but with no luck.

Thanks in advance.

Mart

Nov 21 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.