wiki:FAQ

Version 8 (modified by Patrick Vacek, 12 years ago) (diff)

Spelling

Frequently Asked Questions (F.A.Q.) by Developers

On this page we collect some of the most common errors and situations which might be encountered when developing within this project or simply when using it. This includes compile-errors, but also exceptions when running the program.

Opening the solution issues

Q: My VS cannot open the CrypWin.exe because the type of project (.exe) is not supported. What am I doing wrong?

A: First of all, you need to have the MS Visual Studio 2008 Professional Edition. If this applies to you, rerun the setup and add some things you do not have installed yet. We currently don't know which part has to be installed to be able to load .exe files, but installing the C# AND the C++ environment should do the trick.

Compiling issues

Q: It does not compile due to a missing file. What can I do?

A: Please check if the missing file is where it is supposed to be. If it's not there file a ticket, or tell us in our group chat. This should not happen. However, if it IS there, then check if the total path length to this file (including it's name) exceeds 256 characters -- this can happen when you checkout in a very deep directory. If it exceeds this length you have to move the whole source-code directory into a less deep directory, e.g. directly to C:\CT2-Repository\

Q: I get a SplashScreen error when trying to compile CT2. What gives? (German example: "Der SplashScreen-Parameter wird von der MarkupCompilePass1-Aufgabe nicht unterstützt. Vergewissern Sie sich, dass der Parameter in der Aufgabe vorhanden ist und dass es sich um eine festlegbare Public-Instanz-Eigenschaft handelt.")

A: You probably do not have the .NET Framework SP1. Perform Windows Update to install it.

Runtime issues

Q: Everything compiles smoothly, but when it starts there comes an System.TypeLoadException with a message about the SplashScreen. Why doesn't it start?

A: You did not install .NET 3.5 SP1. Since some versions, .NET 3.5 Service Pack 1 is a necessary pre-requisite to start CrypTool 2.0, hence install .NET 3.5 SP1, which you get directly from the Microsoft Webpage.

Q: Is it possible to open a specific workspace aka .cte when I start CT2 so I don't have to open it manually all the time?

A: Sure, just open the CrypWin.exe properties and add the path to your .cte in the Command Arguments section. Don't forget to put your path in quotation marks if it contains spaces.