I have an ASP.NET web application that I'm trying to run as a sub folder of ISV in CRM 4.0.
I have deployed my app with the following structure:
ISV\
MyAppName\
*.aspx
web.config
bin\
*.dll
I have not created a new IIS application at MyAppName.
My aspx files all being with a <%@ Assembly Name="MyAssembly" %>
tag.
The pages load correctly with code-behind being executed as expected.
My problem occurs when calling a page method from JavaScript. The ScriptModule does not seem to be loaded as my request to MyPage.aspx/MethodName
returns the entire page markup.
My code-behind and JavaScript are both correct and I have verified this by creating an application at MyAppName and accessing the url using /ISV/MyAppName
rather than /Orgname/ISV/MyAppName
.
How can I make ScriptModule load and work as expected when being accessed through /Orgname/ISV/MyAppName
?