By Stephen Jackson, on January 16th, 2012
I’ve recently ran into a bit of trouble with maintaining the aspnet session state across a subdomains of the same application. The main problem was that the ASPNET SessionID cookie by default points to the full web address, meaning that when you navigate to a subdomain, aspnet creates a new SessionID cookie for that subdomain and . . . → Read More: ASP.NET Hosting :: ASP.NET Session State, Cookies and Subdomains
By Stephen Jackson, on January 10th, 2012
Here i will shown how to upload a file using c#.Sending file from client system to server system called “file uploading” .this implementation is required in certain website like uploading resume,image and attachment towards email.File uploading control is provided asp.net to implement file uploading
The properties and methods of File upload:
*has file–true–>File is upload
false–>File is not uploaded
*posted . . . → Read More: ASP.NET Hosting :: How to Upload File Using c#
By Wayne Plotche, on January 6th, 2012
This is an error message that sometimes you might find on the server:
The requested page cannot be accessed because the related configuration data for the page is invalid
To solve the problem, you can follow this steps:
We need to change the config section applicationHost file
First Open folder path based on this
C:\Windows\System32\inetsrv\config
After open this path we will find . . . → Read More: ASP.NET Hosting :: Tutorial – How to Solve The requested page cannot be accessed because the related configuration data for the page is invalid problem in IIS
By Wayne Plotche, on December 20th, 2011
I needed to access a SQL 2008 database from my codebehind without a control like a gridview. After scouring the internet I put together the pieces to do so.
If you were familiar with the (oldschool) “non .NET” scripting you remember doing something like the following:
Conn = Server.CreateObject(“ADODB.Connection”)
Conn.Open(“ODBC-DSN”, “sa”, “**********”)
rs = Server.CreateObject(“ADODB.Recordset”)
rs.Open(StrSQL, Conn)
Do While Not rs.eof
Urvariable=rs(“whs-num”).value
rs.movenext()
Loop
You can . . . → Read More: ASP.NET Hosting :: ASP.NET Accessing SQL Data From Codebehind Without A Control
By Sandeep Mukhela, on December 14th, 2011
HostForLIFE.EU has supported Web Deploy technique on all our hosting plans. With a web deploy technique, a customer can efficiently synchronize sites, applications or servers across your IIS 7.0 server farm by detecting differences between the source and destination content and transferring only those changes which need synchronization.
What is Web Deploy 2.0?
Web Deploy (Web Deployment Tool) simplifies . . . → Read More: HostForLife.EU now supports Web Deploy 2.0 Hosting
By Stephen Jackson, on December 8th, 2011
The ASP.NET MVC 3 framework provides an Authorize attribute that enables you to easily restrict the access to specific controllers and/or actions to predefined roles or users. In detail, the controller or the action is marked with the Authorize attribute that defines which roles or users are granted access to the content which looks as follows:
public . . . → Read More: ASP.NET MVC 3 Hosting :: Strongly Typed Authorize Attribute with Multiple Users and Roles in ASP.NET MVC 3
By Wayne Plotche, on December 7th, 2011
Visual Studio 2010 has some inbuilt functionality as a tool to compare the different schemas .Schema comparison is a powerful tool that is used to compare database schemas. In tips I will give some basic step to compare schemas in Visual Studio 2010
First launch the Schema Comparison tool from Data > Schema Compare > New Schema . . . → Read More: Visual Studio 2010 Hosting :: Data Schema Comparison in Visual Studio 2010
By Wayne Plotche, on November 29th, 2011
Visual Studio 2011 Developer Preview with .Net 4.5 has been announced few months ago.
New features and improvements in core framework are
Ability to limit how long the regular expression engine will attempt to resolve a regular expression before it times out.
Ability to define the culture for an application domain.
Console support for Unicode (UTF-16) encoding.
Support for versioning of cultural . . . → Read More: ASP.NET 4.5 Hosting :: Visual Studio 11 Developer Preview with .Net 4.5
By C Miller, on November 28th, 2011
The Good News – In ASP.NET 4.5, we can adopt an approach using which the Model can be directly bound with the DataBound controls and CRUD and pagination operations can be implemented very effectively. It incorporates concepts from the ObjectDataSource control and from model binding in ASP.NET MVC. We will see this shortly. ASP.NET 4.5 is . . . → Read More: ASP.NET 4.5 Hosting : Working with Model Binding Feature in ASP.NET 4.5
By C Miller, on November 28th, 2011
Symptom:
When attempting to run a report, an error message states: ‘Failed to Create the Crystal Query Engine’.
Solution 1:
There may be mismatched Crystal report DLLs in the system32 directory.
Rename the CRPE32.DLL file in the C:\Windows\System32 directory to CRPE32.DLL.OLD and reinstall the program. A new CRPE32.DLL file will be installed that should match all the other dll versions.
Solution . . . → Read More: Crystal Report Hosting :: How to solve an error “Failed to create the Crystal Query Engine”?