View Complete Post
May i know what is the Differenc that they actually make in IIS7 .
Please tell me at a low level as i am still a novice in Asp.Net
Thanks in Advance.
Please tell me How i solved probelm of dynamic creation of aspx page on fly and save it to the disk or root direcotry of the Project.
Any link or Article is highly Appericiated.
The Shared feature directory is greyed out during installation. I have uninstalled all SQL Server 2008 instances and shared features.
I thought this might be caused by SQL Server 2008 Browser and SQL Server 2008 Setup Support Files were still installed. SQL Server 2008 Browser was used by SQL Server 2005 instances and was depending on SQL Server 2008 Setup Support
Files. I have uninstalled them but the Shared feature directory is still greyed out. So, how to install SQL Server 2008 shared features in another directory without uninstalling SQL Server 2005 instances and shared features? If it is not
possible due to shared tools between SQL Server 2005 and SQL Server 2008, can it be done by only uninstalling SQL Server 2005 shared features? If yes, which SQL Server 2005 shared features must be uninstalled?
I have a website(not an application) built in VS2008. When I try to publish the site, any of the files that are in the root folder are not published. This has only just started happening and I am unsure what I have changed to cause this. The files are not excluded from the project.
Thanks for the help
I work on an application which runs in dllhost.exe, configured as a COM+ server application, containing a mixture of 32-bit native code dlls and .NET assemblies. The Application Root Directory is set to a folder containing an application.config and
the binaries. This has worked fine under 32-bit Windows XP, Vista (and before that 2000 and XP) on many different systems.
I've just had my laptop upgraded to 64-bit Windows 7. I created the COM+ application and build folder the same way I always do, but have errors starting up the application - it can't locate the assemblies or application.config file. Using Fusion
Log Viewer I can see that the AppBase is set to c:\Windows\SysWOW64, not to the Application Root Directory configured under the COM+ app. I've verified that the root directory path is correct, but for some reason it's not taking effect, the root is set
to the default root of dllhost.exe that the application is running under.
One of my colleagues has this environment working on 64-bit Server 2008 R2, but I'm the first one to try on Windows 7. Has something changed in the COM+ configuration that affects the Application Root Directory setting?
Is it posible to change Application Root Directory (Under Activity) from c#.
I have an application wich Application Root Directory disappears from time to time. I was thinking to develop some c# code that can write Application Root Directory again as a part of some sceduale job. Using ICatalogObject is posible to fatch the application
static void Main(string args)
Program prog = new Program();
long l_Count = 0;
ICatalogCollection pCollection = null;
COMAdminCatalog objAdmin = new COMAdmin.COMAdminCatalog();
pCollection = (COMAdmin.COMAdminCatalogCollection)objAdmin.GetCollection("Applications");
catch (Exception ex1)
l_Count = pCollection.Count;
if (l_Count == 0)
Building a Searchable Phone Directory with Windows SharePoint Services I want to continue to build out the intranet site we've started in our previous articles. A standard item in every intranet is a staff/employee list. Most companies implementing Windows SharePoint Services (WSS) are large enough to have a database that contains all employees. We will use the aggregation features of SharePoint to include data from this database into our intranet.
Hi every one ... How are you ??
OK ... I want to make album ... I try to make it using buttons( next & pre ) using imageButton control and variable (i)
So ... each next (++i) & pre ( --i) to show allimages in directory ("photo")
Here my code in C# ::
public partial class photos : System.Web.UI.Page
// LinkedList<string> names = admin.getNames();
static int i = -1;
static int l = 0;
protected void Page_Load(object sender, EventArgs e)
dir = new DirectoryInfo(MapPath("photo"));
files = dir.GetFiles();
//l = (int)names.LongCount();
l = files.Length;
if (l == 0)
Label2.Text = "No Photo to Display !!";
Image2.ImageUrl = "images/ith.png";
How to set SearchRoot Path in Active Directory in this
Functionality: We have scenario that
1<sup>st</sup> hit one LDAP server with some 'fixed user
name' &' fixed password ' and filter data
with specific User name(which given by user) getting 'User dn'.
After that we hit Next LDAP server based on the 'User
dn' getting from 1<sup>st</sup> server.
(So, in my case 1<sup>st</sup> LDAP
server works like as Load balancing server but functionalitywise it is
wi As System.Security.Principal.WindowsIdentity = _System.Security.Principal.WindowsIdentity.GetCurrent()
Dim a As String() = HttpContext.Current.User.
I am have requirement like displaying all the user information reporting to specific manager from Active Directory.
Please help me regarding this.
Hi,I want to get files(.doc,.docx) from Directory and show the Content with formatting in a webform.Is there any solution?Please help me.Thanks in advance.
When i try to List the users from Active directory, i get this exception.
Error while processing.System.Runtime.InteropServices.COMException (0x80072020): An operations error occurred at System.DirectoryServices.DirectoryEntry.Bind(Boolean throwIfFail) at System.DirectoryServices.DirectoryEntry.Bind() at System.DirectoryServices.DirectoryEntry.get_AdsObject() at System.DirectoryServices.DirectorySearcher.FindAll(Boolean findMoreThanOne) at System.DirectoryServices.DirectorySearcher.FindAll()
The code i used is :
deSearch.Filter = "(&(objectClass=user) (cn=" + UserName +"))";
SearchResultCollection results = deSearch.FindAll();
But the DirectoyEntry method is getting validated if i use the overloaded method : DirectoryEntry(_path, domainAndUsername, password);
Please advice me.
This article explains how you can use Active Directory Federation Services (AD FS) 2.0 to claims-enable Windows Communication Foundation (WCF) services and browser-based applications. The focus is on the token issuance functionality in AD FS 2.0. You'll find out how to use AD FS 2.0 as an identity provider; set up an AD FS 2.0 security token service (STS) to interact with WCF; federate AD FS 2.0 with your custom STS or another AD FS 2.0; enable Web single sign-on and federation with WS-Federation and SAML 2.0 protocols; and externalize authentication logic through Visual Studio. You'll come away appreciating how AD FS 2.0 and Windows Identity Foundation make programming identity solutions in Windows less of a chore.
MSDN Magazine November 2009