‘localsqlserver’ has already been added

If you are hosting dotnetnuke site at webhost4life you may get the error message 『parser error message: the entry ‘localsqlserver’ has already been added.』. That’s because the name "localsqlserver" is already defined in "machine.config’ at the server level by default.  So you needs to remove this name first by adding the tag < remove name="LocalSqlServer" / >  in your...
Read the rest of this article

Posted in Uncategorized at July 11th, 2009. No Comments.

SQL authentication with webhost4life

Webhost4life sql servers are using sql authentication instead of windows authentication so you will need to pay attentication in your DB connection string about this. See difference of windows authentication and sql authentication here Here is  one sample DB connection string: "Data Source=sql-server-IP;Initial Catalog=DB-name;User Id=DB-user;Password=DB-password;Integrated Security=True" It will not work with webhost4life becau...
Read the rest of this article

Posted in Database at July 10th, 2009. No Comments.

Session State

All of webhost4life web servers have State Server enabled. If you are hosting asp.net application with webhost4life you can use Session State in your web.config file. To use it, you just need to edit session state section in your web.config file. Here is an example about it: <configuration>     <system.web>         <sessionState mode="StateServer"   ...
Read the rest of this article

Posted in Website Programming at July 10th, 2009. No Comments.
Page 1 of 11