473,378 Members | 1,066 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,378 software developers and data experts.

web.config question

Hi to all,
I'm new in asp.net and have a problem with deploy of my application.
If I up on the my server the file *.aspx and *.cs it will run perfectly,
but if I try up a web.config it give this an error page:

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.

Now I'm working with a database and need to up a web.config, in visual
studio it run perfecly using remote db too.Follow the config file to up:

<configuration>
<appSettings/>
<connectionStrings>
<add name="mysqlConnString" connectionString="Database=membership;Data
Source=$MyAddress$;User Id=adm;Password=$MyPass$"/>
</connectionStrings>
<system.web>
<compilation debug="false" />
<authentication mode="Forms">
<forms loginUrl="~/Examples/login.aspx" name=".ASPXFORMSAUTH" />
</authentication>
<machineKey validationKey="AutoGenerate,IsolateApps"
decryptionKey="AutoGenerate,IsolateApps" validation="SHA1"/>

<roleManager defaultProvider="MySqlRoleProvider" enabled="true"
cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="30"
cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true"
cookieProtection="All">
<providers>
<clear/>
<add
name="MySqlRoleProvider"
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
type="Andri.Web.MySqlRoleProvider"
/>
</providers>
</roleManager>
<membership defaultProvider="MySqlMembershipProvider">
<providers>
<clear />
<add
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Clear"
name="MySqlMembershipProvider"
encryptionKey="AB56FE8EA700B42A"
type="Andri.Web.MySqlMembershipProvider"
/>
</providers>
</membership>
</system.web>
</configuration>

Any suggestion?

Thanks in advance
May 12 '07 #1
7 3744
Is the application marked as an ASP.NET 2.0 app ?

In the IIS Manager, check the app's properties and make sure that
it's running against the .Net Framework 2.0 and not agains 1.1.

Also, since you apparently are accessing the site remotely with your browser,
add this to the site's web.config :

<customErrors mode="RemoteOnly" />

Add it anywhere within the <system.web</system.webtags

That will allow you to see the error being generated.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Manuel" <va********@the.skywrote in message news:P1*****************@twister2.libero.it...
Hi to all,
I'm new in asp.net and have a problem with deploy of my application.
If I up on the my server the file *.aspx and *.cs it will run perfectly, but if I try up a
web.config it give this an error page:

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.

Now I'm working with a database and need to up a web.config, in visual studio it run perfecly
using remote db too.Follow the config file to up:

<configuration>
<appSettings/>
<connectionStrings>
<add name="mysqlConnString" connectionString="Database=membership;Data Source=$MyAddress$;User
Id=adm;Password=$MyPass$"/>
</connectionStrings>
<system.web>
<compilation debug="false" />
<authentication mode="Forms">
<forms loginUrl="~/Examples/login.aspx" name=".ASPXFORMSAUTH" />
</authentication>
<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps"
validation="SHA1"/>

<roleManager defaultProvider="MySqlRoleProvider" enabled="true" cacheRolesInCookie="true"
cookieName=".ASPROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false"
cookieSlidingExpiration="true" cookieProtection="All">
<providers>
<clear/>
<add
name="MySqlRoleProvider"
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
type="Andri.Web.MySqlRoleProvider"
/>
</providers>
</roleManager>
<membership defaultProvider="MySqlMembershipProvider">
<providers>
<clear />
<add
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Clear"
name="MySqlMembershipProvider"
encryptionKey="AB56FE8EA700B42A"
type="Andri.Web.MySqlMembershipProvider"
/>
</providers>
</membership>
</system.web>
</configuration>

Any suggestion?

Thanks in advance

May 12 '07 #2
On May 12, 3:11 pm, Manuel <vanilla...@the.skywrote:
Hi to all,
I'm new in asp.net and have a problem with deploy of my application.
If I up on the my server the file *.aspx and *.cs it will run perfectly,
but if I try up a web.config it give this an error page:

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.

Now I'm working with a database and need to up a web.config, in visual
studio it run perfecly using remote db too.Follow the config file to up:

<configuration>
<appSettings/>
<connectionStrings>
<add name="mysqlConnString" connectionString="Database=membership;Data
Source=$MyAddress$;User Id=adm;Password=$MyPass$"/>
</connectionStrings>
<system.web>
<compilation debug="false" />
<authentication mode="Forms">
<forms loginUrl="~/Examples/login.aspx" name=".ASPXFORMSAUTH" />
</authentication>
<machineKey validationKey="AutoGenerate,IsolateApps"
decryptionKey="AutoGenerate,IsolateApps" validation="SHA1"/>

<roleManager defaultProvider="MySqlRoleProvider" enabled="true"
cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="30"
cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true"
cookieProtection="All">
<providers>
<clear/>
<add
name="MySqlRoleProvider"
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
type="Andri.Web.MySqlRoleProvider"
/>
</providers>
</roleManager>
<membership defaultProvider="MySqlMembershipProvider">
<providers>
<clear />
<add
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Clear"
name="MySqlMembershipProvider"
encryptionKey="AB56FE8EA700B42A"
type="Andri.Web.MySqlMembershipProvider"
/>
</providers>
</membership>
</system.web>
</configuration>

Any suggestion?

Thanks in advance
Add a new key to the <system.web>:

<customErrors mode="Off"/>

it helps to see the error.

P.S. you don't need to deploy .cs files

May 12 '07 #3
re:
<customErrors mode="RemoteOnly" />
That's a typo produced by a mistaken cut-and-paste.

As Alexei just pointed out,

<customErrors mode="Off" />

....is more helpful in allowing the error to be displayed.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
Is the application marked as an ASP.NET 2.0 app ?

In the IIS Manager, check the app's properties and make sure that
it's running against the .Net Framework 2.0 and not agains 1.1.

Also, since you apparently are accessing the site remotely with your browser,
add this to the site's web.config :

<customErrors mode="RemoteOnly" />

Add it anywhere within the <system.web</system.webtags

That will allow you to see the error being generated.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Manuel" <va********@the.skywrote in message news:P1*****************@twister2.libero.it...
>Hi to all,
I'm new in asp.net and have a problem with deploy of my application.
If I up on the my server the file *.aspx and *.cs it will run perfectly, but if I try up a
web.config it give this an error page:

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.

Now I'm working with a database and need to up a web.config, in visual studio it run perfecly
using remote db too.Follow the config file to up:

<configuration>
<appSettings/>
<connectionStrings>
<add name="mysqlConnString" connectionString="Database=membership;Data Source=$MyAddress$;User
Id=adm;Password=$MyPass$"/>
</connectionStrings>
<system.web>
<compilation debug="false" />
<authentication mode="Forms">
<forms loginUrl="~/Examples/login.aspx" name=".ASPXFORMSAUTH" />
</authentication>
<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps"
validation="SHA1"/>

<roleManager defaultProvider="MySqlRoleProvider" enabled="true" cacheRolesInCookie="true"
cookieName=".ASPROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false"
cookieSlidingExpiration="true" cookieProtection="All">
<providers>
<clear/>
<add
name="MySqlRoleProvider"
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
type="Andri.Web.MySqlRoleProvider"
/>
</providers>
</roleManager>
<membership defaultProvider="MySqlMembershipProvider">
<providers>
<clear />
<add
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Clear"
name="MySqlMembershipProvider"
encryptionKey="AB56FE8EA700B42A"
type="Andri.Web.MySqlMembershipProvider"
/>
</providers>
</membership>
</system.web>
</configuration>

Any suggestion?

Thanks in advance


May 12 '07 #4
Thanks for the your attention. The result is:

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 20:
Line 21: <compilation debug="false" />
Line 22: <authentication mode="Forms">
Line 23: <forms loginUrl="~/Examples/login.aspx" name=".ASPXFORMSAUTH" />
Line 24: </authentication>

I have a server with a plesk panel, I'm not sure of the possibility to
set a virtual directory.

Alexey Smirnov ha scritto:
On May 12, 3:11 pm, Manuel <vanilla...@the.skywrote:
>Hi to all,
I'm new in asp.net and have a problem with deploy of my application.
If I up on the my server the file *.aspx and *.cs it will run perfectly,
but if I try up a web.config it give this an error page:

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.

Now I'm working with a database and need to up a web.config, in visual
studio it run perfecly using remote db too.Follow the config file to up:

<configuration>
<appSettings/>
<connectionStrings>
<add name="mysqlConnString" connectionString="Database=membership;Data
Source=$MyAddress$;User Id=adm;Password=$MyPass$"/>
</connectionStrings>
<system.web>
<compilation debug="false" />
<authentication mode="Forms">
<forms loginUrl="~/Examples/login.aspx" name=".ASPXFORMSAUTH" />
</authentication>
<machineKey validationKey="AutoGenerate,IsolateApps"
decryptionKey="AutoGenerate,IsolateApps" validation="SHA1"/>

<roleManager defaultProvider="MySqlRoleProvider" enabled="true"
cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="30"
cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true"
cookieProtection="All">
<providers>
<clear/>
<add
name="MySqlRoleProvider"
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
type="Andri.Web.MySqlRoleProvider"
/>
</providers>
</roleManager>
<membership defaultProvider="MySqlMembershipProvider">
<providers>
<clear />
<add
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Clear"
name="MySqlMembershipProvider"
encryptionKey="AB56FE8EA700B42A"
type="Andri.Web.MySqlMembershipProvider"
/>
</providers>
</membership>
</system.web>
</configuration>

Any suggestion?

Thanks in advance

Add a new key to the <system.web>:

<customErrors mode="Off"/>

it helps to see the error.

P.S. you don't need to deploy .cs files
May 12 '07 #5
Thanks for the your attention. The result is:

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 20:
Line 21: <compilation debug="false" />
Line 22: <authentication mode="Forms">
Line 23: <forms loginUrl="~/Examples/login.aspx"
name=".ASPXFORMSAUTH" />
Line 24: </authentication>

I have a server with a plesk panel, I'm not sure of the possibility to
set a virtual directory.
re:
><customErrors mode="RemoteOnly" />

That's a typo produced by a mistaken cut-and-paste.

As Alexei just pointed out,

<customErrors mode="Off" />

...is more helpful in allowing the error to be displayed.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>Is the application marked as an ASP.NET 2.0 app ?

In the IIS Manager, check the app's properties and make sure that
it's running against the .Net Framework 2.0 and not agains 1.1.

Also, since you apparently are accessing the site remotely with your browser,
add this to the site's web.config :

<customErrors mode="RemoteOnly" />

Add it anywhere within the <system.web</system.webtags

That will allow you to see the error being generated.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Manuel" <va********@the.skywrote in message news:P1*****************@twister2.libero.it...
>>Hi to all,
I'm new in asp.net and have a problem with deploy of my application.
If I up on the my server the file *.aspx and *.cs it will run perfectly, but if I try up a
web.config it give this an error page:

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.

Now I'm working with a database and need to up a web.config, in visual studio it run perfecly
using remote db too.Follow the config file to up:

<configuration>
<appSettings/>
<connectionStrings>
<add name="mysqlConnString" connectionString="Database=membership;Data Source=$MyAddress$;User
Id=adm;Password=$MyPass$"/>
</connectionStrings>
<system.web>
<compilation debug="false" />
<authentication mode="Forms">
<forms loginUrl="~/Examples/login.aspx" name=".ASPXFORMSAUTH" />
</authentication>
<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps"
validation="SHA1"/>

<roleManager defaultProvider="MySqlRoleProvider" enabled="true" cacheRolesInCookie="true"
cookieName=".ASPROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false"
cookieSlidingExpiration="true" cookieProtection="All">
<providers>
<clear/>
<add
name="MySqlRoleProvider"
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
type="Andri.Web.MySqlRoleProvider"
/>
</providers>
</roleManager>
<membership defaultProvider="MySqlMembershipProvider">
<providers>
<clear />
<add
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Clear"
name="MySqlMembershipProvider"
encryptionKey="AB56FE8EA700B42A"
type="Andri.Web.MySqlMembershipProvider"
/>
</providers>
</membership>
</system.web>
</configuration>

Any suggestion?

Thanks in advance

May 12 '07 #6
Thanks all those that have helped me, I have solved building a new
virtual directory in the configuration panel.Was simple!

Hi to all,
I'm new in asp.net and have a problem with deploy of my application.
If I up on the my server the file *.aspx and *.cs it will run perfectly,
but if I try up a web.config it give this an error page:

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.

Now I'm working with a database and need to up a web.config, in visual
studio it run perfecly using remote db too.Follow the config file to up:

<configuration>
<appSettings/>
<connectionStrings>
<add name="mysqlConnString"
connectionString="Database=membership;Data Source=$MyAddress$;User
Id=adm;Password=$MyPass$"/>
</connectionStrings>
<system.web>
<compilation debug="false" />
<authentication mode="Forms">
<forms loginUrl="~/Examples/login.aspx"
name=".ASPXFORMSAUTH" />
</authentication>
<machineKey validationKey="AutoGenerate,IsolateApps"
decryptionKey="AutoGenerate,IsolateApps" validation="SHA1"/>

<roleManager defaultProvider="MySqlRoleProvider" enabled="true"
cacheRolesInCookie="true" cookieName=".ASPROLES" cookieTimeout="30"
cookiePath="/" cookieRequireSSL="false" cookieSlidingExpiration="true"
cookieProtection="All">
<providers>
<clear/>
<add
name="MySqlRoleProvider"
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
type="Andri.Web.MySqlRoleProvider"
/>
</providers>
</roleManager>
<membership defaultProvider="MySqlMembershipProvider">
<providers>
<clear />
<add
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Clear"
name="MySqlMembershipProvider"
encryptionKey="AB56FE8EA700B42A"
type="Andri.Web.MySqlMembershipProvider"
/>
</providers>
</membership>
</system.web>
</configuration>

Any suggestion?

Thanks in advance
May 12 '07 #7
The solution, of course, is to create an IIS application
which points to the physical directory where your web site resides.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Manuel" <va********@the.skywrote in message news:f7******************@twister1.libero.it...
Thanks for the your attention. The result is:

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 20:
Line 21: <compilation debug="false" />
Line 22: <authentication mode="Forms">
Line 23: <forms loginUrl="~/Examples/login.aspx" name=".ASPXFORMSAUTH" />
Line 24: </authentication>

I have a server with a plesk panel, I'm not sure of the possibility to set a virtual directory.
>re:
>><customErrors mode="RemoteOnly" />

That's a typo produced by a mistaken cut-and-paste.

As Alexei just pointed out,

<customErrors mode="Off" />

...is more helpful in allowing the error to be displayed.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Juan T. Llibre" <no***********@nowhere.comwrote in message
news:%2****************@TK2MSFTNGP06.phx.gbl...
>>Is the application marked as an ASP.NET 2.0 app ?

In the IIS Manager, check the app's properties and make sure that
it's running against the .Net Framework 2.0 and not agains 1.1.

Also, since you apparently are accessing the site remotely with your browser,
add this to the site's web.config :

<customErrors mode="RemoteOnly" />

Add it anywhere within the <system.web</system.webtags

That will allow you to see the error being generated.


Juan T. Llibre, asp.net MVP
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en español : http://asp.net.do/foros/
======================================
"Manuel" <va********@the.skywrote in message news:P1*****************@twister2.libero.it...
Hi to all,
I'm new in asp.net and have a problem with deploy of my application.
If I up on the my server the file *.aspx and *.cs it will run perfectly, but if I try up a
web.config it give this an error page:

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.

Now I'm working with a database and need to up a web.config, in visual studio it run perfecly
using remote db too.Follow the config file to up:

<configuration>
<appSettings/>
<connectionStrings>
<add name="mysqlConnString" connectionString="Database=membership;Data Source=$MyAddress$;User
Id=adm;Password=$MyPass$"/>
</connectionStrings>
<system.web>
<compilation debug="false" />
<authentication mode="Forms">
<forms loginUrl="~/Examples/login.aspx" name=".ASPXFORMSAUTH" />
</authentication>
<machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps"
validation="SHA1"/>

<roleManager defaultProvider="MySqlRoleProvider" enabled="true" cacheRolesInCookie="true"
cookieName=".ASPROLES" cookieTimeout="30" cookiePath="/" cookieRequireSSL="false"
cookieSlidingExpiration="true" cookieProtection="All">
<providers>
<clear/>
<add
name="MySqlRoleProvider"
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
type="Andri.Web.MySqlRoleProvider"
/>
</providers>
</roleManager>
<membership defaultProvider="MySqlMembershipProvider">
<providers>
<clear />
<add
connectionStringName="mysqlConnString"
applicationName="YOURAPPNAME"
enablePasswordRetrieval="false"
enablePasswordReset="true"
requiresQuestionAndAnswer="true"
requiresUniqueEmail="true"
passwordFormat="Clear"
name="MySqlMembershipProvider"
encryptionKey="AB56FE8EA700B42A"
type="Andri.Web.MySqlMembershipProvider"
/>
</providers>
</membership>
</system.web>
</configuration>

Any suggestion?

Thanks in advance
May 12 '07 #8

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

Similar topics

2
by: Chinmoy Mukherjee | last post by:
Hi All, I have a config file as followings IP_ADDR=1.2.3.4 PORT=1290 IP_ADDR=1.2.3.5 PORT=1291
22
by: Daniel Billingsley | last post by:
Ok, I wanted to ask this separate from nospam's ridiculous thread in hopes it could get some honest attention. VB6 had a some simple and fast mechanisms for retrieving values from basic text...
6
by: Rich | last post by:
Hello, I picked up this example on using the Reflection namespace for loading forms/classes on the fly at msdn http://msdn.microsoft.com/library/default.asp?...
5
by: Dean Slindee | last post by:
I store several application settings in the project's "app.config" file. I also have a form that reads these values and displays them in a listview so that the user can adjust them. My question...
11
by: TARUN | last post by:
Hello All I need to ask about the configuration file in .NET, There are Two config File 1. Web Config 2. Machine config I understand the the usage of Web config , but not able to understand...
5
by: Keith | last post by:
Hello all, I have a C# Windows Forms app. It is in namespace App.GUI. It builds to Nav.exe. I have entered an application level setting using the designer. Its type is string, name is "FOO"...
5
by: mark_overstreet | last post by:
I have a generic data layer DLL that expects to read its connection string from it's own config file. The dll and config file have been placed in the bin directory (VS.NET2005). However, due to...
1
by: =?Utf-8?B?Y2FsZGVyYXJh?= | last post by:
Dear all, I am developing a multi tiers application and actually responsible of delivering the buines logic library. That buisnes logic library will need some parameters to be suitebale...
12
by: dbuchanan | last post by:
Hello, (Is this the proper newsgroup?) === Background === I am building a solution with two projects. One project is my data access layer which contains my DataSet as an xsd file. The XSD...
10
by: eagle | last post by:
I have a web.config in my application that contains the connection strings to all my datasources. I want to move these connection strings to another web config up the folder hierarchy so that all...
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...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.