473,770 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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="tr ue" /> 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=".ASPXFORM SAUTH" loginUrl="login cs.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 1685
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="tr ue" /> 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=".ASPXFORM SAUTH" loginUrl="login cs.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="tr ue" /> 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=".ASPXFORM SAUTH" loginUrl="login cs.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**@discussio ns.microsoft.co m> wrote in message
news:31******** *************** ***********@mic rosoft.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="tr ue" /> 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=".ASPXFORM SAUTH" loginUrl="login cs.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
1743
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 where I could modify tha pages. But when I open the .aspx pages with Visual studio.net, then I just see the HTML code & no design view of the page. How should I edit the page when in Visual Studio I cant see the design view. Just in case...
8
5481
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 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
22
5595
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 : "SQL1478W The defined buffer pools could not be started. Instead, one small
5
10012
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 server. What is the approach for this in asp.net? The comments in MSDN on using the session object are scary, imagining that several users at the same time will use plenty of space on the server's memory! Or is it realistic to memorize the data in a...
1
949
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 engine cannot open the file ''. It is already opened exclusively by another user, or you need permission to view its data. I open the file using this connection string Dim connString As String = "Provider=Microsoft.Jet.OLEDB.4.0;Data
2
2922
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 up some SQL Reporting Services reports. The asp pages are running under SSL as are the pages that call the asp app. The asp app runs correctly, but the reports cannot be opened or saved.
0
972
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 services and aspx pages on some different server. On that particular server I created two websites in IIS, one called testsite with aspx pages in it, and other is webservice with webservices in it. Since I copied all the pages and webservices to that...
3
1949
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 has logged in. I set a loggedin session in the log in page, which I have tested and works fine in other scripts. I am displaying news on the homepage (which is stored in a mysql database), and this works fine when the user accesses the homepage...
6
3127
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
9453
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10099
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8929
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3607
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.