.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
david stephan
Gaurav Pal
Post New Web Links

how to manage multiple asp.net applications on one hosting with subdomains ?

Posted By:      Posted Date: October 03, 2010    Points: 0   Category :ASP.Net


thanks for your time and attention.

I want to deploy multiple asp.net applications on same hosting with subdomains. How it should be manged ?

I just created a subdomain and deploy application in its folder; when I tried to access application with subdomain it shows the following error:

An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine.

Pleae guide me.



View Complete Post

More Related Resource Links

Setting accessibility mode for multiple web applications


We have a SharePoint farm consisting of 5 web applications. These are tied together through branding and a custom sitemapprovider which present the farm as a single environment to end users. Our visually disabled users however have to enable the accessibility mode for each web application. Which is a nuisance, ideally they would only have to enable once for the complete farm. Does anybody have a solution for this problem.

Video: Hosting Silverlight Applications in SharePoint 2010

This demonstration shows how to host a Silverlight Application in a Web Part. (Length: 4:17)

Multiple Applications with Similar UIs


My company is getting ready to update several applications. Two of the applications share some common functionality. One of them is a WinForms project for in-house and the other is public facing for our customers. Both of the apps support event entry (an "event" is one of our business objects) in the exact same way.

The event entry process is very complex, with lots of validation, enabling and disabling, visibility toggling, etc. Initially, the apps were developed at different times without knowing that this shared functionality would occur which lead to a lot of code duplication and a synchronization nightmare.

Going forward, I would like to choose a model that fixes this problem. I would like to have a common class (or classes) that handle ALL of the logic in one place. For the most part, we've had the UI handle the "simple" validation (required fields, valid values, etc.) and how to display the form (visibility, enabling, etc.). We then had the "complex" validation handled by our business logic layer. Personally, I thought that the display handling should have been performed at the BLL since the changing of one property affected the display of others, but that seems like it would have required me to "hook" it into the UI (e.g., UI provides reference to its controls to BLL or BLL says whatever co

How to manage multiple sessions from the same pc

#Newbie alert#  Only 8 months experience with school education back in 2002.   I'm using VS 2008, C# 3.5 to develop my own login system for our company website. Originally we have a "simple" design which only had a login and order page. That order page needs to be opened for 10-12 hours at the time while our stores are opened without having to relog into the system for each query. We also have a requirement that some users need to access 2 different compagnies (separate inventories) which require 2 different logins. I solved that "cross over" session problem by moving all the values into viewstate with my own viewstate manager class right after the login. Now my problem is that we are adding more and more pages and I don't want to be stuck with the problem to resave the viewstate to session and then back on viewstate for every menu items and buttons.   Is there a way to create some sort of items list of all the sessions opened by the user and only transmit that from pages to pages?

help for autheniticating users in multiple subdomains

Hi All,I have a main website say www.main.com which is developed in asp.net. We have used forms authetications here.Now the thing is I have a no of subdomains on the same server say domain1.main.com, domain2.main.com, domain3.main.com etc.I had put some functionality there. What i want is when i redirect my users to the subdomains user has to log in again. what are the method where i can preserve the users state in my subdomains also.Thanks

Web Application Deployment with Multiple Web Applications.

I have a website that I would like to deploy. In that website, there are a few class libraries, main web application, and other child web applications. so it's like this. lib1 lib2 main app sub app sub app ...   Each sub app's are separate project and each are virtual directory applications under the main application. I followed these two links below to teach myself and kind of got a idea that I have to create each Web Deployment Project for each web applications. MSDN site briefly talks about how I should use msbuild <ItemGroup> tag to merge the multiple applications together, but doesn't give me enough clue on which deployment project I should write this (prob. main?) or how I can translate the nested IIS structure, etc.  I read about msbuild but I still have no clue.  Each deployment projects deploy successfully without the nesting relationship though.  e.g. I can deploy mailApp.vbproj_deploy and subApp.vbproj_deploy separately and appears under IIS fine. But that's not what I really would like to do.. Could someone tell me how I could possibly achieve this?  Any help would be appreciated.    http://weblogs.asp.net/scottgu/archive/2005/11/06/429723.aspx http://msdn.microsoft.com/en-us/library/aa479568.aspx  

Config Hosting multiple WCF services in one NT service


Hello there,


I've a question about hosting a service in a selfhosting scenario (not IIS or WAS).


For example, I have one WCFService with a config file (web.config). In this config file a system.serviceModel section exists, but also several appSettings.


Hosting in IIS is very simple. I created a svc file and voila, you can call the service. I do not have to place the configsettings of the WCFService into IIS.


Now I turn to host the WCFService in another host, a Windows NT service (or a win/console app).


Why do I have to place all of the WCFService configuration settings in the app.config of the NT Service? Why not just a reference to the physical path of the WCFService.


In the case of three WCFServices hosted by one NT Service, I have to place three web.config contents into the app.config of the NT Service. (Am I wrong? I hope so.)


tnx for reply!




Multiple SharePoint 2010 web applications as relying parties of a custom IP-STS


Hi everybody,

The challenge I'm facing is that I've set up a small farm for a client and the solution consists of three web applications (mainly scalability). What I primarily want to achieve is single sign-on (for authenticating users accessing the site) between the web applications, using FBA. I haven't found a single source indicating that merely using forms login is the way to achieve SSO in SP 2010. Rather, everything points to using a STS.

We might end up using ADFS 2 but for now I've built a custom IP-STS, based on Starter STS. The problems that have arisen are related to establishing trust between SharePoint and the STS. Of course I've configured a SPTrustedIdentityTokenIssuer with the proper certs and so on. As far as I can tell, I get redirected to the STS login form, get authenticated properly and redirected back to the calling RP.

What happens next is that if I have multiple RP:s configured (that is, one default realm and one provider realm) in the token issuer, upon redirection back to the calling RP the browser is stuck in an endless redirection loop. I've tried to use Fiddle to determine the "end points" of the loop and it seems to be a chain consisting of /_trust_layouts/authenticate.aspx and /_trust/default. It's worth noting that authenticate.aspx seems

Multiple User Profiles Service Applications


We are trying to split our MySite users into two different groups due to their physical location. First group will be at Location A and their profiles will be in their local SQL box, second group will be at Location B and their profiles will be in their local SQL box. Two locations are connected by a VPN tunnel.

So we created two MySite hosts, Audience groups, and added Trusted Host Locations. Then we realized that on top of existing User Profile Service Application A (used for Location A) we needed another User Profile Service Application B for a second location (Location B). After creating second User Profile Service Application we went to Configure Synchronization Connections but everytime we clicked on Create New Connection we got the following error:

"Cannot navigate to the requested page because User Profile Synchronization service is not running. Please start the User Profile Synchronization service before creating a connection."

But if we try to add connection to the the existing User Profile Service Application A it works fine. We triple checked that service in question is running. We did notice that User Profile Service Application A is running Profile Synchronization Instance on

Authenticating users across multiple farm applications - Reverse Proxy?



Here's the scenario - a customer has multiple SharePoint applications, all using Windows authentication, co-existing in a single farm. Domain accounts were created in the self-contained SharePoint domain for thousands of external users across lots of different outside companies.

URL names for the applications are in the format:


i.e. they are all in the same internet facing domain.

These external users access different applications in the farm (there are links in each app to the apps), and need to logon multiple times - once for each app. The customer would like to implement a solution that allows them to keep the apps separate, but allow the users to login once. Since the applications were developed by different companies, and to keep things simple, a solution that is transparent the various applications would be preferable.

Additionally, when these external users change their passwords or access documents via Word, Excel, there are often access issues and lots of additional password prompts, causing an administrative nightmare. User accounts number in the tens of thousands, so support requests pile up fast.

I've seen people discussing similar (but not identical scenarios) where the solution involved a "secure reverse proxy" (Such as Micros

Approve Multiple Through Manage Content and Structure Not Working


I am trying to approve multiple list items by doing the following:

  1. Manage Content and Structure.
  2. Changing the view of the list to "Pending Approvals".
  3. Selecting all items.
  4. Choosing "Approve" from the "Actions" menu.

Doing this does not result in any approvals; all items remain in the "pending" state.  Some things to note:

  • There are no workflows for this list.
  • I can approve each item one at a time and the status updates to "approved".
  • I am logged in as a site collection administrator.
  • I have tried logging in as the system account to no avail.
  • I have tried choosing "Publish" from the Actions menu to no avail.
  • There are no errors in the event viewer.

Can someone please help with this issue?  I am planning on having lists with hundreds of items and the bulk approve functionality is definitely a requirement.  Any ideas would be greatly appreciated!!!


Multiple database support with Entity Framework

One of the features introduced in Entity Framework is being database independent. Which mean each database provider can support Entity Framework by implementing its provider.

This feature allows you build applications independent from the underplaying database provider. In this post I'm going to show how to build an application that support multiple databases using same conceptual model made by Entity Framework.

Windows Service Applications Tutorials

You can easily create services by creating an application that is installed as a service. For example, suppose you want to monitor performance counter data and react to threshold values. You could write a Windows Service application that listens to the performance counter data, deploy the application, and begin collecting and analyzing data.

ASP.NET Best Practices for High Performance Applications

This article lists the techniques that you can use to maximize the performance of your ASP.NET applications. It provides common issues, design guidelines, and coding tips to build optimal and robust solutions.

Binding the multiple drop down boxes in GridView using JQuery in ASP.NET

Here is the code for binding the multiple drop down boxes in GridView using JQuery in ASP.NET

Upload Multiple File using JQuery in asp.net

In this article I have explained how to upload multiple files using file upload control. I have used jQuery plugin for uploading multiple files.

I have also explained how to check for file type, file maximum size limit using jQuery & also using server side validation code.

Business Modelling and Web Applications and extending UML

UML can be used to model a business, prior to automating it with computers. The same basic UML syntax is used, however, a number of new symbols are added, in order to make the diagrams more relevant to the business process world. A commonly-used set of these symbols is available in current versions of Rational Rose.
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend