Dec
12

The request filtering module is configured to deny a request that exceeds the request content length

Number of View: 137

HTTP Error 404.13 – Not Found

 

Description:The request filtering module is configured to deny a request that exceeds the request content length.

Error Code:0×00000000

Notification:BeginRequest

Module: RequestFilteringModule

 

Solve

 

Nov
02

Solve the wincache problem on php in IIS7

Number of View: 118

http://forums.iis.net/p/1169832/1965543.aspx

http://sourceforge.net/projects/wincache/files/development/

Nov
01

DDWRT

Number of View: 111

If for some reason you completely lost  web access to the router, the web  server (HTTP daemon) may be shut down.  To regain access try starting the web  server. SSH or telnet into the router  and enter the following commands:

httpd -h /www

This forum thread gives all to gory details about enabling/disabling the web interface.

Oct
26

Schedule SyncToy to Run and Automatically and Repetitively

Number of View: 187

As a workaround to sync the folder pairs in case some users may forget or lazy or manually trigger the sync process, users can use Windows Task Scheduler included with Windows XP and Windows Vista operating system to schedule recurrent SyncToy runs, so that the folder pairs will be synced automatically on the preset timing.

Schedule SyncToy Sync Task in Windows Vista

  1. Click on the Start menu, then select All ProgramsAccessoriesSystem ToolsTask Scheduler.
  2. Click on Create Basic Task in the “Actions” pane on the right.
  3. In the “Create Basic Task Wizard”, type in a Name and Description. For example, SyncToy Synchronization.
  4. Click on Next button.
  5. Choose the frequency of when do you want the task to start. If you always make changes to the files, Daily is a good choice.
  6. Click on Next button.
  7. Choose date and times (if applicable) to trigger and run the task.
  8. Click on Next button.
  9. In the “Action” step, select Start a Program as the option for the task to perform.
  10. Click on Next button.
  11. Under “Program/Script”, click on Browse button and locate the SyncToyCmd.exe. Normally it’s located in “C:\Program Files\SyncToy 2.0 Beta\SyncToyCmd.exe” for SyncToy 2.0 Beta.
  12. In the “Add Arguments” textbox, type -R. –R will run all folder pairs that are active for run all. If you want to run just a single folder pair, add –R”folder pair name” to the end of the command line.Note: there is a space before the hyphen but not one after the R. If the folder pair name contains a space, surround it with quotation marks, as the example above shows. For another example, assume that SyncToy is in the folder named C:\Program Files\SyncToy 2.0\ and that you want to run a folder pair named “My folder pair.” Enter the command line as follows, including the quotation marks: “C:\Program Files\SyncToy 2.0\SyncToyCmd.exe” -R”My folder pair.” Note that there are two sets of quotation marks in this case: one is around the path to the SyncToy program file and the other surrounds the folder pair name.

Schedule a SyncToy Task in Windows XP

  1. Go to the Start menu, select All ProgramsAccessoriesSystem ToolsScheduled Tasks.
  2. Select Add scheduled task to start the Scheduled Task Wizard. You will see a list of possible programs to run.
  3. SyncToy may appear as an option in the list. If SyncToy does not appear in the list, click Browse and locate the SyncToy executable. Normally it’s installed in Program Files directory.
  4. The wizard will next prompt you to enter how often you want to run the scheduled SyncToy (for example, daily, weekly, et cetera). Select a frequency.
  5. The next page asks when to start the task. Select a start time.
  6. The next page asks for the user name and password to run the program under. Enter your user name and password. However, in SynToy 2.0, it’s not necessary for the defined user to log in to the computer. Different user or no one logged on is possible to have the task running too.
  7. The final page contains an option to open the properties dialog when the wizard ends. Select this checkbox.
  8. Modify the Runtextbox to include the –R command line option. –R all by itself will run all folder pairs that are active for run all. If you want to run just a single folder pair, add –R“My Pair” to the end of the command line.Note: there is a space before the hyphen but not one after the R. If the folder pair name contains a space, surround it with quotation marks, as the example above shows. For another example, assume that SyncToy is in the folder named C:\My Folder and that you want to run a folder pair named “My folder pair.” Enter the command line as follows, including the quotation marks: “C:\Program Files\SyncToy 2.0\SyncToyCmd.exe” -R”My folder pair.” Note that there are two sets of quotation marks in this case: one is around the path to the SyncToy program file and the other surrounds the folder pair name.

Oct
26

Use IIS Express replace asp.net Development Server

Number of View: 173

Use IIS Express replace asp.net Development Server

The original address:VS 2010 SP1 (Beta) and IIS Express

 

IIS Express is a IIS7.5 optimized for developers of free version, it is easy to use, and like IIS as strong as.

  • Less than 5 M installation files, lightweight and easy installation.
  • In Visual Studio debugging or operation in when don’t need administrator account
  • Support a complete Web Server features, including SSL, URL rewrite, and other IIS7 module
  • Support and allow extension module and IIS7. X web. Config support Settings.
  • With asp.net can Development Server and installation and use, and mutual influence.
  • Supports Windows XP or higher version, provide full-featured IIS 7. X features.

IIS Express can directly started from disk, don’t need registry or configuration steps, so very convenient to use.

In Visual Studio 2010 SP1 rc step.adopting added IIS support.

Downloading and installing IIS Express

IIS Express was not included in VS2010 SP1 rc, it requires a separate download and install, about 4 M files.Use this link to downloadIt USES WebPI to install.

Once being installed, VS2010 step.adopting IIS will inaugarate SP1 rc some additional IIS Express orders and dialog to convenient you use it.

For existing projects enable IIS Express

Visual Studio now Web project default using built-in asp.net Development Server, also known as Cassini.

 

Will existing project converted to use IIS Express very simple, open the project properties dialog box, click the Web pane, in pane of selected “User IIS Express” checkbox.

More simple method is, in projects right-click menu select “Use IIS Express…”Menu commands.

Later, when you run or debug projects, will see IIS Express start and automatic operation.

The Express in IIS right-click menu, can browse now run the application in IIS Express and web sites.

Note that if you want to return to the asp.net Development Server, you can be in project right-click menu select “Use Visual Studio Development Server”, or in the project properties window, will the IIS Web pane step.adopting the checkboxes cancelled.The next operation, will take effect.

IIS Express attributes

Visual Studio 2010 SP1 rc provides some new IIS Express configuration options, in asp.net Deveopment Server is not.Some through the project properties to provide.

For example, enabling similar SSL support in asp.net Development Server is not, can be prevented by simple changes for True Enabled attribute SSL to complete.

Once complete, set for this project IIS Express will provide HTTP and HTTPS two endpoints provides access.

SSL since signing certificate

IIS Express provides a since signing certificate, the installation was installed directly, this makes the development process is no longer need to provide their own certificate.Once you changed the above drop-down list to enable SSL, you can pass https://url/By SSL connection to.

As for the browser for, such as IE will propose a warning, your certificate is not to be trusted.

You can mark this certificate as trust certificate to ignore it, or just keep the certificate of the trust state, click Continue.

Extra IIS Settings

IIS Express USES its own each user’s ApplicationHost config files to configure the default. The server behavior.Because it is for each user, so, can be developed staffing and don’t need an administrator, you can customize all the IIS characteristics and Settings.

However, we strongly recommend that all configuration information as part of the project configuration in web config file, such j release gets easier.

As you will IIS Express default Web server

You can configure Visual Studio will IIS Express as the default Web server, Tools – > PC in open menu, Projects and Projects in Web Solutions node, in Use IIS Express for selected ‘new Web site and file – based Projects’, will make Visual Studio to the newly created website and project Use IIS Express.

The original address:VS 2010 SP1 (Beta) and IIS Express

Oct
26

Logging system for router log capturing

Number of View: 159

http://www.wallwatcher.com/ http://www.wilderssecurity.com/showthread.php?t=293070 http://www.linklogger.com/ http://www.kiwisyslog.com/ http://www.snmpsoft.com/products.html

Oct
06

Solving “A problem occurred when Windows tried to activate. Error Code 0x8007232B”

Number of View: 158

My Problem:

Windows 7 Enterprise was installed with a MAK key but could not activate. I received the error “A problem occurred when Windows tried to activate. Error Code 0x8007232B”

My Solution:

Re-input your Windows installation’s license key by either using the “Change Product Key” link in My Computer Properties (also can be reach by using the command “slui.exe 0×03″) or by using the following command:

slmgr -ipk your-key-here

For more information about the slmgr command, check out ss64.com’s article on it.

The Long Story:

I had a freshly installed Windows 7 instance at a client’s site that I logged into only to be greeted with an error message saying that the installation was not able to activate. I manually launched the activation application and received the following error:

A problem occurred when Windows tried to activate. Error Code 0x8007232B

For a possible resolution, click “More Information”

Contact your system administrator or technical support department for assistance.

I’m the SysAdmin!!” I shouted like many other admins have done when faced with similar error messages. I was temped to do my best Ross Scott impersonation and bellow “I am Captain Gordon Freeman of the International House of Pancakes ordering you to…” but resisted the urge with sufficient willpower.

Clicking the “More Information link” showed me a little more information:

The following information was found for this error:

Code: 0x8007232B

Description: DNS name does not exist.

Code: 0x8007232B  Description: DNS name does not exist.

My first inclination was that perhaps it was looking for a KMS server and not finding one. This was such a small office that it used MAK keys, not a KMS system but the possibility existed that I had misconfigured something. Some Google searching turned up a fairly unanimous result. One such example is over at Insomniac Geek which suggests to re-enter one’s product key to resolve the issue. One can do that with the slmgr.vbs script or simply go to My Computer Properties and select “Change Product Key”

Change Product Key

After doing so, the Windows installation was successfully activated.

Reference:http://thenubbyadmin.com/2011/06/17/solving-a-problem-occurred-when-windows-tried-to-activate-error-code-0x8007232b/

Oct
03

CMSC5729

Number of View: 114

2011-10-03

 

Oct
03

pfsense 1.2.3

Number of View: 106

After seeing pfSense working more than half year flawlessly on Alix, recently I’ve test it as virtual machine.

To avoid some compatibility issues a “Legacy Network Adapters” must be used.

For my surprise even with that trick, there was no network connectivity. The work around for this problem is explained in this thread: Pfsense 2.0-BETA4 in Hyper-V: Throughput not as expected

Open shell from the console, create new document

vi /usr/local/etc/rc.d/startup.sh

and type in

ifconfig de1 down
ifconfig de0 down
ifconfig de0 up
ifconfig de1 up

Just check before that the names of your interfaces, mine were de0,1.

For now it is stable, no issues, with very basic configuration. On the forums there are topics about possible problems with VLANs, but I didn’t need this functionality.

reference: http://blog.stefcho.eu/?p=383

Sep
14

Lecture 2

Number of View: 110

Call Put Parity

Black Scholes equation

Older posts «