Tag Archives: access

[Java] Java program error: exception_ ACCESS_ VIOLATION (0xc0000005)

When running Java program, error: exception_ ACCESS_ VIOLATION (0xc0000005);

According to the description of the original webpage:

EXCEPTION_ACCESS_VIOLATION

In rare circumstances, a Java program could stop with a message similar to the following:
 An unexpected error has been detected by HotSpot Virtual Machine:
 EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c042340, pid=1743, tid=122
 Java VM: Java HotSpot(TM) Client VM (1.5.4_02)
Problematic frame:
C [ntdll.dll+0x2430]
Essentially, Java will stop with a message such as the above if a "serious" error occurs that means the JVM can't continue to function. Usually, the most discriminating line is the first mention of a DLL, such as the line in bold above. The source of the error could be any of the following:

 1. a bug in the JVM itself; search Google and/or the Java web site for
    a mention of ntdll.dll+0x2430;
 2. a bug in some non-Java code that was being run at the time: e.g.
    Java might have been calling into a printer driver, graphics driver
    etc.

If you're not sure what to do but are not using the latest version of the JVM for your system, then a good first course of action is usually to upgrade your JVM. If the bug is in some other DLL, e.g. a printer driver, database driver, graphics driver etc, then it is best to see if you can upgrade the component in question.

If the error is occurring in some native code that you have written, then you need to find out which line of code corresponds to the offset mentioned (in this case, 0x2430, although the DLL isn't one of ours in this example). Usually you can tell your compiler to generate a "map 

The possible reasons are as follows:
1. A bug in the JVM itself; search Google and/or the Java Web site for
a mention of ntdll.dll +0x2430;
For a bug in the JVM itself, visit Google or the Java website (according to ntdll.dll +A bug in some non java code that was being run at the time: e.g.
java might have been calling into a printer driver, Graphics driver
etc.
a bug in a running non java code may cause the print driver to be called, such as the graphics driver;

Here, my suggestions are:
1. The port number may conflict, so close other unnecessary Java programs;
2 2. For the same Java program, some function may be set to start automatically (which will crowd out the Java program you are using). If there is a pause button, pause the function in the same Java program first (without affecting it), run the part of your own function first, and then start other functions after running this part of your own function;

Welcome to my official account:
[screen bridge community]

Event ID 407, 408 – when NAT is used as a DNS server

QUESTION NO: 211

You are the administrator of TestKing’s network, which consists of a single Windows 2000 Domain. The

relevant portion of its configuration is shown in the exhibit.

You configure a Windows 2000 Server computer named NAT1 as the DNS server for the domain. You

install Routing and Remote Access on NAT1. You configure NAT1 to provide network address

translation services for client computers to access the Internet.

Users now report that they cannot log on to the domain or access network resources. On investigation,

you discover that you cannot query NAT1 for name resolution. In the application event log on NAT1, you

find the following event messages:

Event ID: 407

Source: DNS

Description: DNS server could not bind a datagram (UDP) socket to

192.168.0.1. The data is the error.

Event ID: 408

Source: DNS

Description: DNS server could not open socket for address 192.168.0.1.

Verify that this is a valid IP address on this machine.

How should you correct this problem?

A. Disable the DNS proxy functionality on NAT1

B. Enable the DNS proxy functionality on NAT1

C. Reconfigure the DNS server service not to listen on the internal address of NAT1.

D. Reconfigure the DNS server service not to listen on the external address of NAT1.

Answer: C

Explanation: This problem can occur when you have a NAT server that also is used as a DNS server. NAT has

a DNS Proxy setting that enables DHCP clients to direct DNS queries to the NAT server. The client DNS

queries are then forwarded to the NAT server’s configured DNS server. The DNS Proxy and the DNS Server

service cannot coexist on the same host, if the host is using the same interface and IP address with the default

settings.

There are three methods to overcome this problem:

1. Reconfigure the DNS server service not to listen on the internal address. This is the solution in this scenario.

2. Install NAT and DNS on different servers. We cannot change this configuration here since this option is not

listed.

3. Use the DHCP server Service in NAT, NOT the DHCP Allocator and DNS Proxy.

Reference: JSI Tip 3284, Your DNS Event Log reports Event Ids 407 and 408

Incorrect Answers:

A: We could disable both the DNS proxy functionality and the DHCP allocator.

B: The DNS proxy function on the NAT server is partly to blame. Enabling it will not help.

D: We must configure the DNS server not to listen to the internal address, not the external address.

Unable to open the physical file “d:\***.mdf”. Operating system error 5: “5(Access is denied.)”.

SQL SERVER2008 is installed under Windows 7. An error occurred trying to attach an existing database MDF file,
Unable to open the physical file “d:\***.mdf”. Operating system error 5: “5(Access is denied.)”.
Is to set the SQL Server related account access to the file
Let Management Studio run as an administrator
 

Error 711: Cannot load Remote Access Service Connection Manager.

When you try to create a new network Connection, you may receive the following Error message:
Error 711: Cannot load Remote Access Service Connection Manager.
The Routing and Remote Access service terminated with service-specific error 711 (0x2C7)
Incoming Connections depend on the Routing and Remote Access service which was unable to start.For more information, check the system event log.
The first method:
 
Please take a look at your following services:
Service name: EventLog Display name: Windows Event Log Boot type: Auto
Service Name :TapiSrv Display name: Telephony Startup Type: Manual
Secure Socket Tunneling Protocol Service Startup Type: Manual
Service name :Netman Display name: Network Connections Startup Type: Manual
Service Name: NSI Display name: Network Store Inte*** CE Service Startup Type: Automatic
Service name :RasMan Display name: Remote Access Connection Manager Startup Type: Manual

error :711 friends, I think your service Settings should be on the first service I listed
First service description: This service manages events and event logs. It supports logging events, querying events, subscribing to events, archiving event logs, and managing event metadata. It displays events in BOTH XML and plain text formats. Stopping the service may compromise the security and reliability of the system.
Disabling the first Service will cause the SstpSvc to display the name: Secure Socket Tunneling Protocol Service which stops automatically after startup
And the service name :RasMan shows the name: Remote Access Connection Manager and the service needs to rely on it,
 
 

the second method:

this problem is easy to solve! At the command line run as administrator. Type Netsh WinSock Reset Enter and restart
 
 

the third method:

find C:/Windows/System32/LogFiles/WMI this folder, as long as this folder administrator title and then restart! Use rubik’s cube in the system Settings right menu management inside the new “access to administrator rights” function, and then you can click the right mouse button on the folder above, the administrator to obtain the ownership can be solved.
 

the fourth way :(this method did not try, it must work, but do not want to shut down every time to execute, feel like trying to steal the bell.

see by the members asked — — — — — — — the C:/Windows/System32/LogFiles/WMI right to this folder.
after restart, can be normal broadband connection. Then restart is such a problem, had to go to get the administrator rights of that file again, so after the restart can be on
The old restart is really very annoying, tell you a soil method, although soil, but it is really convenient, do not have to always take permission, restart. It’s the same thing, just write a script and have it run automatically when it’s turned off. Method is as follows:
1, to save the code below. Bat format (name myself to marry a good, I set it to 711. The bat) where is not easy to remove, code for @ ECHO OFF
takeown/f “C:/Windows/System32/LogFiles/WMI” y/r/d & amp; & icacls “C:/Windows/System32/LogFiles/WMI” /grant administrators:F /t
Encourage people to do it themselves, to enrich their food and clothing. The lazy ones or the ones that won’t save can be downloaded for a few bucks and the attachments below are already written

2, click “start” and “run”, in the run command box input “gpedit.msc”, open the group policy window pane on the left side of the console tree, in turn, a “computer configuration” “Windows Settings” “script startup/shutdown” node as shown in figure, double-click the details pane on the right side of the “shutdown” project, in the “shutdown properties” dialog box, click on the “add” button, will 711. Add bat for the new computer shutdown scripts set up complete, exit the group policy window, restart the computer
 
 
Fifth:
After the completion of the installation of Windows7, found that the dial-up connection can not be set up, either 711 error, 1068 dependent service can not start, or 691 error, and so on, it can be said that the error messages are varied!
There is no way, had to install back to WindowsXP, and then search the Internet for reasons, only to find that there are many friends appear the same error, after the search and analysis of the online information, as well as download ready to use the software, again installed back to Windows7.
Try to use the information on the Internet to solve the problem, make late at night, found still wrong, unable to restart to see first, no sleep, ready to install WindowsXp again the next day, a restart, surprise, to be able to connect to the Internet, web pages can be opened normally, success!
It’s two o ‘clock in the night. I’m going to bed

through several hours of groping, successfully dial-up Internet!
now put possible solutions, write out to share, may not be able to solve all the friends of the problem, but can try!
1,
install Windows7, then open control panel open network and Internet open view network status and tasks, select set up new connection or network, according to your network type set up the connection, set up the same method as WindowsXp.
 

“computer — management — services and applications — services”, go to the “Remote Access Connection Manager”, and check whether the “boot type” is “automatic”, if not, change to “automatic”. Similarly, find “Internet Connection Sharing (ICS)” and set it to “Auto.” Download ratio
Three,

find “c:/Windows/system32/logfiles” this folder and open.
Select and right-click the “WMI” folder. Select Get Administrator Privileges.

restart the computer!

5,
click on the lower right corner “”,

click the “broadband connection” and “” buttons. Icon “” becomes” “, OK!
open the network and share center, use the netcom broadband conversion tool to convert the user name, copy and paste, enter the password is ok. It’s ok to change the computer name. Right – click computer. Click properties. Click on advanced System Settings. Click computer name again. Click Change. Reset the top computer name in English or letters. Restart your computer. Log in and reconnect.
 
 
 

above five (except for the fourth) can not completely solve the “711 problem”, not necessarily which restart after the error.

here to do a survey, after all, recently there are many friends with this problem, everyone say
Because of what reason does oneself appear this problem?Is this the new system?Or after changing something?)
Is there a radical solution??(except for reinstall and system restore)
Hope to be able to solve this problem thoroughly through this post for the friends who are worried about this problem!

Error 1606 could not access network location% SystemDrive% / inetpub / wwwroot /

Prompt for title error when uninstalling or reinstalling Infragistics NetAdvantage
Under Windows 7
1. Open registry Regedit
2, find the HKEY_LOCAL_MACHINE/SOFTWARE/Microsoft/InetStp PathWWWRoot
64-bit operating system: HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\InetStp\PathWWWRoot
% SystemDrive %/inetpub/below/= = “C: \ inetpub \ below
 

 
 
 
 

Windows FTP Error 425: Unable to build data connection

http://www.trapstone.com/articles/windows_ftp_425_connection_refused

Having problems transferring files with FTP?If you are using the command line FTP client within Windows and getting errors like these…

500 Illegal PORT command 425 Unable to build data connection: Connection refused

Well, don’t worry – you’re in good company.
This is probably one of the most commonly encountered problems by Windows users with the command line FTP client, primarily when connecting to servers that use non-default ports.
This article explains why … and what you can do about it.
Illegal Port Command – Why FTP may be running on a non-standard port
Every day, countless attempts are made to get access to servers via FTP by guessing account names and passwords.
As a result, many companies who provide FTP access to their customers have configured their servers to run FTP on a non-standard port (i.e. anything other than the default port 21).
Normally this should not be a problem, as you can tell your FTP client which port to connect to on the server and to use passive mode. If you don’t know what passive mode is all about, take a look at the article on Active FTP vs. Passive FTP.
Why Windows FTP Can’t Build A Data Connection
If you use the standard FTP client (the command line one) that comes bundled with Microsoft Windows, then you will find that even if you specify a different port number, you cannot enable passive mode.
Note also that you can’t specify the port number on the command line itself as a server.name:port pair (unlike pretty much every other command line FTP client on the planet).
Instead, you can only attempt this from within the client interactively. For example, here’s a session from an attempt to connect to one of our FTP servers which is running on port 7021…

Here we can see our attempt to connect to our server on it’s non-standard port is successful.
However, as soon as we attempt to transfer data, the attempt to open a secondary port for the data flow fails. Microsoft’s own article on the Windows FTP Client Receives Error Message 425 points out that:

“The FTP clients that ship with Windows do not support passive mode. Therefore, they always need to negotiate a data port when issuing a command that returns data.”

As a result, even if you do correctly specify a non-default port number, you still cannot use passive mode.
Sigh… cheers guys.
Note that you may find a lot of articles on the ‘net claiming that Windows FTP client does support passive FTP – often because they’ve seen the PASV entry in the registry or because the client appears to accept the literal pasv command.
It does not work with the Windows command line FTP client!
The server might respond to a PASV command with a message saying it is in passive mode but the Windows command line client has silently ignored it.
How You Can Use Passive FTP Under Windows
Internet Explorer can support passive mode as an FTP client if you enable it in the “Internet Options”, although that’s only useful for retrieving files – you can’t upload via Internet Explorer.
For full bidirectional FTP functionality, the simple answer is to not use the Windows command line FTP client at all.
We recommend that you use something like FileZilla, which provides a clear, friendly and useful interface – and it’s free!. Alternatively, Firefox users can get the FireFTP add-on to integrate bi-directional FTP with their browser.
If security is a concern and if the FTP server supports SSH connections, you may also want to download SFTP, which is part of the PuTTY SSH client distribution. This is also free and FileZilla supports SFTP as an alternative backend.

Error 1406: could not write value installpath to key

 
http://hi.baidu.com/tianxingacer/blog/item/7b2ec88893e59da30e2444cd.html
Before, a VMware was installed on the computer. Later, the system was reinstalled and VMware could not be used. Fortunately, the file of LINUX was imported
It works. Today, install VMware into the same directory of the old files, and report when it is almost finished:
Error 1406: could not write value installpath to key/soft ware/vmware, inc/vmwareconverter hosted verify that you have sufficient access to that key or contalt your support personnel “this Error.
I received it online, and the netizen said it was reasonable that the old VMware registry value was not deleted last time. I did not delete it at all, but directly overwrote it.
The reason may be that the old VMware registry key was not deleted clean before installation, so the current installation cannot write the registry file of registry Software/VMware. The solution is simple: find HKEY_LOCAL_MACHINE–> Software-> VMware, Inc., delete the whole thing, close the registry, and re-run the VMware installation file. Then the problem can be solved.
If the same problem cannot be installed after the above operation, the stupid (and most effective) method is to find the registry, delete all the key values related to VMware, repeat Ctrl+F to find “VMware” and then delete. In order to avoid misoperation, it is recommended to backup the registry in advance.
 
PS. After deleting this key, retry can be installed normally.

Error 1310 Error writing to file:C:\Windows\…*.dll. Verify that you have access to that directory

Once appear this error when you install software, then how do bad, head along while, then suddenly think of oneself in the process of installing software have the kind of rejection, and 360 security software popup allowing this reminded of what operation, and he was not too concerned about the installation process, a hand slide seemed to point the option to reject, oneself also not sure, also don’t know what will be after some refused to case, the result is out of such a moth. Then I quit 360 security guard, then install everything will be fine.

About the cause of the long-standing ADO error: unspecified error “(error code = 0x80004005) (excerpt from the Internet)

ms-help://MS.MSDNQTR.2005APR.1033/enu_kboledb/oledb/251254.htm
SYMPTOMS
When trying to connect to an Access .mdb file, an ODBC error is returned stating “Disk or Network Error”. The Microsoft OLE DB Provider for the Microsoft Jet database engine may also return an “Unspecified error” (error code = 0x80004005) message.

The problem can occur only when the data source is opened under the Microsoft Internet Information Server (IIS) or a Microsoft Windows NT service but not under a logged-on user account.
CAUSE
Jet creates a temporary file when the engine is started. In doing so, it first checks the TMP environment variable and uses that path to define where the temporary file is created. If it doesn’t see a TMP environment variable, it looks for the TEMP environment variable. If TEMP is not defined, it then uses the Windows folder (/WINDOWS or /WINNT).

If TMP/TEMP is defined but points to a nonexistent folder, the error occurs.

Moreover, when opening the Access database through IIS or a Windows NT service, and when IIS or the service is running under the local system account, the TMP or TEMP system environment variable is used. When the Web services or Windows NT service are started using a user account, the TMP/TEMP user profile environment variables is used.
 
RESOLUTION
Define a TMP or TEMP environment variable and assign the variable to an existing folder. If you are accessing the Access database from IIS, be certain to check the system environment settings rather than environment variables of the logged-on user. Also ensure that the IUSER anonymous IIS account has access to the temporary folder.

You must restart the computer after changing any environment variables.
Environment variables are set under Windows NT 4.0 by going to the Control Panel and clicking System and then selecting the Environment tab.

Error 1045 (28000) access denied for user ‘root’ @’localhost ‘appears in MySQL under Windows system

Error 1045(28000) Access Denied for user ‘root’@’localhost’

From http://zxy5241.spaces.live.com/blog/cns! 7682A3008CFA2BB0! 361.entry
When installing mysql database in Windows operating system, you encounter Error 1045(28000) Access Denied for user ‘root’@’localhost’, you need to reset the password.
the specific method is:
1. First, find my. Ini configuration file in the installation directory, open the configuration file, find the line [mysqld], add skip-gran-tables below and save the file, and restart mysql dynamic service.
2. Then execute mysql -u root mysql
mysql> update user set password=password(‘newpassword’) where user=’root’;
mysql> Flush privileges;
where newpassword is root’s newpassword. 3. Remove the line that added to my. Ini configuration file just now, and finally restart mysql.

After installing mysql or uninstalling the downloaded free version, the default is no my.ini file.
. However, there are several similar files, such as [code] my-small-ini, my-media.ini, my-large. Ini, my-huge. Ini, [/code].
these files are the different configuration information recommended by mysql for different applications; But these configurations will only be applied if you put them in my. Ini.
where:
1, my-small. Ini is designed for small database. This model should not be used for databases that contain common items.
2, my-media.ini is designed for medium-sized databases. If you are using RHEL in the enterprise, you will have significantly more physical memory than the minimum RAM requirements for this operating system (256MB). As you can see, if you have that much RAM memory available, you can naturally run other services on the same machine.
3, my-larg.ini is designed for use exclusively with a SQL database. Since it can use up to 512MB of memory for the database, at least 1GB of RAM will be required on this type of system so that it can handle both operating system and database applications.
4, my-huge. Ini is designed for databases in enterprises. Such a database would require a dedicated server and 1GB or more of RAM. These choices are highly dependent on the amount of memory, the speed of the computer, the size of the database details, the number of users accessing the database, and the number of users loading and accessing data into the database. The performance of the database may change as the number of databases and users increases.

according to their own situation, select a file configuration copy to my. Ini file, of course, you need to create your own, just create a new file, and then copy into the configuration information.

Typical error log for IPSec ACL mismatch

IPSec ACL is what we usually call VPN traffic of interest. In real life, problems caused by this ACL configuration error are very common. The typical error is “QM FSM error”, which can be checked by running “Debug Crypto isakmp” on PIX/ASA.

May 15 09:17:11 [IKEv1]: Group = X.X.X.X, IP = X.X.X.X,
QM FSM error (P2 struct & 0x41f7f80, mess id 0x4d3d6016)!

May 15 09:17:11 [IKEv1]: Group = X.X.X.X, IP = X.X.X.X, construct_ipsec_delete(): No SPI to identify Phase 2 SA!

May 15 09:17:11 [IKEv1]: Group = X.X.X.X, IP = X.X.X.X, Removing peer from correlator table failed, no match!

Cisco’s website explains the error log:

QM FSM Error

The IPsec L2L VPN tunnel does not come up on The PIX Firewall or ASA, and The QM FSM error message proves ambiguous. One possible reason is The proxy identities, such as interesting traffic, Access Control List (ACL) or crypto ACL, do not match on both the ends. Check the configuration on both the devices, and make sure that the crypto ACLs match.

This article explains the whole process of IKE and IPsec in detail:
http://jackiechen.blog.51cto.com/196075/158222

This article from “facing the sea, spring flowers” blog, declined to reprint!

Solution to Starting Fault of routing and remote access service (16389 (0x4005))

1. The routing and remote access service cannot be started on a Microsoft Windows 2000 Server computer or a Microsoft Windows Server 2003 Server computer.
the following error message was recorded in the system event log on the Windows 2000 server computer:

Type error:

source: service control manager

category: none

event ID 7024:

note:

routing and remote access service due to a specific service error 87 (0x57).

Type error:

source: remote access

category: none

event ID: 20152

note:

the current configuration authentication provider failed to load and initialize. The parameter is an error.

The following error messages will be logged based on the system event log on the Windows Server 2003 machine:

Type error:

source: service control manager

category: none

event ID 7024:

note:

routing and remote access service due to a specific service error 16389 (0x4005).

 

Launching Routing and Remote Access Service prompts:
Routing and Remote Access cannot be started on a local computer. Refer to the system log for reasons. If this is not a Microsoft service, contact the service vendor. And refer to the specific error code 16389.
 
The details in the event viewer are:
Routing and Remote Access service to be stopped due to a 16389 (0x4005) service error. The error ID is 7024…
 
2, the reason
This problem occurred when the Internet Authentication Service (IAS) database was corrupted. IAS and routing and remote Access services use the IAS database.
 
3. Solutions
To solve this problem, follow these steps:

    extract ias.mdb file and dnary.mdb file from Windows2000Server CD or Windows Server 2003 CD to %WinDir%/System32/Ias folder on disk. To do this, follow these steps:

      click start, click run, type CMD in open, box, and then click ok. At the command prompt, type the following line. Press Enter after each line:

      Drive:
      cd i386
      ren %windir%/system32/ias/ias.mdb %windir%/system32/ias/iasOLD.mdb
      ren %windir%/system32/ias/dnary.mdb %windir%/system32/ias/dnaryOLD.mdb
      expand ias.md_ %windir%/system32/ias/ias.mdb
      expand dnary.md_ %windir%/system32/ias/dnary.mdb
      note that in this step, driver is a dvd-rom drive containing the Windows2000Server or WindowsServer2003CD that represents the drive letter is a cd-rom drive or placeholder.

    register oledb32r.dll file and register oledb32.dll file. To do this, follow these steps:

      at the command prompt, type the following line. Press Enter after each line:

      Drive:
      cd program files/common files/system/ole db
      regsvr32 oledb32r.dll
      note that in this step, drive is a placeholder representing the ProgramFiles folder is the drive letter to store. When you receive a message indicating whether the operation was successful, click OK. At the command prompt, type the following line, and then press ENTER:

      regsvr32 oledb32.dll
      When you receive a message indicating whether the operation was successful, click OK. Type EXIT and then press ENTER to exit the command prompt.

    register vbscript.dll file. To do this, follow these steps:

      at the command prompt, type the following line. Press Enter after each line:

      Drive:
      cd %systemroot%/system32
      regsvr32 vbscript.dll
      note that in this step, driver is a placeholder representing the drive letter is stored in the System 32 folder. When you receive a message indicating whether the operation was successful, click OK. Type EXIT and then press ENTER to exit the command prompt.

    starts routing and remote access services. To do this, follow these steps:

      points to the program, points to the management tool, and starts with Services. Right-click the Routing and Remote Access service, and click Start.