Go Back   Velocity Reviews > Newsgroups > ASP Net
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

ASP Net - RE: Strange problem running app remotely

 
Thread Tools Search this Thread
Old 07-21-2004, 06:42 PM   #1
Default RE: Strange problem running app remotely


John,

Did you make the indicated changes to the web.config file?

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support


This post is provided "AS-IS" with no warranties and confers no rights.


--------------------
>From: "John" <>
>Subject: Strange problem running app remotely
>Date: Wed, 21 Jul 2004 14:28:34 +0100
>Lines: 346
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
>Message-ID: <#>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
>Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:248782
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>Hi
>
>I have a very simply app (attached) which works fine on my local win2k
>server but when I upload to a remote server I get the error given at the
>end. As I can see no specific error message, I have no idea what the

problem
>is. How can I proceed form here to solve this problem?
>
>Thanks
>
>Regards
>
>
>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 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".
>
>
>
>




Jim Cheshire [MSFT]
  Reply With Quote
Old 07-21-2004, 07:26 PM   #2
John
 
Posts: n/a
Default Re: Strange problem running app remotely

I think I have done it correctly. Here is the web.config. file I am using.

<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<compilation defaultLanguage="vb" debug="true" />
<customErrors mode="Off" />
<authentication mode="None" />
<authorization>
<allow users="*" /> <!-- Allow all users -->
</authorization>
<trace enabled="true" requestLimit="10" pageOutput="true"
traceMode="SortByTime" localOnly="true" />
<sessionState
mode="InProc"
stateConnectionString="tcpip=127.0.0.1:42424"
sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
cookieless="false"
timeout="20"
/>
<globalization requestEncoding="utf-8" responseEncoding="utf-8" />
</system.web>
</configuration>

"Jim Cheshire [MSFT]" <> wrote in message
news:...
> John,
>
> Did you make the indicated changes to the web.config file?
>
> Jim Cheshire [MSFT]
> MCP+I, MCSE, MCSD, MCDBA
> Microsoft Developer Support
>
>
> This post is provided "AS-IS" with no warranties and confers no rights.
>
>
> --------------------
> >From: "John" <>
> >Subject: Strange problem running app remotely
> >Date: Wed, 21 Jul 2004 14:28:34 +0100
> >Lines: 346
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
> >Message-ID: <#>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet
> >NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
> >Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.framework.aspnet:248782
> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> >
> >Hi
> >
> >I have a very simply app (attached) which works fine on my local win2k
> >server but when I upload to a remote server I get the error given at the
> >end. As I can see no specific error message, I have no idea what the

> problem
> >is. How can I proceed form here to solve this problem?
> >
> >Thanks
> >
> >Regards
> >
> >
> >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 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".
> >
> >
> >
> >

>





John
  Reply With Quote
Old 07-21-2004, 08:27 PM   #3
Jim Cheshire [MSFT]
 
Posts: n/a
Default Re: Strange problem running app remotely
John,

If you made that change and this is still happening, it indicates an error
occurring before the processing of the web.config file. Can you browse the
server from the console? If not, can you try an ASPX page in a different
site on the same box?

Jim Cheshire [MSFT]
MCP+I, MCSE, MCSD, MCDBA
Microsoft Developer Support


This post is provided "AS-IS" with no warranties and confers no rights.


--------------------
>From: "John" <>
>References: <#>

<>
>Subject: Re: Strange problem running app remotely
>Date: Wed, 21 Jul 2004 19:26:30 +0100
>Lines: 95
>X-Priority: 3
>X-MSMail-Priority: Normal
>X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
>X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
>Message-ID: <>
>Newsgroups: microsoft.public.dotnet.framework.aspnet
>NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
>Path:

cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP10
.phx.gbl
>Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet:248917
>X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>
>
>I think I have done it correctly. Here is the web.config. file I am using.
>
><?xml version="1.0" encoding="utf-8" ?>
><configuration>
> <system.web>
> <compilation defaultLanguage="vb" debug="true" />
> <customErrors mode="Off" />
> <authentication mode="None" />
> <authorization>
> <allow users="*" /> <!-- Allow all users -->
> </authorization>
> <trace enabled="true" requestLimit="10" pageOutput="true"
>traceMode="SortByTime" localOnly="true" />
> <sessionState
> mode="InProc"
> stateConnectionString="tcpip=127.0.0.1:42424"
> sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
> cookieless="false"
> timeout="20"
> />
> <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
> </system.web>
></configuration>
>
>"Jim Cheshire [MSFT]" <> wrote in message
>news:...
>> John,
>>
>> Did you make the indicated changes to the web.config file?
>>
>> Jim Cheshire [MSFT]
>> MCP+I, MCSE, MCSD, MCDBA
>> Microsoft Developer Support
>>
>>
>> This post is provided "AS-IS" with no warranties and confers no rights.
>>
>>
>> --------------------
>> >From: "John" <>
>> >Subject: Strange problem running app remotely
>> >Date: Wed, 21 Jul 2004 14:28:34 +0100
>> >Lines: 346
>> >X-Priority: 3
>> >X-MSMail-Priority: Normal
>> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
>> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
>> >Message-ID: <#>
>> >Newsgroups: microsoft.public.dotnet.framework.aspnet
>> >NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
>> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
>> >Xref: cpmsftngxa06.phx.gbl

>microsoft.public.dotnet.framework.aspnet:248782
>> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
>> >
>> >Hi
>> >
>> >I have a very simply app (attached) which works fine on my local win2k
>> >server but when I upload to a remote server I get the error given at the
>> >end. As I can see no specific error message, I have no idea what the

>> problem
>> >is. How can I proceed form here to solve this problem?
>> >
>> >Thanks
>> >
>> >Regards
>> >
>> >
>> >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 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".
>> >
>> >
>> >
>> >

>>

>
>
>




Jim Cheshire [MSFT]
  Reply With Quote
Old 07-22-2004, 02:24 AM   #4
John
 
Posts: n/a
Default Re: Strange problem running app remotely
The app doesn't run from the site root folder as well. Any ideas?

Thanks

Regards


"Jim Cheshire [MSFT]" <> wrote in message
news:...
> John,
>
> If you made that change and this is still happening, it indicates an error
> occurring before the processing of the web.config file. Can you browse

the
> server from the console? If not, can you try an ASPX page in a different
> site on the same box?
>
> Jim Cheshire [MSFT]
> MCP+I, MCSE, MCSD, MCDBA
> Microsoft Developer Support
>
>
> This post is provided "AS-IS" with no warranties and confers no rights.
>
>
> --------------------
> >From: "John" <>
> >References: <#>

> <>
> >Subject: Re: Strange problem running app remotely
> >Date: Wed, 21 Jul 2004 19:26:30 +0100
> >Lines: 95
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
> >Message-ID: <>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet
> >NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
> >Path:

>

cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP10
> phx.gbl
> >Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.framework.aspnet:248917
> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> >
> >
> >I think I have done it correctly. Here is the web.config. file I am

using.
> >
> ><?xml version="1.0" encoding="utf-8" ?>
> ><configuration>
> > <system.web>
> > <compilation defaultLanguage="vb" debug="true" />
> > <customErrors mode="Off" />
> > <authentication mode="None" />
> > <authorization>
> > <allow users="*" /> <!-- Allow all users -->
> > </authorization>
> > <trace enabled="true" requestLimit="10" pageOutput="true"
> >traceMode="SortByTime" localOnly="true" />
> > <sessionState
> > mode="InProc"
> > stateConnectionString="tcpip=127.0.0.1:42424"
> > sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
> > cookieless="false"
> > timeout="20"
> > />
> > <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
> > </system.web>
> ></configuration>
> >
> >"Jim Cheshire [MSFT]" <> wrote in message
> >news:...
> >> John,
> >>
> >> Did you make the indicated changes to the web.config file?
> >>
> >> Jim Cheshire [MSFT]
> >> MCP+I, MCSE, MCSD, MCDBA
> >> Microsoft Developer Support
> >>
> >>
> >> This post is provided "AS-IS" with no warranties and confers no rights.
> >>
> >>
> >> --------------------
> >> >From: "John" <>
> >> >Subject: Strange problem running app remotely
> >> >Date: Wed, 21 Jul 2004 14:28:34 +0100
> >> >Lines: 346
> >> >X-Priority: 3
> >> >X-MSMail-Priority: Normal
> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
> >> >Message-ID: <#>
> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
> >> >NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
> >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
> >> >Xref: cpmsftngxa06.phx.gbl

> >microsoft.public.dotnet.framework.aspnet:248782
> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> >> >
> >> >Hi
> >> >
> >> >I have a very simply app (attached) which works fine on my local win2k
> >> >server but when I upload to a remote server I get the error given at

the
> >> >end. As I can see no specific error message, I have no idea what the
> >> problem
> >> >is. How can I proceed form here to solve this problem?
> >> >
> >> >Thanks
> >> >
> >> >Regards
> >> >
> >> >
> >> >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 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".
> >> >
> >> >
> >> >
> >> >
> >>

> >
> >
> >

>





John
  Reply With Quote
Old 07-22-2004, 02:59 AM   #5
John
 
Posts: n/a
Default Re: Strange problem running app remotely
OK. I am using a second remote server and am getting the below message. Any
ideas?

Thanks

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 4: <compilation defaultLanguage="vb" debug="true" />
Line 5: <customErrors mode="Off" />
Line 6: <authentication mode="None" />
Line 7: <authorization>
Line 8: <allow users="*" /> <!-- Allow all users -->


"Jim Cheshire [MSFT]" <> wrote in message
news:...
> John,
>
> If you made that change and this is still happening, it indicates an error
> occurring before the processing of the web.config file. Can you browse

the
> server from the console? If not, can you try an ASPX page in a different
> site on the same box?
>
> Jim Cheshire [MSFT]
> MCP+I, MCSE, MCSD, MCDBA
> Microsoft Developer Support
>
>
> This post is provided "AS-IS" with no warranties and confers no rights.
>
>
> --------------------
> >From: "John" <>
> >References: <#>

> <>
> >Subject: Re: Strange problem running app remotely
> >Date: Wed, 21 Jul 2004 19:26:30 +0100
> >Lines: 95
> >X-Priority: 3
> >X-MSMail-Priority: Normal
> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
> >Message-ID: <>
> >Newsgroups: microsoft.public.dotnet.framework.aspnet
> >NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
> >Path:

>

cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP10
> phx.gbl
> >Xref: cpmsftngxa06.phx.gbl

microsoft.public.dotnet.framework.aspnet:248917
> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> >
> >
> >I think I have done it correctly. Here is the web.config. file I am

using.
> >
> ><?xml version="1.0" encoding="utf-8" ?>
> ><configuration>
> > <system.web>
> > <compilation defaultLanguage="vb" debug="true" />
> > <customErrors mode="Off" />
> > <authentication mode="None" />
> > <authorization>
> > <allow users="*" /> <!-- Allow all users -->
> > </authorization>
> > <trace enabled="true" requestLimit="10" pageOutput="true"
> >traceMode="SortByTime" localOnly="true" />
> > <sessionState
> > mode="InProc"
> > stateConnectionString="tcpip=127.0.0.1:42424"
> > sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
> > cookieless="false"
> > timeout="20"
> > />
> > <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
> > </system.web>
> ></configuration>
> >
> >"Jim Cheshire [MSFT]" <> wrote in message
> >news:...
> >> John,
> >>
> >> Did you make the indicated changes to the web.config file?
> >>
> >> Jim Cheshire [MSFT]
> >> MCP+I, MCSE, MCSD, MCDBA
> >> Microsoft Developer Support
> >>
> >>
> >> This post is provided "AS-IS" with no warranties and confers no rights.
> >>
> >>
> >> --------------------
> >> >From: "John" <>
> >> >Subject: Strange problem running app remotely
> >> >Date: Wed, 21 Jul 2004 14:28:34 +0100
> >> >Lines: 346
> >> >X-Priority: 3
> >> >X-MSMail-Priority: Normal
> >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
> >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
> >> >Message-ID: <#>
> >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
> >> >NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
> >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
> >> >Xref: cpmsftngxa06.phx.gbl

> >microsoft.public.dotnet.framework.aspnet:248782
> >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> >> >
> >> >Hi
> >> >
> >> >I have a very simply app (attached) which works fine on my local win2k
> >> >server but when I upload to a remote server I get the error given at

the
> >> >end. As I can see no specific error message, I have no idea what the
> >> problem
> >> >is. How can I proceed form here to solve this problem?
> >> >
> >> >Thanks
> >> >
> >> >Regards
> >> >
> >> >
> >> >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 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".
> >> >
> >> >
> >> >
> >> >
> >>

> >
> >
> >

>





John
  Reply With Quote
Old 07-22-2004, 03:07 AM   #6
John
 
Posts: n/a
Default Re: Strange problem running app remotely
PS: The error is on line 6. The site url is;
http://yahya01.europe.webmatrixhosti.../webform1.aspx

"John" <> wrote in message
news:O63U3$...
> OK. I am using a second remote server and am getting the below message.

Any
> ideas?
>
> Thanks
>
> 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 4: <compilation defaultLanguage="vb" debug="true" />
> Line 5: <customErrors mode="Off" />
> Line 6: <authentication mode="None" />
> Line 7: <authorization>
> Line 8: <allow users="*" /> <!-- Allow all users -->
>
>
> "Jim Cheshire [MSFT]" <> wrote in message
> news:...
> > John,
> >
> > If you made that change and this is still happening, it indicates an

error
> > occurring before the processing of the web.config file. Can you browse

> the
> > server from the console? If not, can you try an ASPX page in a

different
> > site on the same box?
> >
> > Jim Cheshire [MSFT]
> > MCP+I, MCSE, MCSD, MCDBA
> > Microsoft Developer Support
> >
> >
> > This post is provided "AS-IS" with no warranties and confers no rights.
> >
> >
> > --------------------
> > >From: "John" <>
> > >References: <#>

> > <>
> > >Subject: Re: Strange problem running app remotely
> > >Date: Wed, 21 Jul 2004 19:26:30 +0100
> > >Lines: 95
> > >X-Priority: 3
> > >X-MSMail-Priority: Normal
> > >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
> > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
> > >Message-ID: <>
> > >Newsgroups: microsoft.public.dotnet.framework.aspnet
> > >NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
> > >Path:

> >

>

cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP10
> > phx.gbl
> > >Xref: cpmsftngxa06.phx.gbl

> microsoft.public.dotnet.framework.aspnet:248917
> > >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> > >
> > >
> > >I think I have done it correctly. Here is the web.config. file I am

> using.
> > >
> > ><?xml version="1.0" encoding="utf-8" ?>
> > ><configuration>
> > > <system.web>
> > > <compilation defaultLanguage="vb" debug="true" />
> > > <customErrors mode="Off" />
> > > <authentication mode="None" />
> > > <authorization>
> > > <allow users="*" /> <!-- Allow all users -->
> > > </authorization>
> > > <trace enabled="true" requestLimit="10" pageOutput="true"
> > >traceMode="SortByTime" localOnly="true" />
> > > <sessionState
> > > mode="InProc"
> > > stateConnectionString="tcpip=127.0.0.1:42424"
> > > sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
> > > cookieless="false"
> > > timeout="20"
> > > />
> > > <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
> > > </system.web>
> > ></configuration>
> > >
> > >"Jim Cheshire [MSFT]" <> wrote in message
> > >news:...
> > >> John,
> > >>
> > >> Did you make the indicated changes to the web.config file?
> > >>
> > >> Jim Cheshire [MSFT]
> > >> MCP+I, MCSE, MCSD, MCDBA
> > >> Microsoft Developer Support
> > >>
> > >>
> > >> This post is provided "AS-IS" with no warranties and confers no

rights.
> > >>
> > >>
> > >> --------------------
> > >> >From: "John" <>
> > >> >Subject: Strange problem running app remotely
> > >> >Date: Wed, 21 Jul 2004 14:28:34 +0100
> > >> >Lines: 346
> > >> >X-Priority: 3
> > >> >X-MSMail-Priority: Normal
> > >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
> > >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
> > >> >Message-ID: <#>
> > >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
> > >> >NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
> > >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
> > >> >Xref: cpmsftngxa06.phx.gbl
> > >microsoft.public.dotnet.framework.aspnet:248782
> > >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> > >> >
> > >> >Hi
> > >> >
> > >> >I have a very simply app (attached) which works fine on my local

win2k
> > >> >server but when I upload to a remote server I get the error given at

> the
> > >> >end. As I can see no specific error message, I have no idea what the
> > >> problem
> > >> >is. How can I proceed form here to solve this problem?
> > >> >
> > >> >Thanks
> > >> >
> > >> >Regards
> > >> >
> > >> >
> > >> >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 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".
> > >> >
> > >> >
> > >> >
> > >> >
> > >>
> > >
> > >
> > >

> >

>
>





John
  Reply With Quote
Old 07-22-2004, 03:14 AM   #7
Greg Burns
 
Posts: n/a
Default Re: Strange problem running app remotely
You can have have web.config in subdirectories of your Virtual Directory.
But those web.config can only be a subset of your main one at the top level.
In other words, you cannot have most of that stuff in a sub web.config.

Hope that was clear.
Greg

"John" <> wrote in message
news:O63U3$...
> OK. I am using a second remote server and am getting the below message.

Any
> ideas?
>
> Thanks
>
> 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 4: <compilation defaultLanguage="vb" debug="true" />
> Line 5: <customErrors mode="Off" />
> Line 6: <authentication mode="None" />
> Line 7: <authorization>
> Line 8: <allow users="*" /> <!-- Allow all users -->
>
>
> "Jim Cheshire [MSFT]" <> wrote in message
> news:...
> > John,
> >
> > If you made that change and this is still happening, it indicates an

error
> > occurring before the processing of the web.config file. Can you browse

> the
> > server from the console? If not, can you try an ASPX page in a

different
> > site on the same box?
> >
> > Jim Cheshire [MSFT]
> > MCP+I, MCSE, MCSD, MCDBA
> > Microsoft Developer Support
> >
> >
> > This post is provided "AS-IS" with no warranties and confers no rights.
> >
> >
> > --------------------
> > >From: "John" <>
> > >References: <#>

> > <>
> > >Subject: Re: Strange problem running app remotely
> > >Date: Wed, 21 Jul 2004 19:26:30 +0100
> > >Lines: 95
> > >X-Priority: 3
> > >X-MSMail-Priority: Normal
> > >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
> > >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
> > >Message-ID: <>
> > >Newsgroups: microsoft.public.dotnet.framework.aspnet
> > >NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
> > >Path:

> >

>

cpmsftngxa06.phx.gbl!TK2MSFTNGXA01.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP10
> > phx.gbl
> > >Xref: cpmsftngxa06.phx.gbl

> microsoft.public.dotnet.framework.aspnet:248917
> > >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> > >
> > >
> > >I think I have done it correctly. Here is the web.config. file I am

> using.
> > >
> > ><?xml version="1.0" encoding="utf-8" ?>
> > ><configuration>
> > > <system.web>
> > > <compilation defaultLanguage="vb" debug="true" />
> > > <customErrors mode="Off" />
> > > <authentication mode="None" />
> > > <authorization>
> > > <allow users="*" /> <!-- Allow all users -->
> > > </authorization>
> > > <trace enabled="true" requestLimit="10" pageOutput="true"
> > >traceMode="SortByTime" localOnly="true" />
> > > <sessionState
> > > mode="InProc"
> > > stateConnectionString="tcpip=127.0.0.1:42424"
> > > sqlConnectionString="data source=127.0.0.1;Trusted_Connection=yes"
> > > cookieless="false"
> > > timeout="20"
> > > />
> > > <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
> > > </system.web>
> > ></configuration>
> > >
> > >"Jim Cheshire [MSFT]" <> wrote in message
> > >news:...
> > >> John,
> > >>
> > >> Did you make the indicated changes to the web.config file?
> > >>
> > >> Jim Cheshire [MSFT]
> > >> MCP+I, MCSE, MCSD, MCDBA
> > >> Microsoft Developer Support
> > >>
> > >>
> > >> This post is provided "AS-IS" with no warranties and confers no

rights.
> > >>
> > >>
> > >> --------------------
> > >> >From: "John" <>
> > >> >Subject: Strange problem running app remotely
> > >> >Date: Wed, 21 Jul 2004 14:28:34 +0100
> > >> >Lines: 346
> > >> >X-Priority: 3
> > >> >X-MSMail-Priority: Normal
> > >> >X-Newsreader: Microsoft Outlook Express 6.00.2800.1437
> > >> >X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1441
> > >> >Message-ID: <#>
> > >> >Newsgroups: microsoft.public.dotnet.framework.aspnet
> > >> >NNTP-Posting-Host: 81-86-132-31.dsl.pipex.com 81.86.132.31
> > >> >Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTN GP12.phx.gbl
> > >> >Xref: cpmsftngxa06.phx.gbl
> > >microsoft.public.dotnet.framework.aspnet:248782
> > >> >X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
> > >> >
> > >> >Hi
> > >> >
> > >> >I have a very simply app (attached) which works fine on my local

win2k
> > >> >server but when I upload to a remote server I get the error given at

> the
> > >> >end. As I can see no specific error message, I have no idea what the
> > >> problem
> > >> >is. How can I proceed form here to solve this problem?
> > >> >
> > >> >Thanks
> > >> >
> > >> >Regards
> > >> >
> > >> >
> > >> >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 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".
> > >> >
> > >> >
> > >> >
> > >> >
> > >>
> > >
> > >
> > >

> >

>
>





Greg Burns
  Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Strange problem with PS/2 mouse & keyboard Hamadamoh Hardware 0 04-26-2009 06:04 PM
Re: Strange E-mail Problem SBFan2000 A+ Certification 0 09-14-2005 03:30 AM
Strange DVD Diagnostic Problem... Jack DVD Video 11 12-19-2004 02:43 PM
strange pc problem billybronco A+ Certification 4 09-18-2004 05:16 PM
Strange legacy software problem - can anyone help? Barry Watzman A+ Certification 0 08-04-2003 03:20 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46