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.

Re: Exception in SPGlobalAdmin object by Mike

Mike
Wed Jun 27 00:34:43 CDT 2007

Please ask this kind of question in the newsgroup for programming issues

microsoft.public.sharepoint.development_and_programming

where the SP programming experts are.

You should also find back questions and answers there to be useful.

Mike Walsh
WSS FAQ http://www.wssfaq.com
no questions by e-mail please



apondu wrote:
> 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.
>