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