Priyo's SharePoint Blog

Essential tips on SharePoint from Priyabrata Lahiri (Priyo) - Tech Lead with Microsoft Global Partner Support Delivery.
Welcome to MSDN Blogs Sign in | Join | Help
Running ASP / ASPX page on the same IIS box as WSS / SPS

 

Often people ask me how to use custom ASP or ASPX pages along with SahrePoint. For example, if you want to use FrontPage Database wizard – it wont run on a page that belongs to WSS.

Here is the workaround:

Create the ASP /ASPX page as you want and host it on a different virtual directory on the same IIS box. Now from within the WSS page you can either use page viewer web part or Iframe to display that page.

 

Now the tricky part – if you just follow the steps above, the ASP / ASPX page will just not run. The reason being, all URL redirection and Security is routed through ISAPI filter (stsfltr.dll) and will not allow and ASP / ASPX pages to run. What you have to do is exclude the virtual directory from SharePoint by going to Site Settings -> Central administration -> Configure virtual server settings from the Virtual Server List page: select the correct virtual server. Select Define managed paths, and add a new path (specified as an URL) as type Excluded path.

Now you are ready to run a custom ASP / ASPX page on the same IIS box.

 

This posting is provided "AS IS" with no warranties, and confers no rights.

 

 

Posted: Friday, March 03, 2006 9:06 PM by priyo

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required) 

  
Enter Code Here: Required

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS


Page view tracker