Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8214531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T11:29:31+00:00 2026-06-07T11:29:31+00:00

In CRM 4.0 we could place dynamic content (aspx) in the ISV-folder in CRM,

  • 0

In CRM 4.0 we could place dynamic content (aspx) in the ISV-folder in CRM, creating separate applications but with security and relative URLs to CRM, so for example a custom 360 view of account could be linked in an iframe using a relative URL along the lines of

/ISV/CrmMvcApp/Account.aspx/Overview?id=….

In CRM 2011 usage of the ISV folder is deprecated and Microsoft has some guidelines on how to transition into doing this in supported manner (MSDN gg309571: Upgrade Code in the ISV folder to Microsoft Dynamics CRM 2011). They say:

For scenarios that will not be satisfied by the Web resources feature, create your Web application in its own application pool with its own web.config.

The way I am reading this (coupled with the guidelines on supported/unsupported) is that we need a separate web site in IIS with its own binding as you are not allowed to add virtual directories etc. under the standard CRM app. This is unfortunate and does not allow relative paths/URLs in customizations and sitemap. This is troublesome especially when exporting and importing solutions from DEV, TEST and/or PROD.

  • Are my assumptions wrong?
  • Can we somehow have relative paths?
  • Have anyone else found a pragmatic and easy approach to having external content without doing the sitemap and customization changes for each environment?

EDIT: Confirmed with other sources that my understanding of the guidelines are correct, as this is also listed in the list of unsupported changes. Virtual folders and web apps are to be kept totally separated from the default CRM web site.

Creating an Internet Information Services (IIS) application inside the Microsoft Dynamics CRM website for any VDir and specifically within the ISV folder is not supported.

MSDN gg328350: Unsupported Customizations

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T11:29:34+00:00Added an answer on June 7, 2026 at 11:29 am

    I have found a solution much like the javascript redirect, without the need for client execution and only configuring the environment details (servername, port) once. Additional logic can easily be added.

    The solution creates a dependency into the customizations, but not an environment one like and can be used for unmanaged and managed solutions.

    The solution was to place a file Redirect.aspx in the ISV folder. The code does not in any way interact with CRM and falls within the supported guidelines, however the solution is not future proof as the ISV folder is deprecated by Microsoft.

    Redirect.aspxwill automatically pass along any parameter passed, so will work with or without the entity identifiers and so on.

    Usage:

    • Place the file in the ISV folder on the CRM app server
    • Change the server name and port to match the current environment (must be done for each environment)
    • In customizations, for example for an iframe, use the following as a source:

      /ISV/Redirect.aspx?redirect=http://SERVERREPLACE/CustomMvcApp/SomeControllerAction
      

    Here is the content of Redirect.aspx

    <%@ Page Language="C#" %>    
    <html>
    <script runat="server">
      protected override void OnLoad(EventArgs e)
      {
          // must be customized for each environment
          const string ServerBaseName = "appserver1:60001"; 
          const string UrlParameterName = "redirect";
          const string ReplacePattern = "SERVERREPLACE";
    
          var parameterUrl = Request.Params[UrlParameterName].Replace(ReplacePattern, ServerBaseName);
    
          var queryStringBuilder = new StringBuilder();
    
          foreach (var key in Request.QueryString.AllKeys)
          {
              if (key == UrlParameterName)
              {
                  continue;
              }
    
              queryStringBuilder.Append(!(queryStringBuilder.Length > 0) ? "?" : "&");
              queryStringBuilder.Append(key + "=" + Request.QueryString[key]);
          }
    
          var completeRedirectString = parameterUrl + queryStringBuilder;
    
          Response.Redirect(completeRedirectString);
      }   
    </script>
    <head>
        <title>Redirecting</title>
    </head>
    </html>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

When creating a plugin in Microsoft Dynamics CRM 4.0 you could use the following
I am creating a new entity in CRM 4.0 to track our projects. One
Something weird is happening. My Silverlight applications for CRM 2011 are missing their default
I was hoping someone could help me out. I'm building a CRM application and
I am new with MS CRM (Well.. spot the obvious.. but..) How can I
Pretty new to Dynamics CRM 2011. I'm creating a data integration with Dynamics CRM
I'm trying to figure out where I could drop in some PHP code to
In Microsoft Dynamics CRM 2011, I wrote one plug-in in C# for Account entity
I'm working on Ms Dynamics Crm 2011 development and I encountered following problem. My
I would like to conditionally disable a System Ribbon = AddNew in a CRM

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.