I'm trying to use a Sharepoint webservice. I start a new VB Windows
project (VS2008 or 2005). I add a web reference to the Copy service
( http://192.168.1.25/_vti_bin/copy.asmx). I add no code, all I've done
is start a new project and add the reference. I build the project and
get this error:
Error 1 'Results' is already declared as 'Private results() As
Object' in this class. C:\Documents and Settings\user1\Local
Settings\Application Data\Temporary Projects\WindowsApplication1\Web
References\WebReference\Reference.vb 453 34
WindowsApplication1
It does not happen if I start a C# project. It does not happen if I
use another service, such as Lists.asmx.
Any help greatly appreciated. 7 2108
On Nov 12, 9:51*am, dgk <d...@somewhere.comwrote:
I'm trying to use a Sharepoint webservice. I start a new VB Windows
project (VS2008 or 2005). I add a web reference to the Copy service
(http://192.168.1.25/_vti_bin/copy.asmx). I add no code, all I've done
is start a new project and add the reference. I build the project and
get this error:
Error * 1 * * * 'Results' is already declared as 'Private results() As
Object' in this class. *C:\Documents and Settings\user1\Local
Settings\Application Data\Temporary Projects\WindowsApplication1\Web
References\WebReference\Reference.vb * *453 * * 34
WindowsApplication1
It does not happen if I start a C# project. It does not happen if I
use another service, such as Lists.asmx.
Any help greatly appreciated.
Bugs should be reported to http://connect.microsoft.com/
For the most part, the people here are just volunteers and have no
affiliation with Microsoft. Therefore we have no control over the
internal code or bug fixes.
Thanks,
Seth Rowe [MVP] http://sethrowe.blogspot.com/
On Wed, 12 Nov 2008 06:57:47 -0800 (PST), rowe_newsgroups
<ro********@yahoo.comwrote:
>On Nov 12, 9:51*am, dgk <d...@somewhere.comwrote:
>I'm trying to use a Sharepoint webservice. I start a new VB Windows project (VS2008 or 2005). I add a web reference to the Copy service (http://192.168.1.25/_vti_bin/copy.asmx). I add no code, all I've done is start a new project and add the reference. I build the project and get this error:
Error * 1 * * * 'Results' is already declared as 'Private results() As Object' in this class. *C:\Documents and Settings\user1\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Web References\WebReference\Reference.vb * *453 * * 34 WindowsApplication1
It does not happen if I start a C# project. It does not happen if I use another service, such as Lists.asmx.
Any help greatly appreciated.
Bugs should be reported to http://connect.microsoft.com/
For the most part, the people here are just volunteers and have no affiliation with Microsoft. Therefore we have no control over the internal code or bug fixes.
Thanks,
Seth Rowe [MVP] http://sethrowe.blogspot.com/
Thanks. I was hoping that someone might know the problem and have a
solution or maybe someone could try it and let me know if the same
thing happens. To be fair, I've tried it on a few development machines
attaching to different Sharepoint servers and got the same result each
time. What was Einstein's definition of insanity?
The only Google I was able to find on it was on a Technet forum and no
one had answered.
I did use Connect to report it as a bug. I did that once before for
another issue but forgot the site; they fixed that bug with VS2008
SP1.
On Nov 12, 12:45*pm, dgk <d...@somewhere.comwrote:
On Wed, 12 Nov 2008 06:57:47 -0800 (PST), rowe_newsgroups
<rowe_em...@yahoo.comwrote:
On Nov 12, 9:51*am, dgk <d...@somewhere.comwrote:
I'm trying to use a Sharepoint webservice. I start a new VB Windows
project (VS2008 or 2005). I add a web reference to the Copy service
(http://192.168.1.25/_vti_bin/copy.asmx). I add no code, all I've done
is start a new project and add the reference. I build the project and
get this error:
Error * 1 * * * 'Results' is already declared as 'Private results() As
Object' in this class. *C:\Documents and Settings\user1\Local
Settings\Application Data\Temporary Projects\WindowsApplication1\Web
References\WebReference\Reference.vb * *453 * * 34
WindowsApplication1
It does not happen if I start a C# project. It does not happen if I
use another service, such as Lists.asmx.
Any help greatly appreciated.
Bugs should be reported tohttp://connect.microsoft.com/
For the most part, the people here are just volunteers and have no
affiliation with Microsoft. Therefore we have no control over the
internal code or bug fixes.
Thanks,
Seth Rowe [MVP] http://sethrowe.blogspot.com/
Thanks. I was hoping that someone might know the problem and have a
solution or maybe someone could try it and let me know if the same
thing happens. To be fair, I've tried it on a few development machines
attaching to different Sharepoint servers and got the same result each
time. What was Einstein's definition of insanity?
The only Google I was able to find on it was on a Technet forum and no
one had answered.
I did use Connect to report it as a bug. I did that once before for
another issue but forgot the site; they fixed that bug with VS2008
SP1.
If you want / need a fix now, you should be able to open up that
Reference.vb file and manually fix the issue in the generated proxy
class. Though there is a chance it will overwrite your changes if you
do an Update on the service at a later point.
Thanks,
Seth Rowe [MVP] http://sethrowe.blogspot.com/
On Wed, 12 Nov 2008 10:10:37 -0800 (PST), rowe_newsgroups
<ro********@yahoo.comwrote:
>On Nov 12, 12:45*pm, dgk <d...@somewhere.comwrote:
>On Wed, 12 Nov 2008 06:57:47 -0800 (PST), rowe_newsgroups <rowe_em...@yahoo.comwrote:
>On Nov 12, 9:51*am, dgk <d...@somewhere.comwrote: I'm trying to use a Sharepoint webservice. I start a new VB Windows project (VS2008 or 2005). I add a web reference to the Copy service (http://192.168.1.25/_vti_bin/copy.asmx). I add no code, all I've done is start a new project and add the reference. I build the project and get this error:
>Error * 1 * * * 'Results' is already declared as 'Private results() As Object' in this class. *C:\Documents and Settings\user1\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Web References\WebReference\Reference.vb * *453 * * 34 WindowsApplication1
>It does not happen if I start a C# project. It does not happen if I use another service, such as Lists.asmx.
>Any help greatly appreciated.
>Bugs should be reported tohttp://connect.microsoft.com/
>For the most part, the people here are just volunteers and have no affiliation with Microsoft. Therefore we have no control over the internal code or bug fixes.
>Thanks,
>Seth Rowe [MVP] http://sethrowe.blogspot.com/ Thanks. I was hoping that someone might know the problem and have a solution or maybe someone could try it and let me know if the same thing happens. To be fair, I've tried it on a few development machines attaching to different Sharepoint servers and got the same result each time. What was Einstein's definition of insanity?
The only Google I was able to find on it was on a Technet forum and no one had answered.
I did use Connect to report it as a bug. I did that once before for another issue but forgot the site; they fixed that bug with VS2008 SP1.
If you want / need a fix now, you should be able to open up that Reference.vb file and manually fix the issue in the generated proxy class. Though there is a chance it will overwrite your changes if you do an Update on the service at a later point.
Thanks,
Seth Rowe [MVP] http://sethrowe.blogspot.com/
Hadn't thought of that; damn good idea. I thought that file got
generated each time but no, it doesn't. Plus, it wasn't all that hard
to fix. I don't know that it will end up working but it sure looks ok
for now.
On Nov 12, 2:14*pm, dgk <d...@somewhere.comwrote:
On Wed, 12 Nov 2008 10:10:37 -0800 (PST), rowe_newsgroups
<rowe_em...@yahoo.comwrote:
On Nov 12, 12:45*pm, dgk <d...@somewhere.comwrote:
On Wed, 12 Nov 2008 06:57:47 -0800 (PST), rowe_newsgroups
<rowe_em...@yahoo.comwrote:
On Nov 12, 9:51*am, dgk <d...@somewhere.comwrote:
I'm trying to use a Sharepoint webservice. I start a new VB Windows
project (VS2008 or 2005). I add a web reference to the Copy service
(http://192.168.1.25/_vti_bin/copy.asmx). I add no code, all I've done
is start a new project and add the reference. I build the project and
get this error:
Error * 1 * * * 'Results' is already declared as 'Private results() As
Object' in this class. *C:\Documents and Settings\user1\Local
Settings\Application Data\Temporary Projects\WindowsApplication1\Web
References\WebReference\Reference.vb * *453 * * 34
WindowsApplication1
It does not happen if I start a C# project. It does not happen if I
use another service, such as Lists.asmx.
Any help greatly appreciated.
Bugs should be reported tohttp://connect.microsoft.com/
For the most part, the people here are just volunteers and have no
affiliation with Microsoft. Therefore we have no control over the
internal code or bug fixes.
Thanks,
Seth Rowe [MVP] http://sethrowe.blogspot.com/
Thanks. I was hoping that someone might know the problem and have a
solution or maybe someone could try it and let me know if the same
thing happens. To be fair, I've tried it on a few development machines
attaching to different Sharepoint servers and got the same result each
time. What was Einstein's definition of insanity?
The only Google I was able to find on it was on a Technet forum and no
one had answered.
I did use Connect to report it as a bug. I did that once before for
another issue but forgot the site; they fixed that bug with VS2008
SP1.
If you want / need a fix now, you should be able to open up that
Reference.vb file and manually fix the issue in the generated proxy
class. Though there is a chance it will overwrite your changes if you
do an Update on the service at a later point.
Thanks,
Seth Rowe [MVP] http://sethrowe.blogspot.com/
Hadn't thought of that; damn good idea. I thought that file got
generated each time but no, it doesn't. Plus, it wasn't all that hard
to fix. I don't know that it will end up working but it sure looks ok
for now.
Yeah, unfortunately I've had the (dis)pleasure of manually editing the
proxy classes by hand before.
Not a lot of fun, but it gets the job done :-)
Thanks,
Seth Rowe [MVP] http://sethrowe.blogspot.com/
On 11/12/08 1:10 PM, in article 9f**********************************...oglegroups.com,
"rowe_newsgroups" <ro********@yahoo.comwrote:
On Nov 12, 12:45*pm, dgk <d...@somewhere.comwrote:
>On Wed, 12 Nov 2008 06:57:47 -0800 (PST), rowe_newsgroups <rowe_em...@yahoo.comwrote:
>>On Nov 12, 9:51*am, dgk <d...@somewhere.comwrote: I'm trying to use a Sharepoint webservice. I start a new VB Windows project (VS2008 or 2005). I add a web reference to the Copy service (http://192.168.1.25/_vti_bin/copy.asmx). I add no code, all I've done is start a new project and add the reference. I build the project and get this error:
>>>Error * 1 * * * 'Results' is already declared as 'Private results() As Object' in this class. *C:\Documents and Settings\user1\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Web References\WebReference\Reference.vb * *453 * * 34 WindowsApplication1
>>>It does not happen if I start a C# project. It does not happen if I use another service, such as Lists.asmx.
>>>Any help greatly appreciated.
>>Bugs should be reported tohttp://connect.microsoft.com/
>>For the most part, the people here are just volunteers and have no affiliation with Microsoft. Therefore we have no control over the internal code or bug fixes.
>>Thanks,
>>Seth Rowe [MVP] http://sethrowe.blogspot.com/ Thanks. I was hoping that someone might know the problem and have a solution or maybe someone could try it and let me know if the same thing happens. To be fair, I've tried it on a few development machines attaching to different Sharepoint servers and got the same result each time. What was Einstein's definition of insanity?
The only Google I was able to find on it was on a Technet forum and no one had answered.
I did use Connect to report it as a bug. I did that once before for another issue but forgot the site; they fixed that bug with VS2008 SP1.
If you want / need a fix now, you should be able to open up that
Reference.vb file and manually fix the issue in the generated proxy
class. Though there is a chance it will overwrite your changes if you
do an Update on the service at a later point.
Thanks,
Seth Rowe [MVP] http://sethrowe.blogspot.com/
Editing the Reference.vb file directly may be the only option. The reason
this is not throwing an error in a C# project is that Results and results()
are different names due to case sensitivity. VB doesn't differentiate based
on case so they would look like the same variables.
James
On Thu, 13 Nov 2008 22:43:56 -0500, James Jardine
<no*****@jardinesoftware.comwrote:
>
On 11/12/08 1:10 PM, in article 9f**********************************@g17g2000prg. googlegroups.com, "rowe_newsgroups" <ro********@yahoo.comwrote:
>On Nov 12, 12:45*pm, dgk <d...@somewhere.comwrote:
>>On Wed, 12 Nov 2008 06:57:47 -0800 (PST), rowe_newsgroups <rowe_em...@yahoo.comwrote: On Nov 12, 9:51*am, dgk <d...@somewhere.comwrote: I'm trying to use a Sharepoint webservice. I start a new VB Windows project (VS2008 or 2005). I add a web reference to the Copy service (http://192.168.1.25/_vti_bin/copy.asmx). I add no code, all I've done is start a new project and add the reference. I build the project and get this error:
Error * 1 * * * 'Results' is already declared as 'Private results() As Object' in this class. *C:\Documents and Settings\user1\Local Settings\Application Data\Temporary Projects\WindowsApplication1\Web References\WebReference\Reference.vb * *453 * * 34 WindowsApplication1
It does not happen if I start a C# project. It does not happen if I use another service, such as Lists.asmx.
Any help greatly appreciated.
Bugs should be reported tohttp://connect.microsoft.com/
For the most part, the people here are just volunteers and have no affiliation with Microsoft. Therefore we have no control over the internal code or bug fixes.
Thanks,
Seth Rowe [MVP] http://sethrowe.blogspot.com/
Thanks. I was hoping that someone might know the problem and have a solution or maybe someone could try it and let me know if the same thing happens. To be fair, I've tried it on a few development machines attaching to different Sharepoint servers and got the same result each time. What was Einstein's definition of insanity?
The only Google I was able to find on it was on a Technet forum and no one had answered.
I did use Connect to report it as a bug. I did that once before for another issue but forgot the site; they fixed that bug with VS2008 SP1.
If you want / need a fix now, you should be able to open up that Reference.vb file and manually fix the issue in the generated proxy class. Though there is a chance it will overwrite your changes if you do an Update on the service at a later point.
Thanks,
Seth Rowe [MVP] http://sethrowe.blogspot.com/ Editing the Reference.vb file directly may be the only option. The reason this is not throwing an error in a C# project is that Results and results() are different names due to case sensitivity. VB doesn't differentiate based on case so they would look like the same variables.
James
Ha, I always hated case sensitivity, here's an argument in favor of
it. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: steveee |
last post by:
Hi!
I'm building a db in access for a school project, and was wondering how to
make the value for a field the same as the number of records with the same
value in another field.
e.g.
DvdTitle...
|
by: PL |
last post by:
Since installing Windows 2000 Service Pack 4, I cannot
debug ASP.Net projects, starting without debugging works
fine.
I am the administrator on the machine running IIS and
VS.Net
Everything...
|
by: feng |
last post by:
Hi,
Does anyone use the Custom Help Builder successfully? I am
running VS.Net 2003 and Windows 2000 pro and I just can't
make the CHB working.
What happens is that I can see the icon from the...
|
by: Manfred Braun |
last post by:
Hello All!
I am writing a management application, which has to access remote machines
registry via System.Diagnostics.EventLog.CreateEventSource .
For each machine, I connect to, I create a...
|
by: clsmith66 |
last post by:
I've been asked to find out if a project is possible, but I'm not having much
luck finding the information I need, I hope some one can help. I need to see
if I can build a windows service on the...
|
by: semedao |
last post by:
Hi ,
I need to develop some feature of web service that can notify client -
"Push" operation - and fast
somebody know if it's possible , and how?
When I say "Push" I mean - pure push :) , not...
|
by: tyson verdez |
last post by:
imma beginner and my iinstructur doesnt do hands on wit us we learn out of a lecture but it doesnt help some1 please help me
1. (The MyTriangle class) Write a class/program named MyTriangle. ...
|
by: cap213 |
last post by:
This part of C always gets me...it shouldn't...but it does, so here I go:
I've looked everywhere but I can't find the answer anwhere
void Arrays (int numArray, int quantity)
{
FILE *fp;
fp...
|
by: jupi13 |
last post by:
i have this code..i don't know what where is the error in this one..it says data type mismatch.....
Dim Mydate As Date
Dim MydateString As String
MydateString = "Text1.Text"
Mydate =...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |