cannot view web pages after transferring files to web server

G

Guest

(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
 
G

Guest

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

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,576
Members
45,054
Latest member
LucyCarper

Latest Threads

Top