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\Applic ation Data\Temporary Projects\Window sApplication1\W eb
References\WebR eference\Refere nce.vb 453 34
WindowsApplicat ion1
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 2120
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\Applic ation Data\Temporary Projects\Window sApplication1\W eb
References\WebR eference\Refere nce.vb * *453 * * 34
WindowsApplicat ion1
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********@yah oo.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\Appli cation Data\Temporary Projects\Window sApplication1\W eb References\Web Reference\Refer ence.vb * *453 * * 34 WindowsApplica tion1
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...@yah oo.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\Applic ation Data\Temporary Projects\Window sApplication1\W eb
References\WebR eference\Refere nce.vb * *453 * * 34
WindowsApplicat ion1
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.microso ft.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********@yah oo.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...@ya hoo.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\Appli cation Data\Temporary Projects\Window sApplication1\W eb References\Web Reference\Refer ence.vb * *453 * * 34 WindowsApplica tion1
>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.microso ft.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...@yah oo.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...@yah oo.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\Applic ation Data\Temporary Projects\Window sApplication1\W eb
References\WebR eference\Refere nce.vb * *453 * * 34
WindowsApplicat ion1
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.microso ft.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************* *************** **...legroup s.com,
"rowe_newsgroup s" <ro********@yah oo.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...@ya hoo.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\App lication Data\Temporary Projects\Window sApplication1\W eb References\W ebReference\Ref erence.vb * *453 * * 34 WindowsAppli cation1
>>>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.microso ft.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*****@jardin esoftware.comwr ote:
>
On 11/12/08 1:10 PM, in article 9f************ *************** *******@g17g200 0prg.googlegrou ps.com, "rowe_newsgrou ps" <ro********@yah oo.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...@y ahoo.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\Ap plication Data\Temporary Projects\Window sApplication1\W eb References\ WebReference\Re ference.vb * *453 * * 34 WindowsAppl ication1
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.microso ft.com/
For the most part, the people here are just volunteers and have no affiliatio n 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 = Pulp fiction
StockLev = 1
DvdTitle = Finding Nemo
|
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 was working fine before installing the service
pack.
|
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 Tools
menu, nothing happens when I clicks on it.
I went to the CHB's web site and visited their message
|
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 DirectoryEntry and connect to
that machine specifying credentials. That's becauase the running user does
not has the right permissions .
The application is written in C# and the action taken is done with threads
from the threadpool.
|
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 fly customized to a specific client.
Is it possible to run the VS command line tool through another application
(VB.NET)? I'm thinking I can run the tools as a process and pass the
necessary parameters to the process, but I'm not sure how to go...
| |
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 mechanism of client checking
for messages in interval...
thanks
|
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. Within the class, define two methods as follows.
/** Returns true if the sum of ANY two sides is greater than the
third side. Otherwise, returns false. */
public static boolean isValid(double side1, double side2,
double side3)
|
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 = fopen("stock.dat", "rb+");
fclose(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 = CDate(MydateString) ''it is highlighted in this line..
txtActCode = Mydate
i don't know what's wrong with this one..
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look !
Part I. Meaning of...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
| |
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth.
The Art of Business Website Design
Your website is...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
by: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |