Tag: IIS

Error: IIS6 Error EventID 1059 and 1021

Just a had a problem with an application pool which always crashed after start. The application pool worked some days ago without any problems. After watching den System Eventlog I got the Error with Event ID 1059 and a Warning with Event ID 1021.
I had this problem on a Windows Server 2003 SP2 with all the latest patches
EventID 1059
Event Type: Error
Event Source: W3SVC
Event Category: None
Event ID: 1059
Date: 27.05.2011
Time: 11:49:31
User: N/A
Computer: WEB-WIN
Description:
A failure was encountered while launching the process serving application pool 'www.domain.ch'. The application pool has been disabled.
For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

EventID 1021
Event Type: Warning
Event Source: W3SVC
Event Category: None
Event ID: 1021
Date: 27.05.2011
Time: 11:50:01
User: N/A
Computer: WEB-WIN
Description:
The identity of application pool, 'www.domain.ch' is invalid. If it remains invalid when the first request for the application pool is processed, the application pool will be disabled. The data field contains the error number.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 2e 05 07 80 ...€

The Solution for this problem is very simple. Just reset the password of the specific IUSR and don’t forget to reset the password for the application pool identity.


Microsoft WebMatrix and Microsoft WebPlatform Installer

Microsoft WebMatrixFor a project at KTSI we needed a platform to quick deploy PHP and MySQL applications. There are a lot of solutions out there in the web, for example XAMPP. After testing some options I had a closer look at the Microsoft WebPlatform Installer and Microsoft WebMatrix. Those two tools do exactly what I need. With the WebPlatform Installer you can easily install a local instance of IIS Express with ASP.NET, PHP, MSSQL and MySQL support with in 5-10 minutes.

But the coolest tool in my opinion is WebMatrix. Webmatrix lets developers create, manage and deploy Web Applications very very easy. And if you need to to more Webmatrix lets you also work with Visual Studio on the same project.



Error: Unable to get the private bytes memory limit for the W3WP process

Error

==================
Event Type: Error
Event Source: ASP.NET 2.0.50727.0
Event Category: None
Event ID: 1093
Date: 13.01.2011
Time: 11:11:50
User: N/A
Computer: Server01

Description:

Unable to get the private bytes memory limit for the W3WP process. The ASP.NET cache will be unable to limit its memory use, which may lead to a process restart. Error: 0x80070005

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.
==================

Environment

  • Windows Server 2003
  • IIS 6
  • .NET 2.0 and 1.1

Summary

This Error is caused by the a know issue with permissions of the IIS metabase. The metabse ACL’s do not include the IIS_WPG group on the W3SVC/AppPools part in the metabase.

Solution

  • Download metaacl.vbs
  • Run the following command:
    cscript metaacl.vbs IIS://Localhost/W3SVC/AppPools IIS_WPG RE

More Information



How to redirect sites to HTTPS in IIS 7.5

This little guide shows you how you can redirect http request to the https website using IIS Settings. You can do the same on other versions of IIS slightly different.

  1. First set “require SSL” under the SSL Settings from the Website
    SSL Settings
  2. Under the Error Page Settings edit the 403 Error Page
    Error Page Settings
  3. mark the Setting “Respond with a 302 redirect” and add the https URL
    Respond with a 302 redirect


Solved: Cannot download File from IIS6 FTP

Today we a ticket which was escalated by the second level support to the engineering. A customer could not download, remove or rename the file via FTP. The Hosting is running on a Windows Server 2003 R2 with IIS6. After checking the file on the filesystem I saw that the filename had a space in before.

Normalfilename:

“filename.html”

Wrongfilename:

” filename.html”

You cannot really name a file like that with a windows machine. But Linux and Unix systems like Mac OS X allow this.

After renaming the file to a normal Windows filename, the customer you download the file again.

Btw you can simple rename the file with powershell

Rename-Item " filename.html" "newfilename.html"



Genotec released Shared Hosting with .NET Framework 4

Last Monday we added support for the .NET Framework 4 to our Windows Shared Hosting Server at Genotec. Today the official Press release was published.

We also added support for:

  • .NET Framework 4
  • ASP.NET MVC 2.0
  • Silverlight 4
  • New Versions of Persits AspMail, AspPDF, AspJPEG

Genotec: .Net Freamwork 4 for Webhosting (German)

Der in Allschwil/Basel ansässige Internet Service Provider Genotec AG lanciert mit .NET Framework 4 die neueste Version des Microsoft Entwickler-Frameworks.

Microsoft .NetMit dem Ziel stets neue Features und aktuelle Produkte zu integrieren, hat Genotec das .NET Framework 4 von Microsoft lanciert. Ab sofort steht allen Windows Webhosting-Kunden der Genotec dieses Angebot zur Verfügung.

«Die neue Version von .NET lässt Projekte im Windows-Umfeld noch einfacher und mit vielen neuen Features erstellen. Unsere Kunden werden grosse Freude daran haben.» so Thomas Betz, Entwickler bei Genotec. Die neue Version mit vielen Features überzeugt auf der ganzen Linie. Zu den wichtigsten Neuerungen zählen unter anderem Codeverträge, eine DLR (Dynamic Language Runtime), neue Diagnose und Leistungstools sowie eine verbesserte automatische Speicherbereinigung. Die komplette Abwärtskompatibilität rundet den sehr guten Eindruck des .NET Framework 4 ab.

Verfügbar ist das .NET 4.0 bereits ab dem kleinsten Angebot für CHF 9.90 pro Monat. Mit dem Shared Hosting Entry erhalten Kunden ein Webhosting mit bis zu 10 Domains, komplettes Mailhosting inkl. Webmail, tägliches Backup, Statistiken sowie der kompletten Integration ins Hosting Control Center von Genotec und weiteren Features.

Über Genotec AG:
Der Schweizer Internet Service Provider Genotec AG wurde 2001 gegründet. Das Unternehmen beschäftigt 36 Mitarbeitende und betreut in den eigenen Rechenzentren in Zürich, Basel, Bern und Allschwil über 50’000 Domain- und rund 500 Serverkunden. Genotec ist ein BAKOM-registrierter Provider und als «Microsoft Gold Certified Partner» zertifiziert. Genotec wurde von der simsa mit dem Gütesiegel «Swiss Quality Hosting» ausgezeichnet und ist providerliste.ch geprüft.

Seit 2008 ist Genotec neu bei Computerworld in den Top-500 der stärksten IT-Firmen der Schweiz gelistet.

Weitere Informationen zur Genotec: www.genotec.ch

Pascal Leu, Product Manager
Genotec AG
Binningerstrasse 95
CH – 4123 Allschwil
Tel. +41 (0)848 321 123

E-Mail: [email protected]



    AspJPEG doesn’t work: Server object error ‘ASP 0177 : 800401f3’

    After updating Persits AspJPEG to the latest version on all our Servers we got this error on one of your systems:

    Server object error ‘ASP 0177 : 800401f3’

    Solving this problem is pretty easy, just register your AspJPEG.dll and restart IIS:

    C:\>regsvr32 "C:\Program Files\Persits Software\AspJpeg\Bin\AspJpeg.dll"

    C:\>iisreset

    C:\>regsvr32 "C:\Program Files\Persits Software\AspJpeg\Bin\AspJpeg.dll"

    This works for other Persits Software as well.