Question
June 26, 2007 at 12:38 PM
apondu

Exception in SPGlobalAdmin object of SharePoint

by apondu . Updated 19 years, 1 month ago

Hi,

I am new to sharepoint, and was trying to integrate SharePoint with my application which is

written in C#.Net. Initially it was a window application and i was able to easily integrate

sharepoint with my application. Now i have my application written in ASP.Net, an dnow i want

to integrate sharepoint even in web application, but now i am in all sorts of problems. I

always get a exception.

SPGlobalAdmin globalAdmin = new SPGlobalAdmin();

when i try to create a object of type SPGlobalAdmin in my web application, it return me a
exception ” Input string was not in correct format”.

Can anyone help me out and let me knw where am i going wrong in web aplication, because

thisis working fine in my windows application.

I am using VS 2005 on windows 2003 with SP1 and sharepoint portal 2003.

It would be of great help if some one could help me.

This is my mail-id apondu@gmail.com, it would be great if u could mail me the solution at

this id.

Waiting for ur help

Thanks for the help.

Regards,
Govardhan.

This discussion is locked

All Comments