473,795 Members | 3,100 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Server Error in '/WebService' Application.


Hi I keep getting this error...

Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary
ASP.NETFiles\we bservice_isds\f 12c6a5a\5975001 " is denied.

Stack Trace:

[UnauthorizedAcc essException: Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\webservic e\f12c6a5a\5975 001" is denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.Direc tory.InternalCr eateDirectory(S tring fullPath, String
path) +632
System.IO.Direc tory.CreateDire ctory(String path) +195

System.Web.Comp ilation.Preserv edAssemblyEntry .DoFirstTimeIni t(HttpContext
context) +85

System.Web.Comp ilation.Preserv edAssemblyEntry .EnsureFirstTim eInit(HttpConte xt
context) +98
System.Web.Http Runtime.Preload AssembliesFromB in(HttpContext
context) +176
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +445

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +927
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr)
+128

It looks like i dont have access to the
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NETFiles
folder.

I am running Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573 on IIS6 on Server
2003 Enterprise.

Anyone has a solution yto solve my problem? Help is very much
appreciated.
Regards, Martin

Nov 18 '05 #1
8 2156
In VS.NET Project Menu, check permissions to web and try synchronizing
files.
"Martinh" <ni**@nospam.in valid> wrote in message
news:iu******** *************** *********@4ax.c om...

Hi I keep getting this error...

Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary
ASP.NETFiles\we bservice_isds\f 12c6a5a\5975001 " is denied.

Stack Trace:

[UnauthorizedAcc essException: Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\webservic e\f12c6a5a\5975 001" is denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.Direc tory.InternalCr eateDirectory(S tring fullPath, String
path) +632
System.IO.Direc tory.CreateDire ctory(String path) +195

System.Web.Comp ilation.Preserv edAssemblyEntry .DoFirstTimeIni t(HttpContext
context) +85

System.Web.Comp ilation.Preserv edAssemblyEntry .EnsureFirstTim eInit(HttpConte xt
context) +98
System.Web.Http Runtime.Preload AssembliesFromB in(HttpContext
context) +176
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +445

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +927
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr)
+128

It looks like i dont have access to the
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NETFiles
folder.

I am running Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573 on IIS6 on Server
2003 Enterprise.

Anyone has a solution yto solve my problem? Help is very much
appreciated.
Regards, Martin

Nov 18 '05 #2
I've seen that error when someone hits the site at the same time as I'm
copying in new files.

The fix for me was to stop IIS with:

net stop iisadmin /y

Delete the contents of the Temporary ASP.NET Files folder where you are
having a problem

Copy in a new build to your Web

Restart the IIS service with:

iisreset

In severe cases, you may need to reboot the server. Ouch.

Ken

"Martinh" <ni**@nospam.in valid> wrote in message
news:iu******** *************** *********@4ax.c om...

Hi I keep getting this error...

Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary
ASP.NETFiles\we bservice_isds\f 12c6a5a\5975001 " is denied.

Stack Trace:

[UnauthorizedAcc essException: Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\webservic e\f12c6a5a\5975 001" is denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.Direc tory.InternalCr eateDirectory(S tring fullPath, String
path) +632
System.IO.Direc tory.CreateDire ctory(String path) +195

System.Web.Comp ilation.Preserv edAssemblyEntry .DoFirstTimeIni t(HttpContext
context) +85

System.Web.Comp ilation.Preserv edAssemblyEntry .EnsureFirstTim eInit(HttpConte xt
context) +98
System.Web.Http Runtime.Preload AssembliesFromB in(HttpContext
context) +176
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +445

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +927
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr)
+128

It looks like i dont have access to the
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NETFiles
folder.

I am running Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573 on IIS6 on Server
2003 Enterprise.

Anyone has a solution yto solve my problem? Help is very much
appreciated.
Regards, Martin


Nov 18 '05 #3

Hi Scott,

I cannor access the Project, Web Project, Web permissions in VS.NET.
It is greyed out.
On Sat, 14 Aug 2004 16:52:17 -0400, "Scott M." <s-***@nospam.nosp am>
wrote:
In VS.NET Project Menu, check permissions to web and try synchronizing
files.
"Martinh" <ni**@nospam.in valid> wrote in message
news:iu******* *************** **********@4ax. com...

Hi I keep getting this error...

Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary
ASP.NETFiles\we bservice_isds\f 12c6a5a\5975001 " is denied.

Stack Trace:

[UnauthorizedAcc essException: Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\webservic e\f12c6a5a\5975 001" is denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.Direc tory.InternalCr eateDirectory(S tring fullPath, String
path) +632
System.IO.Direc tory.CreateDire ctory(String path) +195

System.Web.Comp ilation.Preserv edAssemblyEntry .DoFirstTimeIni t(HttpContext
context) +85

System.Web.Comp ilation.Preserv edAssemblyEntry .EnsureFirstTim eInit(HttpConte xt
context) +98
System.Web.Http Runtime.Preload AssembliesFromB in(HttpContext
context) +176
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +445

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +927
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr)
+128

It looks like i dont have access to the
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NETFiles
folder.

I am running Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573 on IIS6 on Server
2003 Enterprise.

Anyone has a solution yto solve my problem? Help is very much
appreciated.
Regards, Martin


Nov 18 '05 #4
isn't this the indexing service bug? check and turn off your indexing
service if it is running.

--
Regards,
Alvin Bruney
[ASP.NET MVP http://mvp.support.microsoft.com/default.aspx]
Got tidbits? Get it here... http://tinyurl.com/27cok
"Martinh" <ni**@nospam.in valid> wrote in message
news:iu******** *************** *********@4ax.c om...

Hi I keep getting this error...

Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary
ASP.NETFiles\we bservice_isds\f 12c6a5a\5975001 " is denied.

Stack Trace:

[UnauthorizedAcc essException: Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\webservic e\f12c6a5a\5975 001" is denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.Direc tory.InternalCr eateDirectory(S tring fullPath, String
path) +632
System.IO.Direc tory.CreateDire ctory(String path) +195

System.Web.Comp ilation.Preserv edAssemblyEntry .DoFirstTimeIni t(HttpContext
context) +85

System.Web.Comp ilation.Preserv edAssemblyEntry .EnsureFirstTim eInit(HttpConte xt
context) +98
System.Web.Http Runtime.Preload AssembliesFromB in(HttpContext
context) +176
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +445

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +927
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr)
+128

It looks like i dont have access to the
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NETFiles
folder.

I am running Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573 on IIS6 on Server
2003 Enterprise.

Anyone has a solution yto solve my problem? Help is very much
appreciated.
Regards, Martin

Nov 18 '05 #5

Hi Ken,

There is nothing to delete in de "Temporary ASP.NET Files" folder
because the folder is empty except for the presence of an "Bind Logs"
folder and that one is empty too.

It looks like acces is completely denied to the temp ASP.NET folder. I
placed "<identity impersonate="tr ue" />" in webconfig.

I did what you suggested annyway. The net stop iisadmin /y then
rebuild my VS.NET app and then i iisreset my IIS6 server.

Strange is that i seem to miss a couple of options in the VS.NEt
Project, Web Project menu. Web Permissions is opted out and some other
options seems to be missing. I checked with anothet VS.NEt install on
a friends system. He doesnt have my problem. We also checked zillions
of settings and they all look the same.

Martin

On Sat, 14 Aug 2004 19:10:00 -0400, "Ken Cox [Microsoft MVP]"
<BA************ @sympatico.ca> wrote:
I've seen that error when someone hits the site at the same time as I'm
copying in new files.

The fix for me was to stop IIS with:

net stop iisadmin /y

Delete the contents of the Temporary ASP.NET Files folder where you are
having a problem

Copy in a new build to your Web

Restart the IIS service with:

iisreset

In severe cases, you may need to reboot the server. Ouch.

Ken

"Martinh" <ni**@nospam.in valid> wrote in message
news:iu******* *************** **********@4ax. com...

Hi I keep getting this error...

Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary
ASP.NETFiles\we bservice_isds\f 12c6a5a\5975001 " is denied.

Stack Trace:

[UnauthorizedAcc essException: Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\webservic e\f12c6a5a\5975 001" is denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.Direc tory.InternalCr eateDirectory(S tring fullPath, String
path) +632
System.IO.Direc tory.CreateDire ctory(String path) +195

System.Web.Comp ilation.Preserv edAssemblyEntry .DoFirstTimeIni t(HttpContext
context) +85

System.Web.Comp ilation.Preserv edAssemblyEntry .EnsureFirstTim eInit(HttpConte xt
context) +98
System.Web.Http Runtime.Preload AssembliesFromB in(HttpContext
context) +176
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +445

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +927
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr)
+128

It looks like i dont have access to the
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NETFiles
folder.

I am running Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573 on IIS6 on Server
2003 Enterprise.

Anyone has a solution yto solve my problem? Help is very much
appreciated.
Regards, Martin


Nov 18 '05 #6

Hi,

The Indexing Service on my webserver is disabled in Computer
Management, Services. In Services and Applications it is in the
stopped state.

I tried turning it on and then it started indexing and after that I
still get the "Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\webservic e\f12c6a5a\5975 001" is denied" error message. So I
turned it off again.

Martin
On Sat, 14 Aug 2004 18:44:37 -0500, "Alvin Bruney [MVP]" <vapor at
steaming post office> wrote:
isn't this the indexing service bug? check and turn off your indexing
service if it is running.


Nov 18 '05 #7
I've had this error a few times when using asp.net for the first time on a
new machine - the way I solved it in the development environment was to
grant full NTFS access to the
C:\WINDOWS\Micr osoft.NET\Frame work\v1.1.4322\ Temporary ASP.NET
Files\ directory to the ASPNET account, the IUSR_MachineNam e account and the
IWAM_MachineNam e account. Also when my web application has needed to run in
a domain account context I've given access to the domain account too.

--
Steve Willcock (MCSD for Microsoft.NET)
http://www.willcockconsulting.com/

"Martinh" <ni**@nospam.in valid> wrote in message
news:iu******** *************** *********@4ax.c om...

Hi I keep getting this error...

Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary
ASP.NETFiles\we bservice_isds\f 12c6a5a\5975001 " is denied.

Stack Trace:

[UnauthorizedAcc essException: Access to the path
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\webservic e\f12c6a5a\5975 001" is denied.]
System.IO.__Err or.WinIOError(I nt32 errorCode, String str) +393
System.IO.Direc tory.InternalCr eateDirectory(S tring fullPath, String
path) +632
System.IO.Direc tory.CreateDire ctory(String path) +195

System.Web.Comp ilation.Preserv edAssemblyEntry .DoFirstTimeIni t(HttpContext
context) +85

System.Web.Comp ilation.Preserv edAssemblyEntry .EnsureFirstTim eInit(HttpConte x
t context) +98
System.Web.Http Runtime.Preload AssembliesFromB in(HttpContext
context) +176
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +445

[HttpException (0x80004005): ASP.NET Initialization Error]
System.Web.Http Runtime.FirstRe questInit(HttpC ontext context) +927
System.Web.Http Runtime.Process RequestInternal (HttpWorkerRequ est wr)
+128

It looks like i dont have access to the
"C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NETFiles
folder.

I am running Version Information: Microsoft .NET Framework
Version:1.1.432 2.573; ASP.NET Version:1.1.432 2.573 on IIS6 on Server
2003 Enterprise.

Anyone has a solution yto solve my problem? Help is very much
appreciated.
Regards, Martin

Nov 18 '05 #8

Thanks Steve! This did the trick. It's working now.

Everybode who participated in solving my problem, thank you very much!

Martin
On Sun, 15 Aug 2004 08:48:51 +0100, "Steve Willcock"
<st***@N-O-S-P-A-Mwillcockconsul ting.com> wrote:
I've had this error a few times when using asp.net for the first time on a
new machine - the way I solved it in the development environment was to
grant full NTFS access to the
C:\WINDOWS\Mic rosoft.NET\Fram ework\v1.1.4322 \Temporary ASP.NET
Files\ directory to the ASPNET account, the IUSR_MachineNam e account and the
IWAM_MachineNa me account. Also when my web application has needed to run in
a domain account context I've given access to the domain account too.


Nov 18 '05 #9

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

Similar topics

5
1303
by: Daniel Rimmelzwaan | last post by:
Hello all, I don't know what to do anymore, I thought I was not coding my stuff correctly, but I am having problems with Visual Studio it seems. When I create a new webservice on my local machine, remove the comments around the Hello World service and build it, everything works fine. Then, when I do the same on a remote server, it gives me the error message below. One thing I noticed is that I have to open the new project on the remote...
2
1739
by: sean | last post by:
Hi there, I am trying to call a C# web service from an aspx page, I have the asmx file, a user control file ascx and the aspx file. I have verified that the web service is returning correct values from the service, however when I try to load the aspx page it falls over in a cruumbling heap! Could someone tell me what I am doing wrong as I know that I am close to getting this thing working. Thanks in advance for your answer
2
5713
by: Miguel | last post by:
Hi, I'm developing an application in C# with Windows Forms for my company that is similar to the MSN Messenger. This application uses a webservice for registering users, etc... and as 2 webbrowser controls on it. Besides that i'm using the firewall client for isa server 2004 and it seems that the browsers aren't able to pass thru it... if i disable the firewall the browsers work fine, if i don't, the 2 browsers just stay there...
4
6215
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and pass the data to the web service. I already modified both web.config files and changed maxRequestLength to 60000(kb). When I debug the upload process, it seems the Web application can get the 50M file and read the data without problem, but when the...
5
2244
by: Grigs | last post by:
Hello, I have a project that contains a WebService that works great when connecting to it on my Localhost. Once we post the files to the test web server, all of the pages that do not touch the webservice work fine. However, the ones that do touch it get the following error: The request failed with HTTP status 404: Not Found Here is the full error:
0
13844
by: Steve | last post by:
I recently implemented a webservice that was called by a c# application. It all ran fine when they were both on the same server, however when we moved the webservice to another machine (and changed the url of the HttpWebRequest), it only returned (500) errors unless we also moved the client application over to the same machine, whereupon it resumed working. After messing with the IIS settings and various things in the the C# application,...
14
12731
by: Lorenzo | last post by:
Hello, I have a web application with a virtual directory in it. With 'virtual directory' i mean a folder whose physical path is different from the physical path of the application, but in which Web Sharing is active. For example: my application is in "C:\Inetpub\wwwroot\MyApp", the Virtual folder is in "C:\VirtualFolder", and IIS sees it as if it were in "C:\Inetpub\wwwroot\MyApp\VirtualFolder".
2
6970
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of attending interviews. If you own a company best way to judge if the candidate is worth of it. http://www.questpond.com/InterviewRatingSheet.zip
9
5236
by: Coward 9 | last post by:
HI, I created the simplest "ASP .NET Web Service" by using VS 2005 and Visual C#( File | New | Web Site). However, when I tried to access the service from IE 7.0 http://www.aztao.org/WebService/Service.asmx (the fie DOES exist which can be verified by typing http://www.aztao.org/WebService/ in address bar only).
0
9672
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
9519
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
10213
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
10163
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
10000
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...
1
7538
isladogs
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6779
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();...
1
4113
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
2
3721
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.