4 All who may have the same problem in the future: The problem is fixed! The number of worker processes had been increased to 12 by our administrator. Resetting this value to 1 solves the problem. Thx Klaus
klawipo
Posts
-
session variables vanish -
DataList and border-collapseThe exact effects of the ASP Class members to html output is poorly ducumented. Perhaps I'll find sth more exactly on google. I'll let you know. Good Luck Klaus
-
DataList and border-collapseDid you try the CellSpacing property? Setting it to a positive value should remove the border-collapse style. By the way, your javacript code is slightly wrong, try this:
document.**getElementById**("elementID").style.**borderCollapse**=""
But before doing such javascript stuff better try playing around with the border-related members of the DataList class. Hope that helps Klaus -
session variables vanishNope, definitely not. It's a proper server (Not just web hosting or something like that). Any Ideas nonetheless? Why do you ask, did you experience similar problems? One difference between test and productivity server exists. On the "real" server there is a http-auth based password check. Thx for any help Klaus
-
session variables vanishHello folks, I have a problem using ASP.NET 2.0 on IIS 6. I use a self made login routine using session variables. An object is stored in Session["user"] for this purpose. While on a test system everything works fine, on the real server the session variable disapears. This can happen within seconds or a few minutes while clicking around on the web site. Can't say anything more spcific. Does anyone know what can cause this problem? Perhaps wrong server settings? If so, which? Thx Klaus
-
OpenFileDialog bug problem .netHi, I had the same problem when I tried to preload some C-Dlls before the main window was shown. When I loaded them after showing the first window, it worked fine. hope that helps. Good luck, klawipo
-
DLLFor .Net-Assemblies there is the .Net Reflector, available e.g. at http://www.aisto.com/roeder/dotnet/ If you're lucky, this tool may show you the complete source code. For unmanaged dlls you can use the old dependency walker, probably available somewhere at microsoft. This tool can only tell you about exported functions and types. tell me if this helped. Good luck, klawipo
-
PrinterSettings.Collate doesn't work?!Hello, I have a problem with the PrinterSettings.Collate property I receive from a PrintDialog. It always seems to return false. I've tried it with a standalone application that does nothing but show the PrintDialog and return the Collate property afterwards. Is this a known bug, and if so, is there a workaraound for the problem?! Thx klawipo
-
localizing bitmapsHi, I'm currently trying to localize a .Net project. that means I need to use localized resources like stringtables and Bitmaps for german and english. Following a localization sample delivered by VS, I succeessfully localized string-resources using the resgen and afterwards the assemblylinker(al.exe) tools. Unfortunately, using the al-tool to localize bitmaps failed. Does anyone have ideas or examples with which parameters to call the al.exe to use localized Bitmaps and how to use the bitmap-resource via GetManifestResourceStream() or something? Thanks, klawipo
-
regasm fails, cannot load typeSometimes I had similiar problems using RegAsm. I don't know whether they help, but I have a few advices: -Clear all Registry Entries made from previous attempts to register your Assembly (search the registry e.g. for the dll-names or UUIDs if any are given in your Code). -If not already done, type an unique Versionnumber in 'AssemblyInfo.cs' (Important: Don't leave any '*' in the Versionnumber. The '*' shall cause the VS to generate a Versionnumber. I think it's the Buildnumber. But this simply doesn't work correctly, s.t. regasm may try to register a seemingly older version over a newer one.) - If it still doesn't work: Try to 'export' as few symbols as possible. That means (in C#): Use 'public' only on functions that are used by other dlls or via com (e.g. implemented Interface-functions must be public). Use 'internal' for other functions instead. As far as I understood, public in C# is for com like dllexport in C. Please tell me if any of the advices helped.
-
Word-addinHi, I'm currently writing a Word-addin. I Successfully added a Toolbar in my addin. I also created a Form that displays the State of Command-Execution. The Problem is: this Form does not stay in front of the word-application. I tried to Show the Dialog modal, that means with the Form.ShowDialog()-Function. This also didn't work. I think the problem is, that my Form doesn't know its owner. Any suggestions? Thanks, Klaus
-
dynamically calling assembliesHi folks, I'm working on a project using both clr and non clr-Modules. I try to load a C#-assembly dxnamically from a c++Module translated with the clr option. For that I'm using the .Net-Assembly class (System.Reflection.Assembly). In some cases I cannot call the function I'd like to. That depends on wheter some Objects are instantiated whithin it or not. Here the code of the function I try to call via Reflection: This works : ///////////////////////// public void Init() { //Doc.Document doc = new Doc.Document String txt = "hello"; } ///////////////////////// this doesn't ///////////////////////// public void Init() { Doc.Document doc = new Doc.Document; String txt = "hello"; } ///////////////////////// In case the critical line is there, I cannot even debug into the function, making it hard to find the error. Any Ideas ?
-
Depcrecated stl-streamsHere the exacter description: One of the old syntax fstream Constructors: fstream (const char* szName, int nMode, int nProt = filebuf::openprot ) with nMode e.g. ios::in for reading files, ios::out for writing files. and nProt e.g. filebuf::sh_none Exclusive mode — no sharing, filebuf::sh_read Read sharing allowed. the new fstream classes simply don't support the "nProt"-Flag in any constructor (as far as 'I know). I'd like to rework my code in terms of the new streams to be able to use it with future Compiler-Versions. I heard with the next .Net's Update old fstreams may no longer be suported. Moreover my Emloyer wants me to change it.:~
-
Depcrecated stl-streamsHello, here's my Problem: if I use the "old" filestreams declared in fstream.h, I get an "Old IOStreams Deprecated" warning. I'd like to use the new ones from the "fstream"-header, but cannot find how to set the old protection flag or something similiar. I need that to keep the file readable from other Applications in some cases. I also need to prevent reading by other Applications in other cases (e.g. Virusscaners), so the old possibility of sharing or protecting external access is needed. thanks for your answers. Klaus
-
MySql++Hello, does anyone have experience using MySql and its C++Interface? my problem is: every time I try to fill a database using MySql++ the MySql-Server shuts down after a while. What is it due to ? The Connection-Pointers are destroyed after Filling a record, so there should not be a "Too Many Connections"-Problem. Versions: MySql 3.23.42-nt, mysql++-1.7.1-1-win32-vc++
-
Program-IconIt helped, got my Icon now. Thanks a lot to both of you.
-
Program-IconI know that procedure when I have a for example dialog-based app using MFC. But I dont use MFC and aint got any resources yet. What do I have to do ? :confused:
-
Program-IconHow do I manage to use an own Icon for my executable (no MFC used yet) so that the usual Windows-Icon for exes is replaced by my Icon ?