Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Services > WEB CONFIG PROBLEM

Reply
Thread Tools

WEB CONFIG PROBLEM

 
 
Savas Ates
Guest
Posts: n/a
 
      04-30-2005
I created i simple web service.. It runs well in my local Pc..

But when i copied it into my server it fails... it is about web config
custom errors i turned it off but it still doesnt work..(<customErrors
mode="Off" />) Can anyone help me ?

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


------------------------------ THIS IS MY WEB.CONFIG
FILE-------------------------------------------

<?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="false" requestLimit="10" pageOutput="false"
traceMode="SortByTime" localOnly="true" />




<sessionState

mode="InProc"

stateConnectionString="tcpip=127.0.0.1:42424"

sqlConnectionString="data source=127.0.0.1Trusted_Connection=yes"

cookieless="false"

timeout="20"

/>


<globalization requestEncoding="utf-8" responseEncoding="utf-8" />


</system.web>

</configuration>







 
Reply With Quote
 
 
 
 
Yunus Emre ALPÖZEN [MCAD.NET]
Guest
Posts: n/a
 
      05-01-2005
what about machine.config ? does it allow overrides ?

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"Savas Ates" <> wrote in message
news:%...
>I created i simple web service.. It runs well in my local Pc..
>
> But when i copied it into my server it fails... it is about web config
> custom errors i turned it off but it still doesnt work..(<customErrors
> mode="Off" />) Can anyone help me ?
>
> 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".
>
>
> ------------------------------ THIS IS MY WEB.CONFIG
> FILE-------------------------------------------
>
> <?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="false" requestLimit="10" pageOutput="false"
> traceMode="SortByTime" localOnly="true" />
>
>
>
>
> <sessionState
>
> mode="InProc"
>
> stateConnectionString="tcpip=127.0.0.1:42424"
>
> sqlConnectionString="data source=127.0.0.1Trusted_Connection=yes"
>
> cookieless="false"
>
> timeout="20"
>
> />
>
>
> <globalization requestEncoding="utf-8" responseEncoding="utf-8" />
>
>
> </system.web>
>
> </configuration>
>
>
>
>
>
>
>



 
Reply With Quote
 
 
 
 
Savas Ates
Guest
Posts: n/a
 
      05-03-2005
i dont have any machine.config file in my root server in web server field...


 
Reply With Quote
 
Yunus Emre ALPÖZEN [MCAD.NET]
Guest
Posts: n/a
 
      05-03-2005
machine.config file is located under
%WINDOWS%>\Microsoft.NET\Framework\%Version%\CONFI G\

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"Savas Ates" <> wrote in message
news:OFIuwq$...
>i dont have any machine.config file in my root server in web server
>field...
>



 
Reply With Quote
 
Savas Ates
Guest
Posts: n/a
 
      05-04-2005
ok i found it... which setting i must change to fix the problem... in
machine.config file there are lots of codes...


 
Reply With Quote
 
 
 
Reply

Thread Tools

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

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
dll config and web.config and Label Expressions (binding label text to dll config settings) CSharpner ASP .Net 0 04-09-2007 09:00 PM
how to let the web.config in the sub-directory to NOT to inherited from Root's web.config. Benny Ng ASP .Net 9 10-13-2005 03:27 PM
Web References how to config to read URL from config? Bob ASP .Net 7 05-05-2004 03:47 AM
Web.Config Get Config settings at runtime. =?Utf-8?B?QXVndXN0aW4gUHJhc2FubmEuIEo=?= ASP .Net 3 02-06-2004 01:17 PM
Machine.config & web.config =?Utf-8?B?RGFuaWVs?= ASP .Net 2 01-18-2004 08:06 PM



Advertisments