473,473 Members | 2,126 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

.net can read but cannot write

Zed
I have a problem with .net writing to a remote server that I need to deploy
on. The app works fine on my local machine. But when got access to the
server I went to VS.NET and tried to create a project the regular way, I got
this message "The web was created successfully, but an error occurred when
trying to configure the application root for this web. Web projects may not
operate correctly without application root. The returned error was: active
directory services cannot find the web server. A possible cause for this
error is an incompatibility between version of IIS on client and the server.
The usual cause for this error is creating web projects on a win2k or newer
server from a winnt 4.0 client. You manually configure the application root
using the ism" I called the sys admin and he said my user ID has full access
to the directory and whatever I decide to create in it. He tried to change
and add more permissions such as the ASPNET/<machinename> account and give it
full permissions, it still created the same problem. When I tried to run the
project it complained about not being able to write to the bin directory the
..dll and .pdb files. So I created an identical project on my machine and
copied the files in the bin directory into the bin directory on the server,
that seems to have worked, however I still couldn’t run the project from
VS.NET but I can run it through the browser. Next I needed to write out to an
excel file, I got permission errors stating that the ASPNET account wasn’t
enabled. I spoke with the sys admin and he enabled full access to that
account, still same error, then we tried giving the wwwroot directory access
for the IIS_WPG group write access as some MS documentation suggested, still
no file creation. Then we changed from excel file to a writing to a access
DB file that's on the same server, under the same folder, when first tried we
got 'Operation must use an updateable query.' error. Most documentation said
give the 'IUSR_<machinename>' account write access on the .mdb file, and we
granted the 'NETWORK SERVICE' account write access as some resources
suggested, still no hope insight. I tried to use the <identity impersonate>
tag in my web.config but it either denied me or gave me the same errors
again. As I said, this app is running fine on my machine, and when I had
people in the office connect to me through their browsers it worked fine, it
writes to the DB, and writes out the excel file. Sorry for the long story
but I'm stumped can any one give any sort of guidance id greatly appreciate
it.

Thanks
Zed

Oct 20 '05 #1
0 1499

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

Similar topics

21
by: Jason Heyes | last post by:
I want to allow objects of my class to be read from an input stream. I am having trouble with the implementation. Here are the different approaches I have tried: // Version 1.0 - Default...
1
by: cnu | last post by:
My program generates a log file for every event that happens in the program. So, I open the file and keep it open till the end. This is how I open the file for writing: <CODE> public...
6
by: Juan Manuel Ramollino | last post by:
Greetings everyone! I am creating a webcontrol that reads one or more directorie's content and displays all the filenames (tipically PDFs or PPTs) so that the user can select the desired one and...
10
by: Tibby | last post by:
I need to read/write not only text files, but binary as well. It seems like on binary files, it doesn't right the last 10% of the file. -- Thanks --- Outgoing mail is certified Virus...
8
by: a | last post by:
I have a struct to write to a file struct _structA{ long x; int y; float z; } struct _structA A; //file open write(fd,A,sizeof(_structA)); //file close
5
by: Sumana | last post by:
Hi All, We developed our project on VC++.Net console application to create image of disk and to write the image We are having problem with reading and writing the sector beyond 6GB Disk or...
3
by: eholz1 | last post by:
Hello PHP Group, I am having trouble setting permissions correctly so that the magickwand api (php 5.2) can read and write images. I usually read a file from one directory, create a magickwand...
2
by: Bina | last post by:
hi, I want to read & write a html file which contain the japanese character. Now how i will do it?I can read & write english character . but when i read & write Japanese character from the html...
4
by: thiago777 | last post by:
I have only 1GB of RAM so I cannot work with files too big with the ReadtoEnd method. Here is the code Im trying so that the file would split in pieces of 256MB: Try Dim BInput...
7
by: Nash | last post by:
Hi, I have two different files which is filled with data from two different structures like struct student { char* name; int age; };
0
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,...
0
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...
0
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,...
0
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...
1
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...
0
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,...
1
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...
0
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 ...
0
muto222
php
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.