Answer Questions
Joel_F DataAccess Design Pattern
Hello, One of my application requirements is that when the user logs in, if they are not conected through the VPN, I need to perform all data access through webservices and if they are logged in, use my business components directly. Does anyone have any good ideas for this or point me in the direction of any existing patterns Thanks! Hi Diesel, If the business operations are similar in Webservice as well as the Business components. All that you have to do is have a common interface implemented by both of them. Have a Gateway class that checks whether the user has logged in or not. Accordingly return the webService or the Business classes using the factory pattern to the client. The client wi ...Show All
Rajesh batchu CSF 3.0 Lite installation error # 1609
I am trying to install CSF3.0 developer version on my XP box which is SP2. I have installed all the pre-requisite components. I am getting the following error message during the installation. "Error 1609. An error occurred while applying security settings. aspnet is not a valid user or group. This could be a problem with the package, or a problem connecting to a domain controller on the network. Check your network connection and click Retry, or Cancel". I have downloaded CSF lite from MSDN website. Did someone else also face the same problem while installing CSF lite on XP SP2 Please help. Thanks, Srid I am also try to install CSF 3.0 but I have following problem ...Show All
TGnat Can't search within PDF files
I've installed the Adobe Ifilter 6.0 and can now search to list posted pdf files in multiple sites by querying the pdf name. I can search content within Word files, but still cannot search content within these pdf files. Is there something else I need to configure to see content within these pdf files I can't seem to find any clues to what needs to be tweaked. Thanks. I was with you on your first posting of the registry path up to HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Shared Tools\Web Server Extensions After that I don't have 12.0, only 5.0 and 6.0, plus All Ports, AV Scanner, Ports, and Secure My OS is SBS 2003 R2 Premium in a 32-bit flavor. SPS and SQL Server 9.0 run on the same machine. I ...Show All
Jasper22 Error in communicating with Excel Calculation Services
When attempting to view an Excel spreadsheet in SharePoint, we get the following error displayed in the web browser: Excel Web Access: An error has occurred Checking the Event Log we see: There was an error in communicating with Excel Calculation Services http://uklo2k3d02:56737/SharedServices1/ExcelCalculationServer/ExcelService.asmx exception: The request failed with HTTP status 401: Unauthorized. [Session: (null) User: CAPCO\jtnn]. The user has full admin rights over all systems We are running RTM version of SharePoint 2007, Enterprise Edition Excel Services is enabled, configured and activated on all levels. The location is set as trusted. The rest of the server works perfectly Shared Services wor ...Show All
Jens K. Suessmeyer - MSFT Forms Based Authentication
I am trying to setup Forms Based Authentication (FBA) for our MOSS 2007 site. Based on the various blog postings/etc. around the web, I have it setup. There is one minor problem I was hoping somebody could help with. We are hoping to disable the "remember me" functionality in the form - we don't want people to accidentally stay logged in to the site. The problem we are having is this - if we don't check "remember me" on the login form, when I try to "Edit in Microsoft Office Word" on a document, it opens up Office (2003) and instead of opening the document, it opens up the login.aspx page as HTML. If I try it with Office 2007, it just doesn't open up the document, and no error is displayed. If I check the &quo ...Show All
wld_one Object Relationship Mapping ?
Hi all, Just wanted to findout that in normal distributed computing environments or 3-tier application; is it necessary to use Object relational mapping if yes which phase of the project -Paresh Hi, Check out IdeaBlade/DevForce - http://www.ideablade.com/developers.html Regards, Thomas Nielsen A fantastic book was just published on the Addison-Wesley imprint- Applying Domain-Driven Design and Patterns: With Examples in C# and .NET It covers TDD, DDD, and ORM and is a great companion to Fowler's Patterns of Enterprise Application Architecture Do look at a the below thread in this forum http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=543039&a ...Show All
GetCode Hosting Long Running Batch Processes In IIS 6
I am currently architecting a framework that will depend on IIS to host batch oriented code. The design will use a disconnected model with a controller (that lives remotely) and checks back periodically via an ASMX layer. When invoking the actual batch execution code the ASMX call will spawn as many threads as it is configured to run and immediately respond (hence avoiding any long running HTTP connection). I like the idea for a number of reasons, obviously I get to use a standard communication protocol to invoke the batch code across tiers and I can even incorporate standard load balancing routines. I'm also able to use the same communication end points to check back in on the threads as they are executing. There are also a number of o ...Show All
Medes_ /3GB and /PAE
Hi all, We have Compaq 760 DL server with a memory of 6 GB and 6 Processor. We are running Oracle database 9.2.0.7 on the same server on Windows 2000 Advanced Server. We have implemented /3GB and /PAE in the boot.ini file. However, after doing that a Blue screen appears flashing a message "Beginning Physical Dump of Memory" and the machine restarts. Kindly advise and suggests ways to resolve this problem Thanks and regards Amlendu This is the incorrect forum to ask the technical question and the best place would be to ask over at the appropriate newsgroup: www.microsoft.com/communities and to also contact your technical support. ...Show All
LouArnold SP Gugu: How to Programmatically change a list item's ContentType by WSS WebService?
Please, help! I can't find any information on MSDN under WSS3 webservices List.UpdateListItems topics how to programmatically change a list item ContentTypeId Calling SharePoint list service like: (adding a list item) XmlElement elBatch = doc.CreateElement("Batch"); elBatch.SetAttribute("OnError", "Continue"); elBatch.SetAttribute("ListVersion", "2"); XmlElement el1 = doc.CreateElement("Method"); el1.SetAttribute("ID", "1"); el1.SetAttribute("Cmd", "New"); XmlElement field1 = doc.CreateElement("Field"); field1.SetAttribute("Name", "ID"); field1.InnerText = "New"; XmlElement field2 = doc.CreateElement("Field"); field2.SetAttribute("Name", "emp_no"); ...Show All
Mohanraj_k Why return a Success boolean from a web service?
Jeromy Carriere's MSDN Webcast: Patterns and Anti-Patterns in SOA critiques web services implemented as a Sub (void method), with no indication of success returned. I don't understand why we would want the clutter of in-line checking for success. There's no end to it once you start down this path -- instead, why not catch exceptions thrown by the web method It seems even if you call a method asynchronously, your callback method should catch exceptions and raise them in the usual manner; otherwise, just code for the "happy path" and keep it readable. Now that we have exception support, shouldn't the 80's style manner of in-line error-checking be discarded Thanks. I agree. In pevious language, it wat dificut ...Show All
AJCruz Question regarding the CSLA framework
I'm currently in the beggining stages of designing an application around the CLSA framework. Before i go too far i would like to know if anyone has used this framework successfully in any mid to large size applications If not, what went wrong I like the way the framework is layed out but its a big investment in time and money (work hours). Any help would be appreciated. I had Rocky's book (highly recommended) and have reviewed the CLSA.NET framework, but I have never used it in a production environment. I have used a custom port of the CSTemplates ( http://cstemplates.sourceforge.net ) framework for the past year or two. It has worked extremely well in both very large and small systems. The good thing about working with a framew ...Show All
mlp232 New Group
hi does anybody know how to create new group in sharepoint thru C# code... I tried something like web.Groups.Add(... but I dont know which parameters values to pass this function...I dont want the current logged in user to be the owner of the group. Thanks Manu you can have the Site Collection owner as the group owner, SPSite.Owner. Thanks a lot... ...Show All
thames What is the scope of static webservice object
I have a console application which calls a webservice.In webservice we create a static object of it. Then we call two webmethods of it and the value retrieved in the following two Console statements are 1 and 2. I need to know where(Are they stored in code segment oe data segment) and how static variables are stored across various stateless webservice calls and why we got values as 1 and 2 and not 1 and 1. ConsoleApplication Code----- localhost.Service service = new localhost.Service(); Console.WriteLine("DoSomethingWithStatic() returns: {0}", service.DoSomethingWithStatic()); Console.WriteLine("DoSomethingElseWithStatic() returns: {0}", service.DoSomethingElseWithStatic()); WebService Code------ public class WebServ ...Show All
GPinNY Dataset, Typed Dataset or NHibernate?
Not again.... I know some of the experts here will say. But I have read tons of articles, blogs, forums, and still can't decide on which to use to pass the data among the layers. Here is what my design need to take care of: 1. 3 layers architecture, where UI, BLL and DAL should be seperated. 2. The BLL/DAL should be somesort like "portable", can be reused in Windows Application and Web Application. So no repeated code needed. 3. The BLL/DAL can be called from within an application or through remoting/web service. 4. The BLL/DAL can act like APIs which can intergrate with other non-.Net system (VB6, VFP, C++, Java, etc.) I have to mention I have no experience in remoting, web service and COMIneterop (yet), but these will ...Show All
Adhi78 Where are the SDKs?
Does anybody know when the downloadable SDK and workflow templates/starter kit for WSS will be available It's pretty difficult to get started on workflow development without them. Mike Fitzmaurice said they'd be released in November '06 and Eilene Hao said we could expect them by early December. Since then Microsoft seems to have completely forgotten about them. Any news The RTM versions of the WSS 3.0 and MOSS 2007 SDKs are in the process of getting posted to MS Downloads. The should be available within the next week or so. Look for an official announcement on the SharePoint Team Blog as soon as the files are online. The RTM version of the ECM Starter Kit will be included in the downloadable MOSS 2007 S ...Show All
