473,765 Members | 1,940 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Access Denied Error


Hi,

I am getting an Error "Access to the path...... is denied" Error. I have an
web app and I am creating a log file to write the error info. If I have the
absolute path "C:\Inetpub\www root\Samples\Te st\bin" and write the file
there, then it works but if i try another method say "Machinename\pa th" e.g:
\\Stephen\Sampl es\Test\bin then it gives me Access to path denied Error.

No matter which machine/server its deployed, I want it write the log file.
say I am deploying it on "TestServer " and while testing, there is an error.
I want it to be written to \\Test\Samples\ Test\bin is this possible or am i
totally off base.

I tried setting permissions and still i get this access to path denied.

Thanks,
Stephen
Sep 11 '06 #1
2 2061

Hey,

Is is in Domain? You need to make sure that the user that the asp.net
is using has access to Domain...
stephen wrote:
Hi,

I am getting an Error "Access to the path...... is denied" Error. I have an
web app and I am creating a log file to write the error info. If I have the
absolute path "C:\Inetpub\www root\Samples\Te st\bin" and write the file
there, then it works but if i try another method say "Machinename\pa th" e.g:
\\Stephen\Sampl es\Test\bin then it gives me Access to path denied Error.

No matter which machine/server its deployed, I want it write the log file.
say I am deploying it on "TestServer " and while testing, there is an error.
I want it to be written to \\Test\Samples\ Test\bin is this possible or am i
totally off base.

I tried setting permissions and still i get this access to path denied.

Thanks,
Stephen

Sep 12 '06 #2
Hi,

Thanks for the reply.
I actually have given full control to the ASPNET account but it still gives
me the error

Exception Details: System.Runtime. InteropServices .COMException: Cannot
access read-only document 'Export_Results 12.xls'.

This happens when I write to a particular folder on InetPub.

Please advice,
Stephen Noronha

"Orion41" <""ikarlgut\"@@ hotmail.com"wro te in message
news:IJ******** *******@twister .nyroc.rr.com.. .
>
Hey,

Is is in Domain? You need to make sure that the user that the asp.net is
using has access to Domain...
stephen wrote:
>Hi,

I am getting an Error "Access to the path...... is denied" Error. I have
an web app and I am creating a log file to write the error info. If I
have the absolute path "C:\Inetpub\www root\Samples\Te st\bin" and write
the file there, then it works but if i try another method say
"Machinename\p ath" e.g: \\Stephen\Sampl es\Test\bin then it gives me
Access to path denied Error.

No matter which machine/server its deployed, I want it write the log
file. say I am deploying it on "TestServer " and while testing, there is
an error. I want it to be written to \\Test\Samples\ Test\bin is this
possible or am i totally off base.

I tried setting permissions and still i get this access to path denied.

Thanks,
Stephen

Sep 12 '06 #3

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

Similar topics

0
2945
by: Steve | last post by:
Hi, Yesterday I signed up for another dedicated linux server with the hosting company I use and I am having problems getting MySQL 4.1.3 working on it. I've tried just about everything I can think of to login via the MySQL client but get a variation of the following error every time: ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
3
2405
by: vincentw56 | last post by:
This is the first time I have tried this. What we have is a com object the generates keys. A developer here wrote a .Net wrapper in C# for this com object. I am trying to call her dll wrapper with my ASP.NET page and I get an access denied error. I can use the test Windows Form just fine, but not my ASP.NET form. This is all local to my machine. The error is below. Thanks. Vincent Here is the error that I get:
4
3918
by: Fabian von Romberg | last post by:
Hi, I have installed Sql Reporting Services on 2 machines, one is WIN 2000 PRO and the other one is WIN 2000 ADV. SERVER. When I try to access a report using the webbrowser, I get the following error, this happens only if try access the report on the SERVER, it I try on my local machine, it works just fine. Any help will be much appreciated. Thanks in advance, Fabian von Romberg
5
2951
by: Raterus | last post by:
I'm just throwing this error out for my sanity, I've seen posts about this, but never solutions. I'm using VS.NET 2003, Framework 1.1, and I'm getting a random error about every 1 out of 10 times I try to start to run/debug a project (through Visual Studio) Server Error in '/Intranet' Application. -------------------------------------------------------------------------------- Compilation Error Description: An error occurred during...
0
3537
by: ASP.Confused | last post by:
The old message looked a little stale, so I am re-posting it here. Anybody have any ideas of what I could do?!? The previous responses to this question are below. If you want to look at the original question, the subject line is: ADODB.NET and "Access Denied" I have an ASP.NET page writtein in VB that uses ADODB. I just had to
16
7389
by: Brad | last post by:
After compiling my asp.net project I'm receiving a "BC31011 - Access is denied" error when attempting to run or debug. The only thing that seems to resolve problem is IISReset. After a reset my project runs fine for several compiles then the error starts up again...and another iisreset. I seem to recall a similar issue a long time back which required turning off indexing, which I have had off since (I just re-checked to confirm it is...
12
3097
by: Ron Weldy | last post by:
I have a test server runinng 2003/IIS 6 with a mixture of asp and asp.net files. On my workstation I have a share set up to the folder where the web files reside. I am just doing quick and dirty asp editing (like I used to be able to do with 2K/IIS5) where I use VS.NET, open an asp file, make changes, save and refresh my browser. Problem is that I get an Access is Denied error when I try to save the file and then the file gets wiped on...
3
8008
by: Shailesh Humbad | last post by:
I figured out what was causing the "Access is Denied" error when calling functions from referenced DLLs in my service. I've tried to be very detailed, so bear with me. It turns out that libraries I made myself were not having this problem, but it only happened with a zip library I downloaded and copied into my program's directory. When using classes from this library, my service threw an "Access Is Denied" FileLoadException, which...
8
6050
by: Jeremy Ames | last post by:
I am trying to move an application from my system to a new test system. I really should have tried an easier program first, but I didn't really have a chance. My application was originally written in ASP.NET 1.1, but was migrated to 2.0 during development. The reason this is an issue is because the application is using the Microsoft.Web.UI.WebControls.dll for the tree view and tab strip controls that didn't exist prior to 2.0. Well, that is...
0
3962
by: Andy | last post by:
Thanks Peter, I thought I'd give an update on this problem. My application had 2 assemblies that contained classed for the Data access and business logic layer. It was on one of them that I was getting the Access denied error. After checking different settings and googling I wasnt able to pinpoint the problem and as a temporary fix I decided to merge the two assemblies into one, my logic being no offending assembly no access denied...
0
10153
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
10007
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
9946
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
9832
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
8830
agi2029
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...
1
7371
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
6646
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
5272
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...
3
2800
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.