473,796 Members | 2,455 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

ASP.NET is not authorized to access

I have an asp.net application written that works on every machine I have
tried it on except for one. This one XP machine throws the following error.

ASP.NET is not authorized to access the requested resource.

Can anyone explain to me why only the one machine might throw that error?

Thanks,
Brent
Nov 18 '05 #1
4 4201
Well, what code is it breaking on? There is obviously a permissions issue
going on, but without knowing what you are trying to do when the code fails,
it's impossible to say what is going on.

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"Brent Burkart" <Br***********@ wvmb.com> wrote in message
news:uN******** *****@TK2MSFTNG P11.phx.gbl...
I have an asp.net application written that works on every machine I have
tried it on except for one. This one XP machine throws the following error.
ASP.NET is not authorized to access the requested resource.

Can anyone explain to me why only the one machine might throw that error?

Thanks,
Brent

Nov 18 '05 #2
More specifically

Could not access 'CDO.Message' object.

and

System.Web.Mail .SmtpMail.Send( MailMessage message)

It appears to be failing when I try to send mail. But like I said, it works
on the other 10 - 15 machines I have tried it on except on this one.

Thanks for you help,
Brent
"Chris Jackson" <chrisjATmvpsDO TorgNOSPAM> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Well, what code is it breaking on? There is obviously a permissions issue
going on, but without knowing what you are trying to do when the code fails, it's impossible to say what is going on.

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"Brent Burkart" <Br***********@ wvmb.com> wrote in message
news:uN******** *****@TK2MSFTNG P11.phx.gbl...
I have an asp.net application written that works on every machine I have
tried it on except for one. This one XP machine throws the following

error.

ASP.NET is not authorized to access the requested resource.

Can anyone explain to me why only the one machine might throw that error?
Thanks,
Brent


Nov 18 '05 #3
Do you have an SMTP server configured on this machine? In your code to send
the message, are you specifying localhost as the SMTP server, or using an
outside server?

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"Brent Burkart" <Br***********@ wvmb.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
More specifically

Could not access 'CDO.Message' object.

and

System.Web.Mail .SmtpMail.Send( MailMessage message)

It appears to be failing when I try to send mail. But like I said, it works on the other 10 - 15 machines I have tried it on except on this one.

Thanks for you help,
Brent
"Chris Jackson" <chrisjATmvpsDO TorgNOSPAM> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Well, what code is it breaking on? There is obviously a permissions issue
going on, but without knowing what you are trying to do when the code

fails,
it's impossible to say what is going on.

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"Brent Burkart" <Br***********@ wvmb.com> wrote in message
news:uN******** *****@TK2MSFTNG P11.phx.gbl...
I have an asp.net application written that works on every machine I have tried it on except for one. This one XP machine throws the following

error.

ASP.NET is not authorized to access the requested resource.

Can anyone explain to me why only the one machine might throw that

error?
Thanks,
Brent



Nov 18 '05 #4
Chris,

I do have SMTP server configured on this machine. I do not specify the
localhost and that seems to be the only way to make it work.

I do remember many configurations to the SMTP server to make it work, but it
has worked well on all expect this machine.

Thanks,
Brent
"Chris Jackson" <chrisjATmvpsDO TorgNOSPAM> wrote in message
news:%2******** ********@TK2MSF TNGP12.phx.gbl. ..
Do you have an SMTP server configured on this machine? In your code to send the message, are you specifying localhost as the SMTP server, or using an
outside server?

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"Brent Burkart" <Br***********@ wvmb.com> wrote in message
news:%2******** ********@tk2msf tngp13.phx.gbl. ..
More specifically

Could not access 'CDO.Message' object.

and

System.Web.Mail .SmtpMail.Send( MailMessage message)

It appears to be failing when I try to send mail. But like I said, it

works
on the other 10 - 15 machines I have tried it on except on this one.

Thanks for you help,
Brent
"Chris Jackson" <chrisjATmvpsDO TorgNOSPAM> wrote in message
news:%2******** ********@TK2MSF TNGP10.phx.gbl. ..
Well, what code is it breaking on? There is obviously a permissions issue going on, but without knowing what you are trying to do when the code

fails,
it's impossible to say what is going on.

--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--

"Brent Burkart" <Br***********@ wvmb.com> wrote in message
news:uN******** *****@TK2MSFTNG P11.phx.gbl...
> I have an asp.net application written that works on every machine I have > tried it on except for one. This one XP machine throws the following error.
>
> ASP.NET is not authorized to access the requested resource.
>
> Can anyone explain to me why only the one machine might throw that

error?
>
> Thanks,
> Brent
>
>



Nov 18 '05 #5

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

Similar topics

2
6781
by: Aprochko | last post by:
Attempting to access outlook from C# .NET ASP app. Have added reference to COM Microsoft Outlook 11 Object Library. Have included using System.Runtime.InteropServices; using System.Web.Mail; using Microsoft.Office; using Microsoft.Office.Interop; using Microsoft.Office.Interop.Outlook; using Microsoft.Office.Core;
2
18943
by: Brent Burkart | last post by:
I am trying to send an email using SMTP server through IIS. I am recieving the following error. Access is denied. 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 in the code. Exception Details: System.UnauthorizedAccessException: Access is denied.
0
1554
by: Thiago Campos Pereira | last post by:
Hi, I am with the following problem. I have installed a IIS 6.0 / Windows 2003 and created a simple HTML Page (with a simple text, for test - Test.HTML). I am trying access the page with the IE 6 ( http://localhost/teste.htm ) and get a error ( The error is in the end of this page). I have trying the following solution:
4
3385
by: Gaetan | last post by:
I just cannot read any more MSDN articles on IIS6 and ASP.Net authentication ... everything is blurry now, tanks to old eyes. Here is a topo of my environment: - W2K3 SP1 (IIS 6) - Web site is a virtual directory under Default Web Site - Web site is configured with "Integrated Windows Authentication" and the "Enable
1
2574
by: SqlJunkies User | last post by:
Hi I try to call a Webservice via java, the webservice is loacated on a IIS-server(Dot-net). It is a trusted Domain so I do not have to Connect with a Username and Password. It seems to be a problem to get Information from the Service. At all I do not get Access. Anybody have same problem or experiance with this. I use following Code to access the Webservice. If anybody have other suggestions I am willing to try that My Code. import...
1
2364
by: nasirmajor | last post by:
dear all, Please any urgent help regarding following code. i have the following code ================================================================= public void Delete(Object sender, DataGridCommandEventArgs e) { 1 int Sid2 = (int)l.DataKeys;
3
4323
by: ssg31415926 | last post by:
I'm getting the error: "Unable to open the Web 'http://blah/blahblah'. You are not authorized to perform the current operation". I have changed a few things recently but I can't change them back as I need them. I can't find anything about it using searches. Yesterday, I removed the "Enable anonymous access" option from my web (within the Default Web Site). The web has Integrated Windows authentication checked. The site must check AD...
2
2031
by: techno01 | last post by:
Hi, I am new in ASP and I just created a website in Visual Studio 2005. I only want a group that have access to this website. I also created a security group in AD. I am also using SQL Server 2005 for this website using ASP forms. How do I set up the permissions so when users click on this site the page will launch "You are not authorized to view this page"? and only authorized users using group can access the site. I configured the IIS where...
5
2634
EinToR
by: EinToR | last post by:
I'm trying to upload an image but I get this error: ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via <identity impersonate="true"/>, the identity will be the...
0
9680
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
10228
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
10173
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
10006
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
6788
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
5441
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5573
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4116
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
3
2925
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.