YAFLogo

SteveInTN
  • SteveInTN
  • 69.8% (Friendly)
  • YAF Lover Topic Starter
11 years ago
First off, any help with this would be much appreciated.

I am certain that I am making a rather obvious mistake but it is escaping me right now. I looked over the installation procedures and none fit exactly what I am trying to do. I have want to install YAFNet as a stand alone web app in a subfolder of my existing ASP.NET MVC app. I want to share the same ASP.NET membership that my MVC app is using.

I downloaded the one-click install and directed it the best way I knew how. I told it to create a new APP and to install it in the FORUMS subfolder of my MVC app. It installed the files, created the database on my SQL Server.

At this point when I tried to access the YAFNet install I got the error listed at the end.

I changed the db.config and web.config files that came with the install. In the db.config file I overwrote the connection string with the identical connection string from my MVC app. In the web.config file I replaced the Membership, Profile, and roleManager nodes with the corresponding nodes from the MVC app. I am still getting the same error.

Thanks again for any help/guidance.



Configuration Error

Description: An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.

Parser Error Message: It is an error to use a section registered as allowDefinition='MachineToApplication' beyond application level. This error can be caused by a virtual directory not being configured as an application in IIS.

Source Error:


Line 18:
Line 19:
Line 20:
Line 21:
Line 22:


Sponsor

SteveInTN
  • SteveInTN
  • 69.8% (Friendly)
  • YAF Lover Topic Starter
11 years ago
I wish I could delete this as I am past this point now. I think it was the way I told the one-click to install things. I created a subdomain, did the install, and all is good now.

However, I have a follow up question that probably belongs in the ASP.NET Membership section. After my successful install I swapped out the connection string to point to my exisint ASP.NET Membership db. When I tried to login to complete the configuration, it failed. I changed things back and stepped through the wizard. Now... How do I swap it over to my existing Membership DB and set myself up as an administrator?

Thanks,

Steve
YAF Logo Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved
About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button