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.web> tags
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" <> wrote in message news

1j1i.5694$%...
> 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