Currently Viewing Posts Tagged IIS

Web site of Burnaby City has SSL error

It is an error. When I enter the url of Burnaby City hall at Chrome browser on my cellphone, it displayed with error.

Red crossing line on the https. It said Your connection is not private. Attackers might be trying to steal your information from www.burnaby.ca.

NET::ERR_CERT_AUTHORITY_INVALID

2015-12-21 16.18.52

It is OK when I browse the site on desktop. It looks normal.

I use SSLLABS server tool to check the certificate installation.

The report said it has a certificate chain issues: missing intermediate certificate. Continue reading “Web site of Burnaby City has SSL error”

Classic ASP program with Access database on Windows server 2008

Got error 800a0cb3 from the Web log file at Windows Server 2008. It is IIS7. The Web application is made by ASP. Actually classic ASP, not ASP.Net.

And also with Access database.  The page is try to add new record into the Access database file. But the browser return 500 internal error. The detail error code in log file is 800a0cb3 with the description: Recordset does not support updating. This may be a limitation of the provider or of the selected locktype.

I did a lot of research and found it is a right issue.

Continue reading “Classic ASP program with Access database on Windows server 2008”

ASP Limits

When I start to use Windows 2008 with IIS 7, I can not find the place to change time of script.
I have a ASP page which will go through whole database about 20MB, and retrieve the result and put into another database. Sometimes it takes about 3 minutes to finish.
I know how to change the IIS settings in IIS 5 and IIS 6. Now it is 7, I am lost.
Later I found the help page from Microsoft IIS site.
It describe the all limits settings of IIS 7.
The bufferingLimit attribute sets the maximum size of the ASP buffer. If response buffering is turned on, this attribute controls the maximum number of bytes that an ASP page can write to the response buffer before a flush occurs.
The maxRequestEntityAllowed attribute specifies the maximum number of bytes allowed in the entity body of an ASP request. If a Content-Length header is present and specifies an amount of data greater than the value of maxRequestEntityAllowed, IIS returns an HTTP 403 error response.
The processorThreadMax attribute specifies the maximum number of worker threads per processor that IIS may create.
Note: This setting can dramatically influence the scalability of your Web applications and the performance of your server in general. Because this attribute defines the maximum number of ASP requests that can execute simultaneously, this setting should remain at the default value unless your ASP applications are making extended calls to external components.
The queueConnectionTestTime attribute specifies the number of seconds that a request can be queued before ASP determines whether the client is still connected. If the request is queued longer than the number of seconds specified by the queueConnectionTestTime attribute, ASP checks to determine whether the client is still connected before executing the request. If the client is no longer connected, the request is not processed and is deleted from the queue.

Continue reading “ASP Limits

Which one occupied Port 80

I enabled IIS 7 on one of my Windows 7 box. When I click start the default site, it always give me error. Said something wrong of the setting. Only when I change the binding port to other than 80, it works.
So, I think port 80 is occupied by other program.
Which one?
I google it and find the way to point it out.
1) Command line.
netstat -ano
netstat

I found PID 2448 took the port 80
2) Command line
tasklist
tasklist

So it is clear that Skype use Port 80

Continue reading “Which one occupied Port 80”

Problem of IIS6

For installation of Movable Type 3.2 on Windows 2003, I do so many test and ask a lot of questions on the Movable Type Support forum and got no answer. Yesterday, I join the following mail group: perl-win32-users. I received the right answer same day. That’s a good place to get help and find the real expert like Jan Dubois.

IIS6 changed the default directory for CGI script, so you could say IIS6 is the problem. On the other hand I don’t think it was ever specified that you could rely on the current directory being any specific value, and using relative paths in CGI scripts is just a bad idea.

Continue reading “Problem of IIS6”

Session variables problem

I met the session variables problem in IIS6.
I use global.asa as web application.
Same coding, it works under IIS5 of windows 2000 and IIS5.1 of windows xp, but it lost session variables under IIS6 of windows2003.
Sometimes I need to log in more than one time to get in the required page.
Tonight, I solve the problem.

Microsoft introduced several new features into Windows 2003/IIS6
webserver that affect how sessions and application pools are handled.
*Application Pools*
Most webhosting companies host multiple websites in the same application pool. When resources are maxed out for a application pool IIS 6 starts to recycle these sites causing application variables to be lost for those recycled sites.
If you are experiencing application/session loss symptoms then we would recommend asking your webhosting company to place you in your own application pool with all recycling options disabled and the recycle worker process set to recycle only once during the day at a set time.

I made a new applicaiton pool which is used by my application only.
So the problem disappeared.
Steps as below:
Step 1:
Add new application pool.
applicationpooladd

Continue reading “Session variables problem”

  • Archives