473,396 Members | 1,968 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,396 software developers and data experts.

cannot view web pages after transferring files to web server

(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

Apr 25 '06 #1
3 1666
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

Apr 25 '06 #2
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

Apr 25 '06 #3
You can't use Windows Integrated like that. You'll need Basic

Jeff
"JayD" <Ja**@discussions.microsoft.com> wrote in message
news:31**********************************@microsof t.com...
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
>

Apr 25 '06 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: pmud | last post by:
Hi I have a website (ASP.NET project using C# ) which is already put up on the server. I need to make some modification to some web pages.So the project files were copied to the a different server...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
22
by: Smutny30 | last post by:
Hello, I am preparing a database that will store 10 n * GBs - 100 n * GBs of data. I calculated to have 1,2 GB of bufferpools. I run the DB2 v. 8.2.1 alone on 4 GB box. I obtain : ...
5
by: cgia | last post by:
I am porting an old client/server application to asp.net. I used to retrieve data into local tables (Paradox table-files on the client's disk) and work on them before saving them back to the...
1
by: Morten Wennevik | last post by:
I'm transferring an Excel file from a client computer to a web-page on a server, then trying to open the file on the server causes this exception message to occur. The Microsoft Jet database...
2
by: kbutterly | last post by:
Good afternoon, I have what appears to be a caching issue, but i'm a bit of a newbie at http headers so it may be something else. I have a small asp.net 2.0 application that is called to serve...
0
by: programmerboy | last post by:
I have created two virtual directories for my development. In one directory I have web services and in other I have my aspx pages. I developed code on my machine and now I want to transfer web...
3
by: Hazza | last post by:
Hi, I am using PHP and mysql to create a website. I am fairly new to PHP, and thus am grateful to anyone who helps! Firstly I am running a homepage, that displays additional content if a user...
6
by: TC | last post by:
Hey All, I'm receiving a weird error in IE now: "The XML page cannot be displayed" This is even with the simplest of pages that I previously could view. Any ideas?
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
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: 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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.