Go to content Go to navigation Go to search

Fix : RPC server Unavailable

December 16th, 2008 by Gabriel

If you try to run the Netdom.exe query fsmo command or if you try to run any remote procedure call (RPC)-based tool on the ISA server, you may receive the following error message :

RPC server Unavailable”

Here is a quick fix for this error message :-

Configure the EnableRSS registry value and the EnableTCPA registry value

1. Click Start, click Run, type in regedit, and then click OK.

2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters

3. On the Edit menu, point to New, click DWORD Value, and then type EnableRSS.

4. Double-click EnableRSS, type 0, and then click OK.

5. On the Edit menu, point to New, click DWORD Value, and then type EnableTCPA.

6. Double-click EnableTCPA, type 0, and then click OK.

7. Exit Registry Editor, and then restart the server.

Configure the DisableTaskOffload registry entry

If you continue to receive RPC errors, follow these steps:

1. Click Start, click Run, type regedit, and then click OK.

2. Locate and then click the following registry subkey: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Tcpip\Parameters

3. In the details pane, make sure that the DisableTaskOffload registry entry exists. If this entry does not exist, add the entry. To do this, follow these steps :

#. On the Edit menu, point to New, and then click DWORD Value
#. Type DisableTaskOffload.

4. Double Click DisableTaskOffload, type 1, and then click OK.

5. Exit Registry Editor, and then restart the server.

CDOSYS Mail Script

October 15th, 2008 by Gabriel

Here is CDOSYS mail script :-

—————————

<%

‘CDOSYS Configuration
Set oMail = Server.CreateObject(”CDO.Message”)
Set iConf = Server.CreateObject(”CDO.Configuration”)
Set Flds = iConf.Fields

iConf.Fields.Item(”http://schemas.microsoft.com/cdo/configuration/sendusing”) = 2
iConf.Fields.Item(”http://schemas.microsoft.com/cdo/configuration/smtpserver”) = “localhost”
‘Note use “localhost” If mail is routed from same server.
‘Use Server IP like “203.90.78.221″ if Domain has MX record having IP “203.90.78.221″ OR Mails are routed from that IP

iConf.Fields.Item(”http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout”) = 10
iConf.Fields.Item(”http://schemas.microsoft.com/cdo/configuration/smtpserverport”) = 25
iConf.Fields.Update

Set oMail.Configuration = iConf
oMail.To = “supp0rt_24×7@yahoo.com”
oMail.From = “supp0rt_24×7@yahoo.com”
oMail.Subject = “Script TEST.”

‘If message body is in HTML FORMAT
oMail.BodyPart.ContentTransferEncoding = “quoted-printable”
oMail.HTMLBody = HTML
oMail.Send
Set iConf = Nothing
Set Flds = Nothing

%>

<html>

Message Sent !!!

</html>

Custom Error page…

October 12th, 2008 by Gabriel

IIS allows you to display your own custom error pages instead of ugly default error pages. You will have to create an HTML or ASP page with the desired information you want to display.

Following are the steps -

1. Open Internet Information Server
2. Select your Web site in the tree view at left pane, right-click and choose Properties
3. Click on the Custom Errors tab.
4. Scroll down to the error you wish to change
5. select it, and click the Edit Properties button.
6. Enter the URL to your page that you have created
7. Click Ok at the bottom.

your customized error page will be displayed next time instead of old ugly and unfriendly default error pageĀ  :)

ASP.NET

September 28th, 2008 by Gabriel

What is ASP.NET?

ASP.NET is a server side scripting that enables scripts to be executed by an Internet server.

  1. ASP.NET is a Microsoft Technology
  2. ASP stands for Active Server Pages
  3. ASP.NET is a program that runs inside IIS
  4. IIS (Internet Information Services) is Microsoft’s Internet server
  5. IIS comes as a free component with Windows Servers
  6. IIS is also a part of Windows 2000 and XP Professional

What is an ASP.NET File?

  1. An ASP.NET file is just the same as an HTML file
  2. An ASP.NET file can contain HTML, XML, and scripts
  3. Scripts in an ASP.NET file are executed on the server
  4. An ASP.NET file has the file extension “.aspx”

How Does ASP.NET Work?

  1. When a browser requests an HTML file, the server returns the file
  2. When a browser requests an ASP.NET file, IIS passes the request to the ASP.NET engine on the server
  3. The ASP.NET engine reads the file, line by line, and executes the scripts in the file
  4. Finally, the ASP.NET file is returned to the browser as plain HTML