JGood
JGood

Reputation: 522

MOSS 2010 virtual path to ASP.NET

I am attempting to host an ASP.NET application inside of my SharePoint site. I want to host a full-application so I'm hoping to run it as a virtual path application.

Following instructions mentioned in other areas around the web, which said that I could go into ISS and create a virtual path inside of my SharePoint site to run the application. Link (page 4)

After finishing this portion I began getting asked for credentials. I got rid of the credentials request, by browsing to the folder containing my Virtual Path and changing security settings to allow iUSR_ account. I no longer get credentials, but I now get a blank page.

I don't know how to get passed this blank page issue, any help is greatly appreciated.

Background: I realize that I can run an application in the layouts folder, but it doesn't seem to work the same as it references .cs files that should be in the code-behind.

-Update-

The blank page issue is solved if I convert the virtual path to an application. However, it seems that I can't piggy-back off of the SharePoint's user credentials when it's an application.

Upvotes: 0

Views: 282

Answers (1)

Matt Klepeis
Matt Klepeis

Reputation: 1722

Have you checked that the AppPool for the MVC site is running as the same user as the sharepoint webapp?

Upvotes: 0

Related Questions