473,789 Members | 3,013 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Error : You are unauthorised to view this page.

nirmalsingh
218 New Member
hai all, i have created a website in asp.net c#. when i created a virtual directory and try ti run it i get the following error,
You are unauthorised to view this page.
How to resolve this?
Thanx in advance.
Apr 25 '08 #1
2 2194
kenobewan
4,871 Recognized Expert Specialist
Assuming localhost works, what authenitication are you using. You may also need to add the aspnet account user to the folder location. HTH.
hai all, i have created a website in asp.net c#. when i created a virtual directory and try ti run it i get the following error,
You are unauthorised to view this page.
How to resolve this?
Thanx in advance.
Apr 25 '08 #2
Frinavale
9,735 Recognized Expert Moderator Expert
Have you configured your Documents to point to an ASPX page in your website.
I've seen this error show up when I've set up a site so that no one can browse the directory but have forgotten to set a default document for the web site to start on.

-Frinny
Apr 25 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
9801
by: Chuck Martin | last post by:
I am having a most frustrating problem that references, web searches, and other resources are no help so far in solving. Basically, I'm trying to design a pop-up window to be called with a funciton in a link. that function can have parameters for URL and window name passed to it. This works peachy in Firefox (1.0). With IE 6 (6.0.29) on two separate computers, I get an "onject expected" error. Going to the MS-based debugger just tells me...
3
1881
by: yma | last post by:
Hi, I put a .aspx page inside Server.Transfer() within a button. The page was created for testing so it only has button and I did not add code. When I click the button, it gave me an error below. Could try this and help me? Thank a lot. --Chris Server Error in '/mysite/WebApplication1' Application. ---------------------------------------------------------------------------- ----
0
974
by: Dan Nash | last post by:
Hi I was running a test server (xp pro) on my machine running an ASP.NET application, but cos of all the thoughts people have had re computer name, thought id move it to my Windows 2000 server (the one running active directory) to make life easier. So, I've installed Framework 1.1, I've copied the directory, I've made it an Application, disabled Anonymous access. Web.Config's authorisation setting is set to "Windows".
5
1737
by: Nathan Sokalski | last post by:
When I view my index.aspx page any time after the first time, I recieve the following error: System.Web.TraceContext.AddNewControl(String id, String parentId, String type, Int32 viewStateSize) +313 System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +201 System.Web.UI.Control.BuildProfileTree(String parentId, Boolean calcViewState) +263
4
3614
by: TrinityPete | last post by:
Hi all, We have a web application that uses web services for data access and retrieval. The web app and web services reside under IIS on the same server(WIN2003). The virtual directories have been set for windows authentication and both the ASP web application and the web services are using windows authentication with impersonation of the logged on user. We also set the web service credentials to CredentialCache.DefaultCredentials. ...
2
320
by: JJ | last post by:
I have seen many examples to set custom error pages as follows: <customErrors mode="RemoteOnly" defaultRedirect="errors/ErrorPage.aspx"> <error statusCode="400" redirect="errors/ErrorPage400.aspx" /> <error statusCode="401" redirect="errors/ErrorPage401.aspx" /> <error statusCode="403" redirect="errors/ErrorPage403.aspx" /> <error statusCode="404" redirect="errors/ErrorPage404.aspx" /> </customErrors>
9
1923
by: karthi84 | last post by:
hi, i have used session in my .net project. its version is 1.1, when ever i load that page i get the following error, Server Error in '/Alfi/invoice generation/WebApplication1' Application. Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated...
1
1093
by: Dariusz Tomon | last post by:
Hello, Till yesterday everything went well but I had to install service pack 2 to windows 2003 serv. After that every time I get strange JS errors (but could not debug it). Example: www.edukon.pl and www.portal.idn.org.pl/idn What could be wrong? Is it possible that SP2 could change something in IIS or whatever? Darek T.
0
2114
by: mbewers1 | last post by:
Is there a way in which I can re-direct an unauthorised user who tries to view a report in SQL Server Reporting Services to show a custom error message rather than show the unfriendly SSRS error message that appears? If I created a report and set a 'Jump To Report' variable, then this would always jump to the error message if the user clicked on a link to jump to another page, which wouldn't be what we want, would it? Any help/ideas...
0
9665
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9511
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
10199
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...
1
10139
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9983
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
9020
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
5551
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4092
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
3697
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.