|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
How can i host multiple dotnet applications??
Hi,
I have hosted asp.net application in an hosting server (aplus.net). I have placed the web.config file and "bin" folder of the application in WWWROOT . I have used Forms Authentication by modifying the web.config file as below. //////////////////////////////////////////////////////////////////////////////////////// <authentication mode="Forms" > <forms loginUrl="IssueTracking/LogIn.aspx" timeout="15" > </forms> </authentication> ////////////////////////////////////////////////////////////////////////////////////// The site was working fine. Now i want to host one more dotnet application. This application also used Forms Authetication. Now how can i use the web.config file?? When i am accessing the new site ("PMS") it is going to OLD Site ("IssueTracking"). If i place a web.config file seperately for each project it is giving me the following error. ///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// 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 46: by Microsoft that offers a single logon and core profile services for member sites. ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// Can any one please suggest me how can i handle this problem. How can i host multiple dotnet applications?? File Structure is as follows: wwwroot->Web.config,Bin(folder), issuetracking(asp.net application folder), PSM(asp.net application folder), Some HTML files. I will be very thankfull on reply. Thanks & Regards, Naveen. |
|
#2
|
|||
|
|||
|
Each application needs to be placed within its own virtual directory in IIS. Call up your host and talk to them about how to do this - I'm not familiar with how hosting companies do things.
You will need to put each app into a seperate folder, then configure (or have the hosting co. configure) each folder as a seperate virtual directory. |
![]() |
| Viewing: ASP Free Forums > System Administration > Microsoft IIS > How can i host multiple dotnet applications?? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|