Posts Tagged ASP.NET

How to deploy .NET applications that use modules/libraries with different version than the development ones

Because with new versions of connectors or another external libraries there may be some compatibility issues, developers of .NET applications may find themselves in the next situation Read the rest of this entry »

,

2 Comments

How to connect to MySQL database from Visual Studio VS2010 – problems with NET connectors

I have developed a Windows Application in Visual Studio 2008 some years ago and now it has been updated in Visual Studio 2010.

The application connects to a MySQL database and after porting it to VS2010, the IDE does not show the connection to the MySQL in Server Explorer. Also when trying to add the data connection, in the Choose Data Source window it does not show the MySQL Database. Read the rest of this entry »

, ,

29 Comments

Solution for HTTP Error 500.21 – Internal Server Error – Bad module “ManagedPipelineHandler” on IIS 7.5

This problem has been encountered after the production server has been upgraded to Windows Sever 2008 R2 and the ASP.NET solution has been moved on the .NET 4.0 platform.

The ASP.NET application was put to run in a ASP.NET v4.0 with Integrated Managed Pipeline application pool. The application was updated using Visual Studio 2010. Read the rest of this entry »

, ,

13 Comments

How to read application settings from the Web.config file of an ASP.NET Website

There are many situations, in the development of an ASP.NET application, when particular values must be made visible from different Web Forms or code routines. These values can represent:

-    global values or keys associated with an application setting;
-    connections strings for databases
-    passwords and hash values
-    URLs for Web Services

The web.config file is an XML file that holds configuration information for the ASP.NET application. This file can be placed in the root directory of the ASP.NET site or in any other application subfolder. Among the configuration sections of the file, the application settings can be stored in the <appSettings> section using <add key=“” value=“”/> elements.
Read the rest of this entry »

No Comments

Solutie pentru problema accesarii localhost in Firefox

Daca dezoltarea de pagini Web are loc pe masina locala si nu pe un server aflat la distanta, atunci testarea acestora nu necesita transferul lor pe server. Pentru a accesa paginiile printr-un browser se utilizeaza URL-ul serverului Web local (IIS, Apache, Tomcat), care este http://localhost.
Daca se utilizeaza  Microsoft IE nu există nici o problemă, dar pentru Firefox, din motive de securitate, browser-ul necesită autentificare şi cere un nume de utilizator şi parola la incercarea de a deschide pagini de web locale.

Read the rest of this entry »

, ,

No Comments

Solution for localhost problem in Firefox

If you develop Web sites on your local machine and not on a remote server then you want to test them. For that, it is used the URL of your local Web server (IIS, Apache, Tomcat) which is http://localhost.
When using Microsoft IE there is no problem but for Firefox, because some security issues, the browser requires authentication and asks for an user name and password when trying to open Web pages from localhost. Read the rest of this entry »

, ,

1 Comment

How to install IIS on Windows 7 and Vista

This solution describes installation of IIS 7 (Internet Information Services) on Windows 7 Ultimate, Vista using the Windows Features Wizard. Read the rest of this entry »

, , , ,

No Comments

Solutie pentru “A potentially dangerous Request.Form value was detected from the client…”

Aceasta eroare este intalnita in cazul aplicatiilor Web, dezvoltate cu tehnologie ASP.NET. In momentul in care pagina revine la server pentru a fi prelucrata este generata o exceptie de tipul Read the rest of this entry »

,

1 Comment

Solution for “A potentially dangerous Request.Form value was detected from the client…”

This error is encountered in the case of Web applications which are developed with ASP.NET technology. When the page returns to the server to be processed it is generated an exception like this one Read the rest of this entry »

,

No Comments

Identificarea unui dispozitiv (browser) mobil intr-un site Web

Acest material ofera o solutie pentru redirectarea cererii HTTP facuta de browser-ul unui dispozitiv mobil catre o versiune a site-ului destinata dispozitivelor cu caracteristici limitate (dimensiune, resurse multimedia). Read the rest of this entry »

, ,

No Comments