“I have seen many blog entries and forum threads on this error however I was curious if anyone has any insight as to why this error seems to occur on Windows 2003 Server SP1 and not XP Pro SP2. I have not tested on Windows 2000 or 2003 without SP1.
When I deployed my application to the production server which is Windows Server 2003 SP1, I received this error after the ASP.NET AJAX 1.0 installation. Now I have never used a beta or RC release so this is the first time using ASP.NET AJAX in my application.
I turned to Google and I found the following:
if you are using Windows 2003 as web server then you'll face this "sys is undefined" error .to get rid of this weird problem follow the following steps:
- Open IIS and right click on your web site virtual directory and then click properties
- Then on virtual directory tab click on configuration button
- In mappings tab set the configuration like this.     
 Executable: "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_isapi.dll" - locate this dll file
 Extension: .axd
 Verbs: All Verbs
 Script Engine: checked
 Check that file exists: do not check this.
- Finally click OK.
The axd extension was in fact registered on the server but the Verbs was not set to allow all.”
 
Nenhum comentário:
Postar um comentário