473,654 Members | 3,043 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Turning Custom Errors off

Hello I am working locally with Visual Web Developer 2005 Express. Before I
even installed it, the information from Microsoft was that you could FTP it
to a remote site and it should work. The site I FTP'd to has .Net Framework
2.0 installed. I got this error when I tried to open the site:

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 -->

<configuratio n>
<system.web>
<customErrors mode="Off"/>
</system.web>
</configuration>

I pasted the line
<customErrors mode="Off"/>

into the web.config file within the <system.web> tags but still getting the
same page, and not an error page. I'm not sure why there would be an error.

Thanks for any help and God Bless,

Mark A. Sam


Mar 13 '06 #1
8 3626

Can you add your web.config file?
--------------------
From: "Mark A. Sam" <ms**@Plan-It-Earth.Net>
Subject: Turning Custom Errors off
Date: Mon, 13 Mar 2006 10:16:52 -0500
Lines: 41
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <#F************ **@TK2MSFTNGP10 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.genera l,microsoft.pub lic.vstudio.gen eralNNTP-Posting-Host: dunkirk-cuda1-24-50-80-102.lkwnny.adel phia.net 24.50.80.102Path: TK2MSFTNGXA03.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP10.phx. gbl
Xref: TK2MSFTNGXA03.p hx.gbl microsoft.publi c.vstudio.gener al:12093 microsoft.publi c.dotnet.genera l:191042X-Tomcat-NG: microsoft.publi c.dotnet.genera l

Hello I am working locally with Visual Web Developer 2005 Express. Before Ieven installed it, the information from Microsoft was that you could FTP itto a remote site and it should work. The site I FTP'd to has .Net Framework2.0 installed. I got this error when I tried to open the site:

Runtime Error
Description: An application error occurred on the server. The current customerror 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 viewableon remote machines, please create a <customErrors > tag within a "web.config "configuratio n 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>

I pasted the line
<customError s mode="Off"/>

into the web.config file within the <system.web> tags but still getting thesame page, and not an error page. I'm not sure why there would be an error.
Thanks for any help and God Bless,

Mark A. Sam



--

Thank You,
Nanda Lella,

This Posting is provided "AS IS" with no warranties, and confers no rights.

Mar 13 '06 #2

"Nanda Lella[MSFT]" <Na****@online. microsoft.com> wrote in message
news:$z******** ******@TK2MSFTN GXA03.phx.gbl.. .

Can you add your web.config file?

Yes, Thank you. The line is after the first <system .web> tag

<?xml version="1.0"?>

<!--

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config. comments usually located in

\Windows\Micros oft.Net\Framewo rk\v2.x\Config

-->

<configuratio n>

<appSettings/>

<connectionStri ngs/>

<system.web>

<customErrors mode="Off"/>

<!--

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

Visual Basic options:

Set strict="true" to disallow all data type conversions

where data loss can occur.

Set explicit="true" to force declaration of all variables.

-->

<compilation debug="false" strict="false" explicit="true" />

<pages>

<namespaces>

<clear />

<add namespace="Syst em" />

<add namespace="Syst em.Collections" />

<add namespace="Syst em.Collections. Specialized" />

<add namespace="Syst em.Configuratio n" />

<add namespace="Syst em.Text" />

<add namespace="Syst em.Text.Regular Expressions" />

<add namespace="Syst em.Web" />

<add namespace="Syst em.Web.Caching" />

<add namespace="Syst em.Web.SessionS tate" />

<add namespace="Syst em.Web.Security " />

<add namespace="Syst em.Web.Profile" />

<add namespace="Syst em.Web.UI" />

<add namespace="Syst em.Web.UI.WebCo ntrols" />

<add namespace="Syst em.Web.UI.WebCo ntrols.WebParts " />

<add namespace="Syst em.Web.UI.HtmlC ontrols" />

</namespaces>

</pages>

<!--

The <authentication > section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

-->

<authenticati on mode="Windows" />

<!--

The <customErrors > section enables configuration

of what to do if/when an unhandled error occurs

during the execution of a request. Specifically,

it enables developers to configure html error pages

to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnl y" defaultRedirect ="GenericErrorP age.htm">

<error statusCode="403 " redirect="NoAcc ess.htm" />

<error statusCode="404 " redirect="FileN otFound.htm" />

</customErrors>

-->

</system.web>

</configuration>
Mar 13 '06 #3
Your web.config file looks fine.

Have you verified t the framework version that is being used on the remote
machine?(The machine that you have FTPed to)
Make sure that IIS is using framework 2.0. If you are not sure, you can run
the aspnet_regiis.e xe tool that resides in the folder
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 assuming your are using the
framework version 2.0.50727. You have to run this tool from command prompt
with an option -i.

aspnet_regiis.e xe -i

I believe this is the problem.

Also I see that you are using Windows authentication. Make sure the user,
who is using the website has the required credentials. Otherwise change the
authentication mode.

Let me know if the problem is solved.

--------------------
From: "Mark A. Sam" <ms**@Plan-It-Earth.Net>
References: <#F************ **@TK2MSFTNGP10 .phx.gbl> <$z************ **@TK2MSFTNGXA0 3.phx.gbl>Subject: Re: Turning Custom Errors off
Date: Mon, 13 Mar 2006 15:08:14 -0500
Lines: 140
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <#q************ **@TK2MSFTNGP11 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.genera l
NNTP-Posting-Host: dunkirk-cuda1-24-50-80-102.lkwnny.adel phia.net 24.50.80.102Path: TK2MSFTNGXA03.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP11.phx. gbl
Xref: TK2MSFTNGXA03.p hx.gbl microsoft.publi c.dotnet.genera l:191075
X-Tomcat-NG: microsoft.publi c.dotnet.genera l
"Nanda Lella[MSFT]" <Na****@online. microsoft.com> wrote in message
news:$z******* *******@TK2MSFT NGXA03.phx.gbl. ..

Can you add your web.config file?

Yes, Thank you. The line is after the first <system .web> tag

<?xml version="1.0"?>

<!--

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config .comments usually located in

\Windows\Micro soft.Net\Framew ork\v2.x\Config

-->

<configuration >

<appSettings/>

<connectionStr ings/>

<system.web>

<customError s mode="Off"/>

<!--

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

Visual Basic options:

Set strict="true" to disallow all data type conversions

where data loss can occur.

Set explicit="true" to force declaration of all variables.

-->

<compilation debug="false" strict="false" explicit="true" />

<pages>

<namespaces>

<clear />

<add namespace="Syst em" />

<add namespace="Syst em.Collections" />

<add namespace="Syst em.Collections. Specialized" />

<add namespace="Syst em.Configuratio n" />

<add namespace="Syst em.Text" />

<add namespace="Syst em.Text.Regular Expressions" />

<add namespace="Syst em.Web" />

<add namespace="Syst em.Web.Caching" />

<add namespace="Syst em.Web.SessionS tate" />

<add namespace="Syst em.Web.Security " />

<add namespace="Syst em.Web.Profile" />

<add namespace="Syst em.Web.UI" />

<add namespace="Syst em.Web.UI.WebCo ntrols" />

<add namespace="Syst em.Web.UI.WebCo ntrols.WebParts " />

<add namespace="Syst em.Web.UI.HtmlC ontrols" />

</namespaces>

</pages>

<!--

The <authentication > section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

-->

<authenticatio n mode="Windows" />

<!--

The <customErrors > section enables configuration

of what to do if/when an unhandled error occurs

during the execution of a request. Specifically,

it enables developers to configure html error pages

to be displayed in place of a error stack trace.

<customError s mode="RemoteOnl y" defaultRedirect ="GenericErrorP age.htm">

<error statusCode="403 " redirect="NoAcc ess.htm" />

<error statusCode="404 " redirect="FileN otFound.htm" />

</customErrors>

-->

</system.web>

</configuration>


--

Thank You,
Nanda Lella,

This Posting is provided "AS IS" with no warranties, and confers no rights.

Mar 13 '06 #4
I don't have access to the folder you listed. This is a hosted site, but I
emailed tech support to verify that .net framework 2.0 is installed. I am
not sure why you cited IIS. I recall from the information on the microsoft
site that one advange of using ASP.net is that you don't need IIS.

As long as you are gonig to monitor this, maybe you can help me with another
issue before I post it. I placed some .jpg images on a page and tried to
replaced them with .gif images with the same names, and cannot remove them.
I began by changing the extentions from .jpg to .giv in the properties
sheet. This had the effect of both sets of images being on the form. I
then tried and tried to delete the .jpg's, but they keep returning. They
show that they are deleted until I open the page in a browser or I close and
open the page in design view. This page is not associated with any master
pages.

Thanks for the help and God Bless,

Mark
"Nanda Lella[MSFT]" <Na****@online. microsoft.com> wrote in message
news:Co******** ******@TK2MSFTN GXA03.phx.gbl.. .
Your web.config file looks fine.

Have you verified t the framework version that is being used on the remote
machine?(The machine that you have FTPed to)
Make sure that IIS is using framework 2.0. If you are not sure, you can
run
the aspnet_regiis.e xe tool that resides in the folder
C:\WINDOWS\Micr osoft.NET\Frame work\v2.0.50727 assuming your are using the
framework version 2.0.50727. You have to run this tool from command prompt
with an option -i.

aspnet_regiis.e xe -i

I believe this is the problem.

Also I see that you are using Windows authentication. Make sure the user,
who is using the website has the required credentials. Otherwise change
the
authentication mode.

Let me know if the problem is solved.

--------------------
From: "Mark A. Sam" <ms**@Plan-It-Earth.Net>
References: <#F************ **@TK2MSFTNGP10 .phx.gbl>

<$z************ **@TK2MSFTNGXA0 3.phx.gbl>
Subject: Re: Turning Custom Errors off
Date: Mon, 13 Mar 2006 15:08:14 -0500
Lines: 140
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <#q************ **@TK2MSFTNGP11 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.genera l
NNTP-Posting-Host: dunkirk-cuda1-24-50-80-102.lkwnny.adel phia.net

24.50.80.102
Path: TK2MSFTNGXA03.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP11.phx. gbl
Xref: TK2MSFTNGXA03.p hx.gbl microsoft.publi c.dotnet.genera l:191075
X-Tomcat-NG: microsoft.publi c.dotnet.genera l
"Nanda Lella[MSFT]" <Na****@online. microsoft.com> wrote in message
news:$z****** ********@TK2MSF TNGXA03.phx.gbl ...

Can you add your web.config file?

Yes, Thank you. The line is after the first <system .web> tag

<?xml version="1.0"?>

<!--

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.confi g.comments usually located in

\Windows\Micr osoft.Net\Frame work\v2.x\Confi g

-->

<configuratio n>

<appSetting s/>

<connectionSt rings/>

<system.web >

<customErro rs mode="Off"/>

<!--

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

Visual Basic options:

Set strict="true" to disallow all data type conversions

where data loss can occur.

Set explicit="true" to force declaration of all variables.

-->

<compilatio n debug="false" strict="false" explicit="true" />

<pages>

<namespaces >

<clear />

<add namespace="Syst em" />

<add namespace="Syst em.Collections" />

<add namespace="Syst em.Collections. Specialized" />

<add namespace="Syst em.Configuratio n" />

<add namespace="Syst em.Text" />

<add namespace="Syst em.Text.Regular Expressions" />

<add namespace="Syst em.Web" />

<add namespace="Syst em.Web.Caching" />

<add namespace="Syst em.Web.SessionS tate" />

<add namespace="Syst em.Web.Security " />

<add namespace="Syst em.Web.Profile" />

<add namespace="Syst em.Web.UI" />

<add namespace="Syst em.Web.UI.WebCo ntrols" />

<add namespace="Syst em.Web.UI.WebCo ntrols.WebParts " />

<add namespace="Syst em.Web.UI.HtmlC ontrols" />

</namespaces>

</pages>

<!--

The <authentication > section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

-->

<authenticati on mode="Windows" />

<!--

The <customErrors > section enables configuration

of what to do if/when an unhandled error occurs

during the execution of a request. Specifically,

it enables developers to configure html error pages

to be displayed in place of a error stack trace.

<customErro rs mode="RemoteOnl y" defaultRedirect ="GenericErrorP age.htm">

<error statusCode="403 " redirect="NoAcc ess.htm" />

<error statusCode="404 " redirect="FileN otFound.htm" />

</customErrors>

-->

</system.web>

</configuration>


--

Thank You,
Nanda Lella,

This Posting is provided "AS IS" with no warranties, and confers no
rights.

Mar 14 '06 #5
The support tech remmed out the connectionstrin gs
<!-- <connectionStri ngs/>-->
node and now I get the error:
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: Child nodes are not allowed.

Source Error:
Line 26: <compilation debug="false" strict="false" explicit="true"
/>
Line 27: <pages>
Line 28: <namespaces>
Line 29: <clear />
Line 30: <add namespace="Syst em" />
Source File: C:\Domains\drag onimporting.com \wwwroot\web.co nfig Line: 28

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.432 2.2300; ASP.NET
Version:1.1.432 2.2300

I'll post the web.config again: Thank you again for the help. I resolved
the issue with the .jpgs by deleting the images then copy and pasting them
to a new webform page. Maybe this was a fluke..
<?xml version="1.0"?>

<!--

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config. comments usually located in

\Windows\Micros oft.Net\Framewo rk\v2.x\Config

-->

<configuratio n>

<appSettings/>

<!-- <connectionStri ngs/>-->

<system.web>
<!--

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

Visual Basic options:

Set strict="true" to disallow all data type conversions

where data loss can occur.

Set explicit="true" to force declaration of all variables.

-->

<compilation debug="false" strict="false" explicit="true" />

<pages>

<namespaces>

<clear />

<add namespace="Syst em" />

<add namespace="Syst em.Collections" />

<add namespace="Syst em.Collections. Specialized" />

<add namespace="Syst em.Configuratio n" />

<add namespace="Syst em.Text" />

<add namespace="Syst em.Text.Regular Expressions" />

<add namespace="Syst em.Web" />

<add namespace="Syst em.Web.Caching" />

<add namespace="Syst em.Web.SessionS tate" />

<add namespace="Syst em.Web.Security " />

<add namespace="Syst em.Web.Profile" />

<add namespace="Syst em.Web.UI" />

<add namespace="Syst em.Web.UI.WebCo ntrols" />

<add namespace="Syst em.Web.UI.WebCo ntrols.WebParts " />

<add namespace="Syst em.Web.UI.HtmlC ontrols" />

</namespaces>

</pages>

<!--

The <authentication > section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

-->

<authenticati on mode="Windows" />

<!--

The <customErrors > section enables configuration

of what to do if/when an unhandled error occurs

during the execution of a request. Specifically,

it enables developers to configure html error pages

to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnl y" defaultRedirect ="GenericErrorP age.htm">

<error statusCode="403 " redirect="NoAcc ess.htm" />

<error statusCode="404 " redirect="FileN otFound.htm" />

</customErrors>

-->

<customErrors mode="Off" />

</system.web>

</configuration>




Mar 14 '06 #6
I think I see the problem It looks like this is running framework version
1.1.

Version Information: Microsoft .NET Framework Version:1.1.432 2.2300; ASP.NET
Version:1.1.432 2.2300

Am I reading it correctly?

"Mark A. Sam" <ms**@Plan-It-Earth.Net> wrote in message
news:OB******** ******@TK2MSFTN GP09.phx.gbl...
The support tech remmed out the connectionstrin gs
<!-- <connectionStri ngs/>-->
node and now I get the error:
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: Child nodes are not allowed.

Source Error:
Line 26: <compilation debug="false" strict="false" explicit="true"
/>
Line 27: <pages>
Line 28: <namespaces>
Line 29: <clear />
Line 30: <add namespace="Syst em" />
Source File: C:\Domains\drag onimporting.com \wwwroot\web.co nfig Line: 28

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:1.1.432 2.2300;
ASP.NET Version:1.1.432 2.2300

I'll post the web.config again: Thank you again for the help. I resolved
the issue with the .jpgs by deleting the images then copy and pasting them
to a new webform page. Maybe this was a fluke..
<?xml version="1.0"?>

<!--

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config. comments usually located in

\Windows\Micros oft.Net\Framewo rk\v2.x\Config

-->

<configuratio n>

<appSettings/>

<!-- <connectionStri ngs/>-->

<system.web>
<!--

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

Visual Basic options:

Set strict="true" to disallow all data type conversions

where data loss can occur.

Set explicit="true" to force declaration of all variables.

-->

<compilation debug="false" strict="false" explicit="true" />

<pages>

<namespaces>

<clear />

<add namespace="Syst em" />

<add namespace="Syst em.Collections" />

<add namespace="Syst em.Collections. Specialized" />

<add namespace="Syst em.Configuratio n" />

<add namespace="Syst em.Text" />

<add namespace="Syst em.Text.Regular Expressions" />

<add namespace="Syst em.Web" />

<add namespace="Syst em.Web.Caching" />

<add namespace="Syst em.Web.SessionS tate" />

<add namespace="Syst em.Web.Security " />

<add namespace="Syst em.Web.Profile" />

<add namespace="Syst em.Web.UI" />

<add namespace="Syst em.Web.UI.WebCo ntrols" />

<add namespace="Syst em.Web.UI.WebCo ntrols.WebParts " />

<add namespace="Syst em.Web.UI.HtmlC ontrols" />

</namespaces>

</pages>

<!--

The <authentication > section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

-->

<authenticati on mode="Windows" />

<!--

The <customErrors > section enables configuration

of what to do if/when an unhandled error occurs

during the execution of a request. Specifically,

it enables developers to configure html error pages

to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnl y" defaultRedirect ="GenericErrorP age.htm">

<error statusCode="403 " redirect="NoAcc ess.htm" />

<error statusCode="404 " redirect="FileN otFound.htm" />

</customErrors>

-->

<customErrors mode="Off" />

</system.web>

</configuration>



Mar 14 '06 #7
The problem is resolved. They configured the site to framework 2.0.

Thanks again for your time and help.

God Bless,

Mark
Mar 14 '06 #8

Thank you,
Glad to see that you were able to resolve the problem.
--------------------
From: "Mark A. Sam" <ms**@Plan-It-Earth.Net>
References: <#F************ **@TK2MSFTNGP10 .phx.gbl> <$z************ **@TK2MSFTNGXA0 3.phx.gbl>
<#q************ **@TK2MSFTNGP11 .phx.gbl>
<Co************ **@TK2MSFTNGXA0 3.phx.gbl>Subject: Resolved
Date: Tue, 14 Mar 2006 07:19:58 -0500
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
Message-ID: <#$************ **@TK2MSFTNGP10 .phx.gbl>
Newsgroups: microsoft.publi c.dotnet.genera l
NNTP-Posting-Host: dunkirk-cuda1-24-50-80-102.lkwnny.adel phia.net 24.50.80.102Path: TK2MSFTNGXA03.p hx.gbl!TK2MSFTN GP08.phx.gbl!TK 2MSFTNGP10.phx. gbl
Xref: TK2MSFTNGXA03.p hx.gbl microsoft.publi c.dotnet.genera l:191131
X-Tomcat-NG: microsoft.publi c.dotnet.genera l

The problem is resolved. They configured the site to framework 2.0.

Thanks again for your time and help.

God Bless,

Mark


--

Thank You,
Nanda Lella,

This Posting is provided "AS IS" with no warranties, and confers no rights.

Mar 14 '06 #9

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

Similar topics

1
4203
by: Tamas Demjen | last post by:
I started to experiment with VC++ 2005 Beta1. So far everything went fine, and already have a working project, but soon I realized that the compiler was ancient (not supporting half of the C++/CLI standard). So I downloaded the VC++ 2005 Tools Refresh (http://tinyurl.com/5mdq2). After that I tried to do a full rebuild, but my project wouldn't link anymore. I get the following errors: MSVCMRTD.lib(mstartup.obj) : error LNK2022: metadata...
4
1913
by: Jon Spivey | last post by:
Hi, I've set up a custom error like this <customErrors mode="On" defaultRedirect="ErrorPage.aspx"> <error statusCode="404" redirect="error404.aspx" /> </customErrors> So requests for NoSuchPage.aspx are routed to error404.aspx. Good. But it seems that requests for any other file extension (*.htm) or requests without a filename (eg www.site.com/nosuchfolder) are routed to the default 404
2
2528
by: Matt | last post by:
Hello all, The app we are working on uses custom errors extensively to provide friendly error pages to users whilst logging the actual exceptions behind the scenes. However.... We are now having to integrate some Web services into the application using the existing architecture. These Web services are secured using Forms Authentication. Hence, we need to turn the default behavior of Forms Authentication (redirects to login pages, etc)...
6
2830
by: Nick Horrocks | last post by:
I have set up a custom error page for 404 errors. However the HTTP status code returned is 302 followed by 200, this causes search engines not to remove old pages from their index. How can I get the correct status code to be returned? Thanks
5
2098
by: Richard | last post by:
I have been struggling with this for days. I feel I must be missing something simple, and I will be eternally grateful for any help. I'm using VS.NET 2003 on XP Pro Sp2. I searched and found several examples of Custom Error pages for ASP.NET and nothing seemed to work. I zeroed in on "Server.GetLastError" and found it was always "Nothing". This is in my web.config: <customErrors mode="On" defaultRedirect="error/errors.aspx" /> In...
0
1575
by: gilly3 | last post by:
I'm coming across all kinds of frustration implementing custom errors in ASP.NET 1.1. First, 401 - Authorization Failed My application uses Windows Integrated Authentication, and restricts access to a single Windows User Group like this (in web.config): <authorization> <allow roles="Domain\UserGroup" />
2
19457
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge. I would be using layman's words, or maybe, my own words as how I understand them, hoping, you will understand it the same way that...
0
1383
by: Bobby | last post by:
Hi, I'm using an Access 2007 database which has been converted from 2003. In 2003 it had custom toolbars. When I converted to 2007, the custom toolbars were displayed as "Add-ins". I have 30 users who can all see these "Add-ins", but one user does not see them. Can anybody explain why this might be? Is there a way of turning Add-ins on or off? Thanks for any help
0
2897
hyperpau
by: hyperpau | last post by:
Before anything else, I am not a very technical expert when it comes to VBA coding. I learned most of what I know by the excellent Access/VBA forum from bytes.com (formerly thescripts.com). Ergo, I will be writing this article intended for those who are in the same level, or maybe lower, of my technical knowledge. I would be using layman's words, or maybe, my own words as how I understand them, hoping, you will understand it the same way that...
0
8285
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
8814
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
8475
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,...
1
6160
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5621
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
4149
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
4293
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1915
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1592
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.