473,804 Members | 3,058 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Permission Errors


Hello. My new dev machine is running XP Pro. In the past all
equipment has only used Windows 2000. I have had a lot of problems
getting my projects up and running on the new machine. The current
one is a permission error.

The project is a VC++ Web Service. It works fine when the service is
hosted on the old W2K dev machine, but on the new XP machine I get a
permission error when the service tries to open a text file on the
Windows 2000 domain server. It is a standard fopen call across the
LAN. I have no problem opening the file from Windows Explorer, or
from a standard windows program on the XP machine, but with the Web
Service, when running on the XP machine, the fopen call returns NULL
and GetNextError returns 5 - permission error.

I cannot find any reason - any help?

Thanks, Russ

Nov 22 '05
12 1419
Steven, responses interspersed:
Hi Russ,

Thanks for your response. As you said that
============
The web service project exists on the
local workstation, not the server.
============
do you mean the webservice project's files and assemblies are on the
workstation machine and shared to remote boxes? I'm not quite sure on this
since you deployed the webservice to your new windows 2003 server, you
should also copy the files and assemblies there, didn't you?
The web service was my first ASP.NET project. When I started the
project, visual studio automatically selected my work station as the
place where the project files would reside. I could build and host
the web service on the W2K work station with no problem. But once the
project was built and debugged I had to deploy it to the W2K server
for further testing with the ASP.NET client. So I built a deployment
project and that worked fine.

The problem now is that the web service will not run, whether it is
hosted on the XP work station, or on the new 2003 server. I always
get the error message:
Parser Error Message: Could not load type
'PayrollEntrySe rvice.Global'.
Am I correct in assuming that this problem has nothing to do with the
server, when I am trying to run or debug it on the work station?

Also, keep in mind that it was working on the work station at one
time. Then I removed the W2K server from service and set up the new
2003 server. I don't see any reason why that should have caused the
web service to stop working on the work station.

Also, for domain controller, generally we do not recommend hosting asp.net
application on DC since DC has some restrictions such as not have local
accounts,... ..
This is not a problem for the usage that I need. And anyway the web
service was working fine on the W2K domain server.

Anyway, if you can start from create and run a simple
asp.net webservice on your new windows 2003 server so as to makesure the
asp.net framework and IIS works correctly. Then, we can continue to focus
on your specific project.
Ok, I understand. I will actually do that on the work station first.

I will do it today and let you know what I find out.

Thanks, Russ

Please let me know if you have any questions.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| NNTP-Posting-Date: Mon, 24 Oct 2005 12:59:22 -0500
| From: Russ <ru****@eticomm .net>
| Newsgroups: microsoft.publi c.dotnet.genera l
| Subject: Re: Permission Errors
| Date: Mon, 24 Oct 2005 13:59:18 -0400
| Message-ID: <pu************ *************** *****@4ax.com>
| References: <th************ *************** *****@4ax.com>
<yI*********** ***@TK2MSFTNGXA 01.phx.gbl>
<d4*********** *************** ******@4ax.com>
<4u*********** ***@TK2MSFTNGXA 01.phx.gbl>
<nc*********** *************** ******@4ax.com>
<xt*********** ***@TK2MSFTNGXA 01.phx.gbl>
| X-Newsreader: Forte Agent 3.0/32.763
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| Content-Transfer-Encoding: 7bit
| Lines: 401
| NNTP-Posting-Host: 68.37.155.53
| X-Trace:
sv3-mnWgmMZzSDgLc0d ibOaGmDNtZP69cT DQlc3dngXWYcw4k 0qJXOfG1sWSf3HL LJNh3hCvTzmI
e3Bucmc!CRFb 1C/9kkVDy0wpDnOrXP LBGWeNLui/9utwvtcS9YNztk6 3oX2WPMPyWnCufQ JZB7kt
G589JJzw!ujIEj HcT
| X-Complaints-To: ab***@comcast.n et
| X-DMCA-Complaints-To: dm**@comcast.ne t
| X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
| X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
complaint properly
| X-Postfilter: 1.3.32
| Path:
TK2MSFTNGXA01. phx.gbl!TK2MSFT NGP08.phx.gbl!n ewsfeed00.sul.t-online.de!t-onli
ne.de!border2. nntp.dca.gigane ws.com!border1. nntp.dca.gigane ws.com!nntp.gig an
ews.com!local0 1.nntp.dca.giga news.com!nntp.c omcast.com!news .comcast.com.PO ST
ED!not-for-mail
| Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.genera l:52690
| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
|
| Steven, thanks for your reply. The web service project exists on the
| local workstation, not the server. It was working when I had the old
| server running, both when running the web service on the local
| workstation and when deployed to the W2K server.
|
| Now it works on neither - and as far as I know I did not change
| anything at the workstation. As well as I can understand, the server
| should not have any effect on starting the project on the work
| station. Once the service is running on the workstation, then it
| needs the server in order to locate some data files, but the project
| should still start, even if the server was shut down. Right???
|
| And all I did was to set up a new server and remove the old one.
| Incidentally, if I copy the service to the new server and try to run
| it there, I get the same error. It seems that something has changed
| in one of the project files, but I still don't have a clue what to
| look for.
|
| One last thing. The old server was a domain server and I set up the
| new one to be a domain server with the same domain name. After the
| 2003 server was up, I removed the workstation from the domain, making
| it a workgroup computer, and then joined the domain again, to be sure
| it was registered correctly with the new server. Later in my testing
| I started up the old server and sure enough the web service would run
| on it (but still not on the work station). Then I demoted the old W2K
| server down to a workgroup computer, and then joined it to the new
| domain. At that point the web service no longer works on the W2K
| server either!
|
| Please try to make some sense of this for me - I haven't a clue!
|
| Thanks, Russ
|
| On Mon, 24 Oct 2005 04:39:22 GMT, st*****@online. microsoft.com (Steven
| Cheng[MSFT]) wrote:
|
| >Hi Russ,
| >
| >As for the new problem you mentioned, it is likely caused by some
| >deployment setting.
| >The "XXXX.Globa l " is a class , and generally each ASP.NET application
| >will have one(or using the default if we don't explicitly provide one).
| >When using VS.NET IDE to create the asp.net project, it'll
automaticall y
| >add such a global class. However, the error message you met is not
| >specific to the global class, it indicate that your asp.net
| >application(we bservice) can not find the certain class (assembly) it
| >requires.(gene rally global class is the first class which need to be
loaded
| >into runtime...).
| >
| >So on your new 2003 server, go to your webservice(Payr ollEntryService )'s
| >application dir, and check the private "bin" sub dir to see whether all
the
| >webservice's assemblies are in the "bin" dir.
| >
| >If the assemblies are all existing, then make sure your application's
| >physical dir is located in a public place (not a user specific one , for
| >example under document settings\userna me......) so that the ASP.NET
process
| >identity can successfully access them.
| >
| >Also, above all , you need to makesure a normal asp.net
| >application(we bservice) can run correctly (hosted in IIS). If there're
| >anything unclear, please feel free to post here.
| >
| >Thanks,
| >Steven Cheng
| >Microsoft Online Support
| >
| >Get Secure! www.microsoft.com/security
| >(This posting is provided "AS IS", with no warranties, and confers no
| >rights.)
| >
| >
| >
| >
| >--------------------
| >| NNTP-Posting-Date: Fri, 21 Oct 2005 14:22:25 -0500
| >| From: Russ <ru****@eticomm .net>
| >| Newsgroups: microsoft.publi c.dotnet.genera l
| >| Subject: Re: Permission Errors
| >| Date: Fri, 21 Oct 2005 15:22:06 -0400
| >| Message-ID: <nc************ *************** *****@4ax.com>
| >| References: <th************ *************** *****@4ax.com>
| ><yI*********** ***@TK2MSFTNGXA 01.phx.gbl>
| ><d4*********** *************** ******@4ax.com>
| ><4u*********** ***@TK2MSFTNGXA 01.phx.gbl>
| >| X-Newsreader: Forte Agent 3.0/32.763
| >| MIME-Version: 1.0
| >| Content-Type: text/plain; charset=us-ascii
| >| Content-Transfer-Encoding: 7bit
| >| Lines: 253
| >| NNTP-Posting-Host: 68.37.155.53
| >| X-Trace:
|
sv3-nXJenZUWWBgFZCR 9vAHhVQLHt3Ar8s odPe/9DYkFMD06e5++XO LGolXHkMgGuBK9U wTQG3M

J
|
uOW6yvi!Oh4nJ 9x+wxOR0neSTmsA JJ2RUlucT5voq4z jyjd5/cH6Ik6BJ4XkBaGp D25dXcsAPmo

o
| >ArLXAoie!/vUojs8u
| >| X-Complaints-To: ab***@comcast.n et
| >| X-DMCA-Complaints-To: dm**@comcast.ne t
| >| X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
| >| X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
| >complaint properly
| >| X-Postfilter: 1.3.32
| >| Path:
|
TK2MSFTNGXA01 .phx.gbl!TK2MSF TNGP08.phx.gbl! newsfeed00.sul. t-online.de!t-onl

i
|
ne.de!border2 .nntp.dca.gigan ews.com!border1 .nntp.dca.gigan ews.com!nntp.gi ga

n
|
ews.com!local 01.nntp.dca.gig anews.com!nntp. comcast.com!new s.comcast.com.P OS

T
| >ED!not-for-mail
| >| Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.genera l:52567
| >| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
| >|
| >| Steven, I have now a different program that is keeping me from even
| >| getting back to the issue we were discussing. I installed the new
| >| Windows 2003 server but suddenly I cannot get the web service to work,
| >| either on the new server or even on the XP workstation. As far as I
| >| know I did not change anything on the workstation, but maybe something
| >| happened by accident. Anyway whenever I try to run the service I get
| >| the following error screen, which is rather cryptic as I cannot figure
| >| out what to do.
| >|
| >| My first question is: what is "PayrollEntrySe rvice.Global"? Is it a
| >| file, a class, or what. How do I find it and what do I do to make
| >| sure it is loadable?
| >|
| >| Thanks, Russ
| >|
| >|
| >| Server Error in '/PayrollEntrySer vice' Application.
| >|
|
---------------------------------------------------------------------------

-
| >----
| >|
| >| Parser Error
| >| Description: An error occurred during the parsing of a resource
| >| required to service this request. Please review the following specific
| >| parse error details and modify your source file appropriately.
| >|
| >| Parser Error Message: Could not load type
| >| 'PayrollEntrySe rvice.Global'.
| >|
| >| Source Error:
| >|
| >|
| >| Line 1: <%@ Application Codebehind="Glo bal.asax.h"
| >| Inherits="Payro llEntryService. Global" %>
| >|
| >|
| >|
| >| Source File: C:\PssDev\Payro llEntryService\ global.asax Line: 1
| >|
| >|
| >|
|
---------------------------------------------------------------------------

-
| >----
| >| Version Information: Microsoft .NET Framework Version:1.1.432 2.2032;
| >| ASP.NET Version:1.1.432 2.2032
| >|
| >| On Wed, 19 Oct 2005 03:20:46 GMT, st*****@online. microsoft.com (Steven
| >| Cheng[MSFT]) wrote:
| >|
| >| >Hi Russ,
| >| >
| >| >Thanks for your response.
| >| >As you mentioned that you've use the following configuration in
| >web.config
| >| > <identity impersonate="tr ue" userName="xps.P rsNj.local\Russ "
| >| >password="xx x" />
| >| >
| >| >that means the webservice will running under the impersonate
idenitity.
| >| >Also, the "xps.PrsNj.loca l\Russ" is a local account on the XP
machine,
| >yes?
| >| > If so, it is not remotable to other remote machines. Are the xp
client
| >| >machine and win2k box in a domain
| >| >environment? If so , you can try configured the webservice to running
| >under
| >| >a domain account so that it can be validated on the win2k server
| >machine.
| >| >
| >| >In addition, is there SQLserver on the win2k box? If so, you can try
let
| >| >the webservice make connection to sqlserver so that you can watch
which
| >| >cilent account is logon at the server (through the SQLserver
profiler).
| >If
| >| >no sqlserver available, you can try turning on the NTFS security
audit
| >on
| >| >that shared folder at the 2k server machine. Thus , we can watch
audit
| >log
| >| >to check the client account also.
| >| >
| >| >Thanks,
| >| >
| >| >Steven Cheng
| >| >Microsoft Online Support
| >| >
| >| >Get Secure! www.microsoft.com/security
| >| >(This posting is provided "AS IS", with no warranties, and confers no
| >| >rights.)
| >| >
| >| >
| >| >
| >| >--------------------
| >| >| NNTP-Posting-Date: Mon, 17 Oct 2005 08:42:39 -0500
| >| >| From: Russ <ru****@eticomm .net>
| >| >| Newsgroups: microsoft.publi c.dotnet.genera l
| >| >| Subject: Re: Permission Errors
| >| >| Date: Mon, 17 Oct 2005 09:42:38 -0400
| >| >| Message-ID: <d4************ *************** *****@4ax.com>
| >| >| References: <th************ *************** *****@4ax.com>
| >| ><yI*********** ***@TK2MSFTNGXA 01.phx.gbl>
| >| >| X-Newsreader: Forte Agent 3.0/32.763
| >| >| MIME-Version: 1.0
| >| >| Content-Type: text/plain; charset=us-ascii
| >| >| Content-Transfer-Encoding: 7bit
| >| >| Lines: 126
| >| >| NNTP-Posting-Host: 68.37.155.53
| >| >| X-Trace:
| >|
|
sv3-gDWyCGpEupEX0j1 fSbjlcEQCmafJ9o 78ImvcZFRYgzuTJ rUVBXNwSDFvEjXU 0WYIV5S0Sj4
| >x
| >|
|XAEYD4F!+gD1 O9UCRQPn/fWaZqe5gZu0a+kJ Qob50YgYeH4Vz0b 8yN5CDADz5iCAiA yr6i+J26I
| >P
| >| >8Kdp9Ub8!SFDYp nTo
| >| >| X-Complaints-To: ab***@comcast.n et
| >| >| X-DMCA-Complaints-To: dm**@comcast.ne t
| >| >| X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL
headers
| >| >| X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
| >| >complaint properly
| >| >| X-Postfilter: 1.3.32
| >| >| Path:
| >|
|TK2MSFTNGXA0 1.phx.gbl!TK2MS FTFEED02.phx.gb l!tornado.fastw ebnet.it!tiscal i!n
| >e
| >|
|wsfeed1.ip.t iscali.net!prox ad.net!216.239. 36.134.MISMATCH !postnews.googl e.c
| >o
| >|
|m!news4.goog le.com!border1. nntp.dca.gigane ws.com!nntp.gig anews.com!local 01

Nov 22 '05 #11
Ok, I built the TempConvert3 sample web service on the XP work
station. It works fine.

I then compared the files with the same files of my web service that
does not work. I could not find anything that looks suspicious. Of
course I have added a lot of code and additional files in my web
service. I especially looked at global.asax.h and found no
differences except in the name of the namespace.

.... well I have it all working now! After I wrote the above, I looked
at IIS manager and noticed a difference in the local path. For the
TempConvert3 web it showed the path as "\TempConvert3" , but for my
service the path was "C:\PssDev\Payr ollEntryService ". I then deleted
PayrollEntrySer vice from IIS, and then cleaned/built the project in
Visual Studio again. When it deployed, I looked in IIS again and the
path was now "\PayrollEntryS ervice". And my web service now works on
the XP machine - hooray!

Next I looked at the 2003 server and saw that the local path was
similarly wrong. I deleted it from IIS and then rebuilt the service
setup project, and then deployed it on the server. The local path was
now right and the service runs on the server now.

Finally I tested the original problem - the problem that the service
could not open files on the server when the service was running on the
XP work station. All seems ok now as long as I impersonate a user on
the XP workstation when running on that machine, and impersonate a
user on the server when running on that machine.

I sure don't know how things got so screwed up, but I surely
appreciate all the time you have taken to help me Steven. I think I
can finally get back to working on the project again now.

Thanks again, Russ

On Tue, 25 Oct 2005 14:27:04 -0400, Russ <ru****@eticomm .net> wrote:
Steven, responses interspersed:
Hi Russ,

Thanks for your response. As you said that
=========== =
The web service project exists on the
local workstation, not the server.
=========== =
do you mean the webservice project's files and assemblies are on the
workstation machine and shared to remote boxes? I'm not quite sure on this
since you deployed the webservice to your new windows 2003 server, you
should also copy the files and assemblies there, didn't you?


The web service was my first ASP.NET project. When I started the
project, visual studio automatically selected my work station as the
place where the project files would reside. I could build and host
the web service on the W2K work station with no problem. But once the
project was built and debugged I had to deploy it to the W2K server
for further testing with the ASP.NET client. So I built a deployment
project and that worked fine.

The problem now is that the web service will not run, whether it is
hosted on the XP work station, or on the new 2003 server. I always
get the error message:
Parser Error Message: Could not load type
'PayrollEntrySe rvice.Global'.


Am I correct in assuming that this problem has nothing to do with the
server, when I am trying to run or debug it on the work station?

Also, keep in mind that it was working on the work station at one
time. Then I removed the W2K server from service and set up the new
2003 server. I don't see any reason why that should have caused the
web service to stop working on the work station.

Also, for domain controller, generally we do not recommend hosting asp.net
application on DC since DC has some restrictions such as not have local
accounts,.... .


This is not a problem for the usage that I need. And anyway the web
service was working fine on the W2K domain server.

Anyway, if you can start from create and run a simple
asp.net webservice on your new windows 2003 server so as to makesure the
asp.net framework and IIS works correctly. Then, we can continue to focus
on your specific project.


Ok, I understand. I will actually do that on the work station first.

I will do it today and let you know what I find out.

Thanks, Russ

Please let me know if you have any questions.

Thanks,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| NNTP-Posting-Date: Mon, 24 Oct 2005 12:59:22 -0500
| From: Russ <ru****@eticomm .net>
| Newsgroups: microsoft.publi c.dotnet.genera l
| Subject: Re: Permission Errors
| Date: Mon, 24 Oct 2005 13:59:18 -0400
| Message-ID: <pu************ *************** *****@4ax.com>
| References: <th************ *************** *****@4ax.com>
<yI********** ****@TK2MSFTNGX A01.phx.gbl>
<d4********** *************** *******@4ax.com >
<4u********** ****@TK2MSFTNGX A01.phx.gbl>
<nc********** *************** *******@4ax.com >
<xt********** ****@TK2MSFTNGX A01.phx.gbl>
| X-Newsreader: Forte Agent 3.0/32.763
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| Content-Transfer-Encoding: 7bit
| Lines: 401
| NNTP-Posting-Host: 68.37.155.53
| X-Trace:
sv3-mnWgmMZzSDgLc0d ibOaGmDNtZP69cT DQlc3dngXWYcw4k 0qJXOfG1sWSf3HL LJNh3hCvTzmI
e3Bucmc!CRFb1 C/9kkVDy0wpDnOrXP LBGWeNLui/9utwvtcS9YNztk6 3oX2WPMPyWnCufQ JZB7kt
G589JJzw!ujIE jHcT
| X-Complaints-To: ab***@comcast.n et
| X-DMCA-Complaints-To: dm**@comcast.ne t
| X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
| X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
complaint properly
| X-Postfilter: 1.3.32
| Path:
TK2MSFTNGXA01 .phx.gbl!TK2MSF TNGP08.phx.gbl! newsfeed00.sul. t-online.de!t-onli
ne.de!border2 .nntp.dca.gigan ews.com!border1 .nntp.dca.gigan ews.com!nntp.gi gan
ews.com!local 01.nntp.dca.gig anews.com!nntp. comcast.com!new s.comcast.com.P OST
ED!not-for-mail
| Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.genera l:52690
| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
|
| Steven, thanks for your reply. The web service project exists on the
| local workstation, not the server. It was working when I had the old
| server running, both when running the web service on the local
| workstation and when deployed to the W2K server.
|
| Now it works on neither - and as far as I know I did not change
| anything at the workstation. As well as I can understand, the server
| should not have any effect on starting the project on the work
| station. Once the service is running on the workstation, then it
| needs the server in order to locate some data files, but the project
| should still start, even if the server was shut down. Right???
|
| And all I did was to set up a new server and remove the old one.
| Incidentally, if I copy the service to the new server and try to run
| it there, I get the same error. It seems that something has changed
| in one of the project files, but I still don't have a clue what to
| look for.
|
| One last thing. The old server was a domain server and I set up the
| new one to be a domain server with the same domain name. After the
| 2003 server was up, I removed the workstation from the domain, making
| it a workgroup computer, and then joined the domain again, to be sure
| it was registered correctly with the new server. Later in my testing
| I started up the old server and sure enough the web service would run
| on it (but still not on the work station). Then I demoted the old W2K
| server down to a workgroup computer, and then joined it to the new
| domain. At that point the web service no longer works on the W2K
| server either!
|
| Please try to make some sense of this for me - I haven't a clue!
|
| Thanks, Russ
|
| On Mon, 24 Oct 2005 04:39:22 GMT, st*****@online. microsoft.com (Steven
| Cheng[MSFT]) wrote:
|
| >Hi Russ,
| >
| >As for the new problem you mentioned, it is likely caused by some
| >deployment setting.
| >The "XXXX.Globa l " is a class , and generally each ASP.NET application
| >will have one(or using the default if we don't explicitly provide one).
| >When using VS.NET IDE to create the asp.net project, it'll
automatical ly
| >add such a global class. However, the error message you met is not
| >specific to the global class, it indicate that your asp.net
| >application(we bservice) can not find the certain class (assembly) it
| >requires.(gene rally global class is the first class which need to be
loaded
| >into runtime...).
| >
| >So on your new 2003 server, go to your webservice(Payr ollEntryService )'s
| >application dir, and check the private "bin" sub dir to see whether all
the
| >webservice's assemblies are in the "bin" dir.
| >
| >If the assemblies are all existing, then make sure your application's
| >physical dir is located in a public place (not a user specific one , for
| >example under document settings\userna me......) so that the ASP.NET
process
| >identity can successfully access them.
| >
| >Also, above all , you need to makesure a normal asp.net
| >application(we bservice) can run correctly (hosted in IIS). If there're
| >anything unclear, please feel free to post here.
| >
| >Thanks,
| >Steven Cheng
| >Microsoft Online Support
| >
| >Get Secure! www.microsoft.com/security
| >(This posting is provided "AS IS", with no warranties, and confers no
| >rights.)
| >
| >
| >
| >
| >--------------------
| >| NNTP-Posting-Date: Fri, 21 Oct 2005 14:22:25 -0500
| >| From: Russ <ru****@eticomm .net>
| >| Newsgroups: microsoft.publi c.dotnet.genera l
| >| Subject: Re: Permission Errors
| >| Date: Fri, 21 Oct 2005 15:22:06 -0400
| >| Message-ID: <nc************ *************** *****@4ax.com>
| >| References: <th************ *************** *****@4ax.com>
| ><yI*********** ***@TK2MSFTNGXA 01.phx.gbl>
| ><d4*********** *************** ******@4ax.com>
| ><4u*********** ***@TK2MSFTNGXA 01.phx.gbl>
| >| X-Newsreader: Forte Agent 3.0/32.763
| >| MIME-Version: 1.0
| >| Content-Type: text/plain; charset=us-ascii
| >| Content-Transfer-Encoding: 7bit
| >| Lines: 253
| >| NNTP-Posting-Host: 68.37.155.53
| >| X-Trace:
|
sv3-nXJenZUWWBgFZCR 9vAHhVQLHt3Ar8s odPe/9DYkFMD06e5++XO LGolXHkMgGuBK9U wTQG3M

J
|
uOW6yvi!Oh4n J9x+wxOR0neSTms AJJ2RUlucT5voq4 zjyjd5/cH6Ik6BJ4XkBaGp D25dXcsAPmo

o
| >ArLXAoie!/vUojs8u
| >| X-Complaints-To: ab***@comcast.n et
| >| X-DMCA-Complaints-To: dm**@comcast.ne t
| >| X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
| >| X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
| >complaint properly
| >| X-Postfilter: 1.3.32
| >| Path:
|
TK2MSFTNGXA0 1.phx.gbl!TK2MS FTNGP08.phx.gbl !newsfeed00.sul .t-online.de!t-onl

i
|
ne.de!border 2.nntp.dca.giga news.com!border 1.nntp.dca.giga news.com!nntp.g iga

n
|
ews.com!loca l01.nntp.dca.gi ganews.com!nntp .comcast.com!ne ws.comcast.com. POS

T
| >ED!not-for-mail
| >| Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.genera l:52567
| >| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
| >|
| >| Steven, I have now a different program that is keeping me from even
| >| getting back to the issue we were discussing. I installed the new
| >| Windows 2003 server but suddenly I cannot get the web service to work,
| >| either on the new server or even on the XP workstation. As far as I
| >| know I did not change anything on the workstation, but maybe something
| >| happened by accident. Anyway whenever I try to run the service I get
| >| the following error screen, which is rather cryptic as I cannot figure
| >| out what to do.
| >|
| >| My first question is: what is "PayrollEntrySe rvice.Global"? Is it a
| >| file, a class, or what. How do I find it and what do I do to make
| >| sure it is loadable?
| >|
| >| Thanks, Russ
| >|
| >|
| >| Server Error in '/PayrollEntrySer vice' Application.
| >|
|
---------------------------------------------------------------------------

-
| >----
| >|
| >| Parser Error
| >| Description: An error occurred during the parsing of a resource
| >| required to service this request. Please review the following specific
| >| parse error details and modify your source file appropriately.
| >|
| >| Parser Error Message: Could not load type
| >| 'PayrollEntrySe rvice.Global'.
| >|
| >| Source Error:
| >|
| >|
| >| Line 1: <%@ Application Codebehind="Glo bal.asax.h"
| >| Inherits="Payro llEntryService. Global" %>
| >|
| >|
| >|
| >| Source File: C:\PssDev\Payro llEntryService\ global.asax Line: 1
| >|
| >|
| >|
|
---------------------------------------------------------------------------

-
| >----
| >| Version Information: Microsoft .NET Framework Version:1.1.432 2.2032;
| >| ASP.NET Version:1.1.432 2.2032
| >|
| >| On Wed, 19 Oct 2005 03:20:46 GMT, st*****@online. microsoft.com (Steven
| >| Cheng[MSFT]) wrote:
| >|
| >| >Hi Russ,
| >| >
| >| >Thanks for your response.
| >| >As you mentioned that you've use the following configuration in
| >web.config
| >| > <identity impersonate="tr ue" userName="xps.P rsNj.local\Russ "
| >| >password="xx x" />
| >| >
| >| >that means the webservice will running under the impersonate
idenitity.
| >| >Also, the "xps.PrsNj.loca l\Russ" is a local account on the XP
machine,
| >yes?
| >| > If so, it is not remotable to other remote machines. Are the xp
client
| >| >machine and win2k box in a domain
| >| >environment? If so , you can try configured the webservice to running
| >under
| >| >a domain account so that it can be validated on the win2k server
| >machine.
| >| >
| >| >In addition, is there SQLserver on the win2k box? If so, you can try
let
| >| >the webservice make connection to sqlserver so that you can watch
which
| >| >cilent account is logon at the server (through the SQLserver
profiler).
| >If
| >| >no sqlserver available, you can try turning on the NTFS security
audit
| >on
| >| >that shared folder at the 2k server machine. Thus , we can watch
audit
| >log
| >| >to check the client account also.
| >| >
| >| >Thanks,
| >| >
| >| >Steven Cheng
| >| >Microsoft Online Support
| >| >
| >| >Get Secure! www.microsoft.com/security
| >| >(This posting is provided "AS IS", with no warranties, and confers no
| >| >rights.)
| >| >
| >| >
| >| >
| >| >--------------------
| >| >| NNTP-Posting-Date: Mon, 17 Oct 2005 08:42:39 -0500
| >| >| From: Russ <ru****@eticomm .net>
| >| >| Newsgroups: microsoft.publi c.dotnet.genera l
| >| >| Subject: Re: Permission Errors
| >| >| Date: Mon, 17 Oct 2005 09:42:38 -0400
| >| >| Message-ID: <d4************ *************** *****@4ax.com>
| >| >| References: <th************ *************** *****@4ax.com>
| >| ><yI*********** ***@TK2MSFTNGXA 01.phx.gbl>
| >| >| X-Newsreader: Forte Agent 3.0/32.763
| >| >| MIME-Version: 1.0
| >| >| Content-Type: text/plain; charset=us-ascii
| >| >| Content-Transfer-Encoding: 7bit
| >| >| Lines: 126
| >| >| NNTP-Posting-Host: 68.37.155.53
| >| >| X-Trace:
| >|
|
sv3-gDWyCGpEupEX0j1 fSbjlcEQCmafJ9o 78ImvcZFRYgzuTJ rUVBXNwSDFvEjXU 0WYIV5S0Sj

4
| >x
| >|
|
XAEYD4F!+gD 1O9UCRQPn/fWaZqe5gZu0a+kJ Qob50YgYeH4Vz0b 8yN5CDADz5iCAiA yr6i+J26

I
| >P
| >| >8Kdp9Ub8!SFDYp nTo
| >| >| X-Complaints-To: ab***@comcast.n et
| >| >| X-DMCA-Complaints-To: dm**@comcast.ne t
| >| >| X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL
headers
| >| >| X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
| >| >complaint properly
| >| >| X-Postfilter: 1.3.32
| >| >| Path:
| >|
|
TK2MSFTNGXA 01.phx.gbl!TK2M SFTFEED02.phx.g bl!tornado.fast webnet.it!tisca li!

n
| >e
| >|
|
wsfeed1.ip. tiscali.net!pro xad.net!216.239 .36.134.MISMATC H!postnews.goog le.

c
| >o
| >|
|
m!news4.goo gle.com!border1 .nntp.dca.gigan ews.com!nntp.gi ganews.com!loca l01

Nov 22 '05 #12
Hi Russ,

Really glad that you've got things working again. Some further comments
below:

As for the "\TempConve rt3" path in IIS manager, it indicate the physical
path of the virtual directory. For those virtual directories whose path is
just under the default inetpub\wwwroot , the path is like:

"\XXXsubpathnam e"

If the physical path of the virtual dir is not under wwwroot, it'll need to
be specified as full path like;

"d:\webfolder\m yapp"

So when we move a webproject to a new server (creating the new virtual
directory for it on the new server), we need to make sure the path is also
updated to the new physical location on the new server.

Anyway thanks again for your posting. Always welcome when you meet any
problem.

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| NNTP-Posting-Date: Tue, 25 Oct 2005 16:33:53 -0500
| From: Russ <ru****@eticomm .net>
| Newsgroups: microsoft.publi c.dotnet.genera l
| Subject: Re: Permission Errors
| Date: Tue, 25 Oct 2005 17:34:07 -0400
| Message-ID: <57************ *************** *****@4ax.com>
| References: <th************ *************** *****@4ax.com>
<yI************ **@TK2MSFTNGXA0 1.phx.gbl>
<d4************ *************** *****@4ax.com>
<4u************ **@TK2MSFTNGXA0 1.phx.gbl>
<nc************ *************** *****@4ax.com>
<xt************ **@TK2MSFTNGXA0 1.phx.gbl>
<pu************ *************** *****@4ax.com>
<zU************ **@TK2MSFTNGXA0 1.phx.gbl>
<nc************ *************** *****@4ax.com>
| X-Newsreader: Forte Agent 3.0/32.763
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| Content-Transfer-Encoding: 7bit
| Lines: 415
| NNTP-Posting-Host: 68.37.155.53
| X-Trace:
sv3-LqLh1Gv0FhKollb ANUwXP+jOcniU/lYmpor8sgSono4g ZiurKYb7YfWana1 LnJVv+5Kgruh7
/E5qL8l!EIEIdaRQ 2sat71zPr5A50eQ FF00y2MFhVwR8mL Wu4/b+D0kp/PlSyu3zI5rcBnci 2+zt
pSD7sMlL!Z0iYV6 KU
| X-Complaints-To: ab***@comcast.n et
| X-DMCA-Complaints-To: dm**@comcast.ne t
| X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
| X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
complaint properly
| X-Postfilter: 1.3.32
| Path:
TK2MSFTNGXA01.p hx.gbl!TK2MSFTN GP08.phx.gbl!ne wsfeed00.sul.t-online.de!t-onli
ne.de!border2.n ntp.dca.giganew s.com!border1.n ntp.dca.giganew s.com!nntp.giga n
ews.com!local01 .nntp.dca.gigan ews.com!nntp.co mcast.com!news. comcast.com.POS T
ED!not-for-mail
| Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.genera l:52823
| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
|
| Ok, I built the TempConvert3 sample web service on the XP work
| station. It works fine.
|
| I then compared the files with the same files of my web service that
| does not work. I could not find anything that looks suspicious. Of
| course I have added a lot of code and additional files in my web
| service. I especially looked at global.asax.h and found no
| differences except in the name of the namespace.
|
| ... well I have it all working now! After I wrote the above, I looked
| at IIS manager and noticed a difference in the local path. For the
| TempConvert3 web it showed the path as "\TempConvert3" , but for my
| service the path was "C:\PssDev\Payr ollEntryService ". I then deleted
| PayrollEntrySer vice from IIS, and then cleaned/built the project in
| Visual Studio again. When it deployed, I looked in IIS again and the
| path was now "\PayrollEntryS ervice". And my web service now works on
| the XP machine - hooray!
|
| Next I looked at the 2003 server and saw that the local path was
| similarly wrong. I deleted it from IIS and then rebuilt the service
| setup project, and then deployed it on the server. The local path was
| now right and the service runs on the server now.
|
| Finally I tested the original problem - the problem that the service
| could not open files on the server when the service was running on the
| XP work station. All seems ok now as long as I impersonate a user on
| the XP workstation when running on that machine, and impersonate a
| user on the server when running on that machine.
|
| I sure don't know how things got so screwed up, but I surely
| appreciate all the time you have taken to help me Steven. I think I
| can finally get back to working on the project again now.
|
| Thanks again, Russ
|
| On Tue, 25 Oct 2005 14:27:04 -0400, Russ <ru****@eticomm .net> wrote:
|
| >Steven, responses interspersed:
| >
| >>Hi Russ,
| >>
| >>Thanks for your response. As you said that
| >>=========== =
| >> The web service project exists on the
| >>local workstation, not the server.
| >>=========== =
| >>do you mean the webservice project's files and assemblies are on the
| >>workstation machine and shared to remote boxes? I'm not quite sure on
this
| >>since you deployed the webservice to your new windows 2003 server, you
| >>should also copy the files and assemblies there, didn't you?
| >
| >The web service was my first ASP.NET project. When I started the
| >project, visual studio automatically selected my work station as the
| >place where the project files would reside. I could build and host
| >the web service on the W2K work station with no problem. But once the
| >project was built and debugged I had to deploy it to the W2K server
| >for further testing with the ASP.NET client. So I built a deployment
| >project and that worked fine.
| >
| >The problem now is that the web service will not run, whether it is
| >hosted on the XP work station, or on the new 2003 server. I always
| >get the error message:
| >
| >> Parser Error Message: Could not load type
| >> 'PayrollEntrySe rvice.Global'.
| >
| >Am I correct in assuming that this problem has nothing to do with the
| >server, when I am trying to run or debug it on the work station?
| >
| >Also, keep in mind that it was working on the work station at one
| >time. Then I removed the W2K server from service and set up the new
| >2003 server. I don't see any reason why that should have caused the
| >web service to stop working on the work station.
| >
| >
| >>Also, for domain controller, generally we do not recommend hosting
asp.net
| >>application on DC since DC has some restrictions such as not have local
| >>accounts,.... .
| >
| >This is not a problem for the usage that I need. And anyway the web
| >service was working fine on the W2K domain server.
| >
| >
| >> Anyway, if you can start from create and run a simple
| >>asp.net webservice on your new windows 2003 server so as to makesure
the
| >>asp.net framework and IIS works correctly. Then, we can continue to
focus
| >>on your specific project.
| >
| >Ok, I understand. I will actually do that on the work station first.
| >
| >I will do it today and let you know what I find out.
| >
| >Thanks, Russ
| >
| >>
| >>Please let me know if you have any questions.
| >>
| >>Thanks,
| >>
| >>Steven Cheng
| >>Microsoft Online Support
| >>
| >>Get Secure! www.microsoft.com/security
| >>(This posting is provided "AS IS", with no warranties, and confers no
| >>rights.)
| >>
| >>
| >>
| >>--------------------
| >>| NNTP-Posting-Date: Mon, 24 Oct 2005 12:59:22 -0500
| >>| From: Russ <ru****@eticomm .net>
| >>| Newsgroups: microsoft.publi c.dotnet.genera l
| >>| Subject: Re: Permission Errors
| >>| Date: Mon, 24 Oct 2005 13:59:18 -0400
| >>| Message-ID: <pu************ *************** *****@4ax.com>
| >>| References: <th************ *************** *****@4ax.com>
| >><yI********** ****@TK2MSFTNGX A01.phx.gbl>
| >><d4********** *************** *******@4ax.com >
| >><4u********** ****@TK2MSFTNGX A01.phx.gbl>
| >><nc********** *************** *******@4ax.com >
| >><xt********** ****@TK2MSFTNGX A01.phx.gbl>
| >>| X-Newsreader: Forte Agent 3.0/32.763
| >>| MIME-Version: 1.0
| >>| Content-Type: text/plain; charset=us-ascii
| >>| Content-Transfer-Encoding: 7bit
| >>| Lines: 401
| >>| NNTP-Posting-Host: 68.37.155.53
| >>| X-Trace:
|
sv3-mnWgmMZzSDgLc0d ibOaGmDNtZP69cT DQlc3dngXWYcw4k 0qJXOfG1sWSf3HL LJNh3hCvTz mI
|
e3Bucmc!CRFb1 C/9kkVDy0wpDnOrXP LBGWeNLui/9utwvtcS9YNztk6 3oX2WPMPyWnCufQ JZB7 kt
| >>G589JJzw!ujIE jHcT
| >>| X-Complaints-To: ab***@comcast.n et
| >>| X-DMCA-Complaints-To: dm**@comcast.ne t
| >>| X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
| >>| X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
| >>complaint properly
| >>| X-Postfilter: 1.3.32
| >>| Path:
|TK2MSFTNGXA01 .phx.gbl!TK2MSF TNGP08.phx.gbl! newsfeed00.sul. t-online.de!t-on li
|ne.de!border2 .nntp.dca.gigan ews.com!border1 .nntp.dca.gigan ews.com!nntp.gi g an
|ews.com!local 01.nntp.dca.gig anews.com!nntp. comcast.com!new s.comcast.com.P O

ST
| >>ED!not-for-mail
| >>| Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.genera l:52690
| >>| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
| >>|
| >>| Steven, thanks for your reply. The web service project exists on the
| >>| local workstation, not the server. It was working when I had the old
| >>| server running, both when running the web service on the local
| >>| workstation and when deployed to the W2K server.
| >>|
| >>| Now it works on neither - and as far as I know I did not change
| >>| anything at the workstation. As well as I can understand, the server
| >>| should not have any effect on starting the project on the work
| >>| station. Once the service is running on the workstation, then it
| >>| needs the server in order to locate some data files, but the project
| >>| should still start, even if the server was shut down. Right???
| >>|
| >>| And all I did was to set up a new server and remove the old one.
| >>| Incidentally, if I copy the service to the new server and try to run
| >>| it there, I get the same error. It seems that something has changed
| >>| in one of the project files, but I still don't have a clue what to
| >>| look for.
| >>|
| >>| One last thing. The old server was a domain server and I set up the
| >>| new one to be a domain server with the same domain name. After the
| >>| 2003 server was up, I removed the workstation from the domain, making
| >>| it a workgroup computer, and then joined the domain again, to be sure
| >>| it was registered correctly with the new server. Later in my testing
| >>| I started up the old server and sure enough the web service would run
| >>| on it (but still not on the work station). Then I demoted the old W2K
| >>| server down to a workgroup computer, and then joined it to the new
| >>| domain. At that point the web service no longer works on the W2K
| >>| server either!
| >>|
| >>| Please try to make some sense of this for me - I haven't a clue!
| >>|
| >>| Thanks, Russ
| >>|
| >>| On Mon, 24 Oct 2005 04:39:22 GMT, st*****@online. microsoft.com (Steven
| >>| Cheng[MSFT]) wrote:
| >>|
| >>| >Hi Russ,
| >>| >
| >>| >As for the new problem you mentioned, it is likely caused by some
| >>| >deployment setting.
| >>| >The "XXXX.Globa l " is a class , and generally each ASP.NET
application
| >>| >will have one(or using the default if we don't explicitly provide
one).
| >>| >When using VS.NET IDE to create the asp.net project, it'll
| >>automatical ly
| >>| >add such a global class. However, the error message you met is not
| >>| >specific to the global class, it indicate that your asp.net
| >>| >application(we bservice) can not find the certain class (assembly) it
| >>| >requires.(gene rally global class is the first class which need to be
| >>loaded
| >>| >into runtime...).
| >>| >
| >>| >So on your new 2003 server, go to your
webservice(Payr ollEntryService )'s
| >>| >application dir, and check the private "bin" sub dir to see whether
all
| >>the
| >>| >webservice's assemblies are in the "bin" dir.
| >>| >
| >>| >If the assemblies are all existing, then make sure your
application's
| >>| >physical dir is located in a public place (not a user specific one ,
for
| >>| >example under document settings\userna me......) so that the ASP.NET
| >>process
| >>| >identity can successfully access them.
| >>| >
| >>| >Also, above all , you need to makesure a normal asp.net
| >>| >application(we bservice) can run correctly (hosted in IIS). If
there're
| >>| >anything unclear, please feel free to post here.
| >>| >
| >>| >Thanks,
| >>| >Steven Cheng
| >>| >Microsoft Online Support
| >>| >
| >>| >Get Secure! www.microsoft.com/security
| >>| >(This posting is provided "AS IS", with no warranties, and confers
no
| >>| >rights.)
| >>| >
| >>| >
| >>| >
| >>| >
| >>| >--------------------
| >>| >| NNTP-Posting-Date: Fri, 21 Oct 2005 14:22:25 -0500
| >>| >| From: Russ <ru****@eticomm .net>
| >>| >| Newsgroups: microsoft.publi c.dotnet.genera l
| >>| >| Subject: Re: Permission Errors
| >>| >| Date: Fri, 21 Oct 2005 15:22:06 -0400
| >>| >| Message-ID: <nc************ *************** *****@4ax.com>
| >>| >| References: <th************ *************** *****@4ax.com>
| >>| ><yI*********** ***@TK2MSFTNGXA 01.phx.gbl>
| >>| ><d4*********** *************** ******@4ax.com>
| >>| ><4u*********** ***@TK2MSFTNGXA 01.phx.gbl>
| >>| >| X-Newsreader: Forte Agent 3.0/32.763
| >>| >| MIME-Version: 1.0
| >>| >| Content-Type: text/plain; charset=us-ascii
| >>| >| Content-Transfer-Encoding: 7bit
| >>| >| Lines: 253
| >>| >| NNTP-Posting-Host: 68.37.155.53
| >>| >| X-Trace:
| >>|
|
sv3-nXJenZUWWBgFZCR 9vAHhVQLHt3Ar8s odPe/9DYkFMD06e5++XO LGolXHkMgGuBK9U wTQG 3M
| >>J
| >>|
|uOW6yvi!Oh4n J9x+wxOR0neSTms AJJ2RUlucT5voq4 zjyjd5/cH6Ik6BJ4XkBaGp D25dXcsAP mo
| >>o
| >>| >ArLXAoie!/vUojs8u
| >>| >| X-Complaints-To: ab***@comcast.n et
| >>| >| X-DMCA-Complaints-To: dm**@comcast.ne t
| >>| >| X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL
headers
| >>| >| X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your
| >>| >complaint properly
| >>| >| X-Postfilter: 1.3.32
| >>| >| Path:
| >>|
|TK2MSFTNGXA0 1.phx.gbl!TK2MS FTNGP08.phx.gbl !newsfeed00.sul .t-online.de!t-o nl
| >>i
| >>|
|ne.de!border 2.nntp.dca.giga news.com!border 1.nntp.dca.giga news.com!nntp.g i ga
| >>n
| >>|
|ews.com!loca l01.nntp.dca.gi ganews.com!nntp .comcast.com!ne ws.comcast.com. P OS
| >>T
| >>| >ED!not-for-mail
| >>| >| Xref: TK2MSFTNGXA01.p hx.gbl microsoft.publi c.dotnet.genera l:52567
| >>| >| X-Tomcat-NG: microsoft.publi c.dotnet.genera l
| >>| >|
| >>| >| Steven, I have now a different program that is keeping me from even
| >>| >| getting back to the issue we were discussing. I installed the new
| >>| >| Windows 2003 server but suddenly I cannot get the web service to
work,
| >>| >| either on the new server or even on the XP workstation. As far as
I
| >>| >| know I did not change anything on the workstation, but maybe
something
| >>| >| happened by accident. Anyway whenever I try to run the service I
get
| >>| >| the following error screen, which is rather cryptic as I cannot
figure
| >>| >| out what to do.
| >>| >|
| >>| >| My first question is: what is "PayrollEntrySe rvice.Global"? Is it
a
| >>| >| file, a class, or what. How do I find it and what do I do to make
| >>| >| sure it is loadable?
| >>| >|
| >>| >| Thanks, Russ
| >>| >|
| >>| >|
| >>| >| Server Error in '/PayrollEntrySer vice' Application.
| >>| >|
| >>|
|------------------------------------------------------------------------- --
| >>-
| >>| >----
| >>| >|
| >>| >| Parser Error
| >>| >| Description: An error occurred during the parsing of a resource
| >>| >| required to service this request. Please review the following
specific
| >>| >| parse error details and modify your source file appropriately.
| >>| >|
| >>| >| Parser Error Message: Could not load type
| >>| >| 'PayrollEntrySe rvice.Global'.
| >>| >|
| >>| >| Source Error:
| >>| >|
| >>| >|
| >>| >| Line 1: <%@ Application Codebehind="Glo bal.asax.h"
| >>| >| Inherits="Payro llEntryService. Global" %>
| >>| >|
| >>| >|
| >>| >|
| >>| >| Source File: C:\PssDev\Payro llEntryService\ global.asax Line: 1
| >>| >|
| >>| >|
| >>| >|
| >>|
|------------------------------------------------------------------------- --
| >>-
| >>| >----
| >>| >| Version Information: Microsoft .NET Framework
Version:1.1.432 2.2032;
| >>| >| ASP.NET Version:1.1.432 2.2032
| >>| >|
| >>| >| On Wed, 19 Oct 2005 03:20:46 GMT, st*****@online. microsoft.com
(Steven
| >>| >| Cheng[MSFT]) wrote:
| >>| >|
| >>| >| >Hi Russ,
| >>| >| >
| >>| >| >Thanks for your response.
| >>| >| >As you mentioned that you've use the following configuration in
| >>| >web.config
| >>| >| > <identity impersonate="tr ue" userName="xps.P rsNj.local\Russ "
| >>| >| >password="xx x" />
| >>| >| >
| >>| >| >that means the webservice will running under the impersonate
| >>idenitity.
| >>| >| >Also, the "xps.PrsNj.loca l\Russ" is a local account on the XP
| >>machine,
| >>| >yes?
| >>| >| > If so, it is not remotable to other remote machines. Are the xp
| >>client
| >>| >| >machine and win2k box in a domain
| >>| >| >environment? If so , you can try configured the webservice to
running
| >>| >under
| >>| >| >a domain account so that it can be validated on the win2k server
| >>| >machine.
| >>| >| >
| >>| >| >In addition, is there SQLserver on the win2k box? If so, you can
try
| >>let
| >>| >| >the webservice make connection to sqlserver so that you can watch
| >>which
| >>| >| >cilent account is logon at the server (through the SQLserver
| >>profiler).
| >>| >If
| >>| >| >no sqlserver available, you can try turning on the NTFS security
| >>audit
| >>| >on
| >>| >| >that shared folder at the 2k server machine. Thus , we can watch
| >>audit
| >>| >log
| >>| >| >to check the client account also.
| >>| >| >
| >>| >| >Thanks,
| >>| >| >
| >>| >| >Steven Cheng
| >>| >| >Microsoft Online Support
| >>| >| >
| >>| >| >Get Secure! www.microsoft.com/security
| >>| >| >(This posting is provided "AS IS", with no warranties, and
confers no
| >>| >| >rights.)
| >>| >| >
| >>| >| >
| >>| >| >
| >>| >| >--------------------
| >>| >| >| NNTP-Posting-Date: Mon, 17 Oct 2005 08:42:39 -0500
| >>| >| >| From: Russ <ru****@eticomm .net>
| >>| >| >| Newsgroups: microsoft.publi c.dotnet.genera l
| >>| >| >| Subject: Re: Permission Errors
| >>| >| >| Date: Mon, 17 Oct 2005 09:42:38 -0400
| >>| >| >| Message-ID: <d4************ *************** *****@4ax.com>
| >>| >| >| References: <th************ *************** *****@4ax.com>
| >>| >| ><yI*********** ***@TK2MSFTNGXA 01.phx.gbl>
| >>| >| >| X-Newsreader: Forte Agent 3.0/32.763
| >>| >| >| MIME-Version: 1.0
| >>| >| >| Content-Type: text/plain; charset=us-ascii
| >>| >| >| Content-Transfer-Encoding: 7bit
| >>| >| >| Lines: 126
| >>| >| >| NNTP-Posting-Host: 68.37.155.53
| >>| >| >| X-Trace:
| >>| >|
| >>|
|sv3-gDWyCGpEupEX0j1 fSbjlcEQCmafJ9o 78ImvcZFRYgzuTJ rUVBXNwSDFvEjXU 0WYIV5S0 Sj
| >>4
| >>| >x
| >>| >|
| >>|
|XAEYD4F!+gD 1O9UCRQPn/fWaZqe5gZu0a+kJ Qob50YgYeH4Vz0b 8yN5CDADz5iCAiA yr6i+J 26
| >>I
| >>| >P
| >>| >| >8Kdp9Ub8!SFDYp nTo
| >>| >| >| X-Complaints-To: ab***@comcast.n et
| >>| >| >| X-DMCA-Complaints-To: dm**@comcast.ne t
| >>| >| >| X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL
| >>headers
| >>| >| >| X-Abuse-and-DMCA-Info: Otherwise we will be unable to process
your
| >>| >| >complaint properly
| >>| >| >| X-Postfilter: 1.3.32
| >>| >| >| Path:
| >>| >|
| >>|
|TK2MSFTNGXA 01.phx.gbl!TK2M SFTFEED02.phx.g bl!tornado.fast webnet.it!tisca l i!
| >>n
| >>| >e
| >>| >|
| >>|
|wsfeed1.ip. tiscali.net!pro xad.net!216.239 .36.134.MISMATC H!postnews.goog l e.
| >>c
| >>| >o
| >>| >|
| >>|
|m!news4.goo gle.com!border1 .nntp.dca.gigan ews.com!nntp.gi ganews.com!loca l

01
|

Nov 22 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
6205
by: Alex Kouzemtchenko | last post by:
ok, I've got a peice of code that deletes folders, wether empty or non-empty and I keep getting these errors: Warning: rmdir(./modules/test/Copy of test/Random Folder) : Permission denied in c:\webdesign\fms\modules\functions.php on line 44 Warning: rmdir(./modules/test/Copy of test) : Directory not empty in c:\webdesign\fms\modules\functions.php on line 52
3
2304
by: Julie Barnet | last post by:
Could someone please tell me how I can trap permission errors in vb.net on a stored procedure: ie. Execute permission denied on object 'sel_mytable', database 'mydatabase', owner 'dbo' I would like to print a message like response.write("You don't have permission to select on this table") as opposed to the cryptic message I am receiving. Thanks in advance
2
2245
by: PM Creyghton | last post by:
I got this error without using frames: First of all, I'm developing an ASP application, and once in a while my activeX components crash or hang, I got page-not-found errors, errors generated by my COM object... Its all in the game of development :).. BUT when some crash occure, and I then try to restart my IIS service or restart my component service, javascript is generating the 'Permission denied error'.
4
4554
by: jtfaulk | last post by:
I've created an application that I need to launch from a web browser. So I tried these steps: 1. on the install I modified the PATH environmental variable to include the path on the application directory. 2. on the web pages uses java script to call ShellExecute to call the application. This actually does launch the application; however there seems to be a permission error. Because if I simply launch the application normally
12
2555
by: Russ | last post by:
Hello. My new dev machine is running XP Pro. In the past all equipment has only used Windows 2000. I have had a lot of problems getting my projects up and running on the new machine. The current one is a permission error. The project is a VC++ Web Service. It works fine when the service is hosted on the old W2K dev machine, but on the new XP machine I get a permission error when the service tries to open a text file on the Windows...
1
2006
by: CSN | last post by:
I upgraded to 7.4 a few days ago and am getting these errors when importing dumps: "permission denied to set session authority" and "permission denied for schema public". Not all of the dump is imported successfully. Are these errors due to new features in 7.4? Do I need to add more permissions for users? __________________________________ Do you Yahoo!? Free Pop-Up Blocker - Get it now
3
2764
by: Chua Wen Ching | last post by:
Hi there, I had applied this security permissions in my class library based on fxcop standards. Before namespace: using System.Runtime.InteropServices; using System.Security.Permissions;
1
2083
by: Nathan | last post by:
We are encountering strange errors using IE 6 with a specified automatic configuration script and an internal ASP.NET application. The application performs very oddly throwing JavaScript errors all over the place. The JS errors are all in the built in .NET JavaScripts: wwwroot\aspnet_client\system_web\1_0_3705_288\WebUIValidation.js and wwwroot\aspnet_client\system_web\1_0_3705_288\SmartNav.js most of them are "Permission denied"...
0
3207
by: debug03 | last post by:
I am executing a DTS package on a Windows 2000 sp4 server running SQL Server 2000 and IBM DB2 V7 client. The DTS package source data(SQL Server) is selected from SQL server table and inserts data to the destination table(DB2). I get the following error when the package is executed: The execution of the following DTS Package succeeded: Package Name: PEX2-CopyQualDatatoDB2-UAT Package Description: (null) Package ID:...
0
9704
marktang
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...
0
9569
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,...
0
10558
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10318
jinu1996
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...
1
10302
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10069
tracyyun
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...
0
6844
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();...
0
5636
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3802
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.