|
Create a restore point just to save the activation???? WHY? I have no idea if it'll work so you'll have to try it yourself.
I agree that it's a good idea to create a store point before installing a service pack. In fact, it's done automatically when the SP is installed.
The whole point, though, is to activate the thing BEFORE you install the SP.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Neither is correct. Sorry.
|
|
|
|
|
I want to open a chm file from a network location. Due to a recent ms security path, you can't do it.
I was reading the following microsoft article which explains the workaround.
http://support.microsoft.com/kb/896054/
i want to use the solution listed in "Example 1: How to use UrlAllowList to enable specific URLs"
The reg file i created is:
REGEDIT4<br />
<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]<br />
"UrlAllowList"="\\\\beyond15\\GASPNet 7\\;file://\\\\beyond15\\GASPNet 7"<br />
It works if i access the folder via \\beyond15\GASPNet 7\ and then execute the chm, but if i create a network drive (i.e. z:\) with that folder, i can open the file but i get the message action cancelled.
any ideas?
Thank you very much
-- modified at 15:30 Wednesday 21st December, 2005
|
|
|
|
|
kfaday wrote: It works if i access the folder via \\beyond15\GASPNet 7\ and then execute the chm, but if i create a network drive (i.e. z:\) with that folder, i can open the file but i get the message action cancelled.
In my opinion, you should try to change the path in your regiedit to the specifi drive that you mapped.
|
|
|
|
|
Would you mind telling me how to do that?
Thanks
|
|
|
|
|
Try to change:
REGEDIT4<br />
<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]<br />
"UrlAllowList"="\\\\beyond15\\GASPNet 7\\;file://\\\\beyond15\\GASPNet 7"
to
REGEDIT4<br />
<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]<br />
"UrlAllowList"="\\\\beyond15\\GASPNet 7\\;file://z:\"
or
REGEDIT4<br />
<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]<br />
"UrlAllowList"="z:\;file://\\\\beyond15\\GASPNet 7"
or
REGEDIT4<br />
<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp]<br />
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\HTMLHelp\1.x\ItssRestrictions]<br />
"UrlAllowList"="z:\;file://z:\"
I can't guarantee it is working or not but you should try to do the above method first. But make sure to backup the registry key before you do that.
|
|
|
|
|
thanks for your help, but none of them worked
|
|
|
|
|
I am developing custom GINA which authenticates users based on tag reads from a USB Tag Reader(USB-Serial) that gives the tag id on COM3 as input to GINA.
I am having a few problems with the final step of getting my software to work, and I would appreciate a few comments from you on the problem that I am facing currently.
I have replaced MSGINA.DLL with a customised GINA.DLL and I have to get user information from an USB Tag Reader (USB-Serial) which provide a virtual COM port(COM3).
I am trying to read COM3 during WINLOGON by using CreateFile() and ReadFile() function but, I am getting an error that : "The Parameter is incorrect"
though I am getting the VALID HANDLE of the COM3. This is a program that works quite well in my development environment when I am logged in - but fails with this error when GINA tries to execute it during startup.
Is there any special security setting I have to set to access the COM3 before WINLOGON ? This is an issue that I am not able to find properly , and I would appreciate a few pointers to help me overcome this problem.
Please reply me as soon as possible..
--------------------------------------------------------------- This is sample source code to access Virtual COM (COM3) and mentioned where the error occured------------------------------
if (hPort == NULL)
{
hPort = CreateFile ("\\\\.\\COM3", // Pointer to the name of the port
GENERIC_READ | GENERIC_WRITE, // Access (read-write) mode
0, // Share mode
NULL, // Pointer to the security attribute
OPEN_EXISTING, // How to open the port
0, // Port attributes
NULL); // Handle to port with attribute
if (hPort == INVALID_HANDLE_VALUE)
{
printf("Could not open %s\n",port_name); // process error
}
Port_Ready = SetupComm(hPort, 34, 34); // set buffer sizes
if(!Port_Ready)
{
printf("%d\n",GetLastError());------------------------------------------------------------------------->"The Parameter is Incorrect"
return 1;
}
Port_Ready = GetCommState(hPort, &dcb);
if(!Port_Ready)
{
printf("Getting Port Comm State Fail\n");
}
dcb.BaudRate = CBR_38400;
dcb.Parity = NOPARITY;
dcb.ByteSize = 8;
dcb.StopBits = ONESTOPBIT;
dcb.fAbortOnError = TRUE;
dcb.fRtsControl=TRUE;
dcb.fParity = FALSE;
Port_Ready = SetCommState(hPort, &dcb);
if(!Port_Ready)
{
printf("%d\n",GetLastError());
return 1;
}
Port_Ready = GetCommTimeouts (hPort, &CommTimeouts);
if(Port_Ready)
{
printf("%d\n",GetLastError());
return 1;
}
CommTimeouts.ReadIntervalTimeout = 5000;
CommTimeouts.ReadTotalTimeoutConstant = 5000;
CommTimeouts.ReadTotalTimeoutMultiplier = 100;
Port_Ready = SetCommTimeouts (hPort, &CommTimeouts);
if(Port_Ready)
{
printf("%d\n",GetLastError());
retunr 1;
}
PurgeComm(hPort,PURGE_RXCLEAR);
if(!SetCommMask(hPort, EV_RXCHAR))
{
printf("%d\n",GetLastError());
return 1;
}
if(WaitCommEvent(hPort, &dwEventMask, &over))
{
if(ReadFileEx(hPort, &Buffer, PACKET_SIZE, &Bytes_Read, NULL)==FALSE)
{
printf("%d",::GetLastError());
return 1;
}
}
Atanu Biswas
|
|
|
|
|
I have run into this problem.
http://www.experts-exchange.com/Web/Browser_Issues/Q_21370470.html[^]
Anyone know how to fix it?
I have run MS AntiSpyware, toolbarcop and hijackthis. In toolbarcop I deleted two empty toolbar entries to no avail. All other entries look OK.
Unfortunately I don't want to subscribe to experts exchange, who look like they may have the answer.
This all happened when a colleague sent me a link to his family web site.
Kevin
|
|
|
|
|
Are you running Google Desktop Search? Uninstall it. It's a known bug with Google.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Not running desktop search but a bit of trial and error in Toolbarcop (http://www.winhelponline.com/tbchelp.htm[^]) identified the culprit as the Google Toolbar! First time I've had any problems with it. Anyway, disabling and then enabling the toolbar entries in Toolbarcop sorted it.
Kevin
|
|
|
|
|
That can happen if a toolbar subclasses the IE frame window, and the character sets on the two don't match (toolbar ANSI, IE Unicode), and the toolbar doesn't properly route unhandled messages back to the frame.
I used to do this in my toolbars (the bars would broadcast messages to communicate with other running instances) but I stopped doing it w/messages because of just this problem.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
Kosh reminded me of some of the prima-donna programmers I've worked with. Knew everything but when you asked them a question; never gave you a straight answer.
-- Michael P. Butler in the Lounge
|
|
|
|
|
Did you see my reply to Dave above?
Kevin
|
|
|
|
|
Well yeah, I was just throwing out some extra info to show that it wasn't totally random that an IE toolbar would cause that problem.
--Mike--
Visual C++ MVP
LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ
I even hear the Windows "OMG I booted up fine" sound.
-- Paul Watson diagnosing hardware problems.
|
|
|
|
|
Ok, so you were essentially explaining what might be the cause of the problem with the Google toolbar.
Kevin
|
|
|
|
|
Hi...
I've been trying to run VC6 in batch mode in order to export makefiles from several workspaces
What I did was something like this
for %%W in ( several workspaces ) do (<br />
msdev.exe %%W /EX ExportMakefile<br />
)
ExportMakefile is a macro that exports the workspace to a makefile and exits VC
The problem is, the loop keeps creating instances of msdev.exe without waiting for the previous one to end, effectively bogging down my machine
I tried
start /WAIT msdev
but that makes no difference
isn't there some way to run a GUI from the command line and wait for it to terminate?
-- modified at 6:11 Tuesday 20th December, 2005
|
|
|
|
|
|
that didn't work either. runs visual studio and returns immediately...
thanks anyway!
the strange thing is that
start /WAIT notepad
waits for notepad to exit. same for some other programs too, like calculator, internet explorer...
|
|
|
|
|
For want of a better method, I've solved this by writing a small program (runmsdev.exe) that executes msdev.exe (the visual C IDE) and waits for it to exit. This is kind of inelegant, and not really suitable for use by anyone other than myself (was hoping to write a standard batch file that my collegues could use too)...
posting the code below in case anybody is interested...
call this as
for %%W in ( several workspace names ) do (<br />
start /WAIT runmsdev %%W /EX ExportMakefile<br />
)
This assumes the PATH variable contains the path to msdev.exe.
All command line parameters of runmsdev.exe are passed to msdev.exe
int APIENTRY WinMain(HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPSTR lpCmdLine,
int nCmdShow )
{
DWORD dwExitCode = 0;
TCHAR szMsDevPath[MAX_PATH];
TCHAR szCmdLine[MAX_PATH];
TCHAR *pMsDevName;
STARTUPINFO si;
PROCESS_INFORMATION pi;
ZeroMemory(&si, sizeof si);
ZeroMemory(&pi, sizeof pi);
si.cb = sizeof si;
si.dwFlags = STARTF_USESHOWWINDOW;
si.wShowWindow = SW_SHOW;
if (SearchPath(NULL, _T("msdev.exe"), NULL, sizeof szMsDevPath, szMsDevPath, &pMsDevName)) {
_stprintf(szCmdLine, _T("%s %s"), szMsDevPath, lpCmdLine);
if (CreateProcess(NULL, szCmdLine, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi)) {
WaitForSingleObject(pi.hProcess, INFINITE);
GetExitCodeProcess(pi.hProcess, &dwExitCode);
CloseHandle(pi.hProcess);
CloseHandle(pi.hThread);
} else {
MessageBox(NULL, _T("failed to execute msdev.exe"), _T("RunMsdev"), MB_OK | MB_ICONERROR);
dwExitCode = -1;
}
} else {
MessageBox(NULL, _T("could not find msdev.exe"), _T("RunMsdev"), MB_OK | MB_ICONERROR);
dwExitCode = -1;
}
return dwExitCode;
}
- Indivara
"...This city desert makes you feel so cold.
It's got so many people but it's got no soul..."
- Gerry Rafferty, Baker Street
-- modified at 5:18 Wednesday 21st December, 2005
|
|
|
|
|
Is it possible to read index server catalogs??
pls help its urgent
|
|
|
|
|
Try to check the information from here.[^]
|
|
|
|
|
Hi,
In the couple of months our print server has been bouncing frequently and I have used the Microsoft debugger to analyze the dump. Since I am very new to this and not knowledgable in the hardware programing, I and having difficulty in following thru to identify what caused the dump. In this case it seems to be pointing to memory_corruption but can anyone workout for me what caused the memory corruption. below is the dump file from the debugger.
thank very many for your help.
__________________
Loading Dump File [\\bfpmi01\c$\WINNT\Minidump\Mini120705-01.dmp]
Mini Kernel Dump File: Only registers and stack trace are available
Symbol search path is: srv*\\bfpmi01\c$\winnt\symbols*http://msdl.microsoft.com/download/symbols
Executable search path is: \\bfpmi01\c$\winnt\;\\bfpmi01\c$\winnt\system32\; \\bfpmi01\c$\winnt\system32\drivers\
Windows 2000 Kernel Version 2195 (Service Pack 4) MP (4 procs) Free x86 compatible
Kernel base = 0x80400000 PsLoadedModuleList = 0x80485b00
Debug session time: Wed Dec 7 12:40:29.726 2005 (GMT+10)
System Uptime: not available
Loading Kernel Symbols
.............................................................................................................
Loading unloaded module list
.....
Loading User Symbols
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
Use !analyze -v to get detailed debugging information.
BugCheck 41, {1000, eb6a, ee1, 5dc25}
Probably caused by : memory_corruption ( nt!MiAllocatePoolPages+4e )
Followup: MachineOwner
---------
1: kd> !analyze -v
*******************************************************************************
* *
* Bugcheck Analysis *
* *
*******************************************************************************
MUST_SUCCEED_POOL_EMPTY (41)
No component should ever ask for must-succeed pool as if there is none left,
the system crashes. Instead, components should ask for normal pool and
gracefully handle the scenario where the pool is temporarily empty. This
bugcheck definitely reveals a bug in the caller (use kb to identify the caller).
In addition, the fact that the pool is empty may be either a transient condition
or possibly a leak in another component (distinguish between the 2 cases by
following the directions below).
Type kb to show the calling stack.
Type !vm 1 to display total pool usage.
Then type !poolused 2 to display per-tag nonpaged pool usage.
Then type !poolused 4 to display per-tag paged pool usage.
The crash should be looked at by the tag owner that is consuming the most pool.
Arguments:
Arg1: 00001000, size of the request that could not be satisfied
Arg2: 0000eb6a, number of pages used of nonpaged pool
Arg3: 00000ee1, number of > PAGE_SIZE requests from nonpaged pool
Arg4: 0005dc25, number of pages available
Debugging Details:
------------------
CUSTOMER_CRASH_COUNT: 1
DEFAULT_BUCKET_ID: INTEL_CPU_MICROCODE_ZERO
BUGCHECK_STR: 0x41
LAST_CONTROL_TRANSFER: from 8046df68 to 8046e68e
STACK_TEXT:
f687fb38 8046df68 00000002 00001000 00000000 nt!MiAllocatePoolPages+0x4e
f687fb70 8041e6a2 00000002 00000000 20707249 nt!ExAllocatePoolWithTag+0x428
f687fbd4 8041e556 8810500e 00000000 80429e6c nt!IopAllocateIrpPrivate+0x148
f687fbe0 80429e6c 8810500e 00000000 00000000 nt!IoAllocateIrp+0xe
f687fc20 804da78a 878552b8 878552a0 89045040 nt!IopDeleteFile+0x6c
f687fc3c 804516ad 878552b8 80065704 00000000 nt!ObpRemoveObjectRoutine+0xd6
f687fc60 8043b66e 87b78668 e4683c08 00000000 nt!ObfDereferenceObject+0x157
f687fc84 8043bf8c e4554e88 87b7866c 87b78668 nt!MiSegmentDelete+0x142
f687fd48 8043d130 87b78600 00000000 80486180 nt!MiCleanSection+0x56c
f687fd8c 8043b927 00000000 00000000 00000000 nt!MiRemoveUnusedSegments+0x95e
f687fda8 80457838 00000000 00000000 00000000 nt!MiDereferenceSegmentThread+0x4f
f687fddc 8046c8e6 8043b8d8 00000000 00000000 nt!PspSystemThreadStartup+0x54
00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x16
FOLLOWUP_IP:
nt!MiAllocatePoolPages+4e
8046e68e bb00100000 mov ebx,0x1000
SYMBOL_STACK_INDEX: 0
FOLLOWUP_NAME: MachineOwner
SYMBOL_NAME: nt!MiAllocatePoolPages+4e
MODULE_NAME: nt
DEBUG_FLR_IMAGE_TIMESTAMP: 427b58bb
STACK_COMMAND: kb
IMAGE_NAME: memory_corruption
FAILURE_BUCKET_ID: 0x41_nt!MiAllocatePoolPages+4e
BUCKET_ID: 0x41_nt!MiAllocatePoolPages+4e
Followup: MachineOwner
---------
1: kd> kb
ChildEBP RetAddr Args to Child
f687fb38 8046df68 00000002 00001000 00000000 nt!MiAllocatePoolPages+0x4e
f687fb70 8041e6a2 00000002 00000000 20707249 nt!ExAllocatePoolWithTag+0x428
f687fbd4 8041e556 8810500e 00000000 80429e6c nt!IopAllocateIrpPrivate+0x148
f687fbe0 80429e6c 8810500e 00000000 00000000 nt!IoAllocateIrp+0xe
f687fc20 804da78a 878552b8 878552a0 89045040 nt!IopDeleteFile+0x6c
f687fc3c 804516ad 878552b8 80065704 00000000 nt!ObpRemoveObjectRoutine+0xd6
f687fc60 8043b66e 87b78668 e4683c08 00000000 nt!ObfDereferenceObject+0x157
f687fc84 8043bf8c e4554e88 87b7866c 87b78668 nt!MiSegmentDelete+0x142
f687fd48 8043d130 87b78600 00000000 80486180 nt!MiCleanSection+0x56c
f687fd8c 8043b927 00000000 00000000 00000000 nt!MiRemoveUnusedSegments+0x95e
f687fda8 80457838 00000000 00000000 00000000 nt!MiDereferenceSegmentThread+0x4f
f687fddc 8046c8e6 8043b8d8 00000000 00000000 nt!PspSystemThreadStartup+0x54
00000000 00000000 00000000 00000000 00000000 nt!KiThreadStartup+0x16
Myhope
|
|
|
|
|
I'm no expert, but it looks like some program is using up the non paged pool, a finite resource.
Try running Task Manager and display the 'Non Paged Pool' column, if a program keps increasing this value, eventually the PC will crash. MOnitor it for a few houres/days.
BTW are you runing Zone Alarm on the PC, that has caused me NP Pool leaks?
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for - in order to get to the job you need to pay for the clothes and the car, and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
|
|
|
|
|
Thank you Ted,
I did monitor the memory use in the taskmgr but not able to get anything. I have posted further finding under Mike Dimmik response.
Can you be able to assist with that as well?
thanks for your time once again.
Eric
MyHope
Myhope
|
|
|
|
|
Mike, looks far more knowlegeable than me! I am sure he can help.
"Normal is getting dressed in clothes that you buy for work and driving through traffic in a car that you are still paying for - in order to get to the job you need to pay for the clothes and the car, and the house you leave vacant all day so you can afford to live in it." - Ellen Goodman
|
|
|
|
|