Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > web deployment issues / runtime errors

Reply
Thread Tools

web deployment issues / runtime errors

 
 
Jim
Guest
Posts: n/a
 
      11-06-2003
This si a repost, I apologize but perhaps my original inquiry got
buried under all the usenet spam...

I am having some problems deploying .NET content. My first guess is
that I am probably not using the correct approach to something here.
Hopefuly someone will be kind enough to get me back on track.

I'm hosting content on my own equipment. I have two machines - One
Win2K server acting as a PDC running DNS, IIS, and SQL Server 2000.
I have one other Win2K Professional machine that I use to serve up the
files for the web content. This is partly because this second machine
has a HUGE hard drive and is also my desktop PC, so it makes editing
conent easy and straightforward. The sites I host are very low
traffic for the moment, so there are no load-balancing or bandwidth /
performance issues as this time, and we'll deal with those once we get
the technical aspects of deployment worked out. Ah, the joys of
working on a budget! Anyway... the problem....

All this equipment is inside our private network, with a router
providng the inbound connection from the T1. So, my two machines are
server.office.local and workstation.office.local in the DNS. On my
workstation (ie fileserver) PC, I created C:\webs\MyWeb and made it a
share (\\workstation\MyWeb) for holding all the site content. Back on
the server, I created a new web site in IIS, set its host header and
all that, and then set it's home directory to \\workstation\MyWeb.
When I do this, I get warnings from the FrontPage server extensions
telling me that anyone can edit my site, and that I should use an NTFS
drive... bla, bla, bla... but that share IS on an NTFS drive. All of
my partitions on all machines are NTFS partitions.

Moreover, when I attempt to browse to the site, I get security
warnings from .NET. The pages I've put up so far are very simple web
forms that do stuff like put up a data grid of some stuff out of the
pubs database.... So I don't know what the big deal is. If I enable
IIS on \\workstation, and then browse to localhost\MyWeb, it works
just fine. However, if I try to go through the IIS server on
\\server, it won't work. If I move all of the web content off of the
file server, and put it into C:\inetpubs\wwwroot (or some other
subfolder) on \\server, then it runs fine. What's going on here?
Surely that can't be a limitation of the server and IIS... I know
almost no commercial shop that physically hosts everything on one
machine. Once again, it's probably something small I'm overlooking
here, but the darn error messages are so cryptic and usually have
NOTHING to do with what's "really" the problem. Any advice would be
greatly appreciated. Thanks!

JIM
 
Reply With Quote
 
 
 
 
John Saunders
Guest
Posts: n/a
 
      11-07-2003
"Jim" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...

I don't have time this morning to go into detail, but:

Don't use shares. I bet you haven't seen anyone else using shares for
ASP.NET.
--
John



 
Reply With Quote
 
 
 
 
Jim
Guest
Posts: n/a
 
      11-07-2003
John,

Are you suggesting then that all of the web files must physically
reside on the same box as the www server? Not to debate you, because
clearly I'm the one who is having trouble here, but that kind of seems
out of the spirit of the whole "N-Tier architecture" thing that .NET
is (supposed to?) support.... Or is there another way to accomplish
the smae task that I am overlooking?

On Fri, 7 Nov 2003 08:37:51 -0500, "John Saunders" <john.saunders at
surfcontrol.com> wrote:

>"Jim" <(E-Mail Removed)> wrote in message
>news:(E-Mail Removed).. .
>
>I don't have time this morning to go into detail, but:
>
>Don't use shares. I bet you haven't seen anyone else using shares for
>ASP.NET.


 
Reply With Quote
 
John Saunders
Guest
Posts: n/a
 
      11-08-2003
"Jim" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> John,
>
> Are you suggesting then that all of the web files must physically
> reside on the same box as the www server? Not to debate you, because
> clearly I'm the one who is having trouble here, but that kind of seems
> out of the spirit of the whole "N-Tier architecture" thing that .NET
> is (supposed to?) support.... Or is there another way to accomplish
> the smae task that I am overlooking?


Putting web files on some other machine doesn't add a "tier", just problems.

You want to look into code access security to understand why you're having
problems, or better still, you should look into why you think it's a good
idea to put the files on a different machine.
--
John



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ProfileCommon Runtime error using web deployment proj generated ou =?Utf-8?B?THlubmU=?= ASP .Net 6 08-11-2007 04:41 AM
Deployment issues in Web.Config file, ASP .Net 2.0 Beta 2 Pavan Apuroop ASP .Net 3 06-21-2005 11:02 AM
Errors, errors, errors Mark Goldin ASP .Net 2 01-17-2004 08:05 PM
Deployment Issues .. Runtime Error Sean ASP .Net 2 07-26-2003 04:37 PM



Advertisments