Sharepoint Forum

 
Home » Forum » Sharepoint       Ask a questionRSS Feeds

Windows Application using SP Object Model

  Asked By: Aditiya Katakol         Date: Apr 06, 2010      Category: Sharepoint      Views: 519
 

I'm trying to use SP Object Models in my windows application and getting this
runtime error :-
COM object with CLSID {BDEADEBD-C265-11D0-BCED-00A0C90AB50F} is either not
valid or not registered. "
I tried to register using the command at Run---> regsvr32
"c:\Microsoft.SharePoint.dll"

Tagged:            

 

14 Answers Found

 
Answer #1       Answered By: Siobhan Waller          Answered On: Apr 06, 2010       

The SP Object Model is only available on the SharePoint 2003 (WSS or
SPS) server itself. If you are developing a Windows client side
application you need to use the web services to interact with
SharePoint.

 
Answer #2       Answered By: Lorenzo Steele          Answered On: Apr 06, 2010       

what about SP Object Model in c# web
applications(aps.net). Is it possible?

 
Answer #3       Answered By: Divakar Naik          Answered On: Apr 06, 2010       

As long as they are running on the same server, yes.

 
Answer #4       Answered By: Marcus Davis          Answered On: Apr 06, 2010       

A blurb about this technology I felt should prove
helpful...

http://www.portalbuilder.org/default.aspx

 
Answer #5       Answered By: Perla Vang          Answered On: Apr 06, 2010       

Do you have WSS installed on the machine running the code?

 
Answer #6       Answered By: Sandra Alexander          Answered On: Apr 06, 2010       

I develop my code in xp pro machine and windows  server 2003 dir. inetpub and
60 are mapped to my computer and i have administrator rights in SPS2003. I'm
sorry i didn't get your question.

 
Answer #7       Answered By: Nalin Rao          Answered On: Apr 06, 2010       

You will need to be able to run  code that access the SP Object Model
from a computer running XP, you need to either install Visual Studio
2003 on the server running Sharepoint or install Windows Server 2003 on
your workstation

 
Answer #8       Answered By: Thomas Davis          Answered On: Apr 06, 2010       

But I can easily add references to
Microsoft.SharePoint.dll....Microsoft.SharePoint.Library.dll or any other
SharePoint .dll file...and work from XP Pro operating system.

 
Answer #9       Answered By: Dominic Davis          Answered On: Apr 06, 2010       

You can add the references and build under XP, yes, but the code will not run.

 
Answer #10       Answered By: Indu Raj          Answered On: Apr 06, 2010       

i was not able to install VS .NET and SPS2003 together on Windows Server 2003
operating system. If I remember, I was having the problem of front page
extensions. VS. NET require front page extension where as SPS2003 doesnt
require. I had to something with the virtual server.

Please let me know if I'm saying correctly and please let me how to install both
in Windows Server 2003.

 
Answer #11       Answered By: Khushi Srivastava          Answered On: Apr 06, 2010       

You can install VS.Net without FPSE, you'll just get a warning. You can also
temporarily enable them long enough to get VS.Net installed - they are not
required for it to run  if you are just doing SPS development.

 
Answer #12       Answered By: Arti Patel          Answered On: Apr 06, 2010       

Just want to make sure..Tomorrow i'll try to install VS.NET with FPSE in WS2003
operating system. Then I'll remove or disable FPSE. and then I'm good to go...
I'm I correct.

 
Answer #13       Answered By: Claire May          Answered On: Apr 06, 2010       

YES sounds good then install your Sharepoint system.
Yes you most definitely have to remove the FPSE after
the installation of VS...go ahead and install the C#
if you have it good to have both in case you need it.

Also the permissions etc take a look at

w3.portalbuilder.org/.../Introduction.htm

 
Answer #14       Answered By: Dan Dickerson          Answered On: Apr 06, 2010       

I already have SPS2003 installed in WS2003 os...I will install VS .net with FPSE
first and then unistall FPSE...and i didn't get by "go ahead and install the
C#"...i'll install complete VS .net

 
Didn't find what you were looking for? Find more on Windows Application using SP Object Model Or get search suggestion and latest updates.


Your Answer
  • Answer should be atleast 30 Characters.
  • Please put code inside [Code] your code [/Code].