I have searched the world over for answers to my dilemma and have learned a lot, but not what I need to know.
My programmer compiled our website and pushed it to the server and sent me the source code. I cannot get the source to compile.
I have a web application (two of them, actually, since I have added one) nested in the primary app. The primary has its own web.config, as do both of the nested apps. It works fine online, but I cannot get it to work on my testing server. When working with the ASP.Net server using VS 2008, the primary application works but the secondary apps do not:
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.
If I run the site from http://localhost, the primary app cannot access the database:
System.Data.SqlClient.SqlException: Cannot open database "pac_bkbfc" requested by the login. The login failed.
Login failed for user 'IIS APPPOOL\bkbfightclub.com'.
I have configured the virtual directories as applications in IIS to no avail, and I have given every user imaginable permissions to the folders, and I have run out of options.
Please help.