473,326 Members | 2,012 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,326 software developers and data experts.

Can't access ASP.net pages from outside

We have an intranet setup but when you try and connect from outside
the network using a windows login & the internet the ASP.net pages
(.aspx) on the intranet will not load but the old asp pages (.asp)
load. Whats more frustrating is the fact eventhe errors will not
show, I have even tried to change the customerrors to "off" from
"remote only", and still it won't show the errors. So does anyone have
an idea as to what is causing this problem.
Nov 18 '05 #1
19 2281
Try changing the IE setup...

Go to Tools
Internet Option...
Advanced tab
Uncheck "Show friendly HTTP error messages"

Make sure you have the following in the web.config root:
<customErrors mode="Off" />

Careful it is case-sensitive.

Yama

"ree32" <re***@hotmail.com> wrote in message
news:76**************************@posting.google.c om...
We have an intranet setup but when you try and connect from outside
the network using a windows login & the internet the ASP.net pages
(.aspx) on the intranet will not load but the old asp pages (.asp)
load. Whats more frustrating is the fact eventhe errors will not
show, I have even tried to change the customerrors to "off" from
"remote only", and still it won't show the errors. So does anyone have
an idea as to what is causing this problem.

Nov 18 '05 #2
What message do you get?
"ree32" <re***@hotmail.com> wrote in message
news:76**************************@posting.google.c om...
We have an intranet setup but when you try and connect from outside
the network using a windows login & the internet the ASP.net pages
(.aspx) on the intranet will not load but the old asp pages (.asp)
load. Whats more frustrating is the fact eventhe errors will not
show, I have even tried to change the customerrors to "off" from
"remote only", and still it won't show the errors. So does anyone have
an idea as to what is causing this problem.

Nov 18 '05 #3
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message news:<#d**************@TK2MSFTNGP11.phx.gbl>...
What message do you get?

All that crap about custum errors should be set to off inorder to get
see the error message. I have set it to off too.
Nov 18 '05 #4
Once again, what is the exact error message that you are getting. "Crap"
doesn't help me at all

"ree32" <re***@hotmail.com> wrote in message
news:76**************************@posting.google.c om...
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message

news:<#d**************@TK2MSFTNGP11.phx.gbl>...
What message do you get?

All that crap about custum errors should be set to off inorder to get
see the error message. I have set it to off too.

Nov 18 '05 #5
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message news:<uP*************@TK2MSFTNGP14.phx.gbl>...
Once again, what is the exact error message that you are getting. "Crap"
doesn't help me at all

"ree32" <re***@hotmail.com> wrote in message
news:76**************************@posting.google.c om...
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message

news:<#d**************@TK2MSFTNGP11.phx.gbl>...
What message do you get?

All that crap about custum errors should be set to off inorder to get
see the error message. I have set it to off too.


It just says the usual CustomErrors has to be turned off message I am
sure you have seen that by now?
Nov 18 '05 #6
Runtime Error
Description: An application error occurred on the server. The current
custom error settings for this application prevent the details of the
application error from being viewed remotely (for security reasons).
It could, however, be viewed by browsers running on the local server
machine.

Details: To enable the details of this specific error message to be
viewable on remote machines, please create a <customErrors> tag within
a "web.config" configuration file located in the root directory of the
current web application. This <customErrors> tag should then have its
"mode" attribute set to "Off".
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a
custom error page by modifying the "defaultRedirect" attribute of the
application's <customErrors> configuration tag to point to a custom
error page URL.
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly"
defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message news:<uP*************@TK2MSFTNGP14.phx.gbl>...
Once again, what is the exact error message that you are getting. "Crap"
doesn't help me at all

Nov 18 '05 #7
Ok, I assume you've tried what the error says. Or obviously tried it from a
browser on the same machine. Is this correct, or am I missing something?

Jeff
"ree32" <re***@hotmail.com> wrote in message
news:76**************************@posting.google.c om...
Runtime Error
Description: An application error occurred on the server. The current
custom error settings for this application prevent the details of the
application error from being viewed remotely (for security reasons).
It could, however, be viewed by browsers running on the local server
machine.

Details: To enable the details of this specific error message to be
viewable on remote machines, please create a <customErrors> tag within
a "web.config" configuration file located in the root directory of the
current web application. This <customErrors> tag should then have its
"mode" attribute set to "Off".
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>
Notes: The current error page you are seeing can be replaced by a
custom error page by modifying the "defaultRedirect" attribute of the
application's <customErrors> configuration tag to point to a custom
error page URL.
<!-- Web.Config Configuration File -->

<configuration>
<system.web>
<customErrors mode="RemoteOnly"
defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>

"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message

news:<uP*************@TK2MSFTNGP14.phx.gbl>...
Once again, what is the exact error message that you are getting. "Crap" doesn't help me at all

Nov 18 '05 #8
"Yama" <yk*****@stbernard.com> wrote in message news:<uf**************@TK2MSFTNGP10.phx.gbl>...
Try changing the IE setup...

Go to Tools
Internet Option...
Advanced tab
Uncheck "Show friendly HTTP error messages"


I tried that still the same problems.
Nov 18 '05 #9
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message news:<eD**************@TK2MSFTNGP11.phx.gbl>...
Ok, I assume you've tried what the error says. Or obviously tried it from a
browser on the same machine. Is this correct, or am I missing something?

Jeff


Yep it all woks fine when you are "inside" ie. on the local host or
the network but when you connect from the outside I get the error I
posted. I have a feeling this has something to do with file
permissions, i.e. do you know more information as to what user a
person is connected as when they view the page from the internet.

Thanks
Nov 18 '05 #10
Once again, did you do exactly as the error message instructs you to do??
This will give you more meaningful information on the client.

Jeff
"ree32" <re***@hotmail.com> wrote in message
news:76**************************@posting.google.c om...
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message

news:<eD**************@TK2MSFTNGP11.phx.gbl>...
Ok, I assume you've tried what the error says. Or obviously tried it from a browser on the same machine. Is this correct, or am I missing something?

Jeff


Yep it all woks fine when you are "inside" ie. on the local host or
the network but when you connect from the outside I get the error I
posted. I have a feeling this has something to do with file
permissions, i.e. do you know more information as to what user a
person is connected as when they view the page from the internet.

Thanks

Nov 18 '05 #11
Thats what I am saying I can't get the error message to show. Its
frustrating as this problem doesn't occur on the local host machine.
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message news:<#7**************@TK2MSFTNGP11.phx.gbl>...
Once again, did you do exactly as the error message instructs you to do??
This will give you more meaningful information on the client.

Jeff

Nov 18 '05 #12
I managed to do some fiddling around got the Error message to show.
Now I am getting this Error message. Before you ask - Yes the
application has a virtual folder in IIS and it is running under an
application name.

Configuration Error
Description: An error occurred during the processing of a
configuration file required to service this request. Please review the
specific error details below and modify your configuration file
appropriately.

Parser Error Message: It is an error to use a section registered as
allowDefinition='MachineToApplication' beyond application level. This
error can be caused by a virtual directory not being configured as an
application in IIS.

Source Error:
Line 37: by Microsoft that offers a single logon and core
profile services for member sites.
Line 38: -->
Line 39: <authentication mode="Windows" />
Line 40:
Line 41:

"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message news:<#7**************@TK2MSFTNGP11.phx.gbl>...
Once again, did you do exactly as the error message instructs you to do??
This will give you more meaningful information on the client.

Nov 18 '05 #13
Check if the Windows login that you are using to access your aspx pages
have the permission to access these pages. If not, you will have to use
impersonation. Set <identity impersonate=true userid= password=/> in the
web.config file.
with regards,
J.V.Ravichandran
- http://www.geocities.com/
jvravichandran
- http://www.411asp.net/func/search?
qry=Ravichandran+J.V.&cob=aspnetpro
- http://www.southasianoutlook.com
- http://www.MSDNAA.Net
- http://www.csharphelp.com
- http://www.poetry.com/Publications/
display.asp?ID=P3966388&BN=999&PN=2
- Or, just search on "J.V.Ravichandran"
at http://www.Google.com

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 18 '05 #14
These logins are the logins they use on the network and when people
are accesing these pages from the intranet its all fine. But when they
are accessing from the internet the problem occurs.

As for permissons on the server don't the users all access the pages
by a common user account i.e. IUSR??
The old ASP pages have no problems. ITs just the .ASPX pages.

Ravichandran J.V. <jv************@yahoo.com> wrote in message news:<#R**************@TK2MSFTNGP14.phx.gbl>...
Check if the Windows login that you are using to access your aspx pages
have the permission to access these pages. If not, you will have to use
impersonation. Set <identity impersonate=true userid= password=/> in the
web.config file.
with regards,
J.V.Ravichandran

Nov 18 '05 #15
As a test, add Network Server, ASPNET and/or IUSR/IWAM to the admin group.
See if it works. If it does, it's a permissions problem. Then "quickly" take
these accounts out of admin, and report your findings back here.

Jeff

"ree32" <re***@hotmail.com> wrote in message
news:76*************************@posting.google.co m...
These logins are the logins they use on the network and when people
are accesing these pages from the intranet its all fine. But when they
are accessing from the internet the problem occurs.

As for permissons on the server don't the users all access the pages
by a common user account i.e. IUSR??
The old ASP pages have no problems. ITs just the .ASPX pages.

Ravichandran J.V. <jv************@yahoo.com> wrote in message

news:<#R**************@TK2MSFTNGP14.phx.gbl>...
Check if the Windows login that you are using to access your aspx pages
have the permission to access these pages. If not, you will have to use
impersonation. Set <identity impersonate=true userid= password=/> in the
web.config file.
with regards,
J.V.Ravichandran

Nov 18 '05 #16
Its running on windows 2000 I cannot access the Users in control
panel. IS there some way to do this?

"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message news:<e2**************@TK2MSFTNGP11.phx.gbl>...
As a test, add Network Server, ASPNET and/or IUSR/IWAM to the admin group.
See if it works. If it does, it's a permissions problem. Then "quickly" take
these accounts out of admin, and report your findings back here.

Jeff

Nov 18 '05 #17
Control Panel/Administrative Tools

possibly then under Computer Managment
"ree32" <re***@hotmail.com> wrote in message
news:76**************************@posting.google.c om...
Its running on windows 2000 I cannot access the Users in control
panel. IS there some way to do this?

"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message

news:<e2**************@TK2MSFTNGP11.phx.gbl>...
As a test, add Network Server, ASPNET and/or IUSR/IWAM to the admin group. See if it works. If it does, it's a permissions problem. Then "quickly" take these accounts out of admin, and report your findings back here.

Jeff

Nov 18 '05 #18
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message news:<#B**************@TK2MSFTNGP09.phx.gbl>...
Control Panel/Administrative Tools

possibly then under Computer Managment


The problem is that the computer is a domain controller using active
server directory so I am not sure where to find the user account
names.
Nov 18 '05 #19
"Jeff Dillon" <je**@removeemergencyreporting.com> wrote in message news:<#B**************@TK2MSFTNGP09.phx.gbl>...
Control Panel/Administrative Tools

possibly then under Computer Managment


I found the it in the active directory added ths accounts to the Admin
group and still no luck. Thanks for your help anyway.

Could this problem be caused by not having a web.config file in the
root folder on the intranet folder.
Nov 18 '05 #20

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

Similar topics

1
by: Steven | last post by:
hi all i'm primarily a ASP web developer, so i'm not sure if i can do this or not. i want to allow client's on my site to run a local version of the site off their laptop. i want to give the...
5
by: hugh welford | last post by:
Hi using XP Pro with IIS5 installed on my machine for offline development. I have a DSN set up which points to an ACCESS database saved outside the web in c: drive directory using no system...
3
by: Sara | last post by:
Hi- I am having problem rendering a certain page (asp) in a frameset in IE 6.0.2800.1106 - consistently on several different computers. The page renders outside a frameset in IE and displays...
3
by: J. Campbell | last post by:
In the following example, is there any way to directly access the "outside" variable, j, from the "inside" scope (after the inside j has been created)? Thanks, Joe #include<iostream> ...
25
by: cory | last post by:
Hi, I have an Access database and am having an ASP.NEt application written for it. It is almost complete. I have a hosting company that I signed up with a month ago but before I did anything I...
2
by: TaeHo Yoo | last post by:
In my current web.config, I have these lines ----------------------------------------------------------- <authentication mode="Forms"> <forms name="frmAuthentication" loginUrl="login.aspx" />...
7
by: Kristoffer Arfvidson | last post by:
HI! I have a little question... I need to access a usercontrol (*.ascx) file that is located outside my application directory of my dll... Heres my paths on my server: wwwroot/ --------------...
6
by: Plamen Doykov | last post by:
Hi all I have converted a simple project from ASP.NET 1 to 2.0 with the latest prerelease of Visual Studio 2005. The problem is I can't access internal members from the code behind. It gives:...
6
mikeak2001
by: mikeak2001 | last post by:
hi all, this is my first attempt using a forum so here it goes! I have installed the latest perl-win32 binary from www.apache-asp.org. on testing all the asp pages, everything works, but i want...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.