Tell me more ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have the following Folder structure for SandBox Solution.

MyProject -> TestModule -> Pages -> Page1.aspx

When I try to open the page using JavaScript file like,

var options = { url: webUrl + '/TestModule/Pages/Page1.aspx ....... ..... };

DialogBox is open perfectly, but the page doesn't display. It displays following error in the DialogBox.

enter image description here

I have also written the path in Element.xml file of Module like this,

"File Path="TestModule\Pages\Page1.aspx" Url="Pages/Page1.aspx" Type="GhostableInLibrary" /"

And Set the Property of the Page to, BuildAction="Embedded Resource" and DeploymentType="ElementFile".

But it doesn't work. So How can I display the page properly ?

share|improve this question

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.