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

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

How to make STSADM work?

Posted By:      Posted Date: September 09, 2010    Points: 0   Category :SharePoint
hi there, actually this is a question for Win 2008 R2, i think. I tried to run STSADM.exe but always got problem. I set up path to \14\bin and when i run stsadm.exe in command line it just pops other new window and hanging there then closed. I tried to open the Property of the file, set it run as admin but same thing. I believe some setting is required but don't know how. any guide will be appreciated.  allan

View Complete Post

More Related Resource Links

How to create Asynchronous website-make the site work faster?

Hi,I developed an ASP.NET 3.5 website to read a few XML files generated by a third party software and convert them to a single Excel Book. The entire process takes more than 1 HOUR and even before completing the entire work, the system comes back with a message like - "Page cannot be displayed" and it fails. So, I am planning to make this website an Asynchronous site (I think if I make this site asynchronous it will work faster and will not stop execution before completing - new ideas are welcome.) I am new to this concept. Can anyone help me with some examples of how to convert a normal website to Asynchronous website? At present my site has 3 tiers and the reading of XML pages and writing them into Excel are happening in the Data Access Layer.Thanks

Can't make parameterized query work in data flow task


I have an OLE DB source in a data flow task.  The connection is pointing to a SQL Server 2008 instance.  My SQL works fine when I click the preview button.  Now I need to make it parameterized by adding a question mark in my where clause.  After doing so & clicking the Parameters button, I get the error described in this post .  When I try to do what's described therein to correct the problem (click the "build query" button), I get the error "The PIVOT SQL construct or statement is not supported."

I can't make this query an expression; it's simply too complex to maintain that way (besides, just pasting it into an expression builder window and trying to evaluate as is doesn't work - can't evaluate).

So the question is, how do I parameterize a query?  And why does SQL here work so radically differently from SQL in an execute SQL task?

How can I make this code work?


I have this code it is work almost correctly but now this code populated data to ALL comboboxes at the time(in the start of UI) the User open the UI.

I need to split the code so when the User select value in combobox corporationCode1 I will advance to combobox WorkSpaceCorporation

for some like this if user select something in combobox CorporationCode1 so advence to combobox WorkSpaceCode..

There is a code/

private void Window_Loaded(object sender, RoutedEventArgs e)



WPF: how to make the listview work (apply basic listviewitem style and also apply special data


 We have defined the basic ListViewIItemStyle as following:

<!--ItemContainerStyle with the Trigger for selection x:Key="ListViewItemStyle"-->
 <Style x:Key="ListViewItemStyle"
  TargetType="{x:Type ListViewItem}">
 <Setter Property="Background"
 Value="Transparent" />
 <Setter Property="HorizontalContentAlignment"
 Value="Center" />
 <Setter Property="VerticalContentAlignment"
 Value="Center" />
 <Setter Property="Foreground"
 Value="Black" />
 <Setter Property="Margin"
 Value="5,0,5,0" />
 <Setter Property="MinHeight"
 Value="40" />
 <Setter Property="Template">
 <ControlTemplate TargetType="{x:Type ListViewItem}">
 <Border x:Name="Bd"
 <GridViewRowPresenter VerticalAlignment="{TemplateBinding VerticalContentAlignment}" />
 <!--<ContentPresenter HorizontalAlignment="Left"
  SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" />-->

how to make forms authentication work accross www.abc.com and aaa.abc.com


Hi all,

       i am using forms authentication for my website www.abc.com, i wanna use the same website authcookie for aaa.abc.com.

What steps i need to follow

How to make it work multiple "I need to.." webpart in the same page..


I am trying to create multiple "I need to.." web parts in the same page.  But only first created web part working.  Rest of all the web parts either not respond after click "GO" button or goes to the first web parts selection, even click on another web part.  I am using Team Collaboration web page.  I tried to create different custom list to different web part did not work, and link to the same custom link with different filter settings as well did not worked.

Some search across the web showing few people have same problem, but no clear fix found.  Does anybody know some sort of tweaking or coding for this problem..

I am using Sharepoint 2007 with MOSS2007..


How to make Content Deployment work in the same farm (Load Balanced)?

I've been tasked with getting content deployment to work in our soon to be released sharepoint 2010 environment. A little background info, it has never worked in our past environments both 2003 and 2007. I believe that much of this is relative to our configuration(s), but I'm also wondering if some of this is due to a misunderstanding/limitation of the capabilities of content deployment on our end. I've seen a few basic diagrams for content deployment, but none of these seem to fit our setup. First off, the farm environment that we are planning to run content deployment on consists of 1 indexing server, 2 front end servers that work as load balanced A and B nodes, and finally a SQL backend. What we are looking to do is use content deployment to move data from the A and B nodes. Based on information that I've read I don't believe that content deployment works that way, but everyone in my team claims it does. They also state that we had an MS consultant onsite working on this in the past and he never said that this type of setup wouldn't work. Can someone please clarify this for me?

i make some button ,i want it just work at 12 am only but..


 i make some button, i want it just work at 12 am only but, the user can change their time on they pc , how to set the time is server time only

How to make collapsable panel work like accordian


How i can implement collapsable behavior like accordian  ?

If i open 2nd collapsable panel and first one must be closed if i open first one then 2nd one must be closed.

Please guide me as soon as possible.

 I dont want to use accodian , i am using collapsable panel , i want to implement same functionality in collapsable panel which accordian provides

I am using collapsable panel in datalist so please guide me according to that scenerio.

Where only one panel s used for detail view.  





How to make Custom SharePoint 2010 Webpart work on MOSS 2007 Environment



I've built a SharePoint WebPart in SharePoint 2010, using SharePoint Assembly version Now i've to make this Webpart such that i should work on SharePoint 2010 and MOSS 2007. The version no for both the versions are different, so do i need to create separate web-part for both version or is there any other way?

My current webpart is built in env, which has

SharePoint 2010, Windows 7 64 Bit, VS 2010.

Reference is added to SharePoint DLL which is in 14 Hive ISAPI.


How can i make this generic, so that i should work on both version, i've not used anything specific which is only in SP2010, its just a simple webpart.


Akhilesh Nirapure

IIS 7.5 and HttpHandler - I can't make it work!!


Hi there...

I have a httpHandler which process *.jpg files...it's made in C# v. 2.0.

Lately I have upgrated my main project to asp.net 4.0 (the HttpHandler is still compiled to v. 2.0)

My httpHandler is still working when I run it localy with the integrated Visual Studio server.

My new production server is running IIS 7.5 - But I simply can't make it work. I have tried to

install IIS 7.5 localy, but it makes no difference. I have googled FOR DAYS NOW!! I find a lot

of different solutions, but i still can't make it!? Cry

My OLD configuration i web.config looks like (which works):

            <add verb="*" path="*.jpg" type="GeneralAntiLeech.GeneralAntiLeechClass, GeneralAntiLeech"/>

I know configuration in IIS 7 is different.

- But is have tried 'Handler mappings' --> 'Add Manged Handler' at server level.

- 'Add script map', 'Add Managed module' at web-site-level.

My HttpHandle

Cannot make filter function work the way I want it to on a drop down box

Building a template based on a database in order to submit data to the database. Key components are a separate Materials database qry providing material name and type and then the process data that will feed into the main connection the "process database".  On the Process form, I'm trying to understand how to set up a filter that when the material name is selected from the drop down box that pulls from the materials qry, then the material type automatically populates in a separate ???? type box??  I need the Material type to match the material name (one to one).  I'm just not too sure about filters???

How to Make Properties Search Work in the Advanced Search page?


I work in SharePoint 2007. I have created "Advanced Search" page. It is the standard advanced search page and is created by choosing "search center" option when you "create site" in site settings.

The top part of this advanced search page has fields to enter search terms. This will search full text of documents. This part works.

Bottom part of the search page includes properties search. I know how to add or change those properties in the list. It is done through XML file which can be found in "Edit Page", "modify the web part", and it is in properties.

I have added a new property in this XML file but it does not appear in the drop-down list in the search page. I know that this property must exist and data has to be populated in at least one record for this property to show up in the drop-down list. This has been done and still the added property does not show up in the drop-down list in the search page.

What else do I need to do to make properties search work?


Thank you very much in advance for your help.

RadioButton inside GridView, How to get it work as normal

Did you tried before to drag a RadioButton control inside a Gridivew templatefield, and then you attempt to select these RadioButtons , you will notice that the behavior of RadioButton control will be changed and it will work just like the behavior of checkbox control! the user will be able to select more than one radiobutton in the grid!

Looking for guidance: wanting to work with AJAX architecture



I'm starting a small website that will be backed by a database, and will allow a small number of users to authenticate and select an entry in the database, and then view (and optionally update) a corresponding entry (think master-detail).

I have some flexibility in how I'll do this, but I'd really like to incorperate some newer AJAX style coding, eliminating some page postbacks. I think this is a great opportunity to learn the concepts well.

I'll probably go with an ASP.NET 4.0 site. From what I've seen there are MANY ways to go about this:

-WCF Data Services to expose the data, and consume in ASP.NET

-Page methods to expose the data, separate method to update the data

-I'd rather avoid the UpdatePanel because I'm really looking for a full hands-on approach, with learning client side scripting being an objective as well.

Beyond that, it seems that one can use jQuery to build clientside templates, but also one can use the ASP.NET AJAX template engine (in ASP.NET 4.0 I believe).

A concern I have: users should only be able to work with the data exposed via these endpoints if they are logged into the website. Hopefully I can somehow reuse the ASP.NET forms authentication cookie for this purpose. 

Well, I hope I've posted enough to a

Beginner: this doesn't make sense to me


Do you need and "empty" script tag in the head to run scripts that are in the body?  Also, can you run JQuery scripts if they're in the <head> tag?  The first sample only works if the JQuery script is in the form (and body) tag, not in the head - even if I add $(document).ready(function() { });

This works

<head runat="server">
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" />
<script type="text/javascript">
<form id="form1" runat="server">
<a href="">Here is a link</a>
<script type="text/javascript">
$('a').click(function () {
alert("you clicked me!");


This doesn't work.  Notice I removed the second <script> tag from the head

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="serve

animate effect work but the render items are messed up.


Hi all,

     I have a very unique problem, humm i think. I am using a jquery effect that animate bounce effect, i have a line in my javascript pageLoad function $("#UserBrowserInfoDIV").show('bounce'); - the effects run smoothly but what it does is mess up the bolded text in the div. I have try the items inside the div without bolding and it works fine and no render problem but when bolded the text that are bolded is quite messed up, and barely readable.

Please let me know is there anything else i can do i really would like use this effect.

P.S all the effect have the same render problem, and i am using ie8 under compatibility mode.





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