Re: Error Run ASP .NET web application in x64 server

2009-01-28 Thread Bill Williamson
Are the sharepoint DLLs in the bin directory of the webapp? If so, delete them. On Thu, Jan 29, 2009 at 9:30 AM, ken zheng wrote: > Hi: > >I wonder if anyone developed ASP .NET applcation referenceing Sharepoint > dlls in x64 windows 2003. I created a simple web project in visual studio >

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread ken zheng
d.net Subject: RE: Error Run ASP .NET web application in x64 server To: ozmoss@ozmoss.com The console application runs in a different context. For SharePoint object model to be able to connect to the database, your code must run under the context of the application pool of the site you are tryi

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread Ishai Sagi
I suggest that you deploy the application to IIS, and remote debug it. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of ken zheng Sent: Thursday, 29 January 2009 2:42 PM To: ozmoss@ozmoss.com Subject: RE: Error Run ASP .NET web application in x64 server As I run the applicaiton in

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread ken zheng
that is the issue? From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of ken zheng Sent: Thursday, 29 January 2009 12:28 PM To: ozmoss@ozmoss.com Subject: RE: Error Run ASP .NET web application in x64 server Hi IShai: You are right, the search dll is not referenced

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread Ishai Sagi
...@ozmoss.com] On Behalf Of ken zheng Sent: Thursday, 29 January 2009 12:28 PM To: ozmoss@ozmoss.com Subject: RE: Error Run ASP .NET web application in x64 server Hi IShai: You are right, the search dll is not referenced correctly and the copy local is set to true. Once I changed to False, no

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread ken zheng
applcation. Thanks Date: Thu, 29 Jan 2009 11:51:50 +1100 From: ishai.s...@uniqueworld.net Subject: RE: Error Run ASP .NET web application in x64 server To: ozmoss@ozmoss.com It looks like the references weren’t added correctly, to include the dll’s full identifier (include the public

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread Paul Noone
] On Behalf Of Ishai Sagi Sent: Thursday, 29 January 2009 11:52 AM To: ozmoss@ozmoss.com Subject: RE: Error Run ASP .NET web application in x64 server It looks like the references weren't added correctly, to include the dll's full identifier (include the public key token). When you add a

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread Ishai Sagi
he GAC. I would focus on that. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Daniel Brown Sent: Thursday, 29 January 2009 11:48 AM To: ozmoss@ozmoss.com Subject: RE: Error Run ASP .NET web application in x64 server Oops, sorry for being unclear, is it x86 or x64? From: oz

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread Daniel Brown
Oops, sorry for being unclear, is it x86 or x64? From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of ken zheng Sent: Thursday, 29 January 2009 11:16 AM To: ozmoss@ozmoss.com Subject: RE: Error Run ASP .NET web application in x64 server It is .Net 3.5 app _ Date: Thu

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread ken zheng
It is .Net 3.5 app Date: Thu, 29 Jan 2009 10:13:48 +1030 From: daniel.br...@internode.on.net Subject: RE: Error Run ASP .NET web application in x64 server To: ozmoss@ozmoss.com I wouldn’t jump into such a drastic solution just yet. Re-Installation may not help. What

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread Daniel Brown
ss.com] On Behalf Of ken zheng Sent: Thursday, 29 January 2009 10:11 AM To: ozmoss@ozmoss.com Subject: RE: Error Run ASP .NET web application in x64 server Thanks guys, I will reinstall it. cheers Ken _ Date: Thu, 29 Jan 2009 10:08:33 +1030 From: daniel.br...@internode.on.net Subject:

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread ken zheng
Thanks guys, I will reinstall it. cheers Ken Date: Thu, 29 Jan 2009 10:08:33 +1030 From: daniel.br...@internode.on.net Subject: RE: Error Run ASP .NET web application in x64 server To: ozmoss@ozmoss.com Reinstalling may help, but I doubt it as it works fine with the console

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread Daniel Brown
: Error Run ASP .NET web application in x64 server Hi ken i've never had that problem before. I'm currently developing in x64 win server 2003. Please check in GAC and see if search DLL is there if not then may be you will need to reinstall MOSS. Sent from my Sony Ericsson

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread ken zheng
Sorry, the Microsoft.Office.Server.Search is AMD64 under Process Architecture Date: Thu, 29 Jan 2009 08:33:39 +0900 From: tommy.seg...@l7.com.au Subject: RE: Error Run ASP .NET web application in x64 server To: ozmoss@ozmoss.com Hi ken i've never had that problem before. I'm

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread ken zheng
Microsoft.SharePoint.Publishing in GAC is MSIL under Porcessor Architecture. Date: Thu, 29 Jan 2009 10:30:36 +1100 From: jeffe...@antaressolutions.com.au Subject: RE: Error Run ASP .NET web application in x64 server To: ozmoss@ozmoss.com A quick note on how to check if a dll

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread Tommy Segoro
Hi ken i've never had that problem before. I'm currently developing in x64 win server 2003. Please check in GAC and see if search DLL is there if not then may be you will need to reinstall MOSS. Sent from my Sony Ericsson XPERIA™ X1. From: ken zheng Sent: Thurs

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread Jeffery Tsui
29 January 2009 10:16 AM To: ozmoss@ozmoss.com Subject: RE: Error Run ASP .NET web application in x64 server I suspect it has x86 sharepoint on x64 server. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Daniel Brown Sent: Thursday, 29 January 2009 10:07 AM To: ozmoss@ozmoss.c

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread Jeffery Tsui
I suspect it has x86 sharepoint on x64 server. From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of Daniel Brown Sent: Thursday, 29 January 2009 10:07 AM To: ozmoss@ozmoss.com Subject: RE: Error Run ASP .NET web application in x64 server Hi Ken, What version of ASP.NET and

RE: Error Run ASP .NET web application in x64 server

2009-01-28 Thread Daniel Brown
Hi Ken, What version of ASP.NET and SharePoint are you running (x86 or x64)? Cheers, Daniel From: ozmoss@ozmoss.com [mailto:ozm...@ozmoss.com] On Behalf Of ken zheng Sent: Thursday, 29 January 2009 9:01 AM To: ozmoss@ozmoss.com Subject: Error Run ASP .NET web application in x64 serv