Mikael Petersson

I don't know where to post this really but I get a strange error when I am trying to deploy my compact framework applications in Visual Studio 2008 Beta 2.

I started to get the problem after installing Orcas of some version and I can't deploy compact framework apps from any Visual Studio version now.

I have the swedish version of Vista and the errormessage is in swedish but a rough translation is:

The program could not be started since the side-by-side configuration for the application is wrong.

The eventlog contains the following data:

Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.20129.4864" c:\Program Files\Common Files\Microsoft Shared\MSEnv\vsp.dll

I can see that the version requested isn't the same that I have in my MSEnv folder. I have version 9.0.20209.0 of the vsp.dll file.

I just uninstalled everything Visual Studio that I could find and then installed Visual Studio 2008 Beta 2 and the problem is still there

Anyone have any idea what I can do to fix this I have searched the forums and the net and can't really find anyone who have posted about the same problem.

Thanks in advance,

Mikael Petersson



Re: Visual Studio 2008 IDE, Debugger, Build, Deployment, Help, etc. Error when deploying windows mobile app (side-by-side configuration...)

AvdMeulen

I have the same problem. In the event viewer i could see that the error is:

Activation context generation failed for "C:\Program Files\Common Files\Microsoft Shared\CoreCon\1.0\Bin\ConManPS.dll". Dependent Assembly Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.20404.44800" could not be found. Please use sxstrace.exe for detailed diagnosis.

I use visual studio 2005, after I de-installed visual studio orcas ctp1.

Installed/Repaired visual studio, including SP1 and the Vista update for SP1.

Compact framework for .NET 2.0 (NETCFSetupv2.msi).

SDK Refresh for Windows Mobile 6.0 Pro and Standard (Windows Mobile 6 Professional SDK Refresh.msi & Windows Mobile 6 Standard SDK Refresh.msi).

Device Emulator 2.0 (CTP_Setup_NoNetFX.msi)

No succes. If anybody knows how to fix this, please tell so!

OS: Vista Ultima EN - Dutch Language Pack

Error when trying to deploy:

The operation could not be completed. Interface wordt niet ondersteund. (trans. Interface is not supported)

Grtz,

Andries van der Meulen.






Re: Visual Studio 2008 IDE, Debugger, Build, Deployment, Help, etc. Error when deploying windows mobile app (side-by-side configuration...)

Andries van der Meulen

I fixed it for as far as posible. I know that this won't be the best way to solve this.

Anyway, this is how i did it:

  • First i manually removed the CoreCon Directory:
    C:\Program Files\Common Files\microsoft shared\CoreCon

Next i rebooted and started repairing everything.

  • First i repaired Visual Studio 2005, next reinstall/repair of SP1 and vista update SP1
  • Next the SDK's for Windows Mobile (the refresh.msi files)
  • Re-registered the Device Emulator 2.0
    C:\Program Files\Microsoft\Device Emulator 2.0 Preview\register.bat (run as administrator)

And voila....

It worked again.

I can now run again from Visual studio and the list of the device manager is now filled.

p.s. Tried the same thing without removing the CoreCon directory. That didn't work!

The reason why it was broken the first place was because the ConManPS.dll was (still) referencing to the side-by-side assembly Microsoft.VC90.CRT.DLL, but the only version in de C:\Windows\winsxs were the x86_microsoft.vc80.crt_* (Microsoft.VC80.CRT.DLL).

Somehow this isn't checked or repaired when "repairing" Visual Studio or the WM6 SDK's.

Best regards,

Andries.






Re: Visual Studio 2008 IDE, Debugger, Build, Deployment, Help, etc. Error when deploying windows mobile app (side-by-side configuration...)

Mikael Petersson

I did the same thing... almost anyway...

I deleted all files in the folder where I had a problem and then did a repair on Visual Studio 2008 and the problem is gone. I think there probably is a better way to do this but hey... problem solved and I can develop for my mobile again ;-)

Thanks,

Mikael Petersson





Re: Visual Studio 2008 IDE, Debugger, Build, Deployment, Help, etc. Error when deploying windows mobile app (side-by-side configuration...)

Tim_Mackey

Hi,
i'd like to add my 2 cents to this. I have an identical situation to mikael described at the top of this thread.
i'm currently repairing VS 2008 after deleting C:\Program Files\Common Files\Microsoft Shared\MSEnv\
i'm hoping a MS person might be able to shed some light on this and suggest a better way of sorting out the problem is it as simple as replacing VSP.dll with the right version where can i get it i looked in the winsxs\manifest folder and there were no entries for VSP.dll. so i ran SxsTrace while the error in VS happened, and the parsed output is below. the history of this installation of Vista is as follows:
  • clean Vista ultimate install on 32 bit x86
  • Install VS 2003 (i need it for some old apps)
  • install VS 2005 pro.
  • install WAP for VS 2005
  • install VS 2005 WAP update for Vista (or something like that)
  • install VS 2005 sp1 beta for Vista
  • uninstall 2005 SP1 beta, install 2005 SP1 release.
  • got fed up with VS 2005 on Vista and uninstalled VS 2005 completely
  • installed Orcas Beta 1
  • uninstalled Beta 1 when Beta 2 came out
  • installed VS 2008 Beta 2.
  • installed WM6 SDK refresh
  • ==== i'm not surprised there are some DLL issues !!!!
i need to develop a mobile app prototype for friday and i couldn't bear to reinstall vista. i'll post how my repair goes but i'm not too hopeful. major thanks to anyone who can help me get this thing working!

=================
Begin Activation Context Generation.
Input Parameter:
Flags = 0
ProcessorArchitecture = x86
CultureFallBacks = en-US;en
ManifestPath = C:\Program Files\Common Files\Microsoft Shared\MSEnv\vsp.dll
AssemblyDirectory = C:\Program Files\Common Files\Microsoft Shared\MSEnv\
Application Config File =
-----------------
INFO: Parsing Manifest File C:\Program Files\Common Files\Microsoft Shared\MSEnv\vsp.dll.
INFO: Manifest Definition Identity is vsp,processorArchitecture="X86",type="win32",version="1.0.0.0".
INFO: Reference: Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.20129.4864"
INFO: Resolving reference Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.20129.4864".
INFO: Resolving reference for ProcessorArchitecture x86.
INFO: Resolving reference for culture Neutral.
INFO: Applying Binding Policy.
INFO: Find publisher policy at C:\Windows\WinSxS\manifests\x86_policy.9.0.microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.20706.1_none_84c4b3eab86f0818.manifest
INFO: No binding policy redirect found.
INFO: Begin assembly probing.
INFO: Did not find the assembly in WinSxS.
INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_32\Microsoft.VC90.CRT\9.0.20129.4864__1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.DLL.
INFO: Attempt to probe manifest at C:\Program Files\Common Files\Microsoft Shared\MSEnv\Microsoft.VC90.CRT.DLL.
INFO: Attempt to probe manifest at C:\Program Files\Common Files\Microsoft Shared\MSEnv\Microsoft.VC90.CRT.MANIFEST.
INFO: Attempt to probe manifest at C:\Program Files\Common Files\Microsoft Shared\MSEnv\Microsoft.VC90.CRT\Microsoft.VC90.CRT.DLL.
INFO: Attempt to probe manifest at C:\Program Files\Common Files\Microsoft Shared\MSEnv\Microsoft.VC90.CRT\Microsoft.VC90.CRT.MANIFEST.
INFO: Did not find manifest for culture Neutral.
INFO: End assembly probing.
ERROR: Cannot resolve reference Microsoft.VC90.CRT,processorArchitecture="x86",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.20129.4864".
ERROR: Activation Context generation failed.
End Activation Context Generation.






Re: Visual Studio 2008 IDE, Debugger, Build, Deployment, Help, etc. Error when deploying windows mobile app (side-by-side configuration...)

Tim_Mackey

well... the "delete and repair" approach worked. interestingly the version of VSP.dll that i have currently is 8.0.50727.42.




Re: Visual Studio 2008 IDE, Debugger, Build, Deployment, Help, etc. Error when deploying windows mobile app (side-by-side configuration...)

BlackTiger

I've fixed this issue simply by copying "VSP.dll" from another PC running VS2008.