Hi all. Sorry if a put the question at a wrong place. i couldn't find the correct!
I wanna work with CEN/XFS possibly in C#.NET.
could anyone tell me how and where can i find XFS API last release reference and samples?
View Complete Post
Does any one know where I can find such a reference?
I have sharepoint 2007 installed on server 2008 (VPC).
In VS2008 I am unable to find Microsot.Shaerpoint.dll in "ADD Reference" section.
I am able to browse for it in C:\...\ISAPI\Microsoft.Sharepoint.dll and add it.
I am wondering why is this not in .Net tab like I find in other sharepoint machines.
Am I missing any upodates or service packs for VS2008. I do not have SP1 installed to mention.
Please help resolve this.
I am trying to "Find" a TableCell in a GridView but receive the error: Object reference not set to an instance of an object.
First in the Page_Load event I set 5 rows to this GridView1. After this I loop through the GridView1 to FindControl("tdCell1") to set a String to each <td> on each of those 5 rows.
But I receive the above error when doing this. I wonder what I can be doing wrong? Thanks!
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
EnableViewState="false" Font-Names="Times New Roman" Font-Size="12pt"
ForeColor="Black" Height="116px" style="margin-right: 0px" Width="48%">
<table align="left" class="collapse" style="height:100%"
<td id="tdCell1" align="left" style="height:100%; width:100%">
I am trying to connect to an Analysis services cube through my script task. To achieve this, i will have to use the Microsoft.AnalysisServices namespace. For this, I need to add a reference in my Project explorer space, to "Analysis management Objects"
. However, I am not able to find this. Does any one know where I can find the dll file required for this, or why it's not showing in the 'Add Reference' of my script task?
I'm playing around with a custom ValidationRule that will make sure date 1 is less than date 2 (or visa versa). My ValidationRule exposes a public property for date2. If I want to explicitly set the date, that would be enough, but I wanted to be able to
bind date2 to the SelectedDate of a DatePicker control. So I changed my ValidationRule's property type to a custom class, named DependencyDate, which exposes a date as a dependency property. Now I should be able to apply my ValidationRule to the binding on
one DatePicker and bind the date 2 to another DatePicker's SelectedDate. The problem is, my binding is yielding the message "Cannot find source for binding with reference 'ElementName=dtEnd'". Here is the code:
<DatePicker Grid.Column="1" Name="dtStart">
I have databound GridView in my page and I have a hidden DIV in all rows. Each row contains a Button that I want it to make the DIV visible for me! how can I use that with jQuery?!
here is the code page:
Hi, I'm searching now for hours but couldn't find it.
In my menu i have several buttons which (by a <a href..) should go the a part of an article that is in the same form.
Menu button : What is a database should go to the page default.aspx and in there is an article published. A part of this article is having a piece of text about "what is a database"
Menu button: how to make a query should go to this same article in the same page but then to the part that is have the piece about the query. The next could be an example of what i'm doing:
<ul> <li><a href="default.aspx ?????>what is a database</a></li> <li><a href="default.aspx ?????>what is a query</a></li>
Where my question marks are, there should be a connection to that particular piece of text.In each article part there is an ID="text1" and the second part id="text2"
How shoudl i do that, Should i use a question mark.Please give me some guidance how to structure the <li> statement or a pointer where I can read about it.
is there any way to find out the reason for session expiry?
I just wanna setup a .net framework 4.0 on my VPS for a
new site. While I could not find the ASP.NET tab on properties. I did
some research find some similar problems but haven't fixed it yet.
Any suggestion would helpful.
I want to create a website that can monitor the status of other websites running on the same server. Is this possible? How do I get a reference to a site's HttpApplication context from a separate HttpApplication?
I have created a simple ASP.net Web Application (2.0) and have added a web user control.
Now in my page I have added this control but I have registered like this,
<%@ Register Assembly="WebApplication1" Namespace="WebApplication1" TagPrefix="Custom" %>
Which means I want to access all the controls in my current Web Application project
Then I have added my user control like this,
<Custom:MyUserControl ID="MyUserControl1" runat="server" PublicProperty="Hello" />
Every thing is fine but when I execute the project, NO control on my user control gets "instantiated" and thus I receive error "Object Reference Not Set"
Note that My Control has,
1) Public property PublicProperty as String
2) 1 Label control
In Load Event Handler I am setting Text property of Label Control to PublicProperty. Here object reference NOT set error occurs (which means Label control is NOT initialized).
I don't want to register my control using Src, TagPrefix etc. Any ideas?
I wrote a class to pull adinfo and for the life of me I can't seem to figure
out why it says "Invalid Login Name" no matter what I type in. If I leave
it blank it seems to work properly but it doesn't seem to be actually searching
the AD. I'll drop the whole class here, it's being initiated by a button click
on an outside form.
Thanks in Advance for any help Offered,Postholes
Public Class LoginButton
Dim UserID As String = Nothing
Dim DomainDN As String = ConfigurationManager.AppSettings("myConnectionString")
Dim ADEntry As DirectoryEntry = New DirectoryEntry(DomainDN)
Dim objSearch As New System.DirectoryServices.DirectorySearcher(ADEntry)
Dim oResults As DirectoryServices.SearchResultCollection
Dim oResult As DirectoryServices.SearchResult
Dim RetArray As New Hashtable
Dim page As Page = DirectCast(HttpContext.Current.Handler, Page)
Dim TextLogin = DirectCast(page.FindControl("
I would like to get a persons name from their username - a common query on forums i know, but i haven't managed to get mine working yet and any help would be appreciated.
I currently have this code that I found here: http://www.vbforums.com/showthread.php?t=612655 (Thanks Chris128)
I have adapted it from VB into VB.net. The page renders but when i enter my username into the Username textBox and hit the submit button (Which calls IsUser) I just get "The specified domain either does not exist or could not be contacted." I have tried lots of other code but I always get this response...
If anyone can help by posting links to a tutorial or another post for code that they know works, i will give it a go.
Partial Class UserInfo
Private Function GetRealNameFromAd(ByVal UsernameToFind As String) As String
Using searcher As New DirectorySearcher(New DirectoryEntry())
searcher.PageSize = 1000
searcher.SearchScope = SearchScope.Subtree
searcher.Filter = "(&(samAccountType=805306368)(sAMAccountName=" & UsernameToFind & "))"
Using Results A
I created 2 projects in my solution:
Both projects were created in 3.5 framework and in Visual Studio 2008 Beta 2.
I added web service reference to Class library project. When it asked for namespace I typed "CurrencyProxy". Projects build ok, but when I run web app, Class library throws an error: Could not find default endpoint element that references contract 'CurrencyProxy.CurrencyServiceSoap' in the ServiceModel client configuration section. This might be because no configuration file was found for your application, or because no endpoint element matching this contract
could be found in the client element.
I believe it has something to do with app.config in Class library project. Here is part from app.config:
<system.serviceModel> <bindings> <basicHttpBinding> <binding name="CurrencyServiceSoap" closeTimeout=
Hi all i have this following code in asp and when i try this in .net it asks me to run in aspcompat=true mode which i dont want. So i tried to DIM x as Msxml2.XMLHTTP but its not defined any suggestions on this. Thanks
xmlhttp = Server.CreateObject("Msxml2.XMLHTTP")
On Error Resume Next
xmlhttp.Open("POST", "https://xxxxx.cgi", False)
queryString = "xxxRequestMode=X&xxxRequestData=" & Server.UrlEncode(xmlStr)