Deployment not working on some PC's

Farflame

New member
Joined
Aug 31, 2009
Messages
3
Programming Experience
10+
I installed VB2008 Express a few days ago and have written a small program. When trying to deploy this I'm having problems that it's only working on some PC's, but not on others. At first I thought it may be something in my program, but I've been doing some tests and I'm noticing that ALL programs don't work on some PC's.

To do the most basic test possible, I opened VB, started a new app called 'Test' and without doing ANYTHING I published the application to Test

On the PC which wrote the program and on a friend's PC, it works fine. But on this PC and on another friend's PC, as soon as I hit the 'Run' button I get a XML page (pasted below).

As I say, the program has NOTHING in it, it's just an empty form.

I'm totally new to VB, so please let me know if I'm doing anything wrong. Am I missing something obvious here? I published it using the Clickonce option and set it to run only from the webpage (but the same errors occur if I deploy to disk or the other webpage option).

Forgot to add one thing, when trying to deploy via disk earlier on this PC, the installer DID install both Windows Installer and also the latest .net. I've also had a guy on another forum who can't run from my webpage, even though he's a VB user.

XML page that comes up when I hit 'Run' reads as follows.
VB.NET:
  <?xml version="1.0" encoding="utf-8" ?> 
- <asmv1:assembly xsi:schemaLocation="urn:schemas-microsoft-com:asm.v1 assembly.adaptive.xsd" manifestVersion="1.0" xmlns:asmv3="urn:schemas-microsoft-com:asm.v3" xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:co.v1="urn:schemas-microsoft-com:clickonce.v1" xmlns="urn:schemas-microsoft-com:asm.v2" xmlns:asmv1="urn:schemas-microsoft-com:asm.v1" xmlns:asmv2="urn:schemas-microsoft-com:asm.v2" xmlns:xrml="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <assemblyIdentity name="Test.application" version="1.0.0.0" publicKeyToken="5b62caff8c40cb10" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" /> 
  <description asmv2:publisher="Test" asmv2:product="Test" xmlns="urn:schemas-microsoft-com:asm.v1" /> 
  <deployment install="false" mapFileExtensions="true" /> 
- <dependency>
- <dependentAssembly dependencyType="install" codebase="Application Files\Test_1_0_0_0\Test.exe.manifest" size="7206">
  <assemblyIdentity name="Test.exe" version="1.0.0.0" publicKeyToken="5b62caff8c40cb10" language="neutral" processorArchitecture="msil" type="win32" /> 
- <hash>
- <dsig:Transforms>
  <dsig:Transform Algorithm="urn:schemas-microsoft-com:HashTransforms.Identity" /> 
  </dsig:Transforms>
  <dsig:DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 
  <dsig:DigestValue>0lFfIacPkKtxwNI49xIjH8W24tA=</dsig:DigestValue> 
  </hash>
  </dependentAssembly>
  </dependency>
  <publisherIdentity name="CN=GAMES\Glynn Carey" issuerKeyHash="4f86a892f6c984932b15e4f21482397f9c00e469" /> 
- <Signature Id="StrongNameSignature" xmlns="http://www.w3.org/2000/09/xmldsig#">
- <SignedInfo>
  <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> 
  <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> 
- <Reference URI="">
- <Transforms>
  <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /> 
  <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> 
  </Transforms>
  <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 
  <DigestValue>6cDbVQ0BR1Li1/8nQuHvTV74EBU=</DigestValue> 
  </Reference>
  </SignedInfo>
  <SignatureValue>QEP0wkTqd58IVDE2oDza2sGHWxw8o7ET41RA64m/0GmIb1R6bMiBTDRjxpAkyEetZW29seEBevHbBHInGjCM+6Z4n+2ZfufqJhWqEBYfdJtN6Dd6BUa94DU8l60pG886LywYSbGj0/6SDxcIzIYK6TV23RuiXNTsy0GuDcAvkv0=</SignatureValue> 
- <KeyInfo Id="StrongNameKeyInfo">
- <KeyValue>
- <RSAKeyValue>
  <Modulus>l4f2CzaGTKqaLPSWuXftZ2bOBFyv4lPSTlW++yyrq0pHwWNBw0/L8goKAVUuqVIkuUtUOzvnB9QWwbLaGwReDKvEXbeBjXt3mI72lzrGYJyQNNeHaFlpxvGDHJ+VsXDVY1NQcgGkjn8yr8/szJ8DH9oaLHHw8KO+iHERD+5aPFs=</Modulus> 
  <Exponent>AQAB</Exponent> 
  </RSAKeyValue>
  </KeyValue>
- <msrel:RelData xmlns:msrel="http://schemas.microsoft.com/windows/rel/2005/reldata">
- <r:license xmlns:r="urn:mpeg:mpeg21:2003:01-REL-R-NS" xmlns:as="http://schemas.microsoft.com/windows/pki/2005/Authenticode">
- <r:grant>
- <as:ManifestInformation Hash="1510f85e4defe14227ffd7e25247010d55dbc0e9" Description="" Url="">
  <as:assemblyIdentity name="Test.application" version="1.0.0.0" publicKeyToken="5b62caff8c40cb10" language="neutral" processorArchitecture="msil" xmlns="urn:schemas-microsoft-com:asm.v1" /> 
  </as:ManifestInformation>
  <as:SignedBy /> 
- <as:AuthenticodePublisher>
  <as:X509SubjectName>CN=GAMES\Glynn Carey</as:X509SubjectName> 
  </as:AuthenticodePublisher>
  </r:grant>
- <r:issuer>
- <Signature Id="AuthenticodeSignature" xmlns="http://www.w3.org/2000/09/xmldsig#">
- <SignedInfo>
  <CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> 
  <SignatureMethod Algorithm="http://www.w3.org/2000/09/xmldsig#rsa-sha1" /> 
- <Reference URI="">
- <Transforms>
  <Transform Algorithm="http://www.w3.org/2000/09/xmldsig#enveloped-signature" /> 
  <Transform Algorithm="http://www.w3.org/2001/10/xml-exc-c14n#" /> 
  </Transforms>
  <DigestMethod Algorithm="http://www.w3.org/2000/09/xmldsig#sha1" /> 
  <DigestValue>qkktXeYaZDjIabAcQakgjk/cRTA=</DigestValue> 
  </Reference>
  </SignedInfo>
  <SignatureValue>CPxBcf8tg1H6i2eIgEqw9xtTTycSLjGvBNwWV4XmzHcO+LsixK3id44+vKAWksyCtuKyb/aQG4EdyYoAdEilZcWZ9jGqoTwUndouqF7u2BzVq84WS/dB4wjTK30t3xpkhclgSUoLv3Y+YA8EWBYTwvIfvdkHJkmYYLL8sLmoQJA=</SignatureValue> 
- <KeyInfo>
- <KeyValue>
- <RSAKeyValue>
  <Modulus>l4f2CzaGTKqaLPSWuXftZ2bOBFyv4lPSTlW++yyrq0pHwWNBw0/L8goKAVUuqVIkuUtUOzvnB9QWwbLaGwReDKvEXbeBjXt3mI72lzrGYJyQNNeHaFlpxvGDHJ+VsXDVY1NQcgGkjn8yr8/szJ8DH9oaLHHw8KO+iHERD+5aPFs=</Modulus> 
  <Exponent>AQAB</Exponent> 
  </RSAKeyValue>
  </KeyValue>
- <X509Data>
  <X509Certificate>MIIB1TCCAUKgAwIBAgIQXWI5LBUyOJxMOlUKPqbrwjAJBgUrDgMCHQUAMC0xKzApBgNVBAMeIgBHAEEATQBFAFMAXABHAGwAeQBuAG4AIABDAGEAcgBlAHkwHhcNMDkwODMxMjAzMDAwWhcNMTAwOTAxMDIzMDAwWjAtMSswKQYDVQQDHiIARwBBAE0ARQBTAFwARwBsAHkAbgBuACAAQwBhAHIAZQB5MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCXh/YLNoZMqpos9Ja5d+1nZs4EXK/iU9JOVb77LKurSkfBY0HDT8vyCgoBVS6pUiS5S1Q7O+cH1BbBstobBF4Mq8Rdt4GNe3eYjvaXOsZgnJA014doWWnG8YMcn5WxcNVjU1ByAaSOfzKvz+zMnwMf2hoscfDwo76IcREP7lo8WwIDAQABMAkGBSsOAwIdBQADgYEAI1gyBw2kH+NNctCWVpGFr5Uy1Key/dGsu5FUWqXiPn0yGcADvii5DgMBFv7X63Ip7e5EhCmYjww9tnbJLLLg1Vww4MeFz02Hs1YOUUIvx0Pn/UUg+kSh55OwOaCvxs1+jDI0DilLsIxkfkwpBy0XilZBVqEucn2Lqt4NIemvgHs=</X509Certificate> 
  </X509Data>
  </KeyInfo>
  </Signature>
  </r:issuer>
  </r:license>
  </msrel:RelData>
  </KeyInfo>
  </Signature>
  </asmv1:assembly>
 
Last edited by a moderator:
I'm quite new to .NET programming, but I guess the pc's that can't run the program, don't have .NET framework installed? If they have, ignore this post.
 
After much rummaging around I've finally found out that the PC's also need Microsoft Powerpacks installed. There was no mention of this on any errors nor was it included by default, which seems incredibly odd for a supposedly 'user-friendly' piece of software. I had to dig fairly deep to even find it unchecked in the pre-requisites. I have no idea why it wasn't checked by default if it's required by the program - God knows what's going to happen with bigger programs.
 
Back
Top