|
I don't know if the post belongs here. Please let me know if there is a more appropriate forum for this problem.
I have a Web Server running on my machine.
When I start the machine everything works great for about 20-30 minutes.
Then something fails.
When I open the server c# project in the Visual Studio I get this error message:
The Web server reported the following error when attampting to create or open the Web project located at the following URL: 'http://localhost/Project'. 'HTTP:/1.1 500 Server Error.
If I try to get to http://localhost/Project/ I get this error message:
Logon failure: user account restriction. Possible reasons are blank passwords not allowed, logon hour restrictions, or a policy restriction has been enforced.
Has anyoone seen this?
Why oh why would it work for a while and then fail
The only way I know to continue working is to restart the machine - royal pain in the neck.
My virus files are all updated and the machine gets scanned once a week.
P.S. OS is WinXP
Elena
|
|
|
|
|
|
Hi, I have a problem with Internet Explorer. I can't change the start page because the field and the buttons are read-only. I don't know why. My OS is Windows XP, I'm dawned with Windows Update and I have administrator privilege. I think that the problem began when I installed Norton Antivirus.
Can you help me ?
Thank you very much for any answers.
SD3
|
|
|
|
|
This problem might be cause by a virus call backdoor.trojan. the computer at might work place is affect with this kind of the virus. But it is not disable with the startpage text box and the button. It make a change in the registry key and it always start when your computer is turn on. The best solution is check the name of the virus and find an instruction how to delete it from your computer.
Note: some user privilege might change these setting too. Try to check your computer security policies... and another importance places.
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Is there a max file size for any file in the more recent versions of Windows?
Freiheit ist von Gott, Freiheiten vom Teufel.
|
|
|
|
|
Of course. It is at most 2^63, the size of a signed long long. I wouldn't be surprized if it was lower though.
(Note that 2^63 is bigger than and RAID system out there, and it wouldn't surprize me if it is bigger than all the storage on earth, though I have no way of examining that.)
|
|
|
|
|
What is the difference between a hub and switch?
How can do a network through this?
san4wish likes it.
|
|
|
|
|
A hub gets a message, and fans it out to everyone, a switch is much more intelligent. A switch starts reading a packet before it is all in, and as soon as it knows where to send it, sends to only to that port.
A switch allows you to have have more than one computer on the network talking at once, so long as they are not talking to the same device. (in some cases they can talk to each other, in others not) Second, you can mix speeds. This is a great speed increase where it works. (in the real world everyone is talking to just a couple machines)
|
|
|
|
|
A hub is a networking device which just connects multiple computers together for them to see each other in a network. However, Hubs causes too much collision. A switch, is better than a HUB. An anology for this is like a highway with no other cars rather than your own car. Their will be zero collisions when setting up a network using a switch.
solidsnake
|
|
|
|
|
i think hub is a layer1 device, while switch is above layer1 ie L2 or above
|
|
|
|
|
Sir,
I am trying to find a unique machine of the computers listed in my network.
I can do it in 2 ways:By obtaining
1.IPAddress
2.MAC Address
Since IPAddress is subject to change and MAC address changes if there is change in the hardware configuration.
So the only way is to create a GUID of that machine.
The question is how one should go about in creating GUID.
I mean what are the functions should I use?
Is there any API?
I know that 2 utilities like GuidGen.exe and uuidGen.exe create unique GUIDS.
Pls guide
Regards
|
|
|
|
|
CoCreateGuid .
Stability. What an interesting concept. -- Chris Maunder
|
|
|
|
|
Hi,
Can somebody tell me what are hidden patches?
Where are the hidden patches are stored.
How one can see them?
What is the difference between a hotfix,a patch an update.
Regards
KP
I am doing a multi threaded application that involves exchange of data.
ONE UI THREAD
AND 3 WORKER THREADS.PLS LET ME HOW TO EXCHANGE THE DATA BETWEEN THESE 3 WORKER THREADS.
FOR EX:THE FIRST THREAD WILL GIVE THE SECOND THREAD THE 2 NUMBERS AS ARGUEMENTS.the second thread should return the first thread the sum.
Pls help
|
|
|
|
|
I've seen this posted here before, but it's been a long time and I can't find the reference. My server keeps creating a file named ~ on the desktop. I delete it, but it comes back daily. What the heck is it, and how do I make it go away?
Some people think of it as a six-pack; I consider it more of a support group.
|
|
|
|
|
Even on my deskop theres a file created ~.May be its related when u install a patch.
Can any expert throw light on this.
|
|
|
|
|
I think it is related to Outlook Express creating a temporary file. It wants to do so in some folder that either doesn't exist or it fails for some reason. It then fail safe saves to the desktop folder. This is all off the top of my head from 6 months ago with Windows 98 and Outlook Express.
Chris Meech
I am Canadian. [heard in a local bar]
I think people should be required to have an operator's permit to use the internet. John Simmons
|
|
|
|
|
You nailed it - OE6 attempts to make a backup of the address book every time you edit an entry there. In the original installation this worked perfectly, but a later "update" broke it. I found a Knowledge Base article about it using Google (MS' search engine can't find it), and I believe it said that this only affects systems running Win2K or WinXP. There is a patch available, but only if you call and beg for it. MS recommends that you not delete the file (in case you should need it), and wait for the next update which will address the problem. For the moment it's a trivial annoyance, cluttering the desktop but not really interfering with anything... I'll wait.
Some people think of it as a six-pack; I consider it more of a support group.
|
|
|
|
|
I am using Exchange 2000 and an event sink to apply a disclaimer to the bottom of outgoing emails. However, I would like to not have this apply to three email addresses that send auto messages out to customers, since the disclaimer is already on the statement that is sent out. However, I am having trouble with the code. If I put any kind of conditional statement in the vbs script, it breaks. Any idea of what I am doing wrong?
Thanks in advance.
David K. Sayers
CompTIA-A+, i-Net+, IT Project+
CIW-Associate
Citrix-CCA
MCP-98/2000
MCSA-2000
MCSE-2000
|
|
|
|
|
I wrote a resource script with menu resources duplicated on several languages.
MSDN states that I can control loading appropriate version of resource using
SetThreadLocale() call, but this way doesn't work. Operating system always
loads English version of menus in spite of what thread locale I'm using. Can
you tell me what's wrong? I'm working with Windows XP SP1.
|
|
|
|
|
chupeev@tmn.ru wrote:
Operating system always
loads English version of menus in spite of what thread locale I'm using
I believe this is because the operating system locale is overiding what is being put in here. There is a way to override this, but I am not aware of the command. I will post back if I come up with anything.
David K. Sayers
CompTIA-A+, i-Net+, IT Project+
CIW-Associate
Citrix-CCA
MCP-98/2000
MCSA-2000
MCSE-2000
|
|
|
|
|
This is an examle code that should load russian version of menu resource, but the main
window displayed with english UI though.
------------- sh ./eg.sh ------------------
#!/bin/sh
cat > generic.c << EOF
#include <windows.h>
#include <tchar.h>
#include <windowsx.h>
#define NAMESTART 16
WNDPROC Listbox_WindowProc;
BOOL CALLBACK Enumres_EnumProc(HMODULE hModule, \
LPCTSTR lpszType, LPCTSTR lpszName, LANGID wIDLanguage, LPARAM lParam)
{
TCHAR szItemText[NAMESTART + MAX_PATH];
HWND* hwnd = (HWND*) lParam;
wsprintf(szItemText, TEXT("%#03x %#03x - "), PRIMARYLANGID(wIDLanguage), SUBLANGID(wIDLanguage));
if (0 < GetModuleFileName(hModule, &szItemText[lstrlen(szItemText)], MAX_PATH))
{
ListBox_AddString(*hwnd, szItemText);
}
return (GetLastError() == ERROR_SUCCESS? TRUE: FALSE);
}
void Enumres_OnDestroy(HWND hwnd)
{
SetWindowLong(hwnd, GWL_WNDPROC, (LONG) Listbox_WindowProc);
PostQuitMessage(0);
}
LRESULT CALLBACK Enumres_WindowProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
{
switch (uMsg)
{
case WM_DESTROY:
HANDLE_WM_DESTROY(hwnd, wParam, lParam, Enumres_OnDestroy);
break;
default:
return Listbox_WindowProc(hwnd, uMsg, wParam, lParam);
}
return 0;
}
BOOL InitInstance(int nCmdShow)
{
LCID dwCurrLocale = MAKELCID(MAKELANGID(LANG_RUSSIAN, SUBLANG_DEFAULT), SORT_DEFAULT);
if (SetThreadLocale(dwCurrLocale))
{
HMENU menu = LoadMenu(NULL, TEXT("GENERIC"));
if (menu)
{
HWND hwnd = CreateWindow(
TEXT("LISTBOX"), // name of window class
TEXT("Enumres"), // title-bar string
WS_OVERLAPPEDWINDOW, // top-level window
CW_USEDEFAULT, // default horizontal position
CW_USEDEFAULT, // default vertical position
CW_USEDEFAULT, // default width
CW_USEDEFAULT, // default height
NULL, // no owner window
menu, // required menu
NULL, // handle to application instance
(LPVOID) NULL); // no window-creation data
if (hwnd)
{
Listbox_WindowProc = (WNDPROC) SetWindowLong(hwnd, GWL_WNDPROC, (LONG) Enumres_WindowProc);
if (EnumResourceLanguages(NULL, RT_MENU, TEXT("GENERIC"), Enumres_EnumProc, (LPARAM) &hwnd))
{
ShowWindow(hwnd, nCmdShow);
UpdateWindow(hwnd);
return TRUE;
}
}
}
}
return FALSE;
}
int WINAPI _tWinMain(HINSTANCE hCurrInst, HINSTANCE hPrevInst, LPTSTR lpCmdLine, int nCmdShow)
{
if (InitInstance(nCmdShow))
{
MSG msg;
while (GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return ((int) msg.wParam);
}
return 0;
DBG_UNREFERENCED_PARAMETER(hPrevInst);
DBG_UNREFERENCED_PARAMETER(lpCmdLine);
}
EOF
cat > resource.h << EOF
#define ID_FILE_NEW 100
#define ID_FILE_OPEN 101
#define ID_FILE_SAVE 102
#define ID_FILE_SAVE_AS 103
#define ID_FILE_PRINT 104
#define ID_FILE_PRINT_SETUP 105
#define ID_FILE_EXIT 106
#define ID_EDIT_UNDO 200
#define ID_EDIT_CUT 201
#define ID_EDIT_COPY 202
#define ID_EDIT_PASTE 203
#define ID_EDIT_LINK 204
#define ID_HELP_CONTENTS 300
#define ID_HELP_SEARCH 301
#define ID_HELP_HELP 302
#define ID_HELP_ABOUT 303
#define ID_HELPTOPICS 304
EOF
cat > generic.rc << EOF
#include "windows.h"
#include "winver.h"
#include "resource.h"
LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
GENERIC MENU
BEGIN
POPUP "&Файл"
BEGIN
MENUITEM "Созд&ать\tCtrl+N", ID_FILE_NEW, GRAYED
MENUITEM "&Открыть...\tCtrl+O", ID_FILE_OPEN, GRAYED
MENUITEM "&Сохранить\tCtrl+S", ID_FILE_SAVE, GRAYED
MENUITEM "Сохранить &как...", ID_FILE_SAVE_AS, GRAYED
MENUITEM SEPARATOR
MENUITEM "&Печать...\tCtrl+P", ID_FILE_PRINT, GRAYED
MENUITEM "Пара&метры страницы...", ID_FILE_PRINT_SETUP, GRAYED
MENUITEM SEPARATOR
MENUITEM "В&ыход\tAlt+X", ID_FILE_EXIT
END
POPUP "&Правка"
BEGIN
MENUITEM "&Отменить\tCtrl+Z", ID_EDIT_UNDO, GRAYED
MENUITEM SEPARATOR
MENUITEM "&Вырезать\tCtrl+X", ID_EDIT_CUT, GRAYED
MENUITEM "&Копировать\tCtrl+C", ID_EDIT_COPY, GRAYED
MENUITEM "&Вставить\tCtrl+V", ID_EDIT_PASTE, GRAYED
MENUITEM "Ссы&лка", ID_EDIT_LINK, GRAYED
END
POPUP "&Справка"
BEGIN
MENUITEM "&Содержание", ID_HELP_CONTENTS, HELP
MENUITEM "&Предметный указатель...", ID_HELP_SEARCH, HELP
MENUITEM "О сп&равочной системе", ID_HELP_HELP, HELP
MENUITEM SEPARATOR
MENUITEM "&О программе...", ID_HELP_ABOUT
END
END
LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
/////////////////////////////////////////////////////////////////////////////
//
// Menu
//
GENERIC MENU
BEGIN
POPUP "&File"
BEGIN
MENUITEM "&New\tCtrl+N", ID_FILE_NEW, GRAYED
MENUITEM "&Open...\tCtrl+O", ID_FILE_OPEN, GRAYED
MENUITEM "&Save\tCtrl+S", ID_FILE_SAVE, GRAYED
MENUITEM "Save &As...", ID_FILE_SAVE_AS, GRAYED
MENUITEM SEPARATOR
MENUITEM "&Print...\tCtrl+P", ID_FILE_PRINT, GRAYED
MENUITEM "P&rint Setup...", ID_FILE_PRINT_SETUP, GRAYED
MENUITEM SEPARATOR
MENUITEM "E&xit\tAlt+X", ID_FILE_EXIT
END
POPUP "&Edit"
BEGIN
MENUITEM "&Undo\tCtrl+Z", ID_EDIT_UNDO, GRAYED
MENUITEM SEPARATOR
MENUITEM "Cu&t\tCtrl+X", ID_EDIT_CUT, GRAYED
MENUITEM "&Copy\tCtrl+C", ID_EDIT_COPY, GRAYED
MENUITEM "&Paste\tCtrl+V", ID_EDIT_PASTE, GRAYED
MENUITEM "Paste &Link", ID_EDIT_LINK, GRAYED
END
POPUP "&Help"
BEGIN
MENUITEM "&Contents", ID_HELP_CONTENTS, HELP
MENUITEM "&Search for Help On...", ID_HELP_SEARCH, HELP
MENUITEM "&How to Use Help", ID_HELP_HELP, HELP
MENUITEM SEPARATOR
MENUITEM "&About Generic...", ID_HELP_ABOUT
END
END
EOF
rc generic.rc
cl /nologo /MDd /Zi /D_UNICODE /DUNICODE generic.c generic.res user32.lib
|
|
|
|
|
I have been trying for about a week to install my Visual C++ application (via a deployment project in Visual Studio .Net)on a Laptop PC, but after many loops and changes the situation is that the application does not run (I think), the hour glass (mouse pointer) changes for about 1/2 sec when you double click on the program Icon.
ALso I did try and install Vcredist.exe which is a MS file to update any DLLs etc that a Visual Studio application may need on another PC without Visual Studio installed.
It does nothing!!??!! No error - nothing like an empty exe file
Are they some setting on this Laptop preventing new program files being changed/added to?
Its running Windows 2000 SP 5.
|
|
|
|
|
Hi, can anyone explain me about the unattendent install of windows 2000. I don't uderstand if we have 100 clients connect to the server with a blank hard disk (client). How could it run an installation from the server to the client if the client hard disk didn't format (may be they set the boot option...??? I'm not clear too) or without the command from an administrator (automate installation). I read the books and have a problem with that point. Just explain me in the frame of this process. Because I start don't understand from that point and could not complete the chapter.
Roath Kanel
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
Starting with the disclaimer of "I haven't done this, but..."
I just reviewed the discussion, albeit a brief one, in Windows 2000 Administrator's Black Book, 2ed, along with the Windows Help discussion of Remote Installation Service (RIS), and bits of the Resource Kit. While there are a few alternative methods available, the simplest seems to be:
Install Windows 2000 Pro on a new machine, along with any applications to be distributed. Share this on a network with a server running RIS. Run the Remote Installation Wizard (part of the Win2K Resource Kit) to create an image from the new installation and save the image in a RIS folder on the server. This strips from the image any machine-specific settings, including the SID and product ID. You then create an answer file to be used for the remote installations which provides answers to all the steps you'd normally respond to manually on each installation.
For each client you create a boot floppy that starts the machine in a network accessible state and run Winnt32 with command line options that direct it to use the network share containing the answer file and the image created for RIS. This will prepare the hard drive and download the image to each client, and the individual machines will be configured by Plug-and Play for minor hardware variations. There are methods to fully automate the process, by including the unique license keys for each machine on the floppies, but I didn't delve into it that deeply. This is a case when an investment in the Resource Kit is definitely justified, as this is where the most information, and the tools to automate the task are found.
Have fun!
Some people think of it as a six-pack; I consider it more of a support group.
|
|
|
|
|
If I have mutliple JREs installed on my machine, is there a way to have set it so that netscape 7 uses a particular one by default? Currently Netscape will use the most recently installed JRE, but is it possible to manually set it?
thanks
L
|
|
|
|
|