Re: VPN Error
- From: "Clarence" <clarence@xxxxxxxxxxxx>
- Date: Thu, 20 Apr 2006 09:47:57 -0400
Crina Li,
I had a similar issue which I reesolved by resetting the ASP.Net on both the
Default and Companyweb sites back to v1.1.4322.2300... However, now when
anyone launches IE, instead of getting the default company web page, they
get the following error:
Server Error in '/' Application.
--------------------------------------------------------------------------------
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.
Details: To enable the details of this specific error message to be viewable
on the local server machine, 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 "RemoteOnly". To enable the details to be viewable on
remote machines, please set "mode" to "Off".
<!-- Web.Config Configuration File -->
<configuration>
<system.web>
<customErrors mode="RemoteOnly"/>
</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="On" defaultRedirect="mycustompage.htm"/>
</system.web>
</configuration>
Having follwed your instructions regarding modifying the web.config
(C:\Inetpub\companyweb), I now get more detailed info as follows:
Server Error in '/' Application.
--------------------------------------------------------------------------------
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: Unrecognized attribute
'processRequestInApplicationTrust'.
Source Error:
Line 66: </namespaces>
Line 67: </pages>
Line 68: <trust level="WSS_Minimal" originUrl=""
processRequestInApplicationTrust="false" />
Source File: c:\inetpub\companyweb\web.config Line: 68
--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
Version:1.1.4322.2300
How do I go about correcting this issue?
Note: I omitted Lines 69 which contained 'validation and encrytion key'
info...
""Crina Li"" <v-crinal@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:emft1QqXGHA.932@xxxxxxxxxxxxxxxxxxxxxxxx
Hi LMI,
Thank you for posting in SBS newsgroup.
From the description, do you mean you cannot access the RWW when you VPN
to
SBS and you got the "Server error in '/remote' application"?
Based on my research, there are several causes for this error. We can
check
the following:
1. This issue may occur if the file named Web.config is located in wwwroot
folder. So please go to c:\Inetpub\wwwroot, check whether there is a file
named Web.config, if yes, please try to remove Inetpub\wwwroot\web.config
and then run IISReset. By default, this file does not exist in
inetpub\wwwroot.
2. Check if the Local Service and Network Service accounts do not have
Full
Control to the "Temporary ASP.NET Files" folder. To resolve this issue,
please follow these steps:
1) Add IIS_WPG, Local Service and Network Service account Read & Execute,
List Folder Contents, and Read permissions to
%windir%\Microsoft.NET\Framework\v1.1.4322.
2) Add IIS_WPG, Local Service and Network Service account Full Control
permission to %windir%\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET
Files.
3. Open ''Internet Information Services (IIS) Manager'' console in
''Administrative Tools'' on the SBS 2003 server. Expand <Server
Name>\''Application Pools''. Make sure the DefaltAppPool is running.
4. Expand ''Web Sites''\''Default Web Site''. Right-click ''Remote'' and
click ''Properties''. In the ''Virtual Directory'' tab, check the
''Application settings''. You should see ''Remote'' in the Application
name
bar and ''DefaultAppPool'' in the ''Application pool'' bar. You may refer
to the screen-shoot.
5. Also in the properties window, click ''Directory Security'' tab, click
''Edit'' button. Make sure anonymous access is enabled.
6. Run "iisreset" and then check if the issuer still occurs.
Please also try the solution in the following Knowledge Base article and
see if it helps:
823379 You receive a "Server Error in '/' Application. Access to the path
<path> is denied" error message when you log on to Windows SharePoint
Services
http://support.microsoft.com/?id=823379
In addition, please check the following to see if all are correct:
1. Open IIS manager and then expand Server name | Web Sites | Default Web
Site.
2. Right click Remote and select Properties.
3. On Directory Security tab, click Edit on Authentication and access
control column.
4. Make sure only the following boxes are checked:
Enable anonymous access (IUSER_<ServerName>)
Integrated Windows authentication
5. In the "IP address and domain restrictions" section, click the Edit
button.
6. Make sure "Granted access" is selected and there are no items in the
list box.
7. Click the "Documents" tab.
8. Make sure "Enable default content page" is select and the following
items are listed in order:
Default.htm
Default.asp
index.htm
iisstart.asp
Default.aspx
If any items are missing, please add them and make them the correct order.
9. Click Start->Run, type "iisreset" (without the quotation marks) and
click OK. Then check if RWW works.
If the issue still occurs, please help me collect the following
information:
1. Are there any errors on Event log?
2. Does the situation occur when you access RWW from internal network?
3. Are you using SBS Standard edition or Premium edition? Have you
installed SBS SP1? Have you installed ISA?
4. To perform further research, please follow the steps below to turn off
the friendly error messages and post the detailed message.
1) Make a copy of Inetpub\Remote\Web.config for backup purpose.
2) Open Web.config with Notepad.
3) Replace <customErrors mode="On" defaultRedirect="error.aspx" /> with
<customErrors mode="Off" />.
4) Save the file.
5) Go to command prompt, type "iisreset".
6) Logon to RWW using the administrator account, and also try it using a
regular user account.
7) You should receive a more detailed error message. Please attach the
detailed error message to the newsgroup so that I can better understand
this issue.
8) Replace Web.config with the original one and iisreset when testing is
done.
I appreciate your time and I look forward to hearing from you.
Best regards,
Crina Li (MSFT)
Microsoft CSS Online Newsgroup Support
Get Secure! - www.microsoft.com/security
=====================================================
This newsgroup only focuses on SBS technical issues. If you have issues
regarding other Microsoft products, you'd better post in the corresponding
newsgroups so that they can be resolved in an efficient and timely manner.
You can locate the newsgroup here:
http://www.microsoft.com/communities/newsgroups/en-us/default.aspx
When opening a new thread via the web interface, we recommend you check
the
"Notify me of replies" box to receive e-mail notifications when there are
any updates in your thread. When responding to posts via your newsreader,
please "Reply to Group" so that others may learn and benefit from your
issue.
Microsoft engineers can only focus on one issue per thread. Although we
provide other information for your reference, we recommend you post
different incidents in different threads to keep the thread clean. In
doing
so, it will ensure your issues are resolved in a timely manner.
For urgent issues, you may want to contact Microsoft CSS directly. Please
check http://support.microsoft.com for regional support phone numbers.
Any input or comments in this thread are highly appreciated.
=====================================================
This posting is provided "AS IS" with no warranties, and confers no
rights.
--------------------
| Thread-Topic: VPN Error
| thread-index: AcZeNOxs5fx5hNFrR+uQLmyVkaSgfQ==
| X-WBNR-Posting-Host: 67.108.88.52
| From: =?Utf-8?B?TE1J?= <LMI@xxxxxxxxxxxxxxxxxxxxxxxxx>
| Subject: VPN Error
| Date: Wed, 12 Apr 2006 06:28:02 -0700
| Lines: 41
| Message-ID: <41AB1F01-8B19-4F20-A34C-A9311C03C8F7@xxxxxxxxxxxxx>
| MIME-Version: 1.0
| Content-Type: text/plain;
| charset="Utf-8"
| Content-Transfer-Encoding: 7bit
| X-Newsreader: Microsoft CDO for Windows 2000
| Content-Class: urn:content-classes:message
| Importance: normal
| Priority: normal
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.3790.1830
| Newsgroups: microsoft.public.windows.server.sbs
| Path: TK2MSFTNGXA01.phx.gbl
| Xref: TK2MSFTNGXA01.phx.gbl microsoft.public.windows.server.sbs:259845
| NNTP-Posting-Host: TK2MSFTNGXA01.phx.gbl 10.40.2.250
| X-Tomcat-NG: microsoft.public.windows.server.sbs
|
| I get this error when i try and log in as VPN user
|
|
| Server Error in '/Remote' Application.
----------------------------------------------------------------------------
----
|
| Failed to map the path '/'.
| 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.Web.HttpException: Failed to map the path '/'.
|
| Source Error:
|
| An unhandled exception was generated during the execution of the current
web
| request. Information regarding the origin and location of the exception
can
| be identified using the exception stack trace below.
|
| Stack Trace:
|
|
| [HttpException (0x80004005): Failed to map the path '/'.]
|
|
System.Web.Hosting.ISAPIWorkerRequestInProcForIIS6.MapPathSlowUsingIISCore(S
tring path) +240
| System.Web.Hosting.ISAPIWorkerRequest.MapPath(String path) +419
| System.Web.Configuration.HttpConfigurationSystem.ComposeConfig(String
| reqPath, IHttpMapPath configmap) +516
| System.Web.HttpContext.GetCompleteConfigRecord(String reqpath,
| IHttpMapPath configmap) +434
| System.Web.HttpContext.GetCompleteConfig() +49
| System.Web.HttpContext.GetConfig(String name) +195
| System.Web.CustomErrors.GetSettings(HttpContext context, Boolean
| canThrow) +20
| System.Web.HttpResponse.ReportRuntimeError(Exception e, Boolean
canThrow)
| +40
| System.Web.HttpRuntime.FinishRequest(HttpWorkerRequest wr,
HttpContext
| context, Exception e) +485
|
|
|
|
.
- Follow-Ups:
- Re: VPN Error
- From: "Crina Li"
- Re: VPN Error
- References:
- RE: VPN Error
- From: "Crina Li"
- RE: VPN Error
- Prev by Date: Re: Setup of 2nd server
- Next by Date: Re: VPN and remote desktop questions
- Previous by thread: RE: VPN Error
- Next by thread: Re: VPN Error
- Index(es):
Loading