|
Hi.
When i open my solution in vs2008 i get the following error:
"package 'visual studio explorer and designers package' has failed to load properly (GUID {XXXX....})"
When i try to build my solution, i get an error saying: "External component has thrown an exception."
I have tried googling the solution (uninstalling duplicate.outdated assemblies from "C:\WINDOWS\assembly" but it does not allow me to).
Can anyone help please?
Thanks
M
|
|
|
|
|
At first glance I would say their is an overlapping GUID that is used by multiple applications. GUIDs need to be unique from all other applications installed on the system. I would try reinstalling/repairing the installation of Visual Studio 2008.
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
Hi All,
I wanted to install the .NET 1.1 (or any new version) on remote machine and that also in silent mode. The one option I have is to develop the Windows Service in VC++, install it on remote machine and through this service install the .NET Framework but I wanted to avoid this approach.
If anyone know how to do it or have any good URL which explains this then please let me know.
Thanks,
Pushawart
|
|
|
|
|
Pushawart wrote: I wanted to install the .NET 1.1 (or any new version) on remote machine
Well you need to figure out which one specifically because the installs can be different. Once you figure that out then you can find information on MSDN like this for 2.0[^]
led mike
|
|
|
|
|
We have added .net framework 3.5 as prerequisite in the installshield. But to install .net framwork it will require windows installer 3.1. Therfore we want to add windows installer 3.1 as prerequisite.
We have windows installer 3.1 ki redistributable exe but dont have prerequisite file.
how to add windows installer 3.1 prerequisite to installshield ?
and how to tell installshield that first check that whether the windows installer 3.1 is present or not?
|
|
|
|
|
Installshield is a 3rd party product, not part of the .NET framework. Perhaps you might ask this question in their forum.
led mike
|
|
|
|
|
Hi,
I want to stop a dll from installing if it is already there, I have .NET 2005, do I have to do something in the conditions side. If so what do I need to put there to stop it, and how do I go about making a condition.
Thanks in advance
|
|
|
|
|
godspeed123 wrote: If so what do I need to put there to stop it, and how do I go about making a condition.
In a VS2005 Installer project when you click in the "Condition" property of the file the help at the bottom of the property view says it is a "Windows Installer Condition". So if one goes to MSDN one can find the Windows Installer Guide[^] and proceeding from there one can find Conditional Statement Syntax[^] and also Examples of Conditional Statement Syntax[^].
There is much more there as well but I'm moving on now. Good luck
led mike
|
|
|
|
|
The issue that I am getting, is the following:
When I run the setup program, I get the error:
The windows installer service cannot update the system file C:\Windows\system32\msvcrt.dll because the file is protected by Windows....
What do I have to do in the setup program to stop thins error from coming up?
Thanks for all the help
|
|
|
|
|
Windows Installer packages should always 'install' every component that they include. The Windows Installer runtime will decide whether or not to install a file. It records every package that installs a component and only removes the component when no references remain.
Be very aware that Windows Installer makes these decisions on a component GUID basis, not by using file paths. If one file has a different GUID in different packages, when one is uninstalled, Windows Installer will decide that the file is no longer used and will remove it, breaking the other installation.
For this reason any shared files installed to the same location should always have the same GUID. The only way to do this in Visual Studio's setup packages, that I'm aware of, is to create a Merge Module containing the shared components and include that Merge Module in all install packages.
I believe Windows Installer counts references to assemblies installed in the GAC separately, so I think it's safe to install the same assembly to the GAC using different references. Still, it's better to follow the same pattern throughout.
In general, you should follow the supplier's advice for installing any third-party components. That may well mean running their installer before yours.
Best practice in my view is to install everything into your own private binary folder. You should avoid strong naming, in my opinion, as that will cause lookups in the GAC even if the file is in the binary folder. If you aren't versioning your assemblies correctly, an administrator can break your application by putting the assembly in the GAC, as the GAC takes precedence over local folders for strong-named assemblies.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Hello guys.
I'm working on a Windows Forms project for one of my clients, he wants to be able to type in lists of items and be able to apply several bullet styles and well as numbering to the lists, much like Word does.
I wonder if there's an easy way to implement this using a Rich Text Box, or otherwise embedding a Word instance in a form using OLE and be able to save the typed text as RTF.
¿Anyone faced similar challenges before?
Thanks in advance.
Ernesto García.
|
|
|
|
|
Hi there.
Not sure if this is correct messageboard, so sorry if it's isn't.
I have recently started using INtrexx Extreme at work to create portals and applications. While designing these there is a button to view your work in a browser.
When i do this, i get a browser which just says 'Service Unavailable'.
If I go into IIS and browse the website, it brings the same thing up.
I found a thread online that say's if you go into the properties of the 'My Websites' folder and check the box 'Run WWW service in IIS 5.0 isolation mode'. When I do this it solves the 'Service Unavailable' problem (although a cross appears next to the 'My Websites' folder) but when i try to view the default site again it just brings up the page cannot be displayed message.
My internet connection is working, just incase anyone thought of that.
Any help would be greatly appreciated.
|
|
|
|
|
I guess the web development forum may be the right one. This has nothing to do with the .NET framework ( and I don't know the answer )
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Someone please save my sanity.
The .Net framework replaced COM concepts with GAC concepts, which I am very thankfull for. I have now written some dlls that I would like to deploy to the GAC, and I am about to burst into tears.
COM is out and GAC is in, yet when you create a deployment package it has options to install a dll to COM but not to the GAC...
Please tell me there is a way to deploy dlls to the GAC that does not involve stretching GACUTIL.EXE further than it was intended, or any user intervention for that matter. In other words automated deployment...
____________________________________________________________
Be brave little warrior, be VERY brave
|
|
|
|
|
You probably don't actually want to install to the GAC. Installing is much safer and easier if every program has its own copy of any dependencies, and you run no risk of versioning problems.
Unfortunately if any of your dependencies have strong names (signed with a private key, to give the assembly a PublicKeyToken property) the runtime looks in the GAC before it looks in your local folders. Another installation could put an incompatible version in the GAC that would override your local copy, if it had the same assembly version number (or if the publisher used Publisher Policy to override the version used).
You also have a different servicing problem - if a third-party component has a security problem, you would have to redistribute a new version of your program, because they will be unable, typically, to detect the presence of their library in your private installation folder. You may want this level of control if they haven't fully managed compatibility with their previous version, though.
Anyway, if you really want to do it, you have to use a Windows Installer package such as Visual Studio's deployment package. To install to the GAC from Visual Studio, open the File System Editor in your setup project, right-click the root (File System on Target Machine) and select Add Special Folder, Global Assembly Cache Folder. You can now drop the assemblies in here. If you want them somewhere else as well you will need to add an extra copy.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
Hi Mike,
Thanks for the reply. We are busy doing a framework for a client that has to be shared across all applications, so we prefer to reference from the GAC. THe client is running a large number of small exe's (from VB6 days) so keeping track of all the dll's becomes a bit of a pain.
Thanks for the help
____________________________________________________________
Be brave little warrior, be VERY brave
|
|
|
|
|
Could somebody please point me to a tutorial on how to create a Help system similar to Microsoft application? I know it could be done with .HLP or .CHM type files, or even in HTML. What is the preferred approach and how is it done in the the C# part of Visual Studio?
|
|
|
|
|
Hi,
I assume you are looking for the procedure to call the help file from your application. If this is the said scenario, then I have created a sample project that you may download from:
http://www.speedyshare.com/234286855.html[^]
If you are looking to create a help file ( a Help System), then refer to the below mentioned link:
http://helpcentral.componentone.com/nethelp/d2h/[^]
I hope this would be helpful.
Vinay
ComponentOne LLC.
www.componentone.com
|
|
|
|
|
If you want a free program for creating chm files you can use Microsoft's HTML Workshop. Keep in mind that it is free for a reason .
Regards,
Thomas Stockwell
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
Visit my homepage Oracle Studios
Discounted or Free Software for Students:
DreamSpark - downloads.channel8.msdn.com
MSDN Academic Alliance - www.msdnaa.com
|
|
|
|
|
Hi,
Can any one tell me about what is OLE Automation?
Thanks,
Vanitha
|
|
|
|
|
|
Hi
I am trying to read a file and determine if the file is a word document, and retrieve its version number too.
Please help.
Thanks
Dave.
|
|
|
|
|
This snippet would read a Word Document with C# www.c-sharpcorner.com/Code/2002/Mar/WordFromDotNet.asp[^]. You can try out this and see if there are properties en route, which help you to determine the version.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
i am a new user in vb.net. Can anyone tell me how does GET AND SET works in class.
thanks
|
|
|
|
|
They are syntactic sugar for methods with a well define semantic meaning. If you want to see how they work I suggest you look at an assembly with ILDASM to see what is generated. If that isn't what you mean then you might want to ask a more detailed (less vague) question.
|
|
|
|