Re: cannot view web pages after transferring files to web server



You can't use Windows Integrated like that. You'll need Basic

Jeff
"JayD" <JayD@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:316EA49D-54CC-4B88-96D8-B34AA8F989BD@xxxxxxxxxxxxxxxx
I forgot to mention that I don't have forms-based authentication - it is
only
Integrated Windows authentication. We have a LAN, and Active Directory
accounts etc. Database access is via specified groups of users.

What we want is - if a logged-in Windows user has database rights, they
should be able to see data using Internet Explorer and the web forms.
Right
now, even domain admins with full rights can't open the web pages after
transferring to the http server. No problems on my local machine using the
asp.net in-built development server.

Thanks

Jay



"clickon" wrote:

I don't think you need to turn anonymous access off to enable forms based
authentication.

"JayD" wrote:

(Not sure whether it is a general aspnet problem or a specific security
problem, hence posting it in 2 groups).

This will solve for us a number of problems. I have developed a website
on my
local machine (part of a LAN) using Visual Web Developer, with ASP.NET
2.0.
Backend is a SQL Server 2000 database. All queries and webforms work
beautifully on my local machine (file system web project).

However, when I copy this website to a virtual directory on an IIS
server, I
keep getting permissions denied error, when I try to access any aspx
page on
the website.

This is what I have done:
1. I have created an ASPNET login for SQL Server and gave it rights to
the
database.

2. I am using Windows Authentication (IIS Directory Security tab) and
Anonymous access is Unchecked.

3. There is <identity impersonate="true" /> line in the web.config
file.

4. Even though I have Windows authentication checked in IIS, I have the
following in the web.config file:
<authentication>
<forms name=".ASPXFORMSAUTH" loginUrl="logincs.aspx" />
</authentication>

Don't know what the above means - it was generated as part of my using
the
ASP.NET configuration in Visual Web Developer.

5. aspnetdb database is a SQL server 2005 database, on the same machine
as
IIS.

6. I have tried logging in as many different types of users (with full
rights and so on) but I cannot open a single page on the machine with
the IIS
server.

Pleas help if you can -

Thanks

Jay



.



Relevant Pages

  • RE: cannot view web pages after transferring files to web server
    ... Integrated Windows authentication. ... What we want is - if a logged-in Windows user has database rights, ... asp.net in-built development server. ... However, when I copy this website to a virtual directory on an IIS server, I ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Cant create ADP database on MSDE using MS Access
    ... but no database is created and I ... > I've tried the SQL Server group but they can't solve it. ... > potential requirement for named pipes if Windows Authentication is to ... "Administrator" and "SA" are still 2 different ...
    (microsoft.public.access.setupconfig)
  • Re: Database connection from PDA over cradle
    ... Are you attempting to log in using Windows authentication or SQL Server authentication? ... Does it work if you use the ip address for the database instead of the ... > Private myDS As New DataSet ...
    (microsoft.public.pocketpc.developer)
  • Re: Signle-Sign on web application running on IIS
    ... Why not simply use windows authentication for the application? ... automatic transmission of his Windows credentials. ... The database is SQL Server running on a separate ...
    (microsoft.public.dotnet.security)
  • Re: Help!!
    ... > If I rejoin the system.mdw on my local machine, ... not always) system.mdw is found in the windows system folder. ... Your server should not have a system.mdw (unless this is the secure one you ... database, you would be doing so using your secure.mdw, not the standard mdw ...
    (microsoft.public.access.security)