Friday, November 28, 2008

Send Errors to a remote browser in IIS7

I have a IIS7 site hosted with Godaddy...needed to see ASP error and PHP errors.  Here is the entire web.config file.

<?xml version="1.0"?>
<configuration>
  <system.webServer>
      <httpErrors errorMode="Detailed"/>
      <asp scriptErrorSentToBrowser="true"/>
  </system.webServer>
</configuration>

Wednesday, November 26, 2008

Mail Enable Public Folders

Remember after you mail enable a public folder and choose what SMTP address it will have to set Anonymous user permissions. 

Almost all problems with mail-enabled public folders are permissions issues. It is important to give the "Anonymous" user "Contributor" rights in order to actually receive mail in such a folder.

To check and change rights open Exchange System Manager and navigate to Administrative Groups > your administrative group > Servers > your server > First Storage Group > Public Folder Store > Public Folders and the properties of your public folder. Then go to the "Permissions" tab.

Select the "Client Permissions" tab and view or modify your permissions settings.

Tuesday, November 4, 2008

301 Redirect in ASP.NET using VB

private sub Page_Load()

   Response.Status = "301 Moved Permanently"
   Response.AddHeader("Location","http://www.hatsofmeat.com")

end sub