We have a ASP.NET Web application. We want to use SharePoint document library for Documents Management and archival. We are new to Sharepoint. We have a sharepoint admin team asking for the details of tasks they need to do integrate with ASP.NET. We are maintaining user level permissions in ASP.NET. Please clarify me on the following points: 1. Can we connect to Sharepoint using its WebServices? We don't want to consume using Sharepoint Object Model which needs installation in ASP.NET WebServer. We want to upload,checkin,checkout,delete and download using webservice. 2. Can we ask Sharepoint Admin to create one root level folder and a user for our application using which we can upload document using WebService? We will restrict permissions using our ASP.NET application. 3. Asking them to archive documents periodically. Does this require any workflow or just a configuration from Sharepoint Admin?
K P Kannan
Posts
-
Consuming Sharepoint Document library in ASP.NET -
Windows Phone 7 DevelopmentI am a C# ASP.NET developer. I am trying to develop for Windows Mobile. I have the following questions: Could someone suggest some ideas? I have been searching forums also. 1. O/S- Compact Edition/Windows 7-Comparisons 2. VS 2010 development in C# - Will it run both in Compact&Windows 7 O/S. 3. Silverlight/WPF Support - We need rich UI 4. Free Database – upto 1 GB storage – SQL Lite/SQL Express/SQL Compact Edition(Not so sure whether it is free) 5. Zigbee commuication 6. GPRS communication to connect to windows based systems through TCP/FTP 7. Download application from the server automatically and upgrade 8. Simulators Thanks in advance K.P.Kannan
-
Ajax problemI suspect File upload control will not work in UpdatePanel. You need to run that outside of UpdatePanel or have that upload alone happening in a new popup window or IFrame. K.P.Kannan
-
Hosting .NET applications in MAC O/SIs it possible to host .NET applications in MAC O/S?.
-
FileUpload can't upload huge size documentBy default, .NET allows upto 4MB of file size to be uploaded. You need to add/modify the following entry to system.web section of web.config. 4096KB Please change it to desired value. K.P.Kannan
-
Excel -COM Class factory initialization errorWe are exporting some data to excel and we have installed Excel 2007 in our Development/Staging/Production(Web Farm) environments. All the environments are running in Win 2003 Server,IIS 6. We are receiving the following error while initializing excel object in production. Application: System.UnauthorizedAccessException: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80070005.at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(RuntimeType objectType) at System.Runtime.Remoting.RemotingServices.AllocateUninitializedObject(Type objectType) at System.Runtime.Remoting.Activation.ActivationServices.CreateInstance(Type serverType) at System.Runtime.Remoting.Activation.ActivationServices.IsCurrentContextOK(Type serverType, Object[] props, Boolean bNewObj) Event Log: The machine-default permission settings do not grant Local Activation permission for the COM Server application with CLSID {00024500-0000-0000-C000-000000000046} to the user NT AUTHORITY\NETWORK SERVICE SID (S-1-5-20). This security permission can be modified using the Component Services administrative tool. We have given the permissions for Network Service in DCOMCNFG for Excel Application. The error is coming only in production and not in any other environments. I searched for solutions and all are pointing to giving Activation Permissions to Network Service(The application pool is running under this identity only) which has been done. I could not figure out any other reasons that may be causing this problem. Please help K.P.Kannan
-
SSO between different web sitesThanks for the response. It talks about applications in the same domain. My case the domains will be entirely different.
-
SSO between different web sitesWe have hosted two applications in Win 2003-IIS 6.0. We have created two websites parallel to 'Default Web site'. The domain names for both the sites are different and both the sites use forms authentication. Please help me as to how we can implement SSO between these two applications. We have the idea of implementing SSO within the same domains.
-
Forms Authentication SSO Issue in FireFoxWe have deployed three applications(three different virtual directories) having the following settings for SSO. Forms Authentication-Settings are similar in all the applications MachineKey entry is kept similar in all the web.config. The authentication cookie is not persistent. SSO works well in IE. When the user opens a new window, it asks for the user to log in. When the user navigates to other sites from the same window, it doesn't ask for log in. In firefox, even if a new window is opened, it doesn't ask for log in and logging in automatically. Please help.
-
Running excel reports without installing excel in ServerWe have referenced Excel(Interop dlls) for generating excel reports(mainly graphical) and saving it to a excel file and then sending that excel file to client. We don't have excel installed in our server machine. Is there a way by which we can make that functionality working without installing excel in Server?
-
UserControl shows ispostback=true alwaysWe have a parent page which has got two usercontrols usercontrol1 and usercontrol2. Initially usercontrol1 will be visible=true and usercontrol2 will be visible=false. On click of a button in usercontrol1, usercontrol2 is made visible. During button click, both the controls page load shows ispostback as true. But after making the usercontrol2 visible, the page loads for the second time(both in parent page and usercontrol2), and the ispostback returns false. Please suggest.
-
Showing "&" sign in XML fileReplace & with &
-
ADAM Roleprovider class in ASP.NET 2.0We need to use ADAM as a role and authentication provider. I am able to use ActiveDirectoryMembershipProvider in System.web.security namespace to insert user. I would like to AddUserstoRoles. We could not get any sample code for that. We need to implement one or more RoleProvider methods. Could anybody suggest any sample code for this. We are trying with Azman also. Suggestions and sample code if any needed as to what would be the better way to use ADAM provider
-
ASP.NET Modal Popuphttp://www.asp.net/AJAX/AjaxControlToolkit/Samples/ModalPopup/ModalPopup.aspx[^] We would like to have the same kind of popup as in the above url for our application. Could anybody throw light on how to proceed on this?. It should support IE 6+,Firefox 1.5+ and safari K.P.Kannan
-
.NET 2005 session state in sql serverI got the following error message while trying to run aspnet_regsql.exe from command prompt. The user I have used to run the command will be the user for aspnetstate database. I have selected a custom database option in the command prompt. My user has got rights in a particular d/b and he has the rights to create a database. I have been searching msdn and google also. I would like to know what are the exact permissions required for a sqlserver login to install session state in sql server and also to use the same. "An error occurred during the execution of the SQL file 'InstallSqlState.sql'. The SQL error number is 229 and the SqlException message is: The EXECUTE permission was denied on the object 'sp_delete_job', database 'msdb', schema 'dbo'.If the job does not exist, an error from msdb.dbo.sp_delete_job is expected. SQL Server: [server] Database: [dbname] SQL file loaded: InstallSqlState.sql Commands failed: /* Drop all tables, startup procedures, stored procedures and types. */ /* Drop the DeleteExpiredSessions_Job */ DECLARE @jobname nvarchar(200) SET @jobname = N'[dbname]' + '_Job_DeleteExpiredSessions' -- Delete the [local] job -- We expected to get an error if the job doesn't exist. PRINT 'If the job does not exist, an error from msdb.dbo.sp_delete_job is expected.' EXECUTE msdb.dbo.sp_delete_job @job_name = @jobname SQL Exception: System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'sp_delete_job', database 'msdb', schema 'dbo'. If the job does not exist, an error from msdb.dbo.sp_delete_job is expected. at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection) at system.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception , Boolean breakConnection) at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObj ect stateObj) at System.Data.SqlClient.TdsParser.Run(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, Tds ParserStateObject stateObj) at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async) at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(DbAsyncResult res ult, String methodName, Boolean sendToPipe) at System.Data.SqlClient.SqlCommand.ExecuteNonQuery() at System.Web.Management.SqlServices.ExecuteFile(String file, String server, String database, String dbFileName, SqlConnection connection, Boolean sessionSta te, Boolea
-
AJAX .NET 2005 utf-8 querystringOur application needs to support multilanguage(UTF-8). Web.Config entries are encoded to UTF-8. We are using ajax and passing some special characters in querystring which are automatically removed when it comes to the aspx page. When we debug javascript the URL is showing the exact string when calling XMLHTTP send method. Javascript escape also didn't work. Any ideas on how to go about?
-
PageIndexChanged not firing in DataGrid if EnableViewState is falsePlease try disabling the viewstate for innercontrols rather than for DataGrid as a whole.
-
Javascript select element manipulation- getting values in postbackEnvironment: .NET 2005,Framework 2.0 I am manipulating a select element(asp:dropdownlist) through javascript-adding and removing elements. I am unable to get the manipulated data during postback. For workaround, I am using a hidden control(some special characters to separate the list) to track the changes. Is there any optimized way of doing this? K.P.Kannan
-
EPiServer QueriesI have the following requirements in EPiServer Portal. I am going through forums, EPiServer website and other search engine(Google) also. I would like to have some ideas/sample codes/website links for the following implementations. 1. Adding Comments- they should go through moderator approval and the moderator can delete the comments also. Showing total comments and pagination 2. Rating-5 stars display 3. User should not rate the same article again 4. Breaking a news(not the news list) into pages if it spans for more than a page 5. Printing news 6. Related News
-
.NET code reverse engineeringIs there any tool which can generate UML diagrams from .NET code(assembly)? Please specify for the versions supported. I searched google and got a lot of links. I need to test them and see. I thought it would be better to ask the forum as someone might have experience. Will that indicate the flow from layers also? K.P.Kannan