473,382 Members | 1,717 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

.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 1495

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
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.