R
Russ
Hi All. I'm brand new to this but 3 days of working on it and scanning
literally thousands of user group messages has not solved my problem.
I have VS.Net 2003 installed on my dev machine (Win2K), and the server
components on my dev server (Win2K server), along with .net framework
v1.1. I am trying to go through the walkthrough titled "Creating a
Distributed Application".
I can create the WebService ok, on the server, but when I try to
create the client (on the dev machine), when I get to the step of
adding a web reference to the WebServer, one of the following happens.
A) If I add the line <identity impersonate="true"/> to the web.config
file, then I get an access denied error when trying to read
AuthorsService.asmx from the server. The stack trace it shows does me
absolutely no good as I have not a clue what all the numbers mean...
I have uninstalled the framework and reinstalled. On the server, in
the Local Security Policy, User Rights Assignment for "Impersonate a
Client after authentication" I have added the APSNET user. I also
added myself to the VS Developers group on the server. The server is
a domain controller, and I am the same user with same password on both
machines, and I am an administrator on both machines. I just don't
have a clue what to do about this.
B) I tried removing the line <identity impersonate="true"/> from the
Web.config file. This allows the asmx file to be read with no
problem. However when I tell it to "add reference", It does, but the
task window in VS shows the following error:
"E:\testNet\AuthorsWinClient\Web References\asrv\Reference.map(1):
Custom tool warning: DiscoCodeGenerator unable to initialize code
generator. No code generated."
I can find very little references to "DiscoCodeGenerator" via a google
search or via scanning the user groups, and what I did find does not
seem to address this problem.
The result of this seems to be that when I try to add the DataSet
control to the client, there are "no datasets in project". So I am at
a standstill in trying to learn more of this until someone can help me
fix this.
I do realize that I can install IIS on my dev machine, and maybe make
it work that way, but according to the article "Remote Server
Configuration for Developing Web Projects Using Visual Studio .NET" at
the url below, what I am doing should work.
Please help! Thanks, Russ
http://msdn.microsoft.com/library/d...developingwebprojectsusingvisualstudionet.asp
literally thousands of user group messages has not solved my problem.
I have VS.Net 2003 installed on my dev machine (Win2K), and the server
components on my dev server (Win2K server), along with .net framework
v1.1. I am trying to go through the walkthrough titled "Creating a
Distributed Application".
I can create the WebService ok, on the server, but when I try to
create the client (on the dev machine), when I get to the step of
adding a web reference to the WebServer, one of the following happens.
A) If I add the line <identity impersonate="true"/> to the web.config
file, then I get an access denied error when trying to read
AuthorsService.asmx from the server. The stack trace it shows does me
absolutely no good as I have not a clue what all the numbers mean...
I have uninstalled the framework and reinstalled. On the server, in
the Local Security Policy, User Rights Assignment for "Impersonate a
Client after authentication" I have added the APSNET user. I also
added myself to the VS Developers group on the server. The server is
a domain controller, and I am the same user with same password on both
machines, and I am an administrator on both machines. I just don't
have a clue what to do about this.
B) I tried removing the line <identity impersonate="true"/> from the
Web.config file. This allows the asmx file to be read with no
problem. However when I tell it to "add reference", It does, but the
task window in VS shows the following error:
"E:\testNet\AuthorsWinClient\Web References\asrv\Reference.map(1):
Custom tool warning: DiscoCodeGenerator unable to initialize code
generator. No code generated."
I can find very little references to "DiscoCodeGenerator" via a google
search or via scanning the user groups, and what I did find does not
seem to address this problem.
The result of this seems to be that when I try to add the DataSet
control to the client, there are "no datasets in project". So I am at
a standstill in trying to learn more of this until someone can help me
fix this.
I do realize that I can install IIS on my dev machine, and maybe make
it work that way, but according to the article "Remote Server
Configuration for Developing Web Projects Using Visual Studio .NET" at
the url below, what I am doing should work.
Please help! Thanks, Russ
http://msdn.microsoft.com/library/d...developingwebprojectsusingvisualstudionet.asp