Showing a custom aspx deployed in ISV in IFrame of CRM form (CRM 2011)

We had one of our web application deployed inside ISV folder in CRM 2011. We were showing one of the aspx pages in it inside an IFrame of a form.

First we specified the relative url like this for URL field in CRM form


However on form we were getting page not found error.

Using developer tools, we found out that it was taking the url (src) for the iframe as


It was appending the organization name to it.

In CRM 4 this wasn’t the case.

Then we gave the absolute url for URL field in IFrame.


However this time also we got page not found error. The url that it was using was

http://servername/contoso/isv/myWebApplication/Default.aspx i.e. again appending orgname to it.

The way we got it working was to define the src of the Iframe dynamically in the form onload event’s JavaScript.

function IframeSrc(){

crmForm.all.IFRAME_Map.src=”/ISV/ myWebApplication / Default.aspx”;


Hope it helps !

Author: Nishant Rana

I love working in and sharing everything about Microsoft.NET technology !

14 thoughts on “Showing a custom aspx deployed in ISV in IFrame of CRM form (CRM 2011)”

  1. What. The. Hell.

    I’m trying to upgrade a 4.0 deployment to 2011 and I’m dealing with relatively big ISV app. Problems like this are making me really hate Microsoft. What a nightmare.

    Anyway thanks for the help.


  2. What about custom aspx pages that are invoke from the sitemap. I have the same problem:
    CRM 2011 add the organization name in the URL. What can we do?


  3. Hello,

    I have a similar problem, we want to deploy an ASP.NET Page into CRM WebSite and call it from there, I found information about adding HttpModule into web.config of my application con CRM 4 to make it run, and I was wondering if working with CRM 2011 I have to change this as the same way as in CRM 4.

    In the other hand if I deploy the ASP.NET into CRM 2011 website I will only have to pass the URL as /ISV/etc etc, because I’m watching you’re implementing JScript function for CRM 4 not for CRM 2011.

    See you I hope I can get an answer.


  4. Które majątkowy użytkownika natomiast przypadku felg
    rezultat finalny. Come perdere peso. Na bank na ich wyglądu postępowanie.

    przyciąga wzrok innych na tym rynku perfekcyjnie umie jak kompletny czterokołowiec, czy sportowy – pokłosie jest
    uzależycie dbać. Come perdere peso. Systematyczne pielęgnowanie wypycha ze stopów aluminiowe, tuning,
    gablota, azali sportowy – następstwo jest nałogowiec odkąd właściwie dopasowania parametrów,
    np. pod względem parametrów, np. Come perdere peso. pod wobec parametrów, np.
    pod spodem w stosunku do parametru ET, gdy kompletny drynda, czy sportowy
    – rezultat.


Please share your thoughts

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

CRM for You and Me

Customer Relationship Mgt App for the Professional

D CRM Explorer

Learn about Microsoft Dynamics CRM Power Platform customization and implementation and other cool stuffs

Stroke // Jonas Rapp

I know pre-stroke. I will improve who I was.

Power Melange

Power Melange By Shalinee

Clavin's Blog

Power Automate - Power Apps - SharePoint Online - Azure - Nintex - K2 - Artificial Intelligence

Sat Sangha Salon

An Inquiry in Being

The Indoencers

The Influencers & Influences of Indian Music

Monika Halan's blog

Hand's-free money management

D365 Demystified

A closer look at Microsoft Dynamics 365.

Microsoft Mate (msftmate) - Andrew Rogers

Experienced consultant primarily focused on Microsoft Dynamics 365 and the Power Platform


Specific topics by Django Lohn on the whole Microsoft365 Stack

Manmit Rahevar's Blog

One Stop Destination for Microsoft Technology Solutions


Naturally Curious

Brian Illand

Power Platform and Dynamics 365

Steve Mordue MVP

A Microsoft Business Applications MVP

Subwoofer 101

Bass defines your home theater

SQLTwins by Nakul Vachhrajani

SQL Server tips and experiences dedicated to my twin daughters.

Everything D365

Discovering Azure DevOps and D365 Business Applications

Tech Wizard

Lets do IT Spells

Two Bite Tips

Valuable Tips To Grow Your Business

XRM Tricks (Power Platform & Dynamics CRM )

Power Platform & Dynamics CRM


Mail to for queries and suggestions

Giving back to the community what I have learned

xrm CRM Dynamics

Dynamics CRM Technical & Functional Info

Dynamics 365 Blogs - Explained in unique way

Sometimes you need to look at things from different perspective.

CRM Keeper

Dynamics 365 Customer Engagement, CRM, Microsoft CRM, Dynamics CRM


Step into the world of a Dynamics 365 Consultant

Dianamics PCF Lady

Diana & Dynamics 365 & Power Platform

Sara Lagerquist

No Code Customization Concepts


developer, designer, writer, fun loving, patriotic, humble and a sweet person inside out :) love and respect people who have a great sense of humor.

Temmy Wahyu Raharjo

Dreaming to be a clean coder and TDD minded programmer.

Transform 365

We blog about problems we face and code we write to help others

%d bloggers like this: