Filling In A Multi-choice Field In A Sharepoint Doc-Lib Using SetDocsMetaInfo Frontpage Server Extentions RPC Method?
Jul 15, 2010
I've been given a big chunk of code which eventually calls upon the SetDocsMetaInfo method from Frontpage Server Extension RPC. This is easy enough for most document uploading and property updating, except when dealing with multichoice fields. I've been scouring through MSDN and I can't find anything on how to fill in multiple values for such a field.
The general syntax for properties is something like this: [SR|default], with the type (string in this case) followed by a pipe and then the value to be written. Does anyone know the syntax for multichoice fields?
View 1 Replies
Similar Messages:
Sep 8, 2010
I'm trying to find faxcomexlib.dll. After Googling around, I installed the Core SDK from the Platform SDK, but I still don't see this dll listed in the System32 folder. This is the code I'm trying to run:
FAXCOMEXLib.FaxServer faxServer = new FAXCOMEXLib.FaxServerClass();
//faxServer.Connect(Environment.MachineName);
faxServer.Connect("//My-Server");
FAXCOMLib.FaxDoc faxDoc = (FAXCOMEXLib.FaxDoc)faxServer.CreateDocument(FileName);
faxDoc.RecipientName = "Test";
faxDoc.FaxNumber = "1234567890";
faxDoc.DisplayName = "Test";
int Response = faxDoc.Send();
faxServer.Disconnect();
View 1 Replies
Feb 8, 2010
programming: C# 3.5
i have total of 20 questions in my sql table, it is consist of 2 type of questions:
1. Single answer -- the question that have only one answer.
2. Multiple answer -- the question that have multiple answer.
Using DataList( or another possible ways)
how do i manage to show radio button for Single choice, Check box for Multiple choice question ?
my sql data table
question_id(int) | question_type(char) | question_text | answer1(varchar) | correct1(bit) | answer2 | correct2(bit) | answer3 | correct3
desire effect:
///////Single Choice///////////////
1. This is the question, what is PPP ?
O asfasdasdfasda
O asdasdasdasdadasdasd.
O asdasdasdasdasda.
//////Multiple choice//////////
2. Following, which is correct ?
[] asdasdasdasd.
[] asdasdasdasdzxc
[] basdgwqsdasda.
View 8 Replies
Mar 7, 2011
I have a site that is running on a Windows Server 2008 machine with IIS 7.0, when I try to open it with Visual Web Developer 2010, it says the following:
error: unable to open site: ... The Web server does not appear to have FrontPage Server Extensions installed.
Looking on the server Frontpage Extensions 2002 are installed, so what could be wrong?
The thing is, I used to be able to open the project and work on it, etc...
Open Website -> Remote Site -> Enter remote site name -> tries to open & error above!
View 1 Replies
Sep 29, 2010
how can i use multi javascript files with RegisterClientScriptInclude method in custom server controls. when i call two or more RegisterClientScriptInclude method, this method registers only one of the javascript files.
[Code]....
[Code]....
[Code]....
View 3 Replies
Sep 16, 2010
I'm using Windows 7 and trying to create a HTTP website from Visual Web Developer 2010 Express. I keep getting this error:
Unable to create the Web site 'http://www.xyz.com'. The Web server doesn't appear to have FrontPage Server Extensions installed.
the FrontPage Server extensions are obsolete now and not needed anymore for ASP.net apps. I still used the aspnet_regiis.exe -i -enable command. I have the following versions of .net Framework installed on my Windows 7 machine: v1.0, v1.1, v2.0,v3.0, v3.5, and v4.0
View 1 Replies
Aug 20, 2010
I am using vs 2008 express. My OS is windows 7 home premium.I created a asp.net web site and it worked well. However, if I copy the web site to a remote free host space http://www.somee.com, I got an error.
[Code]....
View 2 Replies
Mar 27, 2010
in other words, what happens when I enable/disable FrontPage Server Extensions 2002? knowing that I have asp.net web apps using .NET framework 1.1 and 2.0
View 1 Replies
May 15, 2010
I recently installed Windows 7 in my PC.I also insyalled Visual Studio 2005 in my system.
while creating web site throgh Visual Studio 2005 IDE , it is giving error that "The Web server does not appear to have the Front page server extensions Installed".
View 4 Replies
Aug 19, 2010
What's the best method to allow a user to search in a specific field for a record(s) containing the keywords they enter into a textbox? I am considering using the streamreader to obatin the values from textbox into an array, so I can build dynamic query using the stringbuilder. Is there a cleaner or more efficient method to approach this common search functionality?
View 1 Replies
Apr 3, 2011
I am wondering if ASP.NET is a good choice to build small such as personal websites, blogs, photo gallery to medium websites such as online booking, medium sort of facebook!, etc?I have heard that ASP.NET and MS SQL Server take more resources than PHP and MySQL which means it could be only good for rich people who are able to pay for these resources!
View 12 Replies
Jan 18, 2011
Our current application is working fine but when you try to misbehave like we found out that When login with same user in multiple tab with different organization(there is a organization dropdown in the master page which sets the cookie whenever it is changed.) in tab one it is org 1 and tab 2 it is org2 , cookie has the later org 2 in it but when we go back in tab1(which had org1) and save the record org 2 will be saved with the record So can some one share some sort of a checklist with us which address these types of problem.
View 3 Replies
Oct 1, 2010
I'm looking for a mechnism for implementating multi language in my site. it is in medium scale.
View 2 Replies
Apr 3, 2011
which is better approach from performance point of view, is it better to use one web-service method to load data by passing Database Table name and keys or is it better to use separate method for each database table! knowing that i'm using .net asmx through ajax requests.it's obvious that one method is better from OO perspective since it have one function type 'data loading' but what about performance? does IIS affected by that or not? also is it better to make multi web-services 'asmx files' or just one!
View 3 Replies
Nov 3, 2010
I have a SQL Server table with a number of fields that are defined with the "Float" data type. I'm running a simple query to retrieve the data from this table and use it to populate a Data Table in my C#.net application.
I just discovered that the data type of the Data Table fields is Double, not Float as I expected. As such, when I store a value like 0.157 it ends up getting stored like this: 0.15700000524520874
I'm aware that such extra "noise" occurs when such a conversion occurs. My major question has to do with why .Net didn't set the Data Type to Float (ie. Single) when the table was first populated?
View 3 Replies
Jan 12, 2011
I have deployed a custom SharePoint Web service on Farm A. I am trying to access this Web service from a SharePoint timer job on Farm B. On Farm B, I am creating Class Library project, packaging it (wsp) and then deploying to GAC. The problem is I'm unable to access the Web Service using the following code. TodaysNewSVC is a service reference
TodaysNewSVC.GetTodaysnewsfromInsite objGetNews = new TodaysNewSVC.GetTodaysnewsfromInsite();
objGetNews.PreAuthenticate = true;
objGetNews.Credentials = CredentialCache.DefaultCredentials;
objGetNews.Url = "http://insite-dev.portal/_vti_bin/todaysnews.asmx";
DataTable dt2 = objGetNews.getNewsFromInsite(true, true);
//getNewsFromInsite is a WebMethod which returns the DataTable.
Note: Both farms use the same active directory authentication. I have also done the debugging for Timer Job and feature activation and they are working fine. The problem occurs during the call i.e. getNewsFromInsite
The asmx and wsdl files are accessible from Internet Explorer and also from Windows Console application. Here is the code which I use from console application:
GetTodaysnewsfromInsiteSoapClient objWSClient = new GetTodaysnewsfromInsiteSoapClient();
objWSClient.ClientCredentials.Windows.ClientCredential = System.Net.CredentialCache.DefaultNetworkCredentials;[code]...
Here is the error message:The request failed with the error message:
--
<html><head><title>Object moved</title></head><body>
<h2>Object moved to <a href="%2fPages%2fproblem-with-page.aspx%3fc%3d500">here</a>.</h2>
</body></html>
View 1 Replies
Oct 29, 2010
We have a simple ASP.NET app that uses the ASP.NET SqlMembershipProvider and all is great.
We want to create a second app on the same server, also use the SqlMembershipProvider, but a different "applicationName" so that the user accounts between the two apps are kept separate.
It looks like this would be possible by making the two different app domains (ie they each have their own web.config), but I'm hoping to just put them in different directories so I don't have 3 web.configs (one for each app, and the main one) that all have to be kept synchronized. So what I'm after is:
/web.config
/APP1 (uses membership provider in /web.config, with userlist A)
/APP2 (uses membership provider in /web.config, with userlist B)
It looks simple to define multiple membership providers that use a different 'applicationName' value.
But how do you tell the system.web.authentication node which membership provider to use?
View 2 Replies
Jul 27, 2010
I have jQuery plugin - progress bar. How to invoke server side method on success? The code is below:
(Everything works fine)
[Code]....
View 1 Replies
Sep 7, 2010
I want to access the data from datatable object. When i trying to get the fieldslist usng "Field" method. But I could not find the method with my table object. Eventhoguh i forcibly write a method and trying to access the fields, It is giving the below error for the first join in query. Rest of the lines are fine.
What is the reason behind it.
The errro: "Error 2 'LINQ2DB.SP_VS_OP' does not contain a definition for 'Field' and the best extension method overload 'System.Data.DataRowExtensions.Field<T>(System.Data.DataRow, string)' has some invalid arguments"
What is the meaningof the error. Shall i do any other changes in the query line?
var QueryChnl = from oSPOP in SPOP.AsEnumerable()
join oDiscChannel in DiscChannel.AsEnumerable() on oSPOP.Field<int>("spid") equals oDiscChannel.Field<int>("SPID")
join oChannel in Channel.AsEnumerable() on oDiscChannel.Field<int>("channel") equals oChannel.Field<int>("channelID")
where oSPOP.Mappingkey == 3200004
select new { oSPOP.Mappingkey, oChannel.channel, oDiscChannel.STATUS };
View 1 Replies
Jul 19, 2010
how to take a SQL Server DB that is meant for a single client and turn it into a multi-tenancy DB, for many clients? The DB has about 100 plus tables , a lot are lookup tables. There are lots of stored procedures and views as too.
View 1 Replies
Oct 14, 2010
System.Data.SqlClient is not filling DataTable named "Person" Go to [URL] Webpage message reads: Exception Details: System.Data.SqlClient.SqlException: Invalid object name 'Person'. Source Error:
[Code]....
Source File: d:hostingcforedDefault.aspx.vb Line: 41 Stack Trace:
[Code]....
View 11 Replies
Aug 9, 2010
I found a lot of stuff on this topic but nothing that matches my problem.I'm coding a simple search function and came up with this code:
Dimsql
As
String =
"SELECT DMS_files.id, DMS_files.descriptionSV, DMS_files.description, DMS_MainCategories.categoryNameFI AS 'main', DMS_SubCategories.categoryNameFI AS 'sub' FROM [DMS_files] INNER JOIN DMS_MainCategories
ON DMS_files.cid=DMS_MainCategories.id INNER JOIN DMS_SubCategories ON DMS_files.scid=DMS_SubCategories.id WHERE (DMS_files.descriptionSV LIKE '%" & str &
"%' OR DMS_files.description LIKE '%" & str &
"%')"
If (User.Identity.IsAuthenticated =
False)
Then
sql = sql &" AND DMS_MainCategories.allowPublicSearch = 1"
End
If
With this I get the error "Multi-part identifier 'DMS_MainCategories.allowPublicSearch' could not be bound". But if I put the line straight to the first string, like below, it works.
Dim sql As
String =
"SELECT DMS_files.id, DMS_files.descriptionSV, DMS_files.description, DMS_MainCategories.categoryNameFI AS 'main', DMS_SubCategories.categoryNameFI AS 'sub' FROM [DMS_files] INNER JOIN DMS_MainCategories
ON DMS_files.cid=DMS_MainCategories.id INNER JOIN DMS_SubCategories ON DMS_files.scid=DMS_SubCategories.id WHERE (DMS_files.descriptionSV LIKE '%" & str &
"%' OR DMS_files.description LIKE '%" & str &
"%') AND DMS_MainCategories.allowPublicSearch = 1"
View 4 Replies
Nov 4, 2010
I have an asp.net control that contains a grid view sitting on top of an Ajax update panel. The control has been added to a sharepoint page. When a button is clicked, some server code is called to store the contents of the grid. If the server code throws an error, I want to spit out a javascript alert displaying the error message, but for some reason the error that bubbles up from the server is the generic 500 server error, which doesn't contain any details of the original error.
View 1 Replies
Jan 29, 2010
I'm trying to remove Sharepoint in its entirety from my server (2003). I've uninstalled Sharepoint, but in SQL Server Management Studio, I still have a reference to the OfficeServers database, in the dropdown, though I can't find it anywhere in the SQL Server folder hierarchy
View 1 Replies
Jun 15, 2010
Following error comes when creating a WebPart In sharePoint 2010 Server.
Web Part Error: Unhandled exception was thrown by the user code wrapper's Execute method in the partial trust app domain: System.Web.HttpUnhandledException: Exception of type 'System.Web.HttpUnhandledException' was thrown. ---> System.TypeLoadException: Could not load type 'Microsoft.SharePoint.WebControls.SPGridView' from assembly 'Microsoft.SharePoint, Version=14.900.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'. at ListMenuSample.ListMenuSample.ListMenuSample.CreateChildControls() at System.Web.UI.Control.EnsureChildControls() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) --- End of inner exception stack trace --- at System.Web.UI.Page.HandleError(Exception e) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper.ExecuteHttpRequest(SPUserCodeWebPartHttpRequestContext webPartExecutionContext, SPUserCodeWebPartHttpResponse httpRequestResponse) at Microsoft.SharePoint.UserCode.SPUserCodeWebPartWrapper.Execute(SPUserCodeExecutionContext executionContext) at Microsoft.SharePoint.UserCode.SPUserCodeApplicationHostAppDomainRef.Execute(Type userCodeWrapperType, SPUserCodeCachedAssemblyGroup userAssemblyGroup, Guid siteCollectionId, Byte[] binaryUserCodeToken, Byte[] proxyOperationToken, SPUserCodeExecutionContext executionContext)
View 1 Replies